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.100.0 published on Wednesday, Mar 27, 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.100.0 published on Wednesday, Mar 27, 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,
                    ipv6_address_preferred_lease_time: Optional[int] = None,
                    netbios_name_servers: Optional[Sequence[str]] = None,
                    netbios_node_type: Optional[int] = None,
                    ntp_servers: Optional[Sequence[str]] = None,
                    tags: Optional[Sequence[_root_inputs.TagArgs]] = 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.
    Ipv6AddressPreferredLeaseTime int
    The preferred Lease Time for ipV6 address in seconds.
    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.Inputs.Tag>
    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.
    Ipv6AddressPreferredLeaseTime int
    The preferred Lease Time for ipV6 address in seconds.
    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 TagArgs
    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.
    ipv6AddressPreferredLeaseTime Integer
    The preferred Lease Time for ipV6 address in seconds.
    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<Tag>
    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.
    ipv6AddressPreferredLeaseTime number
    The preferred Lease Time for ipV6 address in seconds.
    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 Tag[]
    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.
    ipv6_address_preferred_lease_time int
    The preferred Lease Time for ipV6 address in seconds.
    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 TagArgs]
    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.
    ipv6AddressPreferredLeaseTime Number
    The preferred Lease Time for ipV6 address in seconds.
    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

    Tag, TagArgs

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    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.100.0 published on Wednesday, Mar 27, 2024 by Pulumi