AWS::LakeFormation::Resource - AWS CloudFormation
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

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 FormationRegisterResource API operation to register the resource. To remove a Resource type, AWS CloudFormation calls the AWS Lake FormationDeregisterResource API operation.

Syntax

To declare this entity in your CloudFormation template, use the following syntax:

JSON

{ "Type" : "AWS::LakeFormation::Resource", "Properties" : { "HybridAccessEnabled" : Boolean, "ResourceArn" : String, "RoleArn" : String, "UseServiceLinkedRole" : Boolean, "WithFederation" : Boolean } }

YAML

Type: AWS::LakeFormation::Resource Properties: HybridAccessEnabled: Boolean ResourceArn: String RoleArn: String UseServiceLinkedRole: Boolean WithFederation: Boolean

Properties

HybridAccessEnabled

Indicates 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.

Required: No

Type: Boolean

Update requires: No interruption

ResourceArn

The Amazon Resource Name (ARN) of the resource.

Required: Yes

Type: String

Update requires: Replacement

RoleArn

The IAM role that registered a resource.

Required: No

Type: String

Pattern: arn:aws:iam::[0-9]*:role/.*

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

Return values

Fn::GetAtt

Id

An identifier for the catalog resource.