# TrustStoreConfigProperty

A trust store configuration.

- Source: Generated at build time
- Type last changed: v2.230.0 · 26 Nov 2025

## Example

TypeScript:

```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 trustStoreConfigProperty: cloudfront.CfnDistribution.TrustStoreConfigProperty = {
  trustStoreId: 'trustStoreId',

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

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_cloudfront as cloudfront

trust_store_config_property = cloudfront.CfnDistribution.TrustStoreConfigProperty(
    trust_store_id="trustStoreId",

    # the properties below are optional
    advertise_trust_store_ca_names=False,
    ignore_certificate_expiry=False
)
```

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.cloudfront.*;

TrustStoreConfigProperty trustStoreConfigProperty = TrustStoreConfigProperty.builder()
        .trustStoreId("trustStoreId")

        // the properties below are optional
        .advertiseTrustStoreCaNames(false)
        .ignoreCertificateExpiry(false)
        .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.CloudFront;

var trustStoreConfigProperty = new TrustStoreConfigProperty {
    TrustStoreId = "trustStoreId",

    // the properties below are optional
    AdvertiseTrustStoreCaNames = false,
    IgnoreCertificateExpiry = false
};
```

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"

trustStoreConfigProperty := &TrustStoreConfigProperty{
	TrustStoreId: jsii.String("trustStoreId"),

	// the properties below are optional
	AdvertiseTrustStoreCaNames: jsii.Boolean(false),
	IgnoreCertificateExpiry: jsii.Boolean(false),
}
```

## Properties

- `advertiseTrustStoreCaNames`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — The configuration to use to advertise trust store CA names.

- `ignoreCertificateExpiry`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — The configuration to use to ignore certificate expiration.

- `trustStoreId`: string (required) — The trust store ID.
