AWS SDK Version 3 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.

The properties used to create a VPC with a subnet that will have an internet gateway attached making instances available to the internet.

Inheritance Hierarchy

System.Object
  Amazon.EC2.Util.LaunchVPCWithPublicSubnetRequest

Namespace: Amazon.EC2.Util
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z

Syntax

C#
public class LaunchVPCWithPublicSubnetRequest

The LaunchVPCWithPublicSubnetRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property EnableDnsHostnames System.Boolean

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. If you want your instances to get DNS hostnames, you must also set the enableDnsSupport attribute to true.

Public Property EnableDnsSupport System.Boolean

Indicates whether the DNS resolution is supported for the VPC. If this attribute is false, the Amazon provided DNS service in the VPC that resolves public DNS hostnames to IP addresses is not enabled. If this attribute is true, queries to the Amazon provided DNS server at the 169.254.169.253 IP address, or the reserved IP address at the base of the VPC network range "plus two" will succeed. For more information, see Amazon DNS Server.

Public Property InstanceTenancy System.String

The supported tenancy of instances launched into the VPC. The default value is "default".

Public Property ProgressCallback Amazon.EC2.Util.VPCUtilities.Progress

A callback delegate used to get progress messages as the VPC environment is being created.

Public Property PublicSubnetAvailabilityZone System.String

Gets and sets the Availability Zone you want the public subnet in.

Public Property PublicSubnetCiderBlock System.String

Gets and sets the CIDR block you want the public subnet to cover. The default value is "10.0.0.0/24".

Public Property VPCCidrBlock System.String

Gets and sets the CIDR block you want the VPC to cover. The default value is "10.0.0.0/16".

Public Property VPCName System.String

Gets and sets a name that will be assigned the VPC's Name tag. This is an optional field.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

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