AWS::LakeFormation::PrincipalPermissions LFTag - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::LakeFormation::PrincipalPermissions LFTag

The LF-tag key and values attached to a resource.

Syntax

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

JSON

{ "TagKey" : String, "TagValues" : [ String, ... ] }

YAML

TagKey: String TagValues: - String

Properties

TagKey

The key-name for the LF-tag.

Required: No

Type: String

Minimum: 1

Maximum: 128

Update requires: Replacement

TagValues

A list of possible values of the corresponding TagKey of an LF-tag key-value pair.

Required: No

Type: Array of String

Minimum: 1

Maximum: 50

Update requires: Replacement

Examples

Permissons on an LF-tag

The following example demonstrates how to grant permissions on a LFTag resource:

JSON

{ "SamplePermission": { "LFTag": { "CatalogId": "12345678910", "TagKey": "sample_key", "TagValues": ["sample_value"] } }, "Permissions": ["DESCRIBE"], "PermissionsWithGrantOption": ["DESCRIBE"] }

YAML

SamplePermission: Type: AWS::LakeFormation::PrincipalPermissions Properties: Principal: DataLakePrincipalIdentifier: "arn:sample_principal" Resource: LFTag: CatalogId: "12345678910" TagKey: "sample_key" TagValues: - "sample_value" Permissions: - "DESCRIBE" PermissionsWithGrantOption: - "DESCRIBE"