ipam_resource_discovery_association
Gets an individual ipam_resource_discovery_association
resource
Overview
Name | ipam_resource_discovery_association |
Type | Resource |
Description | ipam_resource_discovery_association |
Id | awscc.ec2.ipam_resource_discovery_association |
Fields
Name | Datatype | Description |
---|---|---|
ipam_arn | string | Arn of the IPAM. |
ipam_region | string | The home region of the IPAM. |
ipam_resource_discovery_association_id | string | Id of the IPAM Resource Discovery Association. |
ipam_resource_discovery_id | string | The Amazon Resource Name (ARN) of the IPAM Resource Discovery Association. |
ipam_id | string | The Id of the IPAM this Resource Discovery is associated to. |
ipam_resource_discovery_association_arn | string | The Amazon Resource Name (ARN) of the resource discovery association is a part of. |
is_default | boolean | If the Resource Discovery Association exists due as part of CreateIpam. |
owner_id | string | The AWS Account ID for the account where the shared IPAM exists. |
state | string | The operational state of the Resource Discovery Association. Related to Create/Delete activities. |
resource_discovery_status | string | The status of the resource discovery. |
tags | array | An array of key-value pairs to apply to this resource. |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
ipam_arn,
ipam_region,
ipam_resource_discovery_association_id,
ipam_resource_discovery_id,
ipam_id,
ipam_resource_discovery_association_arn,
is_default,
owner_id,
state,
resource_discovery_status,
tags
FROM awscc.ec2.ipam_resource_discovery_association
WHERE data__Identifier = '<IpamResourceDiscoveryAssociationId>';
Permissions
To operate on the ipam_resource_discovery_association
resource, the following permissions are required:
Read
ec2:DescribeIpamResourceDiscoveryAssociations
Update
ec2:DescribeIpamResourceDiscoveryAssociations,
ec2:CreateTags,
ec2:DeleteTags
Delete
ec2:DisassociateIpamResourceDiscovery,
ec2:DescribeIpamResourceDiscoveryAssociations,
ec2:DeleteTags