aws ec2 create-transit-gateway-vpc-attachment
Attaches the specified VPC to the specified transit gateway. AWS CLI reference
6 options Its page in the AWS CLI reference
Options
--dry-runChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.--optionsThe VPC attachment options.--subnet-idsThe IDs of one or more subnets.--tag-specificationsThe tags to apply to the VPC attachment.--transit-gateway-idThe ID of the transit gateway.--vpc-idThe ID of the VPC.