Learn R Programming

paws.compute (version 0.3.1)

ec2_create_subnet_cidr_reservation: Creates a subnet CIDR reservation

Description

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.

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

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.