Class: TerraformDSL::AWS::Region
Instance Attribute Summary collapse
Attributes inherited from Resource
#parent
Instance Method Summary
collapse
Methods inherited from Resource
#accept, #attr, #set_parent
Constructor Details
#initialize(name = nil) ⇒ Region
Returns a new instance of Region.
91
92
93
|
# File 'lib/terraformdsl/aws.rb', line 91
def initialize(name=nil)
@name = name
end
|
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
94
95
96
|
# File 'lib/terraformdsl/aws.rb', line 94
def name
@name
end
|
Instance Method Details
#AMI(*a, &b) ⇒ Object
97
|
# File 'lib/terraformdsl/aws.rb', line 97
def AMI(*a, &b); add_resource(AMI.new(*a), &b); end
|
#AZ(*a, &b) ⇒ Object
96
|
# File 'lib/terraformdsl/aws.rb', line 96
def AZ (*a, &b); add_resource(AZ .new(*a), &b); end
|
#VPC(*a, &b) ⇒ Object
98
|
# File 'lib/terraformdsl/aws.rb', line 98
def VPC(*a, &b); add_resource(VPC.new(*a), &b); end
|