Skip to content
v2.277.0

TrustStoreConfigProperty Struct ​

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

  // the properties below are optional
  advertiseTrustStoreCaNames: false,
  ignoreCertificateExpiry: false,
};
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
// 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();
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
};
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 ​

advertiseTrustStoreCaNamesoptionalboolean | IResolvableadvertise_trust_store_ca_namesoptionaltyping.Union[bool, IResolvable]advertiseTrustStoreCaNamesoptionalBooleanAdvertiseTrustStoreCaNamesoptionalboolAdvertiseTrustStoreCaNamesoptionalinterface{} #
The configuration to use to advertise trust store CA names.
ignoreCertificateExpiryoptionalboolean | IResolvableignore_certificate_expiryoptionaltyping.Union[bool, IResolvable]ignoreCertificateExpiryoptionalBooleanIgnoreCertificateExpiryoptionalboolIgnoreCertificateExpiryoptionalinterface{} #
The configuration to use to ignore certificate expiration.
trustStoreIdstringtrust_store_idstrtrustStoreIdStringTrustStoreIdstringTrustStoreId*string required #
The trust store ID.