CmdID

CmdID / aws / aws route53resolver

aws route53resolver disassociate-resolver-endpoint-ip-address

Removes IP addresses from an inbound or an outbound Resolver endpoint. AWS CLI reference

1 example 2 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To disassociate an IP address from a Resolver endpoint

The following disassociate-resolver-endpoint-ip-address example removes an IP address from a specified Resolver inbound or outbound endpoint.

Note An endpoint must have at least two IP addresses. If an endpoint currently has only two IP addresses and you want to replace one address with another address, you must first use associate-resolver-endpoint-ip-address to associate the new IP address. Then you can disassociate one of the original IP addresses from the endpoint.

aws route53resolver disassociate-resolver-endpoint-ip-address --resolver-endpoint-id rslvr-in-f9ab8a03f1example --ip-address="SubnetId=subnet-12d8a459,Ip=172.31.40.121"Identify
--resolver-endpoint-idThe ID of the Resolver endpoint that you want to disassociate an IP address from.
--ip-addressThe IPv4 address that you want to remove from a Resolver endpoint.
Its output
{
    "ResolverEndpoint": {
        "Id": "rslvr-in-f9ab8a03f1example",
        "CreatorRequestId": "2020-01-01-18:47",
        "Arn": "arn:aws:route53resolver:us-west-2:123456789012:resolver-endpoint/rslvr-in-f9ab8a03f1example",
        "Name": "my-inbound-endpoint",
        "SecurityGroupIds": [
            "sg-f62bexam"
        ],
        "Direction": "INBOUND",
        "IpAddressCount": 3,
        "HostVPCId": "vpc-304bexam",
        "Status": "UPDATING",
        "StatusMessage": "Updating the Resolver Endpoint",
        "CreationTime": "2020-01-01T23:02:29.583Z",
        "ModificationTime": "2020-01-05T23:02:29.583Z"
    }
}

For more information, see Managing inbound endpoints in the Amazon Route 53 Developer Guide.

Options

2 in the AWS CLI reference
--ip-addressThe IPv4 address that you want to remove from a Resolver endpoint.
--resolver-endpoint-idThe ID of the Resolver endpoint that you want to disassociate an IP address from.