Menu
AWS CloudFormation
User Guide (API Version 2010-05-15)

AWS::Glue::Table

The AWS::Glue::Table resource specifies tabular data in the AWS Glue data catalog. For more information, see Defining Tables in the AWS Glue Data Catalog and Table Structure in the AWS Glue Developer Guide.

Syntax

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

JSON

Copy
{ "Type" : "AWS::Glue::Table", "Properties" : { "TableInput" : TableInput, "DatabaseName" : String, "CatalogId" : String } }

YAML

Copy
Type: "AWS::Glue::Table" Properties: TableInput: TableInput DatabaseName: String CatalogId: String

Properties

TableInput

The metadata of the table.

Required: Yes

Type: AWS Glue Table TableInput

Update requires: Some interruptions

DatabaseName

The name of the catalog database for the table. It must match the single-line string pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\t]*

Required: Yes

Type: String

Update requires: Replacement

CatalogId

The ID of the data catalog to create the catalog object in. Currently, this should be the AWS account ID.

Note

To specify the account ID, you can use the Ref intrinsic function with the AWS::AccountId pseudo parameter—for example !Ref AWS::AccountId.

Required: Yes

Type: String

Update requires: No interruption

Return Values

Ref

When the logical ID of this resource is provided to the Ref intrinsic function, Ref returns the TableInput name.

For more information about using the Ref function, see Ref.