CreateTrustStore - Elastic Load Balancing

CreateTrustStore

Creates a trust store.

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

CaCertificatesBundleS3Bucket

The Amazon S3 bucket for the ca certificates bundle.

Type: String

Required: Yes

CaCertificatesBundleS3Key

The Amazon S3 path for the ca certificates bundle.

Type: String

Required: Yes

CaCertificatesBundleS3ObjectVersion

The Amazon S3 object version for the ca certificates bundle. If undefined the current version is used.

Type: String

Required: No

Name

The name of the trust store.

This name must be unique per region and can't be changed after creation.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 32.

Pattern: ^([a-zA-Z0-9]+-)*[a-zA-Z0-9]+$

Required: Yes

Tags.member.N

The tags to assign to the trust store.

Type: Array of Tag objects

Array Members: Minimum number of 1 item.

Required: No

Response Elements

The following element is returned by the service.

TrustStores.member.N

Information about the trust store created.

Type: Array of TrustStore objects

Errors

For information about the errors that are common to all actions, see Common Errors.

CaCertificatesBundleNotFound

The specified ca certificate bundle does not exist.

HTTP Status Code: 400

DuplicateTagKeys

A tag key was specified more than once.

HTTP Status Code: 400

DuplicateTrustStoreName

A trust store with the specified name already exists.

HTTP Status Code: 400

InvalidCaCertificatesBundle

The specified ca certificate bundle is in an invalid format, or corrupt.

HTTP Status Code: 400

TooManyTags

You've reached the limit on the number of tags for this resource.

HTTP Status Code: 400

TooManyTrustStores

You've reached the limit on the number of trust stores for your AWS account.

HTTP Status Code: 400

Examples

Create a trust store.

This example creates a trust store using the current version of the specified ca certificate bundle.

Sample Request

https://elasticloadbalancing.amazonaws.com/?Action=CreateTrustStore &Name=my-trust-store &CaCertificatesBundleS3Bucket=amzn-s3-demo-bucket &CaCertificatesBundleS3Key=CACertBundle.pem &Version=2015-12-01 &AUTHPARAMS

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: