Class CfnDHCPOptionsProps
Properties for defining a CfnDHCPOptions
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.AWS.EC2.dll
Syntax (csharp)
public class CfnDHCPOptionsProps : Object, ICfnDHCPOptionsProps
Syntax (vb)
Public Class CfnDHCPOptionsProps
Inherits Object
Implements ICfnDHCPOptionsProps
Remarks
Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-dhcpoptions.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EC2;
var cfnDHCPOptionsProps = new CfnDHCPOptionsProps {
DomainName = "domainName",
DomainNameServers = new [] { "domainNameServers" },
NetbiosNameServers = new [] { "netbiosNameServers" },
NetbiosNodeType = 123,
NtpServers = new [] { "ntpServers" },
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
CfnDHCPOptionsProps() |
Properties
DomainName | This value is used to complete unqualified DNS hostnames. |
DomainNameServers | The IPv4 addresses of up to four domain name servers, or |
NetbiosNameServers | The IPv4 addresses of up to four NetBIOS name servers. |
NetbiosNodeType | The NetBIOS node type (1, 2, 4, or 8). |
NtpServers | The IPv4 addresses of up to four Network Time Protocol (NTP) servers. |
Tags | Any tags assigned to the DHCP options set. |
Constructors
CfnDHCPOptionsProps()
public CfnDHCPOptionsProps()
Properties
DomainName
This value is used to complete unqualified DNS hostnames.
public string DomainName { get; set; }
Property Value
System.String
Remarks
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 ).
DomainNameServers
The IPv4 addresses of up to four domain name servers, or AmazonProvidedDNS
.
public string[] DomainNameServers { get; set; }
Property Value
System.String[]
Remarks
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.
NetbiosNameServers
The IPv4 addresses of up to four NetBIOS name servers.
public string[] NetbiosNameServers { get; set; }
Property Value
System.String[]
Remarks
NetbiosNodeType
The NetBIOS node type (1, 2, 4, or 8).
public Nullable<double> NetbiosNodeType { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
We recommend that you specify 2 (broadcast and multicast are not currently supported).
NtpServers
The IPv4 addresses of up to four Network Time Protocol (NTP) servers.
public string[] NtpServers { get; set; }
Property Value
System.String[]
Remarks
Tags
Any tags assigned to the DHCP options set.
public ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]