ElasticLoadBalancingv2 / Client / create_trust_store

create_trust_store#

ElasticLoadBalancingv2.Client.create_trust_store(**kwargs)#

Creates a trust store.

See also: AWS API Documentation

Request Syntax

response = client.create_trust_store(
    Name='string',
    CaCertificatesBundleS3Bucket='string',
    CaCertificatesBundleS3Key='string',
    CaCertificatesBundleS3ObjectVersion='string',
    Tags=[
        {
            'Key': 'string',
            'Value': 'string'
        },
    ]
)
Parameters:
  • Name (string) –

    [REQUIRED]

    The name of the trust store.

    This name must be unique per region and cannot be changed after creation.

  • CaCertificatesBundleS3Bucket (string) –

    [REQUIRED]

    The Amazon S3 bucket for the ca certificates bundle.

  • CaCertificatesBundleS3Key (string) –

    [REQUIRED]

    The Amazon S3 path for the ca certificates bundle.

  • CaCertificatesBundleS3ObjectVersion (string) – The Amazon S3 object version for the ca certificates bundle. If undefined the current version is used.

  • Tags (list) –

    The tags to assign to the trust store.

    • (dict) –

      Information about a tag.

      • Key (string) – [REQUIRED]

        The key of the tag.

      • Value (string) –

        The value of the tag.

Return type:

dict

Returns:

Response Syntax

{
    'TrustStores': [
        {
            'Name': 'string',
            'TrustStoreArn': 'string',
            'Status': 'ACTIVE'|'CREATING',
            'NumberOfCaCertificates': 123,
            'TotalRevokedEntries': 123
        },
    ]
}

Response Structure

  • (dict) –

    • TrustStores (list) –

      Information about the trust store created.

      • (dict) –

        Information about a trust store.

        • Name (string) –

          The name of the trust store.

        • TrustStoreArn (string) –

          The Amazon Resource Name (ARN) of the trust store.

        • Status (string) –

          The current status of the trust store.

        • NumberOfCaCertificates (integer) –

          The number of ca certificates in the trust store.

        • TotalRevokedEntries (integer) –

          The number of revoked certificates in the trust store.

Exceptions

  • ElasticLoadBalancingv2.Client.exceptions.DuplicateTrustStoreNameException

  • ElasticLoadBalancingv2.Client.exceptions.TooManyTrustStoresException

  • ElasticLoadBalancingv2.Client.exceptions.InvalidCaCertificatesBundleException

  • ElasticLoadBalancingv2.Client.exceptions.CaCertificatesBundleNotFoundException

  • ElasticLoadBalancingv2.Client.exceptions.TooManyTagsException

  • ElasticLoadBalancingv2.Client.exceptions.DuplicateTagKeysException