AWS::DynamoDB::Table AttributeDefinition - 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::DynamoDB::Table AttributeDefinition

Represents an attribute for describing the schema for the table and indexes.


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


{ "AttributeName" : String, "AttributeType" : String }


AttributeName: String AttributeType: String



A name for the attribute.

Required: Yes

Type: String

Minimum: 1

Maximum: 255

Update requires: No interruption


The data type for the attribute, where:

  • S - the attribute is of type String

  • N - the attribute is of type Number

  • B - the attribute is of type Binary

Required: Yes

Type: String

Allowed values: S | N | B

Update requires: No interruption