# AWS::RDS::DBClusterEndpoint The AWS::RDS::DBClusterEndpoint resource allows you to create custom Aurora Cluster endpoint. For more information, see Using custom endpoints in the Amazon RDS Aurora Guide. ## Syntax To declare this entity in your AWS CloudFormation template, use the following syntax: ### JSON
{ "Type" : "AWS::RDS::DBClusterEndpoint", "Properties" : { "DBClusterIdentifier" : String, "DBClusterEndpointIdentifier" : String, "EndpointType" : String, "StaticMembers" : [ String, ... ], "ExcludedMembers" : [ String, ... ], "Tags" : [ Tag, ... ] } }### YAML
Type: AWS::RDS::DBClusterEndpoint Properties: DBClusterIdentifier: String DBClusterEndpointIdentifier: String EndpointType: String StaticMembers: - String ExcludedMembers: - String Tags: - Tag## Properties #### DBClusterIdentifier The DB cluster identifier of the DB cluster associated with the endpoint. This parameter is stored as a lowercase string. _Required_: Yes _Type_: String _Minimum_:
1
_Maximum_: 63
_Update requires_: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)
#### DBClusterEndpointIdentifier
The identifier to use for the new endpoint. This parameter is stored as a lowercase string.
_Required_: No
_Type_: String
_Minimum_: 1
_Maximum_: 63
_Update requires_: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)
#### EndpointType
The type of the endpoint, one of: READER , WRITER , ANY
_Required_: Yes
_Type_: String
_Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)
#### StaticMembers
List of DB instance identifiers that are part of the custom endpoint group.
_Required_: No
_Type_: List of String
_Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)
#### 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. This parameter is relevant only if the list of static members is empty.
_Required_: No
_Type_: List of String
_Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)
#### Tags
An array of key-value pairs to apply to this resource.
_Required_: No
_Type_: List of Tag
_Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)
## Return Values
### Ref
When you pass the logical ID of this resource to the intrinsic `Ref` function, Ref returns the DBClusterEndpointIdentifier.
### Fn::GetAtt
The `Fn::GetAtt` intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.
For more information about using the `Fn::GetAtt` intrinsic function, see [Fn::GetAtt](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-getatt.html).
#### Endpoint
The DNS address of the endpoint.
#### DBClusterEndpointArn
The Amazon Resource Name (ARN) for the endpoint.