Interface CfnDHCPOptionsProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDHCPOptionsProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.94.0 (build b380f01)",
date="2024-03-01T20:58:22.741Z")
@Stability(Stable)
public interface CfnDHCPOptionsProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnDHCPOptions
.
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.*; CfnDHCPOptionsProps cfnDHCPOptionsProps = CfnDHCPOptionsProps.builder() .domainName("domainName") .domainNameServers(List.of("domainNameServers")) .netbiosNameServers(List.of("netbiosNameServers")) .netbiosNodeType(123) .ntpServers(List.of("ntpServers")) .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnDHCPOptionsProps
static final class
An implementation forCfnDHCPOptionsProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnDHCPOptionsProps.Builder
builder()
default String
This value is used to complete unqualified DNS hostnames.The IPv4 addresses of up to four domain name servers, orAmazonProvidedDNS
.The IPv4 addresses of up to four NetBIOS name servers.default Number
The NetBIOS node type (1, 2, 4, or 8).The IPv4 addresses of up to four Network Time Protocol (NTP) servers.getTags()
Any tags assigned to the DHCP options set.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDomainName
This value is used to complete unqualified DNS hostnames.If you're using AmazonProvidedDNS in
us-east-1
, specifyec2.internal
. If you're using AmazonProvidedDNS in another Region, specify region .compute.internal
(for example,ap-northeast-1.compute.internal
). Otherwise, specify a domain name (for example, MyCompany.com ).- See Also:
-
getDomainNameServers
The IPv4 addresses of up to four domain name servers, orAmazonProvidedDNS
.The default is
AmazonProvidedDNS
. To have your instance receive a custom DNS hostname as specified inDomainName
, you must set this property to a custom DNS server.- See Also:
-
getNetbiosNameServers
The IPv4 addresses of up to four NetBIOS name servers.- See Also:
-
getNetbiosNodeType
The NetBIOS node type (1, 2, 4, or 8).We recommend that you specify 2 (broadcast and multicast are not currently supported).
- See Also:
-
getNtpServers
The IPv4 addresses of up to four Network Time Protocol (NTP) servers.- See Also:
-
getTags
Any tags assigned to the DHCP options set.- See Also:
-
builder
- Returns:
- a
CfnDHCPOptionsProps.Builder
ofCfnDHCPOptionsProps
-