ModifyVpcAttribute
In this article:
ModifyVpcAttribute#
Description#
Modifies the specified attribute of the specified VPC.
Request Parameters#
Required parameters#
VpcId — The ID of the VPC.
Type: String
Required: Yes
Optional parameters#
EnableDnsHostnames.Value — Not supported
EnableDnsSupport.Value — Indicates whether the DNS resolution is supported for the VPC. By default, DNS server is turned on when a VPC is created.
Type: Boolean
Required: No
Response Elements#
requestId — The request ID.
Type: String
return —
True
is returned if the request succeeds and an error otherwise.Type: Boolean
Examples#
c2-ec2 ModifyVpcAttribute VpcId <vpc_id> EnableDnsSupport.Value False