provision_public_ipv4_pool_cidr
¶
provision_public_ipv4_pool_cidr(
*,
config_overrides: Optional[EC2ClientConfig] = None,
dry_run: Optional[Boolean] = None,
ipam_pool_id: Optional[IpamPoolId] = None,
pool_id: Optional[Ipv4PoolEc2Id] = None,
netmask_length: Optional[Integer] = None,
network_border_group: Optional[String] = None,
) -> ProvisionPublicIpv4PoolCidrResult
Provision a CIDR to a public IPv4 pool.
For more information about IPAM, see What is IPAM? in the Amazon VPC IPAM User Guide.
Parameters:
-
dry_run(Optional[Boolean], default:None) –A check for 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 isUnauthorizedOperation. -
ipam_pool_id(Optional[IpamPoolId], default:None) –The ID of the IPAM pool you would like to use to allocate this CIDR.
-
pool_id(Optional[Ipv4PoolEc2Id], default:None) –The ID of the public IPv4 pool you would like to use for this CIDR.
-
netmask_length(Optional[Integer], default:None) –The netmask length of the CIDR you would like to allocate to the public IPv4 pool. The least specific netmask length you can define is 24.
-
network_border_group(Optional[String], default:None) –The Availability Zone (AZ) or Local Zone (LZ) network border group that the resource that the IP address is assigned to is in. Defaults to an AZ network border group. For more information on available Local Zones, see Local Zone availability in the Amazon EC2 User Guide.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/ec2.py
55558 55559 55560 55561 55562 55563 55564 55565 55566 55567 55568 55569 55570 55571 55572 55573 55574 55575 55576 55577 55578 55579 55580 55581 55582 55583 55584 55585 55586 55587 55588 55589 55590 55591 55592 55593 55594 55595 55596 55597 55598 55599 55600 55601 55602 55603 55604 55605 55606 55607 55608 55609 55610 55611 55612 55613 55614 55615 55616 | |