CfnDHCPOptionsProps

class aws_cdk.aws_ec2.CfnDHCPOptionsProps(*, domain_name=None, domain_name_servers=None, netbios_name_servers=None, netbios_node_type=None, ntp_servers=None, tags=None)

Bases: object

Properties for defining a AWS::EC2::DHCPOptions.

Parameters
  • domain_name (Optional[str]) – AWS::EC2::DHCPOptions.DomainName.

  • domain_name_servers (Optional[Sequence[str]]) – AWS::EC2::DHCPOptions.DomainNameServers.

  • netbios_name_servers (Optional[Sequence[str]]) – AWS::EC2::DHCPOptions.NetbiosNameServers.

  • netbios_node_type (Union[int, float, None]) – AWS::EC2::DHCPOptions.NetbiosNodeType.

  • ntp_servers (Optional[Sequence[str]]) – AWS::EC2::DHCPOptions.NtpServers.

  • tags (Optional[Sequence[CfnTag]]) – AWS::EC2::DHCPOptions.Tags.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-dhcpoptions.html

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_ec2 as ec2

cfn_dHCPOptions_props = ec2.CfnDHCPOptionsProps(
    domain_name="domainName",
    domain_name_servers=["domainNameServers"],
    netbios_name_servers=["netbiosNameServers"],
    netbios_node_type=123,
    ntp_servers=["ntpServers"],
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

domain_name

AWS::EC2::DHCPOptions.DomainName.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-dhcpoptions.html#cfn-ec2-dhcpoptions-domainname

Return type

Optional[str]

domain_name_servers

AWS::EC2::DHCPOptions.DomainNameServers.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-dhcpoptions.html#cfn-ec2-dhcpoptions-domainnameservers

Return type

Optional[List[str]]

netbios_name_servers

AWS::EC2::DHCPOptions.NetbiosNameServers.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-dhcpoptions.html#cfn-ec2-dhcpoptions-netbiosnameservers

Return type

Optional[List[str]]

netbios_node_type

AWS::EC2::DHCPOptions.NetbiosNodeType.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-dhcpoptions.html#cfn-ec2-dhcpoptions-netbiosnodetype

Return type

Union[int, float, None]

ntp_servers

AWS::EC2::DHCPOptions.NtpServers.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-dhcpoptions.html#cfn-ec2-dhcpoptions-ntpservers

Return type

Optional[List[str]]

tags

AWS::EC2::DHCPOptions.Tags.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-dhcpoptions.html#cfn-ec2-dhcpoptions-tags

Return type

Optional[List[CfnTag]]