EC2.Client.
provision_public_ipv4_pool_cidr
(**kwargs)¶Provision a CIDR to a public IPv4 pool.
For more information about IPAM, see What is IPAM? in the Amazon VPC IPAM User Guide .
See also: AWS API Documentation
Request Syntax
response = client.provision_public_ipv4_pool_cidr(
DryRun=True|False,
IpamPoolId='string',
PoolId='string',
NetmaskLength=123
)
DryRunOperation
. Otherwise, it is UnauthorizedOperation
.[REQUIRED]
The ID of the IPAM pool you would like to use to allocate this CIDR.
[REQUIRED]
The ID of the public IPv4 pool you would like to use for this CIDR.
[REQUIRED]
The netmask length of the CIDR you would like to allocate to the public IPv4 pool.
dict
Response Syntax
{
'PoolId': 'string',
'PoolAddressRange': {
'FirstAddress': 'string',
'LastAddress': 'string',
'AddressCount': 123,
'AvailableAddressCount': 123
}
}
Response Structure
(dict) --
PoolId (string) --
The ID of the pool that you want to provision the CIDR to.
PoolAddressRange (dict) --
Information about the address range of the public IPv4 pool.
FirstAddress (string) --
The first IP address in the range.
LastAddress (string) --
The last IP address in the range.
AddressCount (integer) --
The number of addresses in the range.
AvailableAddressCount (integer) --
The number of available addresses in the range.