Struct rusoto_ec2::ModifyVpcAttributeRequest [] [src]

pub struct ModifyVpcAttributeRequest {
    pub enable_dns_hostnames: Option<AttributeBooleanValue>,
    pub enable_dns_support: Option<AttributeBooleanValue>,
    pub vpc_id: String,
}

Contains the parameters for ModifyVpcAttribute.

Fields

Indicates whether the instances launched in the VPC get DNS hostnames. If enabled, instances in the VPC get DNS hostnames; otherwise, they do not.

You cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute. You can only enable DNS hostnames if you've enabled DNS support.

Indicates whether the DNS resolution is supported for the VPC. If enabled, queries to the Amazon provided DNS server at the 169.254.169.253 IP address, or the reserved IP address at the base of the VPC network range "plus two" will succeed. If disabled, the Amazon provided DNS service in the VPC that resolves public DNS hostnames to IP addresses is not enabled.

You cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute.

The ID of the VPC.

Trait Implementations

impl Default for ModifyVpcAttributeRequest
[src]

Returns the "default value" for a type. Read more

impl Debug for ModifyVpcAttributeRequest
[src]

Formats the value using the given formatter.

impl Clone for ModifyVpcAttributeRequest
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more