AWS::LakeFormation::Resource
The AWS::LakeFormation::Resource represents the data ( buckets and folders) that is being registered with Amazon Lake Formation.
During a stack operation, Amazon CloudFormation calls the Amazon Lake Formation RegisterResource API operation to register the resource.
To remove a Resource type, Amazon CloudFormation calls the Amazon Lake Formation DeregisterResource API operation.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::LakeFormation::Resource", "Properties" : { "ResourceArn" :String, "RoleArn" :String, "UseServiceLinkedRole" :Boolean, "WithFederation" :Boolean} }
YAML
Type: AWS::LakeFormation::Resource Properties: ResourceArn:StringRoleArn:StringUseServiceLinkedRole:BooleanWithFederation:Boolean
Properties
ResourceArn-
The Amazon Resource Name (ARN) of the resource.
Required: Yes
Type: String
Update requires: No interruption
RoleArn-
The IAM role that registered a resource.
Required: No
Type: String
Update requires: No interruption
UseServiceLinkedRole-
Designates a trusted caller, an IAM principal, by registering this caller with the Data Catalog.
Required: Yes
Type: Boolean
Update requires: No interruption
WithFederation-
Allows Lake Formation to assume a role to access tables in a federated database.
Required: No
Type: Boolean
Update requires: No interruption