aws ec2 modify-vpc-tenancy
Modifies the instance tenancy attribute of the specified VPC. AWS CLI reference
1 example 3 options Its page in the AWS CLI reference
Examples
To modify the tenancy of a VPC
The following modify-vpc-tenancy example modifies the tenancy of VPC vpc-1a2b3c4d to default.
aws ec2 modify-vpc-tenancy --vpc-id vpc-1a2b3c4d --instance-tenancy defaultIdentify--vpc-idThe ID of the VPC.--instance-tenancyThe instance tenancy attribute for the VPC.Its output
{
"ReturnValue": true
}For more information, see Change the instance tenancy of a VPC in the Amazon EC2 User Guide.
Options
--dry-runChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.--instance-tenancyThe instance tenancy attribute for the VPC.--vpc-idThe ID of the VPC.