Amazon Relational Database Service

2019/11/25 - Amazon Relational Database Service - 1 updated api methods

Changes  Cluster Endpoints can now be tagged by using --tags in the create-db-cluster-endpoint API

CreateDBClusterEndpoint (updated) Link ΒΆ
Changes (request)
{'Tags': [{'Key': 'string', 'Value': 'string'}]}

Creates a new custom endpoint and associates it with an Amazon Aurora DB cluster.

Note

This action only applies to Aurora DB clusters.

See also: AWS API Documentation

Request Syntax

client.create_db_cluster_endpoint(
    DBClusterIdentifier='string',
    DBClusterEndpointIdentifier='string',
    EndpointType='string',
    StaticMembers=[
        'string',
    ],
    ExcludedMembers=[
        'string',
    ],
    Tags=[
        {
            'Key': 'string',
            'Value': 'string'
        },
    ]
)
type DBClusterIdentifier

string

param DBClusterIdentifier

[REQUIRED]

The DB cluster identifier of the DB cluster associated with the endpoint. This parameter is stored as a lowercase string.

type DBClusterEndpointIdentifier

string

param DBClusterEndpointIdentifier

[REQUIRED]

The identifier to use for the new endpoint. This parameter is stored as a lowercase string.

type EndpointType

string

param EndpointType

[REQUIRED]

The type of the endpoint. One of: READER , WRITER , ANY .

type StaticMembers

list

param StaticMembers

List of DB instance identifiers that are part of the custom endpoint group.

  • (string) --

type ExcludedMembers

list

param ExcludedMembers

List of DB instance identifiers that aren't part of the custom endpoint group. All other eligible instances are reachable through the custom endpoint. Only relevant if the list of static members is empty.

  • (string) --

type Tags

list

param Tags

The tags to be assigned to the Amazon RDS resource.

  • (dict) --

    Metadata assigned to an Amazon RDS resource consisting of a key-value pair.

    • Key (string) --

      A key is the required name of the tag. The string value can be from 1 to 128 Unicode characters in length and can't be prefixed with "aws:" or "rds:". The string can only contain only the set of Unicode letters, digits, white-space, '_', '.', '/', '=', '+', '-' (Java regex: "^([\p{L}\p{Z}\p{N}_.:/=+\-]*)$").

    • Value (string) --

      A value is the optional value of the tag. The string value can be from 1 to 256 Unicode characters in length and can't be prefixed with "aws:" or "rds:". The string can only contain only the set of Unicode letters, digits, white-space, '_', '.', '/', '=', '+', '-' (Java regex: "^([\p{L}\p{Z}\p{N}_.:/=+\-]*)$").

rtype

dict

returns

Response Syntax

{
    'DBClusterEndpointIdentifier': 'string',
    'DBClusterIdentifier': 'string',
    'DBClusterEndpointResourceIdentifier': 'string',
    'Endpoint': 'string',
    'Status': 'string',
    'EndpointType': 'string',
    'CustomEndpointType': 'string',
    'StaticMembers': [
        'string',
    ],
    'ExcludedMembers': [
        'string',
    ],
    'DBClusterEndpointArn': 'string'
}

Response Structure

  • (dict) --

    This data type represents the information you need to connect to an Amazon Aurora DB cluster. This data type is used as a response element in the following actions:

    • CreateDBClusterEndpoint

    • DescribeDBClusterEndpoints

    • ModifyDBClusterEndpoint

    • DeleteDBClusterEndpoint

    For the data structure that represents Amazon RDS DB instance endpoints, see Endpoint .

    • DBClusterEndpointIdentifier (string) --

      The identifier associated with the endpoint. This parameter is stored as a lowercase string.

    • DBClusterIdentifier (string) --

      The DB cluster identifier of the DB cluster associated with the endpoint. This parameter is stored as a lowercase string.

    • DBClusterEndpointResourceIdentifier (string) --

      A unique system-generated identifier for an endpoint. It remains the same for the whole life of the endpoint.

    • Endpoint (string) --

      The DNS address of the endpoint.

    • Status (string) --

      The current status of the endpoint. One of: creating , available , deleting , modifying .

    • EndpointType (string) --

      The type of the endpoint. One of: READER , WRITER , CUSTOM .

    • CustomEndpointType (string) --

      The type associated with a custom endpoint. One of: READER , WRITER , ANY .

    • StaticMembers (list) --

      List of DB instance identifiers that are part of the custom endpoint group.

      • (string) --

    • ExcludedMembers (list) --

      List of DB instance identifiers that aren't part of the custom endpoint group. All other eligible instances are reachable through the custom endpoint. Only relevant if the list of static members is empty.

      • (string) --

    • DBClusterEndpointArn (string) --

      The Amazon Resource Name (ARN) for the endpoint.