resolver_query_log_config_policies
Creates, updates, deletes, gets or lists a resolver_query_log_config_policies resource.
Overview
| Name | resolver_query_log_config_policies |
| Type | Resource |
| Id | aws.route53resolver.resolver_query_log_config_policies |
Fields
The following fields are returned by SELECT queries:
- get_resolver_query_log_config_policy
| Name | Datatype | Description |
|---|---|---|
resolver_query_log_config_policy | string | Information 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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_resolver_query_log_config_policy | select | region | 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. | |
put_resolver_query_log_config_policy | replace | region, Arn, ResolverQueryLogConfigPolicy | 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. |
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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_resolver_query_log_config_policy
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
- put_resolver_query_log_config_policy
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;