aws.ec2.get_ipam_resource_cidrs
Example SQL Queries
SELECT * FROMaws.ec2.get_ipam_resource_cidrsWHERE"ipam_scope_id" = 'VALUE';Description
Returns resource CIDRs managed by IPAM in a given scope. If an IPAM is associated with more than one resource discovery, the resource CIDRs across all of the resource discoveries is returned. A resource discovery is an IPAM component that enables IPAM to manage and monitor resources that belong to the owning account.
Table Definition
| Column Name | Column Data Type |
|---|---|
| ipam_scope_id Required Input Column The scope ID for an IPAM resource. | VARCHAR |
| dry_run Input Column A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. | BOOLEAN |
| filters Input Column One or more filters for the request. For more information about filtering, see Filtering CLI output. | STRUCT( |
Show child fields
| |
| ipam_pool_id Input Column The pool ID for an IPAM resource. | VARCHAR |
| resource_id Input Column The ID of an IPAM resource. | VARCHAR |
| resource_owner Input Column The ID of the Amazon Web Services account that owns the resource. | VARCHAR |
| resource_tag Input Column The resource tag. | STRUCT( |
Show child fields
| |
| resource_type Input Column The type of IPAM resource. | VARCHAR |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| _aws_region Input Column The AWS region to use. | VARCHAR |
| availability_zone_id The Availability Zone ID. | VARCHAR |
| compliance_status The compliance status of the IPAM resource. For more information on compliance statuses, see Monitor CIDR usage by resource in the Amazon VPC IPAM User Guide. | VARCHAR |
| ip_usage The percentage of IP address space in use. To convert the decimal to a percentage, multiply the decimal by 100. Note the following:
| DOUBLE |
| ipam_id The IPAM ID for an IPAM resource. | VARCHAR |
| management_state The management state of the resource. For more information about management states, see Monitor CIDR usage by resource in the Amazon VPC IPAM User Guide. | VARCHAR |
| overlap_status The overlap status of an IPAM resource. The overlap status tells you if the CIDR for a resource overlaps with another CIDR in the scope. For more information on overlap statuses, see Monitor CIDR usage by resource in the Amazon VPC IPAM User Guide. | VARCHAR |
| resource_cidr The CIDR for an IPAM resource. | VARCHAR |
| resource_name The name of an IPAM resource. | VARCHAR |
| resource_owner_id The Amazon Web Services account number of the owner of an IPAM resource. | VARCHAR |
| resource_region The Amazon Web Services Region for an IPAM resource. | VARCHAR |
| resource_tags The tags for an IPAM resource. | STRUCT( |
Show child fields
| |
| vpc_id The ID of a VPC. | VARCHAR |