Skip to content

Put Resolver Query Log Config Policy

route53resolver_put_resolver_query_log_config_policy R Documentation

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

Description

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.

Usage

route53resolver_put_resolver_query_log_config_policy(Arn,
  ResolverQueryLogConfigPolicy)

Arguments

Arn

[required] The Amazon Resource Name (ARN) of the account that you want to share rules with.

ResolverQueryLogConfigPolicy

[required] An Identity and Access Management policy statement that lists the query logging configurations that you want to share with another Amazon Web Services account and the operations that you want the account to be able to perform. You can specify the following operations in the Actions section of the statement:

  • route53resolver:AssociateResolverQueryLogConfig

  • route53resolver:DisassociateResolverQueryLogConfig

  • route53resolver:ListResolverQueryLogConfigs

In the Resource section of the statement, you specify the ARNs for the query logging configurations that you want to share with the account that you specified in Arn.

Value

A list with the following syntax:

list(
  ReturnValue = TRUE|FALSE
)

Request syntax

svc$put_resolver_query_log_config_policy(
  Arn = "string",
  ResolverQueryLogConfigPolicy = "string"
)