Skip to main content

dhcp_options

Gets an individual dhcp_options resource

Overview

Namedhcp_options
TypeResource
Descriptiondhcp_options
Idawscc.ec2.dhcp_options

Fields

NameDatatypeDescription
netbios_name_serversarrayThe IPv4 addresses of up to four NetBIOS name servers.
ntp_serversarrayThe IPv4 addresses of up to four Network Time Protocol (NTP) servers.
dhcp_options_idstring
domain_namestringThis value is used to complete unqualified DNS hostnames.
netbios_node_typeintegerThe NetBIOS node type (1, 2, 4, or 8).
domain_name_serversarrayThe IPv4 addresses of up to four domain name servers, or AmazonProvidedDNS.
tagsarrayAny tags assigned to the DHCP options set.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
netbios_name_servers,
ntp_servers,
dhcp_options_id,
domain_name,
netbios_node_type,
domain_name_servers,
tags
FROM awscc.ec2.dhcp_options
WHERE data__Identifier = '<DhcpOptionsId>';

Permissions

To operate on the dhcp_options resource, the following permissions are required:

Read

ec2:DescribeDhcpOptions,
ec2:DescribeTags

Update

ec2:CreateTags,
ec2:DescribeDhcpOptions,
ec2:DeleteTags

Delete

ec2:DeleteDhcpOptions,
ec2:DeleteTags,
ec2:DescribeDhcpOptions