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