aws ec2 modify-transit-gateway-vpc-attachment
Modifies the specified VPC attachment. AWS CLI reference
5 options Its page in the AWS CLI reference
Options
--add-subnet-idsThe IDs of one or more subnets to add.--dry-runChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.--optionsThe new VPC attachment options.--remove-subnet-idsThe IDs of one or more subnets to remove.--transit-gateway-attachment-idThe ID of the attachment.