Skip to content

ResolverQueryLogConfig

Source code in docs_src/capo_route53resolver/types/resolver_query_log_config.py
class ResolverQueryLogConfig(TypedDict, closed=True):
    id: NotRequired["capo_route53resolver.types.resource_id.ResourceId"]
    """<p>The ID for the query logging configuration.</p>"""
    owner_id: NotRequired["capo_route53resolver.types.account_id.AccountId"]
    """<p>The Amazon Web Services account ID for the account that created the query logging configuration. </p>"""
    status: NotRequired[
        "capo_route53resolver.types.resolver_query_log_config_status.ResolverQueryLogConfigStatus"
    ]
    """<p>The status of the specified query logging configuration. Valid values include the following:</p> <ul> <li> <p> <code>CREATING</code>: Resolver is creating the query logging configuration.</p> </li> <li> <p> <code>CREATED</code>: The query logging configuration was successfully created. Resolver is logging queries that originate in the specified VPC.</p> </li> <li> <p> <code>DELETING</code>: Resolver is deleting this query logging configuration.</p> </li> <li> <p> <code>FAILED</code>: Resolver can't deliver logs to the location that is specified in the query logging configuration. Here are two common causes:</p> <ul> <li> <p>The specified destination (for example, an Amazon S3 bucket) was deleted.</p> </li> <li> <p>Permissions don't allow sending logs to the destination.</p> </li> </ul> </li> </ul>"""
    share_status: NotRequired["capo_route53resolver.types.share_status.ShareStatus"]
    """<p>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).</p>"""
    association_count: "capo_route53resolver.types.count.Count"
    """<p>The number of VPCs that are associated with the query logging configuration.</p>"""
    arn: NotRequired["capo_route53resolver.types.arn.Arn"]
    """<p>The ARN for the query logging configuration.</p>"""
    name: NotRequired[
        "capo_route53resolver.types.resolver_query_log_config_name.ResolverQueryLogConfigName"
    ]
    """<p>The name of the query logging configuration. </p>"""
    destination_arn: NotRequired[
        "capo_route53resolver.types.destination_arn.DestinationArn"
    ]
    """<p>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.</p>"""
    creator_request_id: NotRequired[
        "capo_route53resolver.types.creator_request_id.CreatorRequestId"
    ]
    """<p>A unique string that identifies the request that created the query logging configuration. The <code>CreatorRequestId</code> allows failed requests to be retried without the risk of running the operation twice.</p>"""
    creation_time: NotRequired[
        "capo_route53resolver.types.rfc3339_time_string.Rfc3339TimeString"
    ]
    """<p>The date and time that the query logging configuration was created, in Unix time format and Coordinated Universal Time (UTC).</p>"""

arn instance-attribute

arn: NotRequired[Arn]

The ARN for the query logging configuration.

association_count instance-attribute

association_count: Count

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

creation_time instance-attribute

creation_time: NotRequired[Rfc3339TimeString]

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

creator_request_id instance-attribute

creator_request_id: NotRequired[CreatorRequestId]

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.

destination_arn instance-attribute

destination_arn: NotRequired[DestinationArn]

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.

id instance-attribute

id: NotRequired[ResourceId]

The ID for the query logging configuration.

name instance-attribute

name: NotRequired[ResolverQueryLogConfigName]

The name of the query logging configuration.

owner_id instance-attribute

owner_id: NotRequired[AccountId]

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

share_status instance-attribute

share_status: NotRequired[ShareStatus]

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).

status instance-attribute

status: NotRequired[ResolverQueryLogConfigStatus]

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.