Interface CfnNetworkInterfacePropsMixin.PublicIpDnsNameOptionsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnNetworkInterfacePropsMixin.PublicIpDnsNameOptionsProperty.Jsii$Proxy
- Enclosing class:
CfnNetworkInterfacePropsMixin
For more information, see EC2 instance hostnames, DNS names, and domains in the Amazon EC2 User Guide .
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.mixins.preview.services.ec2.mixins.*;
PublicIpDnsNameOptionsProperty publicIpDnsNameOptionsProperty = PublicIpDnsNameOptionsProperty.builder()
.dnsHostnameType("dnsHostnameType")
.publicDualStackDnsName("publicDualStackDnsName")
.publicIpv4DnsName("publicIpv4DnsName")
.publicIpv6DnsName("publicIpv6DnsName")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnNetworkInterfacePropsMixin.PublicIpDnsNameOptionsProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe public hostname type.default StringA dual-stack public hostname for a network interface.default StringAn IPv4-enabled public hostname for a network interface.default StringAn IPv6-enabled public hostname for a network interface.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDnsHostnameType
The public hostname type.For more information, see EC2 instance hostnames, DNS names, and domains in the Amazon EC2 User Guide .
- See Also:
-
getPublicDualStackDnsName
A dual-stack public hostname for a network interface.Requests from within the VPC resolve to both the private IPv4 address and the IPv6 Global Unicast Address of the network interface. Requests from the internet resolve to both the public IPv4 and the IPv6 GUA address of the network interface.
- See Also:
-
getPublicIpv4DnsName
An IPv4-enabled public hostname for a network interface.Requests from within the VPC resolve to the private primary IPv4 address of the network interface. Requests from the internet resolve to the public IPv4 address of the network interface.
- See Also:
-
getPublicIpv6DnsName
An IPv6-enabled public hostname for a network interface.Requests from within the VPC or from the internet resolve to the IPv6 GUA of the network interface.
- See Also:
-
builder
@Stability(Stable) static CfnNetworkInterfacePropsMixin.PublicIpDnsNameOptionsProperty.Builder builder()
-