# MutualAuthenticationProperty

The mutual authentication configuration information.

- Source: Generated at build time
- Type last changed: v2.173.0 · 12 Dec 2024

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_elasticloadbalancingv2 as elbv2 } from 'aws-cdk-lib';
const mutualAuthenticationProperty: elbv2.CfnListener.MutualAuthenticationProperty = {
  advertiseTrustStoreCaNames: 'advertiseTrustStoreCaNames',
  ignoreClientCertificateExpiry: false,
  mode: 'mode',
  trustStoreArn: 'trustStoreArn',
};
```

Python:

```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_elasticloadbalancingv2 as elbv2

mutual_authentication_property = elbv2.CfnListener.MutualAuthenticationProperty(
    advertise_trust_store_ca_names="advertiseTrustStoreCaNames",
    ignore_client_certificate_expiry=False,
    mode="mode",
    trust_store_arn="trustStoreArn"
)
```

Java:

```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.elasticloadbalancingv2.*;

MutualAuthenticationProperty mutualAuthenticationProperty = MutualAuthenticationProperty.builder()
        .advertiseTrustStoreCaNames("advertiseTrustStoreCaNames")
        .ignoreClientCertificateExpiry(false)
        .mode("mode")
        .trustStoreArn("trustStoreArn")
        .build();
```

C# / .NET:

```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.ElasticLoadBalancingV2;

var mutualAuthenticationProperty = new MutualAuthenticationProperty {
    AdvertiseTrustStoreCaNames = "advertiseTrustStoreCaNames",
    IgnoreClientCertificateExpiry = false,
    Mode = "mode",
    TrustStoreArn = "trustStoreArn"
};
```

Golang:

```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"

mutualAuthenticationProperty := &MutualAuthenticationProperty{
	AdvertiseTrustStoreCaNames: jsii.String("advertiseTrustStoreCaNames"),
	IgnoreClientCertificateExpiry: jsii.Boolean(false),
	Mode: jsii.String("mode"),
	TrustStoreArn: jsii.String("trustStoreArn"),
}
```

## Properties

- `advertiseTrustStoreCaNames`: string — Indicates whether trust store CA certificate names are advertised.

- `ignoreClientCertificateExpiry`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — Indicates whether expired client certificates are ignored.

- `mode`: string — The client certificate handling method.

  Options are `off` , `passthrough` or `verify` . The default value is `off` .

- `trustStoreArn`: string — The Amazon Resource Name (ARN) of the trust store.
