class Aws::DynamoDB::Types::AttributeDefinition

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

@note When making an API call, you may pass AttributeDefinition

data as a hash:

    {
      attribute_name: "KeySchemaAttributeName", # required
      attribute_type: "S", # required, accepts S, N, B
    }

@!attribute [rw] attribute_name

A name for the attribute.
@return [String]

@!attribute [rw] attribute_type

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
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/AttributeDefinition AWS API Documentation

Constants

SENSITIVE