Skip to main content

vpcdhcp_options_associations_list_only

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

Overview

Namevpcdhcp_options_associations_list_only
TypeResource
DescriptionAssociates a set of DHCP options with a VPC, or associates no DHCP options with the VPC.
Idaws.ec2.vpcdhcp_options_associations_list_only

Fields

NameDatatypeDescription
dhcp_options_idstringThe ID of the DHCP options set, or default to associate no DHCP options with the VPC.
vpc_idstringThe ID of the VPC.
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

SELECT examples

Lists all vpcdhcp_options_associations in a region.

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

Permissions

For permissions required to operate on the vpcdhcp_options_associations_list_only resource, see vpcdhcp_options_associations