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_blockString

The primary IPv4 CIDR block for the VPC.

Returns:

  • (String)

    The primary IPv4 CIDR block for the VPC.

#cidr_block_association_setArray<Types::VpcCidrBlockAssociation>

Information about the IPv4 CIDR blocks associated with the VPC.

Returns:

#dhcp_options_idString

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_tenancyString

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_setArray<Types::VpcIpv6CidrBlockAssociation>

Information about the IPv6 CIDR blocks associated with the VPC.

Returns:

#is_defaultBoolean

Indicates whether the VPC is the default VPC.

Returns:

  • (Boolean)

    Indicates whether the VPC is the default VPC.

#owner_idString

The ID of the AWS account that owns the VPC.

Returns:

  • (String)

    The ID of the AWS account that owns the VPC.

#stateString

The current state of the VPC.

Possible values:

  • pending
  • available

Returns:

  • (String)

    The current state of the VPC.

#tagsArray<Types::Tag>

Any tags assigned to the VPC.

Returns:

  • (Array<Types::Tag>)

    Any tags assigned to the VPC.

#vpc_idString

The ID of the VPC.

Returns:

  • (String)

    The ID of the VPC.