Interface CfnDHCPOptionsProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDHCPOptionsProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:38.467Z")
@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();
-
Nested Class Summary
Modifier 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 ). -
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. -
getNetbiosNameServers
The IPv4 addresses of up to four NetBIOS name servers. -
getNetbiosNodeType
The NetBIOS node type (1, 2, 4, or 8).We recommend that you specify 2 (broadcast and multicast are not currently supported).
-
getNtpServers
The IPv4 addresses of up to four Network Time Protocol (NTP) servers. -
getTags
Any tags assigned to the DHCP options set. -
builder
- Returns:
- a
CfnDHCPOptionsProps.Builder
ofCfnDHCPOptionsProps
-