Skip to main content

vpcdhcp_options_associations

Retrieves a list of vpcdhcp_options_associations in a region

Overview

Namevpcdhcp_options_associations
TypeResource
Descriptionvpcdhcp_options_associations
Idawscc.ec2.vpcdhcp_options_associations

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

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
dhcp_options_id,
vpc_id
FROM awscc.ec2.vpcdhcp_options_associations
WHERE region = 'us-east-1'

Permissions

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

Create

ec2:AssociateDhcpOptions

List

ec2:DescribeVpcs