aws rds deregister-db-proxy-targets
Remove the association between one or more DBProxyTarget data structures and a DBProxyTargetGroup. AWS CLI reference
1 example 4 options Its page in the AWS CLI reference
Examples
To deregister a DB proxy target from database target group
The following deregister-db-proxy-targets example removes the association between the proxy proxyExample and its target.
aws rds deregister-db-proxy-targets --db-proxy-name proxyExample --db-instance-identifiers database-1Identify--db-proxy-nameThe identifier of the DBProxy that is associated with the DBProxyTargetGroup.--db-instance-identifiersOne or more DB instance identifiers.This command produces no output.
For more information, see Deleting an RDS Proxy in the Amazon RDS User Guide and Deleting an RDS Proxy in the Amazon Aurora User Guide.
Options
--db-cluster-identifiersOne or more DB cluster identifiers.--db-instance-identifiersOne or more DB instance identifiers.--db-proxy-nameThe identifier of the DBProxy that is associated with the DBProxyTargetGroup.--target-group-nameThe identifier of the DBProxyTargetGroup.