Class: AWSCDK::CloudFront::CfnDistributionTenant::CertificateProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CloudFront::CfnDistributionTenant::CertificateProperty
- Defined in:
- cloud_front/cfn_distribution_tenant.rb
Overview
The Certificate Manager (ACM) certificate associated with your distribution.
Instance Attribute Summary collapse
-
#arn ⇒ String?
readonly
The Amazon Resource Name (ARN) of the ACM certificate.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(arn: nil) ⇒ CertificateProperty
constructor
A new instance of CertificateProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(arn: nil) ⇒ CertificateProperty
Returns a new instance of CertificateProperty.
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
#arn ⇒ String? (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_properties ⇒ Object
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_jsii ⇒ Object
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 |