Class: Dynamoid::CDK::Schema::Descriptor
- Inherits:
-
Data
- Object
- Data
- Dynamoid::CDK::Schema::Descriptor
- Defined in:
- lib/dynamoid/cdk/schema/descriptor.rb
Overview
A model's table shape as plain data — readable and buildable with no AWS
CDK present. sort_key is nil for a hash-only table.
Instance Attribute Summary collapse
-
#global_secondary_indexes ⇒ Object
readonly
Returns the value of attribute global_secondary_indexes.
-
#local_secondary_indexes ⇒ Object
readonly
Returns the value of attribute local_secondary_indexes.
-
#partition_key ⇒ Object
readonly
Returns the value of attribute partition_key.
-
#sort_key ⇒ Object
readonly
Returns the value of attribute sort_key.
Instance Attribute Details
#global_secondary_indexes ⇒ Object (readonly)
Returns the value of attribute global_secondary_indexes
18 19 20 |
# File 'lib/dynamoid/cdk/schema/descriptor.rb', line 18 def global_secondary_indexes @global_secondary_indexes end |
#local_secondary_indexes ⇒ Object (readonly)
Returns the value of attribute local_secondary_indexes
18 19 20 |
# File 'lib/dynamoid/cdk/schema/descriptor.rb', line 18 def local_secondary_indexes @local_secondary_indexes end |
#partition_key ⇒ Object (readonly)
Returns the value of attribute partition_key
18 19 20 |
# File 'lib/dynamoid/cdk/schema/descriptor.rb', line 18 def partition_key @partition_key end |
#sort_key ⇒ Object (readonly)
Returns the value of attribute sort_key
18 19 20 |
# File 'lib/dynamoid/cdk/schema/descriptor.rb', line 18 def sort_key @sort_key end |