Creates a subnet CIDR reservation. For more information, see Subnet CIDR reservations in the Amazon VPC User Guide and Assign prefixes to network interfaces in the Amazon EC2 User Guide.
See https://www.paws-r-sdk.com/docs/ec2_create_subnet_cidr_reservation/ for full documentation.
ec2_create_subnet_cidr_reservation(
SubnetId,
Cidr,
ReservationType,
Description = NULL,
DryRun = NULL,
TagSpecifications = NULL
)
[required] The ID of the subnet.
[required] The IPv4 or IPV6 CIDR range to reserve.
[required] The type of reservation. The reservation type determines how the reserved IP addresses are assigned to resources.
prefix
- Amazon Web Services assigns the reserved IP addresses to
network interfaces.
explicit
- You assign the reserved IP addresses to network
interfaces.
The description to assign to the subnet CIDR reservation.
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 assign to the subnet CIDR reservation.