interface ViewerMtlsConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.CloudFront.CfnDistribution.ViewerMtlsConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awscloudfront#CfnDistribution_ViewerMtlsConfigProperty |
Java | software.amazon.awscdk.services.cloudfront.CfnDistribution.ViewerMtlsConfigProperty |
Python | aws_cdk.aws_cloudfront.CfnDistribution.ViewerMtlsConfigProperty |
TypeScript | aws-cdk-lib » aws_cloudfront » CfnDistribution » ViewerMtlsConfigProperty |
A viewer mTLS configuration.
Example
// 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 viewerMtlsConfigProperty: cloudfront.CfnDistribution.ViewerMtlsConfigProperty = {
mode: 'mode',
trustStoreConfig: {
trustStoreId: 'trustStoreId',
// the properties below are optional
advertiseTrustStoreCaNames: false,
ignoreCertificateExpiry: false,
},
};
Properties
| Name | Type | Description |
|---|---|---|
| mode? | string | The viewer mTLS mode. |
| trust | IResolvable | Trust | The trust store configuration associated with the viewer mTLS configuration. |
mode?
Type:
string
(optional)
The viewer mTLS mode.
trustStoreConfig?
Type:
IResolvable | Trust
(optional)
The trust store configuration associated with the viewer mTLS configuration.

.NET
Go
Java
Python
TypeScript