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-1.1.3 lib/convection/model/template/resource/aws_certificate_manager_certificate.rb
convection-1.1.2 lib/convection/model/template/resource/aws_certificate_manager_certificate.rb
convection-1.1.1 lib/convection/model/template/resource/aws_certificate_manager_certificate.rb
convection-1.1.0 lib/convection/model/template/resource/aws_certificate_manager_certificate.rb
convection-1.0.7 lib/convection/model/template/resource/aws_certificate_manager_certificate.rb
convection-1.0.6 lib/convection/model/template/resource/aws_certificate_manager_certificate.rb
convection-1.0.5 lib/convection/model/template/resource/aws_certificate_manager_certificate.rb
convection-1.0.4 lib/convection/model/template/resource/aws_certificate_manager_certificate.rb
convection-1.0.3 lib/convection/model/template/resource/aws_certificate_manager_certificate.rb
convection-1.0.2 lib/convection/model/template/resource/aws_certificate_manager_certificate.rb
convection-1.0.1 lib/convection/model/template/resource/aws_certificate_manager_certificate.rb
convection-1.0.0.pre.beta.10 lib/convection/model/template/resource/aws_certificate_manager_certificate.rb
convection-1.0.0.pre.beta.9 lib/convection/model/template/resource/aws_certificate_manager_certificate.rb
convection-1.0.0.pre.beta.8 lib/convection/model/template/resource/aws_certificate_manager_certificate.rb
convection-1.0.0.pre.beta.7 lib/convection/model/template/resource/aws_certificate_manager_certificate.rb
convection-1.0.0.pre.beta.6 lib/convection/model/template/resource/aws_certificate_manager_certificate.rb
convection-1.0.0.pre.beta.4 lib/convection/model/template/resource/aws_certificate_manager_certificate.rb