Skip to content
v2.278.0

OriginMtlsConfigProperty Struct ​

Configures mutual TLS authentication between CloudFront and your origin server.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cloudfront as cloudfront } from 'aws-cdk-lib';
const originMtlsConfigProperty: cloudfront.CfnDistribution.OriginMtlsConfigProperty = {
  clientCertificateArn: 'clientCertificateArn',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_cloudfront as cloudfront

origin_mtls_config_property = cloudfront.CfnDistribution.OriginMtlsConfigProperty(
    client_certificate_arn="clientCertificateArn"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.cloudfront.*;

OriginMtlsConfigProperty originMtlsConfigProperty = OriginMtlsConfigProperty.builder()
        .clientCertificateArn("clientCertificateArn")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CloudFront;

var originMtlsConfigProperty = new OriginMtlsConfigProperty {
    ClientCertificateArn = "clientCertificateArn"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

originMtlsConfigProperty := &OriginMtlsConfigProperty{
	ClientCertificateArn: jsii.String("clientCertificateArn"),
}

Properties ​

clientCertificateArnstringclient_certificate_arnstrclientCertificateArnStringClientCertificateArnstringClientCertificateArn*string required #
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.