ec2_create_subnet_cidr_reservation: Creates a subnet CIDR reservation

View source: R/ec2_operations.R

ec2_create_subnet_cidr_reservationR Documentation

Creates a subnet CIDR reservation

Description

Creates a subnet CIDR reservation. For more information, see Subnet CIDR reservations in the Amazon Virtual Private Cloud User Guide and Assign prefixes to network interfaces in the Amazon Elastic Compute 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 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.


paws.compute documentation built on Sept. 12, 2023, 1:28 a.m.