Class: AWSCDK::CloudFront::CfnDistributionTenant::CertificateProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
cloud_front/cfn_distribution_tenant.rb

Overview

The Certificate Manager (ACM) certificate associated with your distribution.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(arn: nil) ⇒ CertificateProperty

Returns a new instance of CertificateProperty.

Parameters:

  • arn (String, nil) (defaults to: nil)

    The Amazon Resource Name (ARN) of the ACM certificate.



669
670
671
672
# File 'cloud_front/cfn_distribution_tenant.rb', line 669

def initialize(arn: nil)
  @arn = arn
  Jsii::Type.check_type(@arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "arn") unless @arn.nil?
end

Instance Attribute Details

#arnString? (readonly)

The Amazon Resource Name (ARN) of the ACM certificate.



678
679
680
# File 'cloud_front/cfn_distribution_tenant.rb', line 678

def arn
  @arn
end

Class Method Details

.jsii_propertiesObject



680
681
682
683
684
# File 'cloud_front/cfn_distribution_tenant.rb', line 680

def self.jsii_properties
  {
    :arn => "arn",
  }
end

Instance Method Details

#to_jsiiObject



686
687
688
689
690
691
692
# File 'cloud_front/cfn_distribution_tenant.rb', line 686

def to_jsii
  result = {}
  result.merge!({
    "arn" => @arn,
  })
  result.compact
end