Skip to content
v2.278.0

CfnTrustStoreProps Struct ​

Properties for defining a CfnTrustStore.

Example ​

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 cfnTrustStoreProps: elbv2.CfnTrustStoreProps = {
  caCertificatesBundleS3Bucket: 'caCertificatesBundleS3Bucket',
  caCertificatesBundleS3Key: 'caCertificatesBundleS3Key',
  caCertificatesBundleS3ObjectVersion: 'caCertificatesBundleS3ObjectVersion',
  name: 'name',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
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_elasticloadbalancingv2 as elbv2

cfn_trust_store_props = elbv2.CfnTrustStoreProps(
    ca_certificates_bundle_s3_bucket="caCertificatesBundleS3Bucket",
    ca_certificates_bundle_s3_key="caCertificatesBundleS3Key",
    ca_certificates_bundle_s3_object_version="caCertificatesBundleS3ObjectVersion",
    name="name",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)
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.*;

CfnTrustStoreProps cfnTrustStoreProps = CfnTrustStoreProps.builder()
        .caCertificatesBundleS3Bucket("caCertificatesBundleS3Bucket")
        .caCertificatesBundleS3Key("caCertificatesBundleS3Key")
        .caCertificatesBundleS3ObjectVersion("caCertificatesBundleS3ObjectVersion")
        .name("name")
        .tags(List.of(CfnTag.builder()
                .key("key")
                .value("value")
                .build()))
        .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.ElasticLoadBalancingV2;

var cfnTrustStoreProps = new CfnTrustStoreProps {
    CaCertificatesBundleS3Bucket = "caCertificatesBundleS3Bucket",
    CaCertificatesBundleS3Key = "caCertificatesBundleS3Key",
    CaCertificatesBundleS3ObjectVersion = "caCertificatesBundleS3ObjectVersion",
    Name = "name",
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } }
};
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{
	CaCertificatesBundleS3Bucket: jsii.String("caCertificatesBundleS3Bucket"),
	CaCertificatesBundleS3Key: jsii.String("caCertificatesBundleS3Key"),
	CaCertificatesBundleS3ObjectVersion: jsii.String("caCertificatesBundleS3ObjectVersion"),
	Name: jsii.String("name"),
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}

Properties ​

caCertificatesBundleS3Bucketoptionalstringca_certificates_bundle_s3_bucketoptionalstrcaCertificatesBundleS3BucketoptionalStringCaCertificatesBundleS3BucketoptionalstringCaCertificatesBundleS3Bucketoptional*string #
The Amazon S3 bucket for the ca certificates bundle.
caCertificatesBundleS3Keyoptionalstringca_certificates_bundle_s3_keyoptionalstrcaCertificatesBundleS3KeyoptionalStringCaCertificatesBundleS3KeyoptionalstringCaCertificatesBundleS3Keyoptional*string #
The Amazon S3 path for the ca certificates bundle.
caCertificatesBundleS3ObjectVersionoptionalstringca_certificates_bundle_s3_object_versionoptionalstrcaCertificatesBundleS3ObjectVersionoptionalStringCaCertificatesBundleS3ObjectVersionoptionalstringCaCertificatesBundleS3ObjectVersionoptional*string #
The Amazon S3 object version for the ca certificates bundle.

If undefined the current version is used.

nameoptionalstringnameoptionalstrnameoptionalStringNameoptionalstringNameoptional*string #
The name of the trust store.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag #
The tags to assign to the trust store.