AWS::Glue::Table - AWS CloudFormation

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

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

YAML

Type: AWS::Glue::Table Properties: CatalogId: String DatabaseName: String OpenTableFormatInput: OpenTableFormatInput TableInput: TableInput

Properties

CatalogId

The ID of the Data Catalog in which to create the Table.

Required: Yes

Type: String

Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\t]*

Minimum: 1

Maximum: 255

Update requires: Replacement

DatabaseName

The name of the database where the table metadata resides. For Hive compatibility, this must be all lowercase.

Required: Yes

Type: String

Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\t]*

Minimum: 1

Maximum: 255

Update requires: Replacement

OpenTableFormatInput

Specifies an OpenTableFormatInput structure when creating an open format table.

Required: No

Type: OpenTableFormatInput

Update requires: No interruption

TableInput

A structure used to define a table.

Required: Yes

Type: TableInput

Update requires: No interruption

Return values

Ref

When you pass the logical ID of this resource to the intrinsic Ref function, Ref returns the table name.

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

Fn::GetAtt