AWS AWSEC2 documentation change
Summary
Updated CLI/PowerShell examples with placeholder IDs, improved formatting, and removed redundant console limitation statement. Changed 'Amazon EC2 instance' to 'EC2 instance' in cross-reference.
Security assessment
Changes are documentation formatting improvements and example standardization. No security-related content added or modified.
Diff
diff --git a/AWSEC2/latest/UserGuide/change-tenancy-vpc.md b/AWSEC2/latest/UserGuide/change-tenancy-vpc.md index 5cd35dd1e..a22b43d08 100644 --- a/AWSEC2/latest/UserGuide/change-tenancy-vpc.md +++ b/AWSEC2/latest/UserGuide/change-tenancy-vpc.md @@ -9 +9 @@ You can change the instance tenancy of a virtual private cloud (VPC) from `dedic -Alternatively, you can change the tenancy of specific instances. For more information, see [Change the tenancy of an Amazon EC2 instance](./dedicated-change-tenancy.html). +Alternatively, you can change the tenancy of specific instances. For more information, see [Change the tenancy of an EC2 instance](./dedicated-change-tenancy.html). @@ -15 +15 @@ Alternatively, you can change the tenancy of specific instances. For more inform - * You can't modify the instance tenancy of a VPC using the AWS Management Console You can modify it using the AWS CLI, an AWS SDK, or the Amazon EC2 API. + * You can't modify the instance tenancy of a VPC using the AWS Management Console. @@ -25 +25 @@ AWS CLI -Use the [modify-vpc-tenancy](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2/modify-vpc-tenancy.html) command and specify the ID of the VPC and instance tenancy value. The only supported value is `default`. +Use the [modify-vpc-tenancy](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2/modify-vpc-tenancy.html) command. The only supported tenancy value is `default`. @@ -28 +28,3 @@ Use the [modify-vpc-tenancy](https://awscli.amazonaws.com/v2/documentation/api/l - aws ec2 modify-vpc-tenancy --vpc-id vpc-1a2b3c4d --instance-tenancy default + aws ec2 modify-vpc-tenancy \ + --vpc-id vpc-0a60eb65b4EXAMPLE \ + --instance-tenancy default @@ -35 +37 @@ PowerShell -Use the [Edit-EC2VpcTenancy](https://docs.aws.amazon.com/powershell/latest/reference/items/Edit-EC2VpcTenancy.html) cmdlet and specify the ID of the VPC and instance tenancy value. The only supported value is `Default`. +Use the [Edit-EC2VpcTenancy](https://docs.aws.amazon.com/powershell/latest/reference/items/Edit-EC2VpcTenancy.html) cmdlet. The only supported tenancy value is `Default`. @@ -38 +40 @@ Use the [Edit-EC2VpcTenancy](https://docs.aws.amazon.com/powershell/latest/refer - Edit-EC2VpcTenancy -VpcId vpc-1a2b3c4d -InstanceTenancy Default + Edit-EC2VpcTenancy -VpcId vpc-0a60eb65b4EXAMPLE -InstanceTenancy Default