Interface CfnVPCEndpoint.DnsOptionsSpecificationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnVPCEndpoint.DnsOptionsSpecificationProperty.Jsii$Proxy
- Enclosing class:
CfnVPCEndpoint
@Stability(Stable)
public static interface CfnVPCEndpoint.DnsOptionsSpecificationProperty
extends software.amazon.jsii.JsiiSerializable
Describes the DNS options for an endpoint.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ec2.*;
DnsOptionsSpecificationProperty dnsOptionsSpecificationProperty = DnsOptionsSpecificationProperty.builder()
.dnsRecordIpType("dnsRecordIpType")
.privateDnsOnlyForInboundResolverEndpoint("privateDnsOnlyForInboundResolverEndpoint")
.privateDnsPreference("privateDnsPreference")
.privateDnsSpecifiedDomains(List.of("privateDnsSpecifiedDomains"))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnVPCEndpoint.DnsOptionsSpecificationPropertystatic final classAn implementation forCfnVPCEndpoint.DnsOptionsSpecificationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe DNS records created for the endpoint.default StringIndicates whether to enable private DNS only for inbound endpoints.default StringThe preference for which private domains have a private hosted zone created for and associated with the specified VPC.Indicates which of the private domains to create private hosted zones for and associate with the specified VPC.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDnsRecordIpType
The DNS records created for the endpoint.- See Also:
-
getPrivateDnsOnlyForInboundResolverEndpoint
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.
- See Also:
-
getPrivateDnsPreference
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.
- See Also:
-
getPrivateDnsSpecifiedDomains
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_DOMAINSorSPECIFIED_DOMAINS_ONLY.- See Also:
-
builder
-