AWS::LakeFormation::Permissions TableWildcard - 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::Permissions TableWildcard

A wildcard object representing every table under a database.

Syntax

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

JSON

{ }

YAML

Examples

Permissions on all tables in a database

The following example demonstrates how to grant permissions on all tables in a database using the TableWildcard object.

JSON

"ExamplePermission": { "Type": "AWS::LakeFormation::Permissions", "Properties": { "DataLakePrincipal": { "DataLakePrincipalIdentifier": { "arn:sample_principal" } }, "Resource": { "TableResource": { "DatabaseName": "example_database", "TableWildcard": {} } }, "Permissions": [ "SELECT" ], "PermissionsWithGrantOption": [ "SELECT" ] } }

YAML

ExamplePermission: Type: AWS::LakeFormation::Permissions Properties: Principal: DataLakePrincipalIdentifier: "arn:sample_principal" Resource: Table: DatabaseName: "example_database" TableWildcard: { } Permissions: - "SELECT" PermissionsWithGrantOption: - "SELECT"