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.
Namespace: Amazon.EC2.Model
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z
public class ModifyPrivateDnsNameOptionsRequest : AmazonEC2Request IAmazonWebServiceRequest
The ModifyPrivateDnsNameOptionsRequest type exposes the following members
Name | Description | |
---|---|---|
ModifyPrivateDnsNameOptionsRequest() |
Name | Type | Description | |
---|---|---|---|
EnableResourceNameDnsAAAARecord | System.Boolean |
Gets and sets the property EnableResourceNameDnsAAAARecord. Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records. |
|
EnableResourceNameDnsARecord | System.Boolean |
Gets and sets the property EnableResourceNameDnsARecord. Indicates whether to respond to DNS queries for instance hostnames with DNS A records. |
|
InstanceId | System.String |
Gets and sets the property InstanceId. The ID of the instance. |
|
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. |
.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