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

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

Syntax

C#
public class LaunchTemplatePrivateDnsNameOptionsRequest

The LaunchTemplatePrivateDnsNameOptionsRequest 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 hostnames 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 Amazon EC2 instances. For IPv4 only subnets, an instance DNS name must be based on the instance IPv4 address. For IPv6 native 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 Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

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