Learn R Programming

paws.compute (version 0.7.0)

ec2_create_subnet_cidr_reservation: Creates a subnet CIDR reservation

Description

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.

Usage

ec2_create_subnet_cidr_reservation(
  SubnetId,
  Cidr,
  ReservationType,
  Description = NULL,
  DryRun = NULL,
  TagSpecifications = NULL
)

Arguments

SubnetId

[required] The ID of the subnet.

Cidr

[required] The IPv4 or IPV6 CIDR range to reserve.

ReservationType

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

Description

The description to assign to the subnet CIDR reservation.

DryRun

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.

TagSpecifications

The tags to assign to the subnet CIDR reservation.