You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::DynamoDB::Types::AttributeDefinition
- Inherits:
-
Struct
- Object
- Struct
- Aws::DynamoDB::Types::AttributeDefinition
- Defined in:
- (unknown)
Overview
Note:
When passing AttributeDefinition as input to an Aws::Client method, you can use a vanilla Hash:
{
attribute_name: "KeySchemaAttributeName", # required
attribute_type: "S", # required, accepts S, N, B
}
Represents an attribute for describing the key schema for the table and indexes.
Instance Attribute Summary collapse
-
#attribute_name ⇒ String
A name for the attribute.
-
#attribute_type ⇒ String
The data type for the attribute, where:.
Instance Attribute Details
#attribute_name ⇒ String
A name for the attribute.
#attribute_type ⇒ String
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 BinaryPossible values:
- S
- N
- B