aws-cdk-lib.aws_lakeformation.CfnResourceProps

interface CfnResourceProps

LanguageType name
.NETAmazon.CDK.AWS.LakeFormation.CfnResourceProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awslakeformation#CfnResourceProps
Javasoftware.amazon.awscdk.services.lakeformation.CfnResourceProps
Pythonaws_cdk.aws_lakeformation.CfnResourceProps
TypeScript aws-cdk-lib » aws_lakeformation » CfnResourceProps

Properties for defining a CfnResource.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lakeformation as lakeformation } from 'aws-cdk-lib';
const cfnResourceProps: lakeformation.CfnResourceProps = {
  resourceArn: 'resourceArn',
  useServiceLinkedRole: false,

  // the properties below are optional
  roleArn: 'roleArn',
  withFederation: false,
};

Properties

NameTypeDescription
resourceArnstringThe Amazon Resource Name (ARN) of the resource.
useServiceLinkedRoleboolean | IResolvableDesignates a trusted caller, an IAM principal, by registering this caller with the Data Catalog .
roleArn?stringThe IAM role that registered a resource.
withFederation?boolean | IResolvableAllows Lake Formation to assume a role to access tables in a federated database.

resourceArn

Type: string

The Amazon Resource Name (ARN) of the resource.


useServiceLinkedRole

Type: boolean | IResolvable

Designates a trusted caller, an IAM principal, by registering this caller with the Data Catalog .


roleArn?

Type: string (optional)

The IAM role that registered a resource.


withFederation?

Type: boolean | IResolvable (optional)

Allows Lake Formation to assume a role to access tables in a federated database.