AWS::DynamoDB::Table AttributeDefinition - AWS CloudFormation (original) (raw)
Represents an attribute for describing the schema for the table and indexes.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{
"AttributeName" : String,
"AttributeType" : String
}
YAML
AttributeName: String
AttributeType: String
Properties
AttributeName
A name for the attribute.
Required: Yes
Type: String
Minimum: 1
Maximum: 255
Update requires: No interruption
AttributeType
The data type for the attribute, where:
S
- the attribute is of type StringN
- the attribute is of type NumberB
- the attribute is of type Binary
Required: Yes
Type: String
Allowed values: S | N | B
Update requires: No interruption
AWS::DynamoDB::Table
ContributorInsightsSpecification
Did this page help you? - Yes
Thanks for letting us know we're doing a good job!
If you've got a moment, please tell us what we did right so we can do more of it.
Did this page help you? - No
Thanks for letting us know this page needs work. We're sorry we let you down.
If you've got a moment, please tell us how we can make the documentation better.