AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

.NET Framework 3.5
Describes a VPC.

Inheritance Hierarchy


Namespace: Amazon.EC2.Model
Assembly: AWSSDK.dll
Version: (assembly version)


public class Vpc : Object

The Vpc type exposes the following members


Public Method Vpc()


Public Property CidrBlock System.String Gets and sets the property CidrBlock.

The CIDR block for the VPC.

Public Property DhcpOptionsId System.String Gets and sets the property DhcpOptionsId.

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).

Public Property InstanceTenancy Amazon.EC2.Tenancy Gets and sets the property InstanceTenancy.

The allowed tenancy of instances launched into the VPC.

Public Property IsDefault System.Boolean Gets and sets the property IsDefault.

Indicates whether the VPC is the default VPC.

Public Property State Amazon.EC2.VpcState Gets and sets the property State.

The current state of the VPC.

Public Property Tags System.Collections.Generic.List<Amazon.EC2.Model.Tag> Gets and sets the property Tags.

Any tags assigned to the VPC.

Public Property VpcId System.String Gets and sets the property VpcId.

The ID of the VPC.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

.NET for Windows Store apps:
Supported in: Windows 8.1, Windows 8

.NET for Windows Phone:
Supported in: Windows Phone 8.1, Windows Phone 8