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.2.12 lib/convection/model/template/resource/aws_route53_hosted_zone.rb
convection-2.2.11 lib/convection/model/template/resource/aws_route53_hosted_zone.rb
convection-2.2.10 lib/convection/model/template/resource/aws_route53_hosted_zone.rb
convection-2.2.9 lib/convection/model/template/resource/aws_route53_hosted_zone.rb
convection-2.2.8 lib/convection/model/template/resource/aws_route53_hosted_zone.rb
convection-2.2.7 lib/convection/model/template/resource/aws_route53_hosted_zone.rb
convection-2.2.6 lib/convection/model/template/resource/aws_route53_hosted_zone.rb
convection-2.2.5 lib/convection/model/template/resource/aws_route53_hosted_zone.rb
convection-2.2.4 lib/convection/model/template/resource/aws_route53_hosted_zone.rb
convection-2.2.3 lib/convection/model/template/resource/aws_route53_hosted_zone.rb
convection-2.2.2 lib/convection/model/template/resource/aws_route53_hosted_zone.rb
convection-2.2.1 lib/convection/model/template/resource/aws_route53_hosted_zone.rb
convection-2.2.0 lib/convection/model/template/resource/aws_route53_hosted_zone.rb
convection-2.1.2 lib/convection/model/template/resource/aws_route53_hosted_zone.rb
convection-2.1.1 lib/convection/model/template/resource/aws_route53_hosted_zone.rb
convection-2.1.0 lib/convection/model/template/resource/aws_route53_hosted_zone.rb
convection-2.0.0 lib/convection/model/template/resource/aws_route53_hosted_zone.rb
convection-1.1.7 lib/convection/model/template/resource/aws_route53_hosted_zone.rb
convection-1.1.5 lib/convection/model/template/resource/aws_route53_hosted_zone.rb
convection-1.1.4 lib/convection/model/template/resource/aws_route53_hosted_zone.rb