ec2_create_vpc {aws.ecx}R Documentation

Create Vpc

Description

Create Vpc

Usage

ec2_create_vpc(
  CidrBlock,
  AmazonProvidedIpv6CidrBlock = NULL,
  Ipv6Pool = NULL,
  Ipv6CidrBlock = NULL,
  DryRun = NULL,
  InstanceTenancy = NULL,
  Ipv6CidrBlockNetworkBorderGroup = NULL,
  TagSpecification = NULL,
  simplify = TRUE,
  others = list(),
  print_on_error = aws_get_print_on_error(),
  retry_time = aws_get_retry_time(),
  network_timeout = aws_get_network_timeout(),
  region = aws_get_region()
)

Arguments

CidrBlock

Character. The IPv4 network range for the VPC, in CIDR notation.

AmazonProvidedIpv6CidrBlock

Logical. Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC.[optional]

Ipv6Pool

Character. The ID of an IPv6 address pool from which to allocate the IPv6 CIDR block.[optional]

Ipv6CidrBlock

Character. The IPv6 CIDR block from the IPv6 address pool.[optional]

DryRun

Logical. Checks whether you have the required permissions for the action, without actually making the request,...[optional]

InstanceTenancy

Character. The tenancy options for instances launched into the VPC.[optional]

Ipv6CidrBlockNetworkBorderGroup

Character. The name of the location from which we advertise the IPV6 CIDR block.[optional]

TagSpecification

List. The tags to assign to the VPC.[optional]

simplify

Logical. Whether to simplify the result and handle nextToken in the response[optional]

others

Named list. The parameters that are not included in the function parameters and need to be added into the request[optional]

print_on_error

Logical. Whether to show an error message when a network error occurs.

retry_time

Integer. Number of retries for a REST request when encounter the network issue. If the request has been sent retry_time times but still not be able to get the response, an error will be thrown.

network_timeout

Numeric. Number of seconds to wait for a REST response until giving up. Can not be less than 1 ms.

region

Character. The region of the AWS service.

Value

A list object or a character vector

CidrBlock

The IPv4 network range for the VPC, in CIDR notation. For example, ⁠10.0.0.0/16⁠. We modify the specified CIDR block to its canonical form; for example, if you specify ⁠100.68.0.18/18⁠, we modify it to ⁠100.68.0.0/18⁠.

AmazonProvidedIpv6CidrBlock

Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC. You cannot specify the range of IP addresses, or the size of the CIDR block.

Ipv6Pool

The ID of an IPv6 address pool from which to allocate the IPv6 CIDR block.

Ipv6CidrBlock

The IPv6 CIDR block from the IPv6 address pool. You must also specify Ipv6Pool in the request.

To let Amazon choose the IPv6 CIDR block for you, omit this parameter.

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.

InstanceTenancy

The tenancy options for instances launched into the VPC. For default, instances are launched with shared tenancy by default. You can launch instances with any tenancy into a shared tenancy VPC. For dedicated, instances are launched as dedicated tenancy instances by default. You can only launch instances with a tenancy of dedicated or host into a dedicated tenancy VPC.

Important: The host value cannot be used with this parameter. Use the default or dedicated values only.

Default: default

Ipv6CidrBlockNetworkBorderGroup

The name of the location from which we advertise the IPV6 CIDR block. Use this parameter to limit the address to this location.

You must set AmazonProvidedIpv6CidrBlock to true to use this parameter.

TagSpecification

The tags to assign to the VPC.


[Package aws.ecx version 1.0.5 Index]