aws ec2 delete-transit-gateway-vpc-attachment
Deletes the specified VPC attachment. AWS CLI reference
2 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.--transit-gateway-attachment-idThe ID of the attachment.