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();
 
  • Method Details

    • getDomainName

      @Stability(Stable) @Nullable default String getDomainName()
      This value is used to complete unqualified DNS hostnames.

      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 ).

    • getDomainNameServers

      @Stability(Stable) @Nullable default List<String> getDomainNameServers()
      The IPv4 addresses of up to four domain name servers, or AmazonProvidedDNS .

      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.

    • getNetbiosNameServers

      @Stability(Stable) @Nullable default List<String> getNetbiosNameServers()
      The IPv4 addresses of up to four NetBIOS name servers.
    • getNetbiosNodeType

      @Stability(Stable) @Nullable default Number getNetbiosNodeType()
      The NetBIOS node type (1, 2, 4, or 8).

      We recommend that you specify 2 (broadcast and multicast are not currently supported).

    • getNtpServers

      @Stability(Stable) @Nullable default List<String> getNtpServers()
      The IPv4 addresses of up to four Network Time Protocol (NTP) servers.
    • getTags

      @Stability(Stable) @Nullable default List<CfnTag> getTags()
      Any tags assigned to the DHCP options set.
    • builder

      @Stability(Stable) static CfnDHCPOptionsProps.Builder builder()
      Returns:
      a CfnDHCPOptionsProps.Builder of CfnDHCPOptionsProps