Class: Aws::DynamoDB::Types::AttributeDefinition
- Inherits:
-
Struct
- Object
- Struct
- Aws::DynamoDB::Types::AttributeDefinition
- Includes:
- Structure
- Defined in:
- 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 '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 String
-
‘N` - the attribute is of type Number
-
‘B` - the attribute is of type Binary
67 68 69 70 71 72 |
# File 'lib/aws-sdk-dynamodb/types.rb', line 67 class AttributeDefinition < Struct.new( :attribute_name, :attribute_type) SENSITIVE = [] include Aws::Structure end |