@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.138Z") @Stability(value=Stable) public interface CfnDHCPOptionsProps extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnDHCPOptionsProps.Builder
A builder for
CfnDHCPOptionsProps |
static class |
CfnDHCPOptionsProps.Jsii$Proxy
An implementation for
CfnDHCPOptionsProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnDHCPOptionsProps.Builder |
builder() |
default String |
getDomainName()
This value is used to complete unqualified DNS hostnames.
|
default List<String> |
getDomainNameServers()
The IPv4 addresses of up to four domain name servers, or `AmazonProvidedDNS` .
|
default List<String> |
getNetbiosNameServers()
The IPv4 addresses of up to four NetBIOS name servers.
|
default Number |
getNetbiosNodeType()
The NetBIOS node type (1, 2, 4, or 8).
|
default List<String> |
getNtpServers()
The IPv4 addresses of up to four Network Time Protocol (NTP) servers.
|
default List<CfnTag> |
getTags()
Any tags assigned to the DHCP options set.
|
@Stability(value=Stable) @Nullable default String getDomainName()
If you're using AmazonProvidedDNS in us-east-1 , specify ec2.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 ).
@Stability(value=Stable) @Nullable default List<String> getDomainNameServers()
The default is AmazonProvidedDNS . To have your instance receive a custom DNS hostname as specified in DomainName , you must set this property to a custom DNS server.
@Stability(value=Stable) @Nullable default List<String> getNetbiosNameServers()
@Stability(value=Stable) @Nullable default Number getNetbiosNodeType()
We recommend that you specify 2 (broadcast and multicast are not currently supported).
@Stability(value=Stable) @Nullable default List<String> getNtpServers()
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
@Stability(value=Stable) static CfnDHCPOptionsProps.Builder builder()
CfnDHCPOptionsProps.Builder of CfnDHCPOptionsPropsCopyright © 2022. All rights reserved.