Skip to main content

dhcp_options_list_only

Lists dhcp_options in a region or regions, for all properties use dhcp_options

Overview

Namedhcp_options_list_only
TypeResource
DescriptionResource Type definition for AWS::EC2::DHCPOptions
Idaws.ec2.dhcp_options_list_only

Fields

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

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

SELECT examples

Lists all dhcp_options in a region.

SELECT
region,
dhcp_options_id
FROM aws.ec2.dhcp_options_list_only
WHERE region = 'us-east-1';

Permissions

For permissions required to operate on the dhcp_options_list_only resource, see dhcp_options