Interface CfnVPCEndpoint.IDnsOptionsSpecificationProperty
Describes the DNS options for an endpoint.
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IDnsOptionsSpecificationProperty
Syntax (vb)
Public Interface IDnsOptionsSpecificationProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EC2;
var dnsOptionsSpecificationProperty = new DnsOptionsSpecificationProperty {
DnsRecordIpType = "dnsRecordIpType",
PrivateDnsOnlyForInboundResolverEndpoint = "privateDnsOnlyForInboundResolverEndpoint"
};
Synopsis
Properties
DnsRecordIpType | The DNS records created for the endpoint. |
PrivateDnsOnlyForInboundResolverEndpoint | Indicates whether to enable private DNS only for inbound endpoints. |
Properties
DnsRecordIpType
The DNS records created for the endpoint.
virtual string DnsRecordIpType { get; }
Property Value
System.String
Remarks
PrivateDnsOnlyForInboundResolverEndpoint
Indicates whether to enable private DNS only for inbound endpoints.
virtual string PrivateDnsOnlyForInboundResolverEndpoint { get; }
Property Value
System.String
Remarks
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.