Learn R Programming

paws.compute (version 0.7.0)

ec2_create_transit_gateway_vpc_attachment: Attaches the specified VPC to the specified transit gateway

Description

Attaches the specified VPC to the specified transit gateway.

See https://www.paws-r-sdk.com/docs/ec2_create_transit_gateway_vpc_attachment/ for full documentation.

Usage

ec2_create_transit_gateway_vpc_attachment(
  TransitGatewayId,
  VpcId,
  SubnetIds,
  Options = NULL,
  TagSpecifications = NULL,
  DryRun = NULL
)

Arguments

TransitGatewayId

[required] The ID of the transit gateway.

VpcId

[required] The ID of the VPC.

SubnetIds

[required] 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.