AWS::LakeFormation::Resource
The 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
API operation to register the resource.
To remove a Resource
type, AWS CloudFormation calls the AWS Lake Formation DeregisterResource
API operation.
AWS::LakeFormation::Resource
is a legacy resource that doesn't support the UPDATE
operation. Changes to the resource will require an explicit deletion and recreation to apply new properties.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::LakeFormation::Resource", "Properties" : { "ResourceArn" :
String
, "RoleArn" :String
, "UseServiceLinkedRole" :Boolean
} }
YAML
Type: AWS::LakeFormation::Resource Properties: ResourceArn:
String
RoleArn:String
UseServiceLinkedRole: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