AWS::DynamoDB::GlobalTable AttributeDefinition
Represents an attribute for describing the key schema for the table and indexes.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "AttributeName" :String, "AttributeType" :String}
YAML
AttributeName:StringAttributeType:String
Properties
AttributeName-
A name for the attribute.
Required: Yes
Type: String
Minimum:
1Maximum:
255Update requires: No interruption
AttributeType-
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:
B | N | SUpdate requires: No interruption
-