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

AWS::Glue::Partition

The AWS::Glue::Partition resource creates an AWS Glue partition, which represents a slice of table data. For more information, see CreatePartition Action and Partition 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::Partition", "Properties" : { "TableName" : String, "DatabaseName" : String, "CatalogId" : String, "PartitionInput" : PartitionInput } }

YAML

Copy
Type: "AWS::Glue::Partition" Properties: TableName: String DatabaseName: String CatalogId: String PartitionInput: PartitionInput

Properties

TableName

The name of the metadata table to create the partition in.

Required: Yes

Type: String

Update requires: Replacement

DatabaseName

The name of the catalog database to create the partition in. 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

PartitionInput

The metadata of the partition.

Required: Yes

Type: AWS Glue Partition PartitionInput

Update requires: Some interruptions

See Also

On this page: