Class: Humidifier::DynamoDB::GlobalTable

Inherits:
Resource
  • Object
show all
Defined in:
lib/humidifier/magic.rb

Overview

A dynamically-defined class that represents an AWS::DynamoDB::GlobalTable resource

Constant Summary

Constants inherited from Resource

Resource::COMMON_ATTRIBUTES

Instance Method Summary collapse

Methods inherited from Resource

#initialize, #method_missing, prop?, #respond_to_missing?, #to_cf, #update, #update_attributes, #update_property

Constructor Details

This class inherits a constructor from Humidifier::Resource

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Humidifier::Resource

Instance Method Details

#attribute_definitionsObject

returns the AttributeDefinitions property



10
11
12
# File 'lib/humidifier/magic.rb', line 10

def attribute_definitions
  properties['attribute_definitions']
end

#attribute_definitions=(value) ⇒ Object

sets the AttributeDefinitions property (List)



15
16
17
# File 'lib/humidifier/magic.rb', line 15

def attribute_definitions=(value)
  update_property('attribute_definitions', value)
end

#billing_modeObject

returns the BillingMode property



20
21
22
# File 'lib/humidifier/magic.rb', line 20

def billing_mode
  properties['billing_mode']
end

#billing_mode=(value) ⇒ Object

sets the BillingMode property (String)



25
26
27
# File 'lib/humidifier/magic.rb', line 25

def billing_mode=(value)
  update_property('billing_mode', value)
end

#global_secondary_indexesObject

returns the GlobalSecondaryIndexes property



30
31
32
# File 'lib/humidifier/magic.rb', line 30

def global_secondary_indexes
  properties['global_secondary_indexes']
end

#global_secondary_indexes=(value) ⇒ Object

sets the GlobalSecondaryIndexes property (List)



35
36
37
# File 'lib/humidifier/magic.rb', line 35

def global_secondary_indexes=(value)
  update_property('global_secondary_indexes', value)
end

#key_schemaObject

returns the KeySchema property



40
41
42
# File 'lib/humidifier/magic.rb', line 40

def key_schema
  properties['key_schema']
end

#key_schema=(value) ⇒ Object

sets the KeySchema property (List)



45
46
47
# File 'lib/humidifier/magic.rb', line 45

def key_schema=(value)
  update_property('key_schema', value)
end

#local_secondary_indexesObject

returns the LocalSecondaryIndexes property



50
51
52
# File 'lib/humidifier/magic.rb', line 50

def local_secondary_indexes
  properties['local_secondary_indexes']
end

#local_secondary_indexes=(value) ⇒ Object

sets the LocalSecondaryIndexes property (List)



55
56
57
# File 'lib/humidifier/magic.rb', line 55

def local_secondary_indexes=(value)
  update_property('local_secondary_indexes', value)
end

#replicasObject

returns the Replicas property



60
61
62
# File 'lib/humidifier/magic.rb', line 60

def replicas
  properties['replicas']
end

#replicas=(value) ⇒ Object

sets the Replicas property (List)



65
66
67
# File 'lib/humidifier/magic.rb', line 65

def replicas=(value)
  update_property('replicas', value)
end

#sse_specificationObject

returns the SSESpecification property



70
71
72
# File 'lib/humidifier/magic.rb', line 70

def sse_specification
  properties['sse_specification']
end

#sse_specification=(value) ⇒ Object

sets the SSESpecification property (Structure)



75
76
77
# File 'lib/humidifier/magic.rb', line 75

def sse_specification=(value)
  update_property('sse_specification', value)
end

#stream_specificationObject

returns the StreamSpecification property



80
81
82
# File 'lib/humidifier/magic.rb', line 80

def stream_specification
  properties['stream_specification']
end

#stream_specification=(value) ⇒ Object

sets the StreamSpecification property (Structure)



85
86
87
# File 'lib/humidifier/magic.rb', line 85

def stream_specification=(value)
  update_property('stream_specification', value)
end

#table_nameObject

returns the TableName property



90
91
92
# File 'lib/humidifier/magic.rb', line 90

def table_name
  properties['table_name']
end

#table_name=(value) ⇒ Object

sets the TableName property (String)



95
96
97
# File 'lib/humidifier/magic.rb', line 95

def table_name=(value)
  update_property('table_name', value)
end

#time_to_live_specificationObject

returns the TimeToLiveSpecification property



100
101
102
# File 'lib/humidifier/magic.rb', line 100

def time_to_live_specification
  properties['time_to_live_specification']
end

#time_to_live_specification=(value) ⇒ Object

sets the TimeToLiveSpecification property (Structure)



105
106
107
# File 'lib/humidifier/magic.rb', line 105

def time_to_live_specification=(value)
  update_property('time_to_live_specification', value)
end

#write_provisioned_throughput_settingsObject

returns the WriteProvisionedThroughputSettings property



110
111
112
# File 'lib/humidifier/magic.rb', line 110

def write_provisioned_throughput_settings
  properties['write_provisioned_throughput_settings']
end

#write_provisioned_throughput_settings=(value) ⇒ Object

sets the WriteProvisionedThroughputSettings property (Structure)



115
116
117
# File 'lib/humidifier/magic.rb', line 115

def write_provisioned_throughput_settings=(value)
  update_property('write_provisioned_throughput_settings', value)
end