Sha256: 2cd59949c61037a42be6377c00d4de502a425bf1e03bae7eb28b9338c6481d15

Contents?: true

Size: 710 Bytes

Versions: 72

Compression:

Stored size: 710 Bytes

Contents

require_relative '../resource'

module Convection
  module Model
    class Template
      class Resource
        ##
        # AWS::Route53::HostedZone
        ##
        class Route53HostedZone < Resource
          include Model::Mixin::Taggable

          type 'AWS::Route53::HostedZone', :route53_hosted_zone
          property :config, 'HostedZoneConfig'
          property :name, 'Name'
          property :vpcs, 'VPCs', :type => :list

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

Version data entries

72 entries across 72 versions & 1 rubygems

Version Path
convection-2.3.1 lib/convection/model/template/resource/aws_route53_hosted_zone.rb
convection-2.3.0 lib/convection/model/template/resource/aws_route53_hosted_zone.rb
convection-2.2.29 lib/convection/model/template/resource/aws_route53_hosted_zone.rb
convection-2.2.28.pre.beta.2 lib/convection/model/template/resource/aws_route53_hosted_zone.rb
convection-2.2.28.pre.beta.1 lib/convection/model/template/resource/aws_route53_hosted_zone.rb
convection-2.2.27 lib/convection/model/template/resource/aws_route53_hosted_zone.rb
convection-2.2.26 lib/convection/model/template/resource/aws_route53_hosted_zone.rb
convection-2.2.25 lib/convection/model/template/resource/aws_route53_hosted_zone.rb
convection-2.2.24 lib/convection/model/template/resource/aws_route53_hosted_zone.rb
convection-2.2.23 lib/convection/model/template/resource/aws_route53_hosted_zone.rb
convection-2.2.22 lib/convection/model/template/resource/aws_route53_hosted_zone.rb
convection-2.2.21 lib/convection/model/template/resource/aws_route53_hosted_zone.rb
convection-2.2.20 lib/convection/model/template/resource/aws_route53_hosted_zone.rb
convection-2.2.19 lib/convection/model/template/resource/aws_route53_hosted_zone.rb
convection-2.2.18 lib/convection/model/template/resource/aws_route53_hosted_zone.rb
convection-2.2.17 lib/convection/model/template/resource/aws_route53_hosted_zone.rb
convection-2.2.16 lib/convection/model/template/resource/aws_route53_hosted_zone.rb
convection-2.2.15 lib/convection/model/template/resource/aws_route53_hosted_zone.rb
convection-2.2.14 lib/convection/model/template/resource/aws_route53_hosted_zone.rb
convection-2.2.13 lib/convection/model/template/resource/aws_route53_hosted_zone.rb