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.

Container for the parameters to the ModifyPrivateDnsNameOptions operation. Modifies the options for instance hostnames for the specified instance.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.EC2.AmazonEC2Request
      Amazon.EC2.Model.ModifyPrivateDnsNameOptionsRequest

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

Syntax

C#
public class ModifyPrivateDnsNameOptionsRequest : AmazonEC2Request
         IAmazonWebServiceRequest

The ModifyPrivateDnsNameOptionsRequest 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 InstanceId System.String

Gets and sets the property InstanceId.

The ID of the instance.

Public Property PrivateDnsHostnameType Amazon.EC2.HostnameType

Gets and sets the property PrivateDnsHostnameType.

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