Creates a subnet CIDR reservation. For information about subnet CIDR reservations, see Subnet CIDR reservations in the Amazon Virtual Private Cloud 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 following are valid values:
prefix
: The Amazon EC2 Prefix Delegation feature assigns the IP
addresses to network interfaces that are associated with an
instance. For information about Prefix Delegation, see Prefix Delegation for Amazon EC2 network interfaces in
the Amazon Elastic Compute Cloud User Guide.
explicit
: You manually assign the IP addresses to resources that
reside in your subnet.
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.