

This is the new *CloudFormation Template Reference Guide*. Please update your bookmarks and links. For help getting started with CloudFormation, see the [AWS CloudFormation User Guide](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/Welcome.html).

# AWS::CloudFront::Distribution ViewerMtlsConfig
<a name="aws-properties-cloudfront-distribution-viewermtlsconfig"></a>

A viewer mTLS configuration.

## Syntax
<a name="aws-properties-cloudfront-distribution-viewermtlsconfig-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-cloudfront-distribution-viewermtlsconfig-syntax.json"></a>

```
{
  "[Mode](#cfn-cloudfront-distribution-viewermtlsconfig-mode)" : String,
  "[TrustStoreConfig](#cfn-cloudfront-distribution-viewermtlsconfig-truststoreconfig)" : TrustStoreConfig
}
```

### YAML
<a name="aws-properties-cloudfront-distribution-viewermtlsconfig-syntax.yaml"></a>

```
  [Mode](#cfn-cloudfront-distribution-viewermtlsconfig-mode): String
  [TrustStoreConfig](#cfn-cloudfront-distribution-viewermtlsconfig-truststoreconfig): 
    TrustStoreConfig
```

## Properties
<a name="aws-properties-cloudfront-distribution-viewermtlsconfig-properties"></a>

`Mode`  <a name="cfn-cloudfront-distribution-viewermtlsconfig-mode"></a>
The viewer mTLS mode.  
*Required*: No  
*Type*: String  
*Allowed values*: `required | optional`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`TrustStoreConfig`  <a name="cfn-cloudfront-distribution-viewermtlsconfig-truststoreconfig"></a>
The trust store configuration associated with the viewer mTLS configuration.  
*Required*: No  
*Type*: [TrustStoreConfig](aws-properties-cloudfront-distribution-truststoreconfig.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)