Amazon DynamoDB Table AttributeDefinition
The AttributeDefinition property type represents an attribute for describing the key schema for a DynamoDB
table and indexes.
Note
AWS CloudFormation uses these attributes to provision the keys for the table. They don't represent the full schema of the table.
The AttributeDefinition property of the AWS::DynamoDB::Table resource contains a list of AttributeDefinition property types.
Syntax
JSON
{ "AttributeName" :String, "AttributeType" :String}
YAML
AttributeName:StringAttributeType:String
Properties
AttributeName-
The name of an attribute. Attribute names can be 1 – 255 characters long and have no character restrictions.
Required: Yes
Type: String
AttributeType-
The data type for the attribute. You can specify
Sfor string data,Nfor numeric data, orBfor binary data.Required: Yes
Type: String
