route53resolver:AssociateResolverQueryLogConfig

Write

route53resolver:AssociateResolverQueryLogConfig is a Write access-level action in the route53resolver service. Grants permission to associate an Amazon VPC with a specified query logging configuration

Resource types

ARNs that route53resolver:AssociateResolverQueryLogConfig can be scoped to in an IAM policy.

arn:${Partition}:route53resolver:${Region}:${Account}:resolver-query-log-config/${ResourceId}
resolver-query-log-config

Condition keys

Keys you can use in the Condition block of a policy that grants route53resolver:AssociateResolverQueryLogConfig.

aws:ResourceTag/${TagKey} String

Filters access by the presence of tag key-value pairs attached to the resource

Dependent actions

To use route53resolver:AssociateResolverQueryLogConfig you may also need to grant:

Example IAM policy

A minimal policy that allows route53resolver:AssociateResolverQueryLogConfig. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowRoute53resolverAssociateResolverQueryLogConfig",
      "Effect": "Allow",
      "Action": "route53resolver:AssociateResolverQueryLogConfig",
      "Resource": "*"
    }
  ]
}

Related actions in route53resolver

View all route53resolver actions →