Class: Humidifier::Lightsail::Container

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

Overview

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

#container_service_deploymentObject

returns the ContainerServiceDeployment property



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

def container_service_deployment
  properties['container_service_deployment']
end

#container_service_deployment=(value) ⇒ Object

sets the ContainerServiceDeployment property (Structure)



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

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

#is_disabledObject

returns the IsDisabled property



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

def is_disabled
  properties['is_disabled']
end

#is_disabled=(value) ⇒ Object

sets the IsDisabled property (Boolean)



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

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

#powerObject

returns the Power property



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

def power
  properties['power']
end

#power=(value) ⇒ Object

sets the Power property (String)



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

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

#public_domain_namesObject

returns the PublicDomainNames property



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

def public_domain_names
  properties['public_domain_names']
end

#public_domain_names=(value) ⇒ Object

sets the PublicDomainNames property (List)



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

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

#scaleObject

returns the Scale property



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

def scale
  properties['scale']
end

#scale=(value) ⇒ Object

sets the Scale property (Integer)



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

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

#service_nameObject

returns the ServiceName property



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

def service_name
  properties['service_name']
end

#service_name=(value) ⇒ Object

sets the ServiceName property (String)



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

def service_name=(value)
  update_property('service_name', 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