Class: Humidifier::DynamoDB::Table

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

Overview

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

AWS 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

#contributor_insights_specificationObject

returns the ContributorInsightsSpecification property



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

def contributor_insights_specification
  properties['contributor_insights_specification']
end

#contributor_insights_specification=(value) ⇒ Object

sets the ContributorInsightsSpecification property (Structure)



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

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

#global_secondary_indexesObject

returns the GlobalSecondaryIndexes property



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

def global_secondary_indexes
  properties['global_secondary_indexes']
end

#global_secondary_indexes=(value) ⇒ Object

sets the GlobalSecondaryIndexes property (List)



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

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

#key_schemaObject

returns the KeySchema property



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

def key_schema
  properties['key_schema']
end

#key_schema=(value) ⇒ Object

sets the KeySchema property (List)



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

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

#kinesis_stream_specificationObject

returns the KinesisStreamSpecification property



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

def kinesis_stream_specification
  properties['kinesis_stream_specification']
end

#kinesis_stream_specification=(value) ⇒ Object

sets the KinesisStreamSpecification property (Structure)



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

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

#local_secondary_indexesObject

returns the LocalSecondaryIndexes property



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

def local_secondary_indexes
  properties['local_secondary_indexes']
end

#local_secondary_indexes=(value) ⇒ Object

sets the LocalSecondaryIndexes property (List)



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

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

#point_in_time_recovery_specificationObject

returns the PointInTimeRecoverySpecification property



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

def point_in_time_recovery_specification
  properties['point_in_time_recovery_specification']
end

#point_in_time_recovery_specification=(value) ⇒ Object

sets the PointInTimeRecoverySpecification property (Structure)



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

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

#provisioned_throughputObject

returns the ProvisionedThroughput property



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

def provisioned_throughput
  properties['provisioned_throughput']
end

#provisioned_throughput=(value) ⇒ Object

sets the ProvisionedThroughput property (Structure)



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

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

#sse_specificationObject

returns the SSESpecification property



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

def sse_specification
  properties['sse_specification']
end

#sse_specification=(value) ⇒ Object

sets the SSESpecification property (Structure)



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

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

#stream_specificationObject

returns the StreamSpecification property



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

def stream_specification
  properties['stream_specification']
end

#stream_specification=(value) ⇒ Object

sets the StreamSpecification property (Structure)



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

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

#table_classObject

returns the TableClass property



120
121
122
# File 'lib/humidifier/magic.rb', line 120

def table_class
  properties['table_class']
end

#table_class=(value) ⇒ Object

sets the TableClass property (String)



125
126
127
# File 'lib/humidifier/magic.rb', line 125

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

#table_nameObject

returns the TableName property



130
131
132
# File 'lib/humidifier/magic.rb', line 130

def table_name
  properties['table_name']
end

#table_name=(value) ⇒ Object

sets the TableName property (String)



135
136
137
# File 'lib/humidifier/magic.rb', line 135

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

#tagsObject

returns the Tags property



140
141
142
# File 'lib/humidifier/magic.rb', line 140

def tags
  properties['tags']
end

#tags=(value) ⇒ Object

sets the Tags property (List)



145
146
147
# File 'lib/humidifier/magic.rb', line 145

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

#time_to_live_specificationObject

returns the TimeToLiveSpecification property



150
151
152
# File 'lib/humidifier/magic.rb', line 150

def time_to_live_specification
  properties['time_to_live_specification']
end

#time_to_live_specification=(value) ⇒ Object

sets the TimeToLiveSpecification property (Structure)



155
156
157
# File 'lib/humidifier/magic.rb', line 155

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