create_coip_cidr

EC2.Client.create_coip_cidr(**kwargs)

Creates a range of customer-owned IP addresses.

See also: AWS API Documentation

Request Syntax

response = client.create_coip_cidr(
    Cidr='string',
    CoipPoolId='string',
    DryRun=True|False
)
Parameters
  • Cidr (string) --

    [REQUIRED]

    A customer-owned IP address range to create.

  • CoipPoolId (string) --

    [REQUIRED]

    The ID of the address pool.

  • DryRun (boolean) -- Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation . Otherwise, it is UnauthorizedOperation .
Return type

dict

Returns

Response Syntax

{
    'CoipCidr': {
        'Cidr': 'string',
        'CoipPoolId': 'string',
        'LocalGatewayRouteTableId': 'string'
    }
}

Response Structure

  • (dict) --

    • CoipCidr (dict) --

      Information about a range of customer-owned IP addresses.

      • Cidr (string) --

        An address range in a customer-owned IP address space.

      • CoipPoolId (string) --

        The ID of the address pool.

      • LocalGatewayRouteTableId (string) --

        The ID of the local gateway route table.