Class: Humidifier::Lightsail::Distribution

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

Overview

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

#bundle_idObject

returns the BundleId property



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

def bundle_id
  properties['bundle_id']
end

#bundle_id=(value) ⇒ Object

sets the BundleId property (String)



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

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

#cache_behavior_settingsObject

returns the CacheBehaviorSettings property



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

def cache_behavior_settings
  properties['cache_behavior_settings']
end

#cache_behavior_settings=(value) ⇒ Object

sets the CacheBehaviorSettings property (Structure)



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

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

#cache_behaviorsObject

returns the CacheBehaviors property



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

def cache_behaviors
  properties['cache_behaviors']
end

#cache_behaviors=(value) ⇒ Object

sets the CacheBehaviors property (List)



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

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

#certificate_nameObject

returns the CertificateName property



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

def certificate_name
  properties['certificate_name']
end

#certificate_name=(value) ⇒ Object

sets the CertificateName property (String)



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

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

#default_cache_behaviorObject

returns the DefaultCacheBehavior property



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

def default_cache_behavior
  properties['default_cache_behavior']
end

#default_cache_behavior=(value) ⇒ Object

sets the DefaultCacheBehavior property (Structure)



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

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

#distribution_nameObject

returns the DistributionName property



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

def distribution_name
  properties['distribution_name']
end

#distribution_name=(value) ⇒ Object

sets the DistributionName property (String)



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

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

#ip_address_typeObject

returns the IpAddressType property



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

def ip_address_type
  properties['ip_address_type']
end

#ip_address_type=(value) ⇒ Object

sets the IpAddressType property (String)



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

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

#is_enabledObject

returns the IsEnabled property



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

def is_enabled
  properties['is_enabled']
end

#is_enabled=(value) ⇒ Object

sets the IsEnabled property (Boolean)



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

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

#originObject

returns the Origin property



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

def origin
  properties['origin']
end

#origin=(value) ⇒ Object

sets the Origin property (Structure)



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

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

#tagsObject

returns the Tags property



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

def tags
  properties['tags']
end

#tags=(value) ⇒ Object

sets the Tags property (List)



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

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