CfnTrustStoreProps Struct
Properties for defining a CfnTrustStore.
| Source | |
|---|---|
| Type last changed |
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 cfnTrustStoreProps: cloudfront.CfnTrustStoreProps = {
name: 'name',
// the properties below are optional
caCertificatesBundleSource: {
caCertificatesBundleS3Location: {
bucket: 'bucket',
key: 'key',
region: 'region',
// the properties below are optional
version: 'version',
},
},
tags: [{
key: 'key',
value: 'value',
}],
useClientCertificateOcspEndpoint: false,
};
python
from aws_cdk import CfnTag
# 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
cfn_trust_store_props = cloudfront.CfnTrustStoreProps(
name="name",
# the properties below are optional
ca_certificates_bundle_source=cloudfront.CfnTrustStore.CaCertificatesBundleSourceProperty(
ca_certificates_bundle_s3_location=cloudfront.CfnTrustStore.CaCertificatesBundleS3LocationProperty(
bucket="bucket",
key="key",
region="region",
# the properties below are optional
version="version"
)
),
tags=[CfnTag(
key="key",
value="value"
)],
use_client_certificate_ocsp_endpoint=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.*;
CfnTrustStoreProps cfnTrustStoreProps = CfnTrustStoreProps.builder()
.name("name")
// the properties below are optional
.caCertificatesBundleSource(CaCertificatesBundleSourceProperty.builder()
.caCertificatesBundleS3Location(CaCertificatesBundleS3LocationProperty.builder()
.bucket("bucket")
.key("key")
.region("region")
// the properties below are optional
.version("version")
.build())
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.useClientCertificateOcspEndpoint(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 cfnTrustStoreProps = new CfnTrustStoreProps {
Name = "name",
// the properties below are optional
CaCertificatesBundleSource = new CaCertificatesBundleSourceProperty {
CaCertificatesBundleS3Location = new CaCertificatesBundleS3LocationProperty {
Bucket = "bucket",
Key = "key",
Region = "region",
// the properties below are optional
Version = "version"
}
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
UseClientCertificateOcspEndpoint = 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"
cfnTrustStoreProps := &CfnTrustStoreProps{
Name: jsii.String("name"),
// the properties below are optional
CaCertificatesBundleSource: &CaCertificatesBundleSourceProperty{
CaCertificatesBundleS3Location: &CaCertificatesBundleS3LocationProperty{
Bucket: jsii.String("bucket"),
Key: jsii.String("key"),
Region: jsii.String("region"),
// the properties below are optional
Version: jsii.String("version"),
},
},
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
UseClientCertificateOcspEndpoint: jsii.Boolean(false),
}
Properties
caCertificatesBundleSourceoptionalIResolvable | CfnTrustStore.ca_certificates_bundle_sourceoptionaltyping.Union[IResolvable, CaCertificatesBundleSourceProperty]caCertificatesBundleSourceoptionalIResolvableCaCertificatesBundleSourceoptionalIResolvableCaCertificatesBundleSourceoptionalinterface{} #A CA certificates bundle source.
The trust store's name.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag #A complex type that contains zero or more `Tag` elements.
useClientCertificateOcspEndpointoptionalboolean | IResolvableuse_client_certificate_ocsp_endpointoptionaltyping.Union[bool, IResolvable]useClientCertificateOcspEndpointoptionalBooleanUseClientCertificateOcspEndpointoptionalboolUseClientCertificateOcspEndpointoptionalinterface{} #A boolean.
When true, performs real-time certificate revocation checks by querying the OCSP endpoint specified within the client certificate.