Skip to content
v2.274.0

ViewerMtlsConfigProperty Struct ​

A viewer mTLS configuration.

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 viewerMtlsConfigProperty: cloudfront.CfnDistribution.ViewerMtlsConfigProperty = {
  mode: 'mode',
  trustStoreConfig: {
    trustStoreId: 'trustStoreId',

    // the properties below are optional
    advertiseTrustStoreCaNames: false,
    ignoreCertificateExpiry: false,
  },
};

Properties ​

modeoptionalstringmodeoptionalstrmodeoptionalStringModeoptionalstringModeoptional*string#
The viewer mTLS mode.
trustStoreConfigoptionalIResolvable | CfnDistribution.TrustStoreConfigPropertytrust_store_configoptionaltyping.Union[IResolvable, TrustStoreConfigProperty]trustStoreConfigoptionalIResolvableTrustStoreConfigoptionalIResolvableTrustStoreConfigoptionalinterface{}#
The trust store configuration associated with the viewer mTLS configuration.