This is the new AWS CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::LakeFormation::PrincipalPermissions LFTag
The LF-tag key and values attached to a resource.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
Properties
- TagKey
- 
                    The key-name for the LF-tag. Required: No Type: String Minimum: 1Maximum: 128Update requires: Replacement 
- TagValues
- 
                    A list of possible values of the corresponding TagKeyof an LF-tag key-value pair.Required: No Type: Array of String Minimum: 1Maximum: 50Update 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"