vpcdhcp_options_associations
Retrieves a list of vpcdhcp_options_associations
in a region
Overview
Name | vpcdhcp_options_associations |
Type | Resource |
Description | vpcdhcp_options_associations |
Id | awscc.ec2.vpcdhcp_options_associations |
Fields
Name | Datatype | Description |
---|---|---|
dhcp_options_id | string | The ID of the DHCP options set, or default to associate no DHCP options with the VPC. |
vpc_id | string | The ID of the VPC. |
region | string | AWS 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