aws ec2 create-coip-pool
Creates a pool of customer-owned IP (CoIP) addresses. AWS CLI reference
1 example 3 options Its page in the AWS CLI reference
Examples
To create a pool of customer-owned IP (CoIP) addresses
The following create-coip-pool example creates a CoIP pool for CoIP addresses in the specified local gateway route table.
aws ec2 create-coip-pool --local-gateway-route-table-id lgw-rtb-abcdefg1234567890Identify--local-gateway-route-table-idThe ID of the local gateway route table.Its output
{
"CoipPool": {
"PoolId": "ipv4pool-coip-1234567890abcdefg",
"LocalGatewayRouteTableId": "lgw-rtb-abcdefg1234567890",
"PoolArn": "arn:aws:ec2:us-west-2:123456789012:coip-pool/ipv4pool-coip-1234567890abcdefg"
}
}For more information, see Customer-owned IP addresses in the AWS Outposts User Guide.
Options
--dry-runChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.--local-gateway-route-table-idThe ID of the local gateway route table.--tag-specificationsThe tags to assign to the CoIP address pool.