Skip to main content

ipam_resource_discovery

Gets or updates an individual ipam_resource_discovery resource, use ipam_resource_discoveries to retrieve a list of resources or to create or delete a resource.

Overview

Nameipam_resource_discovery
TypeResource
DescriptionResource Schema of AWS::EC2::IPAMResourceDiscovery Type
Idaws.ec2.ipam_resource_discovery

Fields

NameDatatypeDescription
ipam_resource_discovery_idstringId of the IPAM Pool.
owner_idstringOwner Account ID of the Resource Discovery
operating_regionsarrayThe regions Resource Discovery is enabled for. Allows resource discoveries to be created in these regions, as well as enabling monitoring
ipam_resource_discovery_regionstringThe region the resource discovery is setup in.
descriptionstring
is_defaultbooleanDetermines whether or not address space from this pool is publicly advertised. Must be set if and only if the pool is IPv6.
ipam_resource_discovery_arnstringAmazon Resource Name (Arn) for the Resource Discovery.
statestringThe state of this Resource Discovery.
tagsarrayAn array of key-value pairs to apply to this resource.
regionstringAWS region.

Methods

NameAccessible byRequired Params
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
get_resourceSELECTdata__Identifier, region

SELECT Example

SELECT
region,
ipam_resource_discovery_id,
owner_id,
operating_regions,
ipam_resource_discovery_region,
description,
is_default,
ipam_resource_discovery_arn,
state,
tags
FROM aws.ec2.ipam_resource_discovery
WHERE region = 'us-east-1' AND data__Identifier = '<IpamResourceDiscoveryId>';

Permissions

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

Read

ec2:DescribeIpamResourceDiscoveries

Update

ec2:ModifyIpamResourceDiscovery,
ec2:DescribeIpamResourceDiscoveries,
ec2:CreateTags,
ec2:DeleteTags