# ViewerMtlsConfigProperty

A viewer mTLS configuration.

- Source: Generated code
- Type last changed: v2.230.0 · 26 Nov 2025

## 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

- `mode`: string — The viewer mTLS mode.

- `trustStoreConfig`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDistribution.TrustStoreConfigProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_cloudfront.CfnDistribution.TrustStoreConfigProperty.html) — The trust store configuration associated with the viewer mTLS configuration.
