1. Packages
  2. AWS Native
  3. API Docs
  4. ec2
  5. DhcpOptions

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.97.0 published on Wednesday, Feb 21, 2024 by Pulumi

aws-native.ec2.DhcpOptions

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.97.0 published on Wednesday, Feb 21, 2024 by Pulumi

    Resource Type definition for AWS::EC2::DHCPOptions

    Create DhcpOptions Resource

    new DhcpOptions(name: string, args?: DhcpOptionsArgs, opts?: CustomResourceOptions);
    @overload
    def DhcpOptions(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    domain_name: Optional[str] = None,
                    domain_name_servers: Optional[Sequence[str]] = None,
                    netbios_name_servers: Optional[Sequence[str]] = None,
                    netbios_node_type: Optional[int] = None,
                    ntp_servers: Optional[Sequence[str]] = None,
                    tags: Optional[Sequence[DhcpOptionsTagArgs]] = None)
    @overload
    def DhcpOptions(resource_name: str,
                    args: Optional[DhcpOptionsArgs] = None,
                    opts: Optional[ResourceOptions] = None)
    func NewDhcpOptions(ctx *Context, name string, args *DhcpOptionsArgs, opts ...ResourceOption) (*DhcpOptions, error)
    public DhcpOptions(string name, DhcpOptionsArgs? args = null, CustomResourceOptions? opts = null)
    public DhcpOptions(String name, DhcpOptionsArgs args)
    public DhcpOptions(String name, DhcpOptionsArgs args, CustomResourceOptions options)
    
    type: aws-native:ec2:DhcpOptions
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args DhcpOptionsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args DhcpOptionsArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args DhcpOptionsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DhcpOptionsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DhcpOptionsArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    DhcpOptions Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The DhcpOptions resource accepts the following input properties:

    DomainName string
    This value is used to complete unqualified DNS hostnames.
    DomainNameServers List<string>
    The IPv4 addresses of up to four domain name servers, or AmazonProvidedDNS.
    NetbiosNameServers List<string>
    The IPv4 addresses of up to four NetBIOS name servers.
    NetbiosNodeType int
    The NetBIOS node type (1, 2, 4, or 8).
    NtpServers List<string>
    The IPv4 addresses of up to four Network Time Protocol (NTP) servers.
    Tags List<Pulumi.AwsNative.Ec2.Inputs.DhcpOptionsTag>
    Any tags assigned to the DHCP options set.
    DomainName string
    This value is used to complete unqualified DNS hostnames.
    DomainNameServers []string
    The IPv4 addresses of up to four domain name servers, or AmazonProvidedDNS.
    NetbiosNameServers []string
    The IPv4 addresses of up to four NetBIOS name servers.
    NetbiosNodeType int
    The NetBIOS node type (1, 2, 4, or 8).
    NtpServers []string
    The IPv4 addresses of up to four Network Time Protocol (NTP) servers.
    Tags []DhcpOptionsTagArgs
    Any tags assigned to the DHCP options set.
    domainName String
    This value is used to complete unqualified DNS hostnames.
    domainNameServers List<String>
    The IPv4 addresses of up to four domain name servers, or AmazonProvidedDNS.
    netbiosNameServers List<String>
    The IPv4 addresses of up to four NetBIOS name servers.
    netbiosNodeType Integer
    The NetBIOS node type (1, 2, 4, or 8).
    ntpServers List<String>
    The IPv4 addresses of up to four Network Time Protocol (NTP) servers.
    tags List<DhcpOptionsTag>
    Any tags assigned to the DHCP options set.
    domainName string
    This value is used to complete unqualified DNS hostnames.
    domainNameServers string[]
    The IPv4 addresses of up to four domain name servers, or AmazonProvidedDNS.
    netbiosNameServers string[]
    The IPv4 addresses of up to four NetBIOS name servers.
    netbiosNodeType number
    The NetBIOS node type (1, 2, 4, or 8).
    ntpServers string[]
    The IPv4 addresses of up to four Network Time Protocol (NTP) servers.
    tags DhcpOptionsTag[]
    Any tags assigned to the DHCP options set.
    domain_name str
    This value is used to complete unqualified DNS hostnames.
    domain_name_servers Sequence[str]
    The IPv4 addresses of up to four domain name servers, or AmazonProvidedDNS.
    netbios_name_servers Sequence[str]
    The IPv4 addresses of up to four NetBIOS name servers.
    netbios_node_type int
    The NetBIOS node type (1, 2, 4, or 8).
    ntp_servers Sequence[str]
    The IPv4 addresses of up to four Network Time Protocol (NTP) servers.
    tags Sequence[DhcpOptionsTagArgs]
    Any tags assigned to the DHCP options set.
    domainName String
    This value is used to complete unqualified DNS hostnames.
    domainNameServers List<String>
    The IPv4 addresses of up to four domain name servers, or AmazonProvidedDNS.
    netbiosNameServers List<String>
    The IPv4 addresses of up to four NetBIOS name servers.
    netbiosNodeType Number
    The NetBIOS node type (1, 2, 4, or 8).
    ntpServers List<String>
    The IPv4 addresses of up to four Network Time Protocol (NTP) servers.
    tags List<Property Map>
    Any tags assigned to the DHCP options set.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the DhcpOptions resource produces the following output properties:

    DhcpOptionsId string
    Id string
    The provider-assigned unique ID for this managed resource.
    DhcpOptionsId string
    Id string
    The provider-assigned unique ID for this managed resource.
    dhcpOptionsId String
    id String
    The provider-assigned unique ID for this managed resource.
    dhcpOptionsId string
    id string
    The provider-assigned unique ID for this managed resource.
    dhcp_options_id str
    id str
    The provider-assigned unique ID for this managed resource.
    dhcpOptionsId String
    id String
    The provider-assigned unique ID for this managed resource.

    Supporting Types

    DhcpOptionsTag, DhcpOptionsTagArgs

    Key string
    Value string
    Key string
    Value string
    key String
    value String
    key string
    value string
    key str
    value str
    key String
    value String

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.97.0 published on Wednesday, Feb 21, 2024 by Pulumi