Class: Humidifier::EC2::VPCEndpoint

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

Overview

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

#policy_documentObject

returns the PolicyDocument property



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

def policy_document
  properties['policy_document']
end

#policy_document=(value) ⇒ Object

sets the PolicyDocument property (Json)



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

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

#private_dns_enabledObject

returns the PrivateDnsEnabled property



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

def private_dns_enabled
  properties['private_dns_enabled']
end

#private_dns_enabled=(value) ⇒ Object

sets the PrivateDnsEnabled property (Boolean)



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

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

#route_table_idsObject

returns the RouteTableIds property



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

def route_table_ids
  properties['route_table_ids']
end

#route_table_ids=(value) ⇒ Object

sets the RouteTableIds property (List)



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

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

#security_group_idsObject

returns the SecurityGroupIds property



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

def security_group_ids
  properties['security_group_ids']
end

#security_group_ids=(value) ⇒ Object

sets the SecurityGroupIds property (List)



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

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

#service_nameObject

returns the ServiceName property



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

def service_name
  properties['service_name']
end

#service_name=(value) ⇒ Object

sets the ServiceName property (String)



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

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

#subnet_idsObject

returns the SubnetIds property



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

def subnet_ids
  properties['subnet_ids']
end

#subnet_ids=(value) ⇒ Object

sets the SubnetIds property (List)



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

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

#vpc_endpoint_typeObject

returns the VpcEndpointType property



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

def vpc_endpoint_type
  properties['vpc_endpoint_type']
end

#vpc_endpoint_type=(value) ⇒ Object

sets the VpcEndpointType property (String)



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

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

#vpc_idObject

returns the VpcId property



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

def vpc_id
  properties['vpc_id']
end

#vpc_id=(value) ⇒ Object

sets the VpcId property (String)



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

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