Class: Humidifier::EC2::Subnet

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

Overview

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

#assign_ipv6_address_on_creationObject

returns the AssignIpv6AddressOnCreation property



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

def assign_ipv6_address_on_creation
  properties['assign_ipv6_address_on_creation']
end

#assign_ipv6_address_on_creation=(value) ⇒ Object

sets the AssignIpv6AddressOnCreation property (Boolean)



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

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

#availability_zoneObject

returns the AvailabilityZone property



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

def availability_zone
  properties['availability_zone']
end

#availability_zone=(value) ⇒ Object

sets the AvailabilityZone property (String)



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

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

#availability_zone_idObject

returns the AvailabilityZoneId property



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

def availability_zone_id
  properties['availability_zone_id']
end

#availability_zone_id=(value) ⇒ Object

sets the AvailabilityZoneId property (String)



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

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

#cidr_blockObject

returns the CidrBlock property



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

def cidr_block
  properties['cidr_block']
end

#cidr_block=(value) ⇒ Object

sets the CidrBlock property (String)



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

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

#enable_dns64Object

returns the EnableDns64 property



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

def enable_dns64
  properties['enable_dns64']
end

#enable_dns64=(value) ⇒ Object

sets the EnableDns64 property (Boolean)



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

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

#ipv6_cidr_blockObject

returns the Ipv6CidrBlock property



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

def ipv6_cidr_block
  properties['ipv6_cidr_block']
end

#ipv6_cidr_block=(value) ⇒ Object

sets the Ipv6CidrBlock property (String)



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

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

#ipv6_nativeObject

returns the Ipv6Native property



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

def ipv6_native
  properties['ipv6_native']
end

#ipv6_native=(value) ⇒ Object

sets the Ipv6Native property (Boolean)



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

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

#map_public_ip_on_launchObject

returns the MapPublicIpOnLaunch property



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

def map_public_ip_on_launch
  properties['map_public_ip_on_launch']
end

#map_public_ip_on_launch=(value) ⇒ Object

sets the MapPublicIpOnLaunch property (Boolean)



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

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

#outpost_arnObject

returns the OutpostArn property



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

def outpost_arn
  properties['outpost_arn']
end

#outpost_arn=(value) ⇒ Object

sets the OutpostArn property (String)



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

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

#private_dns_name_options_on_launchObject

returns the PrivateDnsNameOptionsOnLaunch property



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

def private_dns_name_options_on_launch
  properties['private_dns_name_options_on_launch']
end

#private_dns_name_options_on_launch=(value) ⇒ Object

sets the PrivateDnsNameOptionsOnLaunch property (Json)



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

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

#tagsObject

returns the Tags property



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

def tags
  properties['tags']
end

#tags=(value) ⇒ Object

sets the Tags property (List)



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

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

#vpc_idObject

returns the VpcId property



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

def vpc_id
  properties['vpc_id']
end

#vpc_id=(value) ⇒ Object

sets the VpcId property (String)



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

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