Skip to content

aws.ec2.get_ipam_discovered_public_addresses

Example SQL Queries

SELECT * FROM
aws.ec2.get_ipam_discovered_public_addresses
WHERE
"ipam_resource_discovery_id" = 'VALUE'
AND "address_region" = 'VALUE';

Description

Gets the public IP addresses that have been discovered by IPAM.

Table Definition

Column NameColumn Data Type
address_region Required Input Column

The Amazon Web Services Region for the IP address.

VARCHAR
ipam_resource_discovery_id Required Input Column

An IPAM resource discovery ID.

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

Filters.

STRUCT(
"name" VARCHAR,
"values" VARCHAR[]
)[]
Show child fields
filters[]
Show child fields
filters[].name

The name of the filter. Filter names are case-sensitive.

filters[].values[]
max_results Input Column

The maximum number of IPAM discovered public addresses to return in one page of results.

BIGINT
next_token Input Column

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

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(
"type" VARCHAR,
"name" VARCHAR,
"account_id" VARCHAR,
"via_profile_name" VARCHAR,
"assumed_role_arn" VARCHAR,
"organization" STRUCT(
"account_name" VARCHAR,
"id" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[],
"master_account" STRUCT(
"id" VARCHAR,
"email" VARCHAR
),
"parents" STRUCT(
"type" VARCHAR,
"id" VARCHAR,
"name" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[]
)[]
)
)
Show child fields
_aws_profile.account_id

The AWS account id

_aws_profile.assumed_role_arn

The ARN of the assumed role

_aws_profile.name

The unique name of the profile.

_aws_profile.organization

Information about this profile's membership in the AWS organization.

Show child fields
_aws_profile.organization.account_name

The name of account speciifed by the organization

_aws_profile.organization.id

The organization id

_aws_profile.organization.master_account
Show child fields
_aws_profile.organization.master_account.email

The organization master account email address

_aws_profile.organization.master_account.id

The organization master account id

_aws_profile.organization.parents[]
Show child fields
_aws_profile.organization.parents[].id

The id of the parent

_aws_profile.organization.parents[].name

The name of the parent

_aws_profile.organization.parents[].tags[]
Show child fields
_aws_profile.organization.parents[].tags[].key
_aws_profile.organization.parents[].tags[].value
_aws_profile.organization.parents[].type

The type of parent can be an organization unit or a root

_aws_profile.organization.tags[]
Show child fields
_aws_profile.organization.tags[].key
_aws_profile.organization.tags[].value
_aws_profile.type

The type of profile, either 'credentials' or 'assumed_role'

_aws_profile.via_profile_name

This IAM role for this profile is assumed by first utilizing another profile with this name to obtain credentials.

_aws_region Input Column

The AWS region to use.

VARCHAR
ipam_discovered_public_addresses

IPAM discovered public addresses.

STRUCT(
"ipam_resource_discovery_id" VARCHAR,
"address_region" VARCHAR,
"address" VARCHAR,
"address_owner_id" VARCHAR,
"address_allocation_id" VARCHAR,
"association_status" VARCHAR,
"address_type" VARCHAR,
"service" VARCHAR,
"service_resource" VARCHAR,
"vpc_id" VARCHAR,
"subnet_id" VARCHAR,
"public_ipv4_pool_id" VARCHAR,
"network_interface_id" VARCHAR,
"network_interface_description" VARCHAR,
"instance_id" VARCHAR,
"tags" STRUCT(
"eip_tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[]
),
"network_border_group" VARCHAR,
"security_groups" STRUCT(
"group_name" VARCHAR,
"group_id" VARCHAR
)[],
"sample_time" TIMESTAMP_S
)[]
Show child fields
ipam_discovered_public_addresses[]
Show child fields
ipam_discovered_public_addresses[].address

The IP address.

ipam_discovered_public_addresses[].address_allocation_id

The allocation ID of the resource the IP address is assigned to.

ipam_discovered_public_addresses[].address_owner_id

The ID of the owner of the resource the IP address is assigned to.

ipam_discovered_public_addresses[].address_region

The Region of the resource the IP address is assigned to.

ipam_discovered_public_addresses[].address_type

The IP address type.

ipam_discovered_public_addresses[].association_status

The association status.

ipam_discovered_public_addresses[].instance_id

The instance ID of the instance the assigned IP address is assigned to.

ipam_discovered_public_addresses[].ipam_resource_discovery_id

The resource discovery ID.

ipam_discovered_public_addresses[].network_border_group

The Availability Zone (AZ) or Local Zone (LZ) network border group that the resource that the IP address is assigned to is in. Defaults to an AZ network border group. For more information on available Local Zones, see Local Zone availability in the Amazon EC2 User Guide.

ipam_discovered_public_addresses[].network_interface_description

The description of the network interface that IP address is assigned to.

ipam_discovered_public_addresses[].network_interface_id

The network interface ID of the resource with the assigned IP address.

ipam_discovered_public_addresses[].public_ipv4_pool_id

The ID of the public IPv4 pool that the resource with the assigned IP address is from.

ipam_discovered_public_addresses[].sample_time

The last successful resource discovery time.

ipam_discovered_public_addresses[].security_groups[]
Show child fields
ipam_discovered_public_addresses[].security_groups[].group_id

The security group's ID.

ipam_discovered_public_addresses[].security_groups[].group_name

The security group's name.

ipam_discovered_public_addresses[].service

The Amazon Web Services service associated with the IP address.

ipam_discovered_public_addresses[].service_resource

The resource ARN or ID.

ipam_discovered_public_addresses[].subnet_id

The ID of the subnet that the resource with the assigned IP address is in.

ipam_discovered_public_addresses[].tags

Tags associated with the IP address.

Show child fields
ipam_discovered_public_addresses[].tags.eip_tags[]
Show child fields
ipam_discovered_public_addresses[].tags.eip_tags[].key

The tag's key.

ipam_discovered_public_addresses[].tags.eip_tags[].value

The tag's value.

ipam_discovered_public_addresses[].vpc_id

The ID of the VPC that the resource with the assigned IP address is in.

oldest_sample_time

The oldest successful resource discovery time.

TIMESTAMP_S