Skip to main content

resolver_query_log_config_policies

Creates, updates, deletes, gets or lists a resolver_query_log_config_policies resource.

Overview

Nameresolver_query_log_config_policies
TypeResource
Idaws.route53resolver.resolver_query_log_config_policies

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
resolver_query_log_config_policystringInformation about the query logging policy for the query logging configuration that you specified in a GetResolverQueryLogConfigPolicy request.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_resolver_query_log_config_policyselectregionGets information about a query logging policy. A query logging policy specifies the Resolver query logging operations and resources that you want to allow another Amazon Web Services account to be able to use.
put_resolver_query_log_config_policyreplaceregion, Arn, ResolverQueryLogConfigPolicySpecifies an Amazon Web Services account that you want to share a query logging configuration with, the query logging configuration that you want to share, and the operations that you want the account to be able to perform on the configuration.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Gets information about a query logging policy. A query logging policy specifies the Resolver query logging operations and resources that you want to allow another Amazon Web Services account to be able to use.

SELECT
resolver_query_log_config_policy
FROM aws.route53resolver.resolver_query_log_config_policies
WHERE region = '{{ region }}' -- required
;

REPLACE examples

Specifies an Amazon Web Services account that you want to share a query logging configuration with, the query logging configuration that you want to share, and the operations that you want the account to be able to perform on the configuration.

REPLACE aws.route53resolver.resolver_query_log_config_policies
SET
Arn = '{{ Arn }}',
ResolverQueryLogConfigPolicy = '{{ ResolverQueryLogConfigPolicy }}'
WHERE
region = '{{ region }}' --required
AND Arn = '{{ Arn }}' --required
AND ResolverQueryLogConfigPolicy = '{{ ResolverQueryLogConfigPolicy }}' --required
RETURNING
return_value;