AWS::ElasticLoadBalancingV2::TrustStore
Creates a trust store. You must specify CaCertificatesBundleS3Bucket
and CaCertificatesBundleS3Key
.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::ElasticLoadBalancingV2::TrustStore", "Properties" : { "CaCertificatesBundleS3Bucket" :
String
, "CaCertificatesBundleS3Key" :String
, "CaCertificatesBundleS3ObjectVersion" :String
, "Name" :String
, "Tags" :[ Tag, ... ]
} }
YAML
Type: AWS::ElasticLoadBalancingV2::TrustStore Properties: CaCertificatesBundleS3Bucket:
String
CaCertificatesBundleS3Key:String
CaCertificatesBundleS3ObjectVersion:String
Name:String
Tags:- Tag
Properties
CaCertificatesBundleS3Bucket
-
The Amazon S3 bucket for the ca certificates bundle.
Required: No
Type: String
Update requires: No interruption
CaCertificatesBundleS3Key
-
The Amazon S3 path for the ca certificates bundle.
Required: No
Type: String
Update requires: No interruption
CaCertificatesBundleS3ObjectVersion
-
The Amazon S3 object version for the ca certificates bundle. If undefined the current version is used.
Required: No
Type: String
Update requires: No interruption
Name
-
The name of the trust store.
Required: No
Type: String
Pattern:
^([a-zA-Z0-9]+-)*[a-zA-Z0-9]+$
Minimum:
1
Maximum:
32
Update requires: Replacement
-
The tags to assign to the trust store.
Required: No
Type: Array of Tag
Minimum:
1
Update requires: No interruption
Return values
Ref
Fn::GetAtt
NumberOfCaCertificates
-
The number of ca certificates in the trust store.
Status
-
The current status of the trust store.
TrustStoreArn
-
The Amazon Resource Name (ARN) of the trust store.
Examples
The following example creates a trust store.
YAML
Resources: myTrustStore: Type: AWS::ElasticLoadBalancingV2::TrustStore Properties: Name: my-trust-store CaCertificatesBundleS3Bucket: amzn-s3-demo-bucket CaCertificatesBundleS3Key: certificates/ca-bundle.pem Tags: - Key: Environment Value: Production
JSON
{ "Resources": { "myTrustStore": { "Type": "AWS::ElasticLoadBalancingV2::TrustStore", "Properties": { "Name": "my-trust-store", "CaCertificatesBundleS3Bucket": "amzn-s3-demo-bucket", "CaCertificatesBundleS3Key": "certificates/ca-bundle.pem", "Tags": [ { "Key": "Environment", "Value": "Production" } ] } } }, }