Class: Convection::Model::Template::Resource::Route53HostedZone

Inherits:
Convection::Model::Template::Resource show all
Includes:
Mixin::Taggable
Defined in:
lib/convection/model/template/resource/aws_route53_hosted_zone.rb

Overview

AWS::Route53::HostedZone

Instance Attribute Summary

Attributes inherited from Convection::Model::Template::Resource

#exist, #parent, #properties, #resource_attributes, #template

Instance Method Summary collapse

Methods included from Mixin::Taggable

#immutable_metadata, #render_tags, #tag, #tags

Methods inherited from Convection::Model::Template::Resource

#as_attribute, attach_method, #deletion_policy, #depends_on, #initialize, properties, #property, property, #reference, type, #type, #with_output

Methods included from Mixin::Conditional

#condition, #render_condition

Methods included from DSL::Template::Resource

attach_resource

Methods included from DSL::Helpers

#camel_case, included, method_name, #screaming_snake_case, #snake_case

Methods included from DSL::IntrinsicFunctions

#base64, #find_in_map, #fn_and, #fn_equals, #fn_if, #fn_not, #fn_or, #fn_ref, #get_att, #get_azs, #join, #select

Constructor Details

This class inherits a constructor from Convection::Model::Template::Resource

Instance Method Details

#configObject #config(value) ⇒ Object

Overloads:

  • #configObject

    Returns the value of the 'HostedZoneConfig' CloudFormation property.

  • #config(value) ⇒ Object

    Sets the 'HostedZoneConfig' CloudFormation property.

    Parameters:

    • value

      the value to set the 'HostedZoneConfig' CloudFormation property to.



14
# File 'lib/convection/model/template/resource/aws_route53_hosted_zone.rb', line 14

property :config, 'HostedZoneConfig'

#nameObject #name(value) ⇒ Object

Overloads:

  • #nameObject

    Returns the value of the 'Name' CloudFormation property.

  • #name(value) ⇒ Object

    Sets the 'Name' CloudFormation property.

    Parameters:

    • value

      the value to set the 'Name' CloudFormation property to.



15
# File 'lib/convection/model/template/resource/aws_route53_hosted_zone.rb', line 15

property :name, 'Name'

#render(*args) ⇒ Object



18
19
20
21
22
23
24
# File 'lib/convection/model/template/resource/aws_route53_hosted_zone.rb', line 18

def render(*args)
  super.tap do |resource|
    resource.tap do |r|
      r['Properties']['HostedZoneTags'] = tags.render unless tags.empty?
    end
  end
end

#vpcsObject #vpcs(value) ⇒ Object

Overloads:

  • #vpcsObject

    Returns the value of the 'VPCs' CloudFormation property.

  • #vpcs(value) ⇒ Object

    Sets the 'VPCs' CloudFormation property.

    Parameters:

    • value

      the value to set the 'VPCs' CloudFormation property to.



16
# File 'lib/convection/model/template/resource/aws_route53_hosted_zone.rb', line 16

property :vpcs, 'VPCs', :type => :list