Skip to content

Provision Public Ipv 4 Pool Cidr

ec2_provision_public_ipv_4_pool_cidr R Documentation

Provision a CIDR to a public IPv4 pool

Description

Provision a CIDR to a public IPv4 pool.

For more information about IPAM, see What is IPAM? in the Amazon VPC IPAM User Guide.

Usage

ec2_provision_public_ipv_4_pool_cidr(DryRun, IpamPoolId, PoolId,
  NetmaskLength, NetworkBorderGroup)

Arguments

DryRun

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 is UnauthorizedOperation.

IpamPoolId

[required] The ID of the IPAM pool you would like to use to allocate this CIDR.

PoolId

[required] The ID of the public IPv4 pool you would like to use for this CIDR.

NetmaskLength

[required] 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.

NetworkBorderGroup

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.

Value

A list with the following syntax:

list(
  PoolId = "string",
  PoolAddressRange = list(
    FirstAddress = "string",
    LastAddress = "string",
    AddressCount = 123,
    AvailableAddressCount = 123
  )
)

Request syntax

svc$provision_public_ipv_4_pool_cidr(
  DryRun = TRUE|FALSE,
  IpamPoolId = "string",
  PoolId = "string",
  NetmaskLength = 123,
  NetworkBorderGroup = "string"
)