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 DNS options for an endpoint.

Inheritance Hierarchy

System.Object
  Amazon.EC2.Model.DnsOptionsSpecification

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

Syntax

C#
public class DnsOptionsSpecification

The DnsOptionsSpecification type exposes the following members

Constructors

NameDescription
Public Method DnsOptionsSpecification()

Properties

NameTypeDescription
Public Property DnsRecordIpType Amazon.EC2.DnsRecordIpType

Gets and sets the property DnsRecordIpType.

The DNS records created for the endpoint.

Public Property PrivateDnsOnlyForInboundResolverEndpoint System.Boolean

Gets and sets the property PrivateDnsOnlyForInboundResolverEndpoint.

Indicates whether to enable private DNS only for inbound endpoints. This option is available only for services that support both gateway and interface endpoints. It routes traffic that originates from the VPC to the gateway endpoint and traffic that originates from on-premises to the interface endpoint.

Public Property PrivateDnsPreference System.String

Gets and sets the property PrivateDnsPreference.

The preference for which private domains have a private hosted zone created for and associated with the specified VPC. Only supported when private DNS is enabled and when the VPC endpoint type is ServiceNetwork or Resource.

  • ALL_DOMAINS - VPC Lattice provisions private hosted zones for all custom domain names.

  • VERIFIED_DOMAINS_ONLY - VPC Lattice provisions a private hosted zone only if custom domain name has been verified by the provider.

  • VERIFIED_DOMAINS_AND_SPECIFIED_DOMAINS - VPC Lattice provisions private hosted zones for all verified custom domain names and other domain names that the resource consumer specifies. The resource consumer specifies the domain names in the PrivateDnsSpecifiedDomains parameter.

  • SPECIFIED_DOMAINS_ONLY - VPC Lattice provisions a private hosted zone for domain names specified by the resource consumer. The resource consumer specifies the domain names in the PrivateDnsSpecifiedDomains parameter.

Public Property PrivateDnsSpecifiedDomains System.Collections.Generic.List<System.String>

Gets and sets the property PrivateDnsSpecifiedDomains.

Indicates which of the private domains to create private hosted zones for and associate with the specified VPC. Only supported when private DNS is enabled and the private DNS preference is verified-domains-and-specified-domains or specified-domains-only.

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