Provisions an IPv4 or IPv6 address range for use with your AWS resources
through bring your own IP addresses (BYOIP) and creates a corresponding
address pool. After the address range is provisioned, it is ready to be
advertised using advertise_byoip_cidr
.
AWS verifies that you own the address range and are authorized to advertise it. You must ensure that the address range is registered to you and that you created an RPKI ROA to authorize Amazon ASNs 16509 and 14618 to advertise the address range. For more information, see Bring Your Own IP Addresses (BYOIP) in the Amazon Elastic Compute Cloud User Guide.
Provisioning an address range is an asynchronous operation, so the call
returns immediately, but the address range is not ready to use until its
status changes from pending-provision
to provisioned
. To monitor the
status of an address range, use
describe_byoip_cidrs
. To allocate an
Elastic IP address from your IPv4 address pool, use
allocate_address
with either the specific
address from the address pool or the ID of the address pool.
ec2_provision_byoip_cidr(Cidr, CidrAuthorizationContext,
PubliclyAdvertisable, Description, DryRun, PoolTagSpecifications)
A list with the following syntax:
list(
ByoipCidr = list(
Cidr = "string",
Description = "string",
StatusMessage = "string",
State = "advertised"|"deprovisioned"|"failed-deprovision"|"failed-provision"|"pending-deprovision"|"pending-provision"|"provisioned"|"provisioned-not-publicly-advertisable"
)
)
[required] The public IPv4 or IPv6 address range, in CIDR notation. The most specific IPv4 prefix that you can specify is /24. The most specific IPv6 prefix you can specify is /56. The address range cannot overlap with another address range that you've brought to this or another Region.
A signed document that proves that you are authorized to bring the specified IP address range to Amazon using BYOIP.
(IPv6 only) Indicate whether the address range will be publicly advertised to the internet.
Default: true
A description for the address range and the address pool.
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
.
The tags to apply to the address pool.
svc$provision_byoip_cidr(
Cidr = "string",
CidrAuthorizationContext = list(
Message = "string",
Signature = "string"
),
PubliclyAdvertisable = TRUE|FALSE,
Description = "string",
DryRun = TRUE|FALSE,
PoolTagSpecifications = list(
list(
ResourceType = "client-vpn-endpoint"|"customer-gateway"|"dedicated-host"|"dhcp-options"|"egress-only-internet-gateway"|"elastic-ip"|"elastic-gpu"|"export-image-task"|"export-instance-task"|"fleet"|"fpga-image"|"host-reservation"|"image"|"import-image-task"|"import-snapshot-task"|"instance"|"internet-gateway"|"key-pair"|"launch-template"|"local-gateway-route-table-vpc-association"|"natgateway"|"network-acl"|"network-interface"|"network-insights-analysis"|"network-insights-path"|"placement-group"|"reserved-instances"|"route-table"|"security-group"|"snapshot"|"spot-fleet-request"|"spot-instances-request"|"subnet"|"traffic-mirror-filter"|"traffic-mirror-session"|"traffic-mirror-target"|"transit-gateway"|"transit-gateway-attachment"|"transit-gateway-connect-peer"|"transit-gateway-multicast-domain"|"transit-gateway-route-table"|"volume"|"vpc"|"vpc-peering-connection"|"vpn-connection"|"vpn-gateway"|"vpc-flow-log",
Tags = list(
list(
Key = "string",
Value = "string"
)
)
)
)
)