We recommend new projects start with resources from the AWS provider.
aws-native.ec2.DhcpOptions
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource Type definition for AWS::EC2::DHCPOptions
Create DhcpOptions Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DhcpOptions(name: string, args?: DhcpOptionsArgs, opts?: CustomResourceOptions);
@overload
def DhcpOptions(resource_name: str,
args: Optional[DhcpOptionsArgs] = None,
opts: Optional[ResourceOptions] = None)
@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)
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.
Parameters
- 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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The DhcpOptions resource accepts the following input properties:
- Domain
Name string - This value is used to complete unqualified DNS hostnames.
- Domain
Name List<string>Servers - The IPv4 addresses of up to four domain name servers, or AmazonProvidedDNS.
- Ipv6Address
Preferred intLease Time - The preferred Lease Time for ipV6 address in seconds.
- Netbios
Name List<string>Servers - The IPv4 addresses of up to four NetBIOS name servers.
- Netbios
Node intType - The NetBIOS node type (1, 2, 4, or 8).
- Ntp
Servers List<string> - The IPv4 addresses of up to four Network Time Protocol (NTP) servers.
- List<Pulumi.
Aws Native. Inputs. Tag> - Any tags assigned to the DHCP options set.
- Domain
Name string - This value is used to complete unqualified DNS hostnames.
- Domain
Name []stringServers - The IPv4 addresses of up to four domain name servers, or AmazonProvidedDNS.
- Ipv6Address
Preferred intLease Time - The preferred Lease Time for ipV6 address in seconds.
- Netbios
Name []stringServers - The IPv4 addresses of up to four NetBIOS name servers.
- Netbios
Node intType - The NetBIOS node type (1, 2, 4, or 8).
- Ntp
Servers []string - The IPv4 addresses of up to four Network Time Protocol (NTP) servers.
- Tag
Args - Any tags assigned to the DHCP options set.
- domain
Name String - This value is used to complete unqualified DNS hostnames.
- domain
Name List<String>Servers - The IPv4 addresses of up to four domain name servers, or AmazonProvidedDNS.
- ipv6Address
Preferred IntegerLease Time - The preferred Lease Time for ipV6 address in seconds.
- netbios
Name List<String>Servers - The IPv4 addresses of up to four NetBIOS name servers.
- netbios
Node IntegerType - The NetBIOS node type (1, 2, 4, or 8).
- ntp
Servers List<String> - The IPv4 addresses of up to four Network Time Protocol (NTP) servers.
- List<Tag>
- Any tags assigned to the DHCP options set.
- domain
Name string - This value is used to complete unqualified DNS hostnames.
- domain
Name string[]Servers - The IPv4 addresses of up to four domain name servers, or AmazonProvidedDNS.
- ipv6Address
Preferred numberLease Time - The preferred Lease Time for ipV6 address in seconds.
- netbios
Name string[]Servers - The IPv4 addresses of up to four NetBIOS name servers.
- netbios
Node numberType - The NetBIOS node type (1, 2, 4, or 8).
- ntp
Servers string[] - The IPv4 addresses of up to four Network Time Protocol (NTP) servers.
- Tag[]
- Any tags assigned to the DHCP options set.
- domain_
name str - This value is used to complete unqualified DNS hostnames.
- domain_
name_ Sequence[str]servers - The IPv4 addresses of up to four domain name servers, or AmazonProvidedDNS.
- ipv6_
address_ intpreferred_ lease_ time - The preferred Lease Time for ipV6 address in seconds.
- netbios_
name_ Sequence[str]servers - The IPv4 addresses of up to four NetBIOS name servers.
- netbios_
node_ inttype - 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.
- Sequence[Tag
Args] - Any tags assigned to the DHCP options set.
- domain
Name String - This value is used to complete unqualified DNS hostnames.
- domain
Name List<String>Servers - The IPv4 addresses of up to four domain name servers, or AmazonProvidedDNS.
- ipv6Address
Preferred NumberLease Time - The preferred Lease Time for ipV6 address in seconds.
- netbios
Name List<String>Servers - The IPv4 addresses of up to four NetBIOS name servers.
- netbios
Node NumberType - The NetBIOS node type (1, 2, 4, or 8).
- ntp
Servers List<String> - The IPv4 addresses of up to four Network Time Protocol (NTP) servers.
- 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:
- Dhcp
Options stringId - The ID of the DHCP options set.
- Id string
- The provider-assigned unique ID for this managed resource.
- Dhcp
Options stringId - The ID of the DHCP options set.
- Id string
- The provider-assigned unique ID for this managed resource.
- dhcp
Options StringId - The ID of the DHCP options set.
- id String
- The provider-assigned unique ID for this managed resource.
- dhcp
Options stringId - The ID of the DHCP options set.
- id string
- The provider-assigned unique ID for this managed resource.
- dhcp_
options_ strid - The ID of the DHCP options set.
- id str
- The provider-assigned unique ID for this managed resource.
- dhcp
Options StringId - The ID of the DHCP options set.
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.