Class: Humidifier::EC2::VPCCidrBlock

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

Overview

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

#amazon_provided_ipv6_cidr_blockObject

returns the AmazonProvidedIpv6CidrBlock property



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

def amazon_provided_ipv6_cidr_block
  properties['amazon_provided_ipv6_cidr_block']
end

#amazon_provided_ipv6_cidr_block=(value) ⇒ Object

sets the AmazonProvidedIpv6CidrBlock property (Boolean)



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

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

#cidr_blockObject

returns the CidrBlock property



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

def cidr_block
  properties['cidr_block']
end

#cidr_block=(value) ⇒ Object

sets the CidrBlock property (String)



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

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

#ipv4_ipam_pool_idObject

returns the Ipv4IpamPoolId property



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

def ipv4_ipam_pool_id
  properties['ipv4_ipam_pool_id']
end

#ipv4_ipam_pool_id=(value) ⇒ Object

sets the Ipv4IpamPoolId property (String)



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

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

#ipv4_netmask_lengthObject

returns the Ipv4NetmaskLength property



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

def ipv4_netmask_length
  properties['ipv4_netmask_length']
end

#ipv4_netmask_length=(value) ⇒ Object

sets the Ipv4NetmaskLength property (Integer)



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

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

#ipv6_cidr_blockObject

returns the Ipv6CidrBlock property



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

def ipv6_cidr_block
  properties['ipv6_cidr_block']
end

#ipv6_cidr_block=(value) ⇒ Object

sets the Ipv6CidrBlock property (String)



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

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

#ipv6_ipam_pool_idObject

returns the Ipv6IpamPoolId property



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

def ipv6_ipam_pool_id
  properties['ipv6_ipam_pool_id']
end

#ipv6_ipam_pool_id=(value) ⇒ Object

sets the Ipv6IpamPoolId property (String)



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

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

#ipv6_netmask_lengthObject

returns the Ipv6NetmaskLength property



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

def ipv6_netmask_length
  properties['ipv6_netmask_length']
end

#ipv6_netmask_length=(value) ⇒ Object

sets the Ipv6NetmaskLength property (Integer)



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

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

#ipv6_poolObject

returns the Ipv6Pool property



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

def ipv6_pool
  properties['ipv6_pool']
end

#ipv6_pool=(value) ⇒ Object

sets the Ipv6Pool property (String)



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

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

#vpc_idObject

returns the VpcId property



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

def vpc_id
  properties['vpc_id']
end

#vpc_id=(value) ⇒ Object

sets the VpcId property (String)



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

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