Class: Aws::DynamoDB::Types::AttributeDefinition
- Inherits:
-
Struct
- Object
- Struct
- Aws::DynamoDB::Types::AttributeDefinition
- Defined in:
- gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb
Overview
Represents an attribute for describing the schema for the table and indexes.
Constant Summary collapse
- SENSITIVE =
[]
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.
67 68 69 70 71 72 |
# File 'gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb', line 67 class AttributeDefinition < Struct.new( :attribute_name, :attribute_type) SENSITIVE = [] include Aws::Structure end |
#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 Binary
67 68 69 70 71 72 |
# File 'gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb', line 67 class AttributeDefinition < Struct.new( :attribute_name, :attribute_type) SENSITIVE = [] include Aws::Structure end |