aws::db-cluster-endpoint

Create a db cluster endpoint.

Example

aws::db-cluster-endpoint endpoint-example
    identifier: "endpoint"
    db-cluster: $(aws::db-cluster db-cluster-example)
    endpoint-type: "READER"
    static-members: [$(aws::db-instance db-instance-example)]
end

Attributes

Attribute Description
identifier The unique identifier of the endpoint. (Required)
db-cluster The DB cluster associated with the endpoint. (Required)
endpoint-type The type of the endpoint. Cannot be set to WRITER if ‘db-cluster’ is set to Aurora. Valid values are READER, WRITER or ANY. (Required)
excluded-members list List of DB instances to be excluded from the custom endpoint group. Only applicable if static-members is empty.
static-members list List of DB instances that are part of the custom endpoint group.

Outputs

Attribute Description
endpoint-address DNS address of the endpoint.