Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

ec2_create_transit_gateway_vpc_attachment

Create Transit Gateway Vpc Attachment


Description

Create Transit Gateway Vpc Attachment

Usage

ec2_create_transit_gateway_vpc_attachment(
  TransitGatewayId,
  VpcId,
  SubnetIds,
  Options = NULL,
  TagSpecifications = NULL,
  DryRun = 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

TransitGatewayId

Character. The ID of the transit gateway.

VpcId

Character. The ID of the VPC.

SubnetIds

List. The IDs of one or more subnets.

Options

Object. The VPC attachment options.[optional]

TagSpecifications

List. The tags to apply to the VPC attachment.[optional]

DryRun

Logical. Checks whether you have the required permissions for the action, without actually making the request,...[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

TransitGatewayId

The ID of the transit gateway.

VpcId

The ID of the VPC.

SubnetIds

The IDs of one or more subnets. You can specify only one subnet per Availability Zone. You must specify at least one subnet, but we recommend that you specify two subnets for better availability. The transit gateway uses one IP address from each specified subnet.

Options

The VPC attachment options.

TagSpecifications

The tags to apply to the VPC attachment.

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.


aws.ecx

Communicating with AWS EC2 and ECS using AWS REST APIs

v1.0.4
GPL-3
Authors
Jiefei Wang [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.