Class: Aws::DynamoDB::Types::AttributeDefinition

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#attribute_nameString

A name for the attribute.

Returns:

  • (String)


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_typeString

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

Returns:

  • (String)


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