Skip to content

aws.route53resolver.get_resolver_query_log_config

Example SQL Queries

SELECT * FROM
aws.route53resolver.get_resolver_query_log_config
WHERE
"resolver_query_log_config_id" = 'VALUE';

Description

Gets information about a specified Resolver query logging configuration, such as the number of VPCs that the configuration is logging queries for and the location that logs are sent to.

Table Definition

Column NameColumn Data Type
resolver_query_log_config_id Required Input Column

The ID of the Resolver query logging configuration that you want to get information about.

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
resolver_query_log_config

Information about the Resolver query logging configuration that you specified in a GetQueryLogConfig request.

STRUCT(
"id" VARCHAR,
"owner_id" VARCHAR,
"status" VARCHAR,
"share_status" VARCHAR,
"association_count" BIGINT,
"arn" VARCHAR,
"name" VARCHAR,
"destination_arn" VARCHAR,
"creator_request_id" VARCHAR,
"creation_time" VARCHAR
)
Show child fields
resolver_query_log_config.arn

The ARN for the query logging configuration.

resolver_query_log_config.association_count

The number of VPCs that are associated with the query logging configuration.

resolver_query_log_config.creation_time

The date and time that the query logging configuration was created, in Unix time format and Coordinated Universal Time (UTC).

resolver_query_log_config.creator_request_id

A unique string that identifies the request that created the query logging configuration. The CreatorRequestId allows failed requests to be retried without the risk of running the operation twice.

resolver_query_log_config.destination_arn

The ARN of the resource that you want Resolver to send query logs: an Amazon S3 bucket, a CloudWatch Logs log group, or a Kinesis Data Firehose delivery stream.

resolver_query_log_config.id

The ID for the query logging configuration.

resolver_query_log_config.name

The name of the query logging configuration.

resolver_query_log_config.owner_id

The Amazon Web Services account ID for the account that created the query logging configuration.

resolver_query_log_config.share_status

An indication of whether the query logging configuration is shared with other Amazon Web Services accounts, or was shared with the current account by another Amazon Web Services account. Sharing is configured through Resource Access Manager (RAM).

resolver_query_log_config.status

The status of the specified query logging configuration. Valid values include the following:

  • CREATING: Resolver is creating the query logging configuration.

  • CREATED: The query logging configuration was successfully created. Resolver is logging queries that originate in the specified VPC.

  • DELETING: Resolver is deleting this query logging configuration.

  • FAILED: Resolver can't deliver logs to the location that is specified in the query logging configuration. Here are two common causes:

    • The specified destination (for example, an Amazon S3 bucket) was deleted.

    • Permissions don't allow sending logs to the destination.