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

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

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

Overview

Describes a VPC.

Instance Attribute Summary collapse

Instance Attribute Details

#cidr_blockString

The primary IPv4 CIDR block for the VPC.

Returns:

  • (String)


29549
29550
29551
29552
29553
29554
29555
29556
29557
29558
29559
29560
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 29549

class Vpc < Struct.new(
  :cidr_block,
  :dhcp_options_id,
  :state,
  :vpc_id,
  :instance_tenancy,
  :ipv_6_cidr_block_association_set,
  :cidr_block_association_set,
  :is_default,
  :tags)
  include Aws::Structure
end

#cidr_block_association_setArray<Types::VpcCidrBlockAssociation>

Information about the IPv4 CIDR blocks associated with the VPC.

Returns:



29549
29550
29551
29552
29553
29554
29555
29556
29557
29558
29559
29560
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 29549

class Vpc < Struct.new(
  :cidr_block,
  :dhcp_options_id,
  :state,
  :vpc_id,
  :instance_tenancy,
  :ipv_6_cidr_block_association_set,
  :cidr_block_association_set,
  :is_default,
  :tags)
  include Aws::Structure
end

#dhcp_options_idString

The ID of the set of DHCP options you've associated with the VPC (or default if the default options are associated with the VPC).

Returns:

  • (String)


29549
29550
29551
29552
29553
29554
29555
29556
29557
29558
29559
29560
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 29549

class Vpc < Struct.new(
  :cidr_block,
  :dhcp_options_id,
  :state,
  :vpc_id,
  :instance_tenancy,
  :ipv_6_cidr_block_association_set,
  :cidr_block_association_set,
  :is_default,
  :tags)
  include Aws::Structure
end

#instance_tenancyString

The allowed tenancy of instances launched into the VPC.

Returns:

  • (String)


29549
29550
29551
29552
29553
29554
29555
29556
29557
29558
29559
29560
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 29549

class Vpc < Struct.new(
  :cidr_block,
  :dhcp_options_id,
  :state,
  :vpc_id,
  :instance_tenancy,
  :ipv_6_cidr_block_association_set,
  :cidr_block_association_set,
  :is_default,
  :tags)
  include Aws::Structure
end

#ipv_6_cidr_block_association_setArray<Types::VpcIpv6CidrBlockAssociation>

Information about the IPv6 CIDR blocks associated with the VPC.



29549
29550
29551
29552
29553
29554
29555
29556
29557
29558
29559
29560
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 29549

class Vpc < Struct.new(
  :cidr_block,
  :dhcp_options_id,
  :state,
  :vpc_id,
  :instance_tenancy,
  :ipv_6_cidr_block_association_set,
  :cidr_block_association_set,
  :is_default,
  :tags)
  include Aws::Structure
end

#is_defaultBoolean

Indicates whether the VPC is the default VPC.

Returns:

  • (Boolean)


29549
29550
29551
29552
29553
29554
29555
29556
29557
29558
29559
29560
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 29549

class Vpc < Struct.new(
  :cidr_block,
  :dhcp_options_id,
  :state,
  :vpc_id,
  :instance_tenancy,
  :ipv_6_cidr_block_association_set,
  :cidr_block_association_set,
  :is_default,
  :tags)
  include Aws::Structure
end

#stateString

The current state of the VPC.

Returns:

  • (String)


29549
29550
29551
29552
29553
29554
29555
29556
29557
29558
29559
29560
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 29549

class Vpc < Struct.new(
  :cidr_block,
  :dhcp_options_id,
  :state,
  :vpc_id,
  :instance_tenancy,
  :ipv_6_cidr_block_association_set,
  :cidr_block_association_set,
  :is_default,
  :tags)
  include Aws::Structure
end

#tagsArray<Types::Tag>

Any tags assigned to the VPC.

Returns:



29549
29550
29551
29552
29553
29554
29555
29556
29557
29558
29559
29560
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 29549

class Vpc < Struct.new(
  :cidr_block,
  :dhcp_options_id,
  :state,
  :vpc_id,
  :instance_tenancy,
  :ipv_6_cidr_block_association_set,
  :cidr_block_association_set,
  :is_default,
  :tags)
  include Aws::Structure
end

#vpc_idString

The ID of the VPC.

Returns:

  • (String)


29549
29550
29551
29552
29553
29554
29555
29556
29557
29558
29559
29560
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 29549

class Vpc < Struct.new(
  :cidr_block,
  :dhcp_options_id,
  :state,
  :vpc_id,
  :instance_tenancy,
  :ipv_6_cidr_block_association_set,
  :cidr_block_association_set,
  :is_default,
  :tags)
  include Aws::Structure
end