Class: AWSCDK::CloudFront::CfnDistribution::OriginMtlsConfigProperty

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

Overview

Configures mutual TLS authentication between CloudFront and your origin server.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(client_certificate_arn:) ⇒ OriginMtlsConfigProperty

Returns a new instance of OriginMtlsConfigProperty.

Parameters:

  • client_certificate_arn (String)

    The Amazon Resource Name (ARN) of the client certificate stored in AWS Certificate Manager (ACM) that CloudFront uses to authenticate with your origin using Mutual TLS.



2765
2766
2767
2768
# File 'cloud_front/cfn_distribution.rb', line 2765

def initialize(client_certificate_arn:)
  @client_certificate_arn = client_certificate_arn
  Jsii::Type.check_type(@client_certificate_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "clientCertificateArn")
end

Instance Attribute Details

#client_certificate_arnString (readonly)

The Amazon Resource Name (ARN) of the client certificate stored in AWS Certificate Manager (ACM) that CloudFront uses to authenticate with your origin using Mutual TLS.



2774
2775
2776
# File 'cloud_front/cfn_distribution.rb', line 2774

def client_certificate_arn
  @client_certificate_arn
end

Class Method Details

.jsii_propertiesObject



2776
2777
2778
2779
2780
# File 'cloud_front/cfn_distribution.rb', line 2776

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

Instance Method Details

#to_jsiiObject



2782
2783
2784
2785
2786
2787
2788
# File 'cloud_front/cfn_distribution.rb', line 2782

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