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.

Describes the options for instance hostnames.

Inheritance Hierarchy

System.Object
  Amazon.EC2.Model.PrivateDnsNameOptionsOnLaunch

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

Syntax

C#
public class PrivateDnsNameOptionsOnLaunch

The PrivateDnsNameOptionsOnLaunch type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property EnableResourceNameDnsAAAARecord System.Boolean

Gets and sets the property EnableResourceNameDnsAAAARecord.

Indicates whether to respond to DNS queries for instance hostname with DNS AAAA records.

Public Property EnableResourceNameDnsARecord System.Boolean

Gets and sets the property EnableResourceNameDnsARecord.

Indicates whether to respond to DNS queries for instance hostnames with DNS A records.

Public Property HostnameType Amazon.EC2.HostnameType

Gets and sets the property HostnameType.

The type of hostname for EC2 instances. For IPv4 only subnets, an instance DNS name must be based on the instance IPv4 address. For IPv6 only subnets, an instance DNS name must be based on the instance ID. For dual-stack subnets, you can specify whether DNS names use the instance IPv4 address or the instance ID.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5