AWS::LakeFormation::ResourceThe `AWS::LakeFormation::Resource` represents the data ( buckets and folders) that is being registered with AWS Lake Formation . During a stack operation, AWS CloudFormation calls the AWS Lake Formation [`RegisterResource`](https://docs.aws.amazon.com/lake-formation/latest/dg/aws-lake-formation-api-credential-vending.html#aws-lake-formation-api-credential-vending-RegisterResource) API operation to register the resource. To remove a `Resource` type, AWS CloudFormation calls the AWS Lake Formation [`DeregisterResource`](https://docs.aws.amazon.com/lake-formation/latest/dg/aws-lake-formation-api-credential-vending.html#aws-lake-formation-api-credential-vending-DeregisterResource) API operation.
import { CfnResource } from 'aws-cdk-lib/aws-lakeformation';Or use the module namespace:
import * as lakeformation from 'aws-cdk-lib/aws-lakeformation';
// lakeformation.CfnResourceConfiguration passed to the constructor as CfnResourceProps.
resourceArnRequiredstringThe Amazon Resource Name (ARN) of the resource.
useServiceLinkedRoleRequiredboolean | IResolvableDesignates a trusted caller, an IAM principal, by registering this caller with the Data Catalog .
hybridAccessEnabledOptionalboolean | IResolvableIndicates whether the data access of tables pointing to the location can be managed by both Lake Formation permissions as well as Amazon S3 bucket policies.
roleArnOptionalstringThe IAM role that registered a resource.
withFederationOptionalboolean | IResolvableAllows Lake Formation to assume a role to access tables in a federated database.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-lakeformationAWS::LakeFormation::Resource