Class: Humidifier::Lightsail::Bucket

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

Overview

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

#access_rulesObject

returns the AccessRules property



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

def access_rules
  properties['access_rules']
end

#access_rules=(value) ⇒ Object

sets the AccessRules property (Structure)



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

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

#bucket_nameObject

returns the BucketName property



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

def bucket_name
  properties['bucket_name']
end

#bucket_name=(value) ⇒ Object

sets the BucketName property (String)



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

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

#bundle_idObject

returns the BundleId property



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

def bundle_id
  properties['bundle_id']
end

#bundle_id=(value) ⇒ Object

sets the BundleId property (String)



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

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

#object_versioningObject

returns the ObjectVersioning property



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

def object_versioning
  properties['object_versioning']
end

#object_versioning=(value) ⇒ Object

sets the ObjectVersioning property (Boolean)



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

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

#read_only_access_accountsObject

returns the ReadOnlyAccessAccounts property



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

def read_only_access_accounts
  properties['read_only_access_accounts']
end

#read_only_access_accounts=(value) ⇒ Object

sets the ReadOnlyAccessAccounts property (List)



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

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

#resources_receiving_accessObject

returns the ResourcesReceivingAccess property



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

def resources_receiving_access
  properties['resources_receiving_access']
end

#resources_receiving_access=(value) ⇒ Object

sets the ResourcesReceivingAccess property (List)



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

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

#tagsObject

returns the Tags property



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

def tags
  properties['tags']
end

#tags=(value) ⇒ Object

sets the Tags property (List)



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

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