Create Vpc
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()
)
Character. The IPv4 network range for the VPC, in CIDR notation.
Logical. Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC.[optional]
Character. The ID of an IPv6 address pool from which to allocate the IPv6 CIDR block.[optional]
Character. The IPv6 CIDR block from the IPv6 address pool.[optional]
Logical. Checks whether you have the required permissions for the action, without actually making the request,...[optional]
Character. The tenancy options for instances launched into the VPC.[optional]
Character. The name of the location from which we advertise the IPV6 CIDR block.[optional]
List. The tags to assign to the VPC.[optional]
Logical. Whether to simplify the result and handle nextToken
in the response[optional]
Named list. The parameters that are not included in the function parameters and need to be added into the request[optional]
Logical. Whether to show an error message when a network error occurs.
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.
Numeric. Number of seconds to wait for a REST response until giving up. Can not be less than 1 ms.
Character. The region of the AWS service.
A list object or a character vector
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
.
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.
The ID of an IPv6 address pool from which to allocate the IPv6 CIDR block.
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.
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 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
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.
The tags to assign to the VPC.