You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::EC2::Types::DescribeVpcAttributeResult

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb

Overview

Contains the output of DescribeVpcAttribute.

Instance Attribute Summary collapse

Instance Attribute Details

#enable_dns_hostnamesTypes::AttributeBooleanValue

Indicates whether the instances launched in the VPC get DNS hostnames. If this attribute is true, instances in the VPC get DNS hostnames; otherwise, they do not.



11190
11191
11192
11193
11194
11195
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 11190

class DescribeVpcAttributeResult < Struct.new(
  :vpc_id,
  :enable_dns_hostnames,
  :enable_dns_support)
  include Aws::Structure
end

#enable_dns_supportTypes::AttributeBooleanValue

Indicates whether DNS resolution is enabled for the VPC. If this attribute is true, the Amazon DNS server resolves DNS hostnames for your instances to their corresponding IP addresses; otherwise, it does not.



11190
11191
11192
11193
11194
11195
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 11190

class DescribeVpcAttributeResult < Struct.new(
  :vpc_id,
  :enable_dns_hostnames,
  :enable_dns_support)
  include Aws::Structure
end

#vpc_idString

The ID of the VPC.

Returns:

  • (String)


11190
11191
11192
11193
11194
11195
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 11190

class DescribeVpcAttributeResult < Struct.new(
  :vpc_id,
  :enable_dns_hostnames,
  :enable_dns_support)
  include Aws::Structure
end