Class: Humidifier::S3::Bucket

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

Overview

A dynamically-defined class that represents an AWS::S3::Bucket 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

#accelerate_configurationObject

returns the AccelerateConfiguration property



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

def accelerate_configuration
  properties['accelerate_configuration']
end

#accelerate_configuration=(value) ⇒ Object

sets the AccelerateConfiguration property (Structure)



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

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

#access_controlObject

returns the AccessControl property



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

def access_control
  properties['access_control']
end

#access_control=(value) ⇒ Object

sets the AccessControl property (String)



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

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

#analytics_configurationsObject

returns the AnalyticsConfigurations property



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

def analytics_configurations
  properties['analytics_configurations']
end

#analytics_configurations=(value) ⇒ Object

sets the AnalyticsConfigurations property (List)



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

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

#bucket_encryptionObject

returns the BucketEncryption property



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

def bucket_encryption
  properties['bucket_encryption']
end

#bucket_encryption=(value) ⇒ Object

sets the BucketEncryption property (Structure)



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

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

#bucket_nameObject

returns the BucketName property



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

def bucket_name
  properties['bucket_name']
end

#bucket_name=(value) ⇒ Object

sets the BucketName property (String)



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

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

#cors_configurationObject

returns the CorsConfiguration property



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

def cors_configuration
  properties['cors_configuration']
end

#cors_configuration=(value) ⇒ Object

sets the CorsConfiguration property (Structure)



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

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

#intelligent_tiering_configurationsObject

returns the IntelligentTieringConfigurations property



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

def intelligent_tiering_configurations
  properties['intelligent_tiering_configurations']
end

#intelligent_tiering_configurations=(value) ⇒ Object

sets the IntelligentTieringConfigurations property (List)



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

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

#inventory_configurationsObject

returns the InventoryConfigurations property



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

def inventory_configurations
  properties['inventory_configurations']
end

#inventory_configurations=(value) ⇒ Object

sets the InventoryConfigurations property (List)



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

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

#lifecycle_configurationObject

returns the LifecycleConfiguration property



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

def lifecycle_configuration
  properties['lifecycle_configuration']
end

#lifecycle_configuration=(value) ⇒ Object

sets the LifecycleConfiguration property (Structure)



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

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

#logging_configurationObject

returns the LoggingConfiguration property



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

def logging_configuration
  properties['logging_configuration']
end

#logging_configuration=(value) ⇒ Object

sets the LoggingConfiguration property (Structure)



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

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

#metrics_configurationsObject

returns the MetricsConfigurations property



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

def metrics_configurations
  properties['metrics_configurations']
end

#metrics_configurations=(value) ⇒ Object

sets the MetricsConfigurations property (List)



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

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

#notification_configurationObject

returns the NotificationConfiguration property



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

def notification_configuration
  properties['notification_configuration']
end

#notification_configuration=(value) ⇒ Object

sets the NotificationConfiguration property (Structure)



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

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

#object_lock_configurationObject

returns the ObjectLockConfiguration property



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

def object_lock_configuration
  properties['object_lock_configuration']
end

#object_lock_configuration=(value) ⇒ Object

sets the ObjectLockConfiguration property (Structure)



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

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

#object_lock_enabledObject

returns the ObjectLockEnabled property



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

def object_lock_enabled
  properties['object_lock_enabled']
end

#object_lock_enabled=(value) ⇒ Object

sets the ObjectLockEnabled property (Boolean)



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

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

#ownership_controlsObject

returns the OwnershipControls property



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

def ownership_controls
  properties['ownership_controls']
end

#ownership_controls=(value) ⇒ Object

sets the OwnershipControls property (Structure)



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

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

#public_access_block_configurationObject

returns the PublicAccessBlockConfiguration property



160
161
162
# File 'lib/humidifier/magic.rb', line 160

def public_access_block_configuration
  properties['public_access_block_configuration']
end

#public_access_block_configuration=(value) ⇒ Object

sets the PublicAccessBlockConfiguration property (Structure)



165
166
167
# File 'lib/humidifier/magic.rb', line 165

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

#replication_configurationObject

returns the ReplicationConfiguration property



170
171
172
# File 'lib/humidifier/magic.rb', line 170

def replication_configuration
  properties['replication_configuration']
end

#replication_configuration=(value) ⇒ Object

sets the ReplicationConfiguration property (Structure)



175
176
177
# File 'lib/humidifier/magic.rb', line 175

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

#tagsObject

returns the Tags property



180
181
182
# File 'lib/humidifier/magic.rb', line 180

def tags
  properties['tags']
end

#tags=(value) ⇒ Object

sets the Tags property (List)



185
186
187
# File 'lib/humidifier/magic.rb', line 185

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

#versioning_configurationObject

returns the VersioningConfiguration property



190
191
192
# File 'lib/humidifier/magic.rb', line 190

def versioning_configuration
  properties['versioning_configuration']
end

#versioning_configuration=(value) ⇒ Object

sets the VersioningConfiguration property (Structure)



195
196
197
# File 'lib/humidifier/magic.rb', line 195

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

#website_configurationObject

returns the WebsiteConfiguration property



200
201
202
# File 'lib/humidifier/magic.rb', line 200

def website_configuration
  properties['website_configuration']
end

#website_configuration=(value) ⇒ Object

sets the WebsiteConfiguration property (Structure)



205
206
207
# File 'lib/humidifier/magic.rb', line 205

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