Neptune / Client / create_db_cluster_endpoint
create_db_cluster_endpoint#
- Neptune.Client.create_db_cluster_endpoint(**kwargs)#
Creates a new custom endpoint and associates it with an Amazon Neptune DB cluster.
See also: AWS API Documentation
Request Syntax
response = client.create_db_cluster_endpoint( DBClusterIdentifier='string', DBClusterEndpointIdentifier='string', EndpointType='string', StaticMembers=[ 'string', ], ExcludedMembers=[ 'string', ], Tags=[ { 'Key': 'string', 'Value': 'string' }, ] )
- Parameters:
DBClusterIdentifier (string) –
[REQUIRED]
The DB cluster identifier of the DB cluster associated with the endpoint. This parameter is stored as a lowercase string.
DBClusterEndpointIdentifier (string) –
[REQUIRED]
The identifier to use for the new endpoint. This parameter is stored as a lowercase string.
EndpointType (string) –
[REQUIRED]
The type of the 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) –
Tags (list) –
The tags to be assigned to the Amazon Neptune resource.
(dict) –
Metadata assigned to an Amazon Neptune 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:
orrds:
. The string can only contain 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:
orrds:
. The string can only contain the set of Unicode letters, digits, white-space, ‘_’, ‘.’, ‘/’, ‘=’, ‘+’, ‘-’ (Java regex: “^([\p{L}\p{Z}\p{N}_.:/=+\-]*)$”).
- Return type:
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 Neptune 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 Neptune 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
,inactive
,modifying
. Theinactive
state applies to an endpoint that cannot be used for a certain kind of cluster, such as awriter
endpoint for a read-only secondary cluster in a global database.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.
Exceptions
Neptune.Client.exceptions.DBClusterEndpointQuotaExceededFault
Neptune.Client.exceptions.DBClusterEndpointAlreadyExistsFault
Neptune.Client.exceptions.DBClusterNotFoundFault
Neptune.Client.exceptions.InvalidDBClusterStateFault
Neptune.Client.exceptions.DBInstanceNotFoundFault
Neptune.Client.exceptions.InvalidDBInstanceStateFault