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

DynamoDB Attribute Definitions

A list of attribute definitions for the AWS::DynamoDB::Table resource. Each element is composed of an AttributeName and AttributeType.

Syntax

JSON

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

YAML

Copy
AttributeName: String AttributeType: 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 S for string data, N for numeric data, or B for binary data.

Required: Yes

Type: String

On this page: