Skip to main content

vpcdhcp_options_association

Gets an individual vpcdhcp_options_association resource

Overview

Namevpcdhcp_options_association
TypeResource
Descriptionvpcdhcp_options_association
Idawscc.ec2.vpcdhcp_options_association

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_association
WHERE data__Identifier = '<DhcpOptionsId>|<VpcId>';

Permissions

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

Update

ec2:AssociateDhcpOptions

Delete

ec2:AssociateDhcpOptions

Read

ec2:DescribeVpcs