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

Class: Aws::EC2::Types::Vpc

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Describes a VPC.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#cidr_block ⇒ String

The primary IPv4 CIDR block for the VPC.

Returns:

  • (String) —

    The primary IPv4 CIDR block for the VPC.

#cidr_block_association_set ⇒ Array<Types::VpcCidrBlockAssociation>

Information about the IPv4 CIDR blocks associated with the VPC.

Returns:

#dhcp_options_id ⇒ String

The ID of the set of DHCP options you\'ve associated with the VPC.

Returns:

  • (String) —

    The ID of the set of DHCP options you\'ve associated with the VPC.

#instance_tenancy ⇒ String

The allowed tenancy of instances launched into the VPC.

Possible values:

  • default
  • dedicated
  • host

Returns:

  • (String) —

    The allowed tenancy of instances launched into the VPC.

#ipv_6_cidr_block_association_set ⇒ Array<Types::VpcIpv6CidrBlockAssociation>

Information about the IPv6 CIDR blocks associated with the VPC.

Returns:

#is_default ⇒ Boolean

Indicates whether the VPC is the default VPC.

Returns:

  • (Boolean) —

    Indicates whether the VPC is the default VPC.

#owner_id ⇒ String

The ID of the AWS account that owns the VPC.

Returns:

  • (String) —

    The ID of the AWS account that owns the VPC.

#state ⇒ String

The current state of the VPC.

Possible values:

  • pending
  • available

Returns:

  • (String) —

    The current state of the VPC.

#tags ⇒ Array<Types::Tag>

Any tags assigned to the VPC.

Returns:

  • (Array<Types::Tag>) —

    Any tags assigned to the VPC.

#vpc_id ⇒ String

The ID of the VPC.

Returns:

  • (String) —

    The ID of the VPC.