Sha256: bc7ff34aed010e4e3aece54bc30f019767d4ac7908ece14399e8750a302837bf

Contents?: true

Size: 1.06 KB

Versions: 57

Compression:

Stored size: 1.06 KB

Contents

require_relative '../resource'

module Convection
  module Model
    class Template
      class Resource
        ##
        # AWS::CertificateManager::Certificate
        ##
        class CertificateManagerCertificate < Resource
          include Model::Mixin::Taggable

          type 'AWS::CertificateManager::Certificate', :certificate_manager_certificate
          property :domain_name, 'DomainName'
          property :domain_validation_options, 'DomainValidationOptions', :type => :list
          property :subject_alternative_names, 'SubjectAlternativeNames', :type => :list

          # Append a domain_validation_option to domain_validation_options
          def domain_validation_option(&block)
            option = ResourceProperty::CertificateManagerCertificateDomainValidationOption.new(self)
            option.instance_exec(&block) if block
            domain_validation_options << option
          end

          def render(*args)
            super.tap do |resource|
              render_tags(resource)
            end
          end
        end
      end
    end
  end
end

Version data entries

57 entries across 57 versions & 1 rubygems

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