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
, "TableInput" :TableInput
} }
YAML
Type: AWS::Glue::Table Properties: CatalogId:
String
DatabaseName:String
TableInput:TableInput
Properties
CatalogId
-
The ID of the Data Catalog in which to create the
Table
. If none is supplied, the AWS account ID is used by default.Required: Yes
Type: String
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
Update requires: Replacement
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.