route53resolver:GetResolverRule

Read

route53resolver:GetResolverRule is a Read access-level action in the route53resolver service. Grants permission to get information about a specified Resolver rule, such as the domain name that the rule forwards DNS queries for and the IP address that queries are forwarded to

Resource types

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

arn:${Partition}:route53resolver:${Region}:${Account}:autodefined-rule/${ResourceId}
autodefined-rule
arn:${Partition}:route53resolver:${Region}:${Account}:resolver-rule/${ResourceId}
resolver-rule

Condition keys

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

aws:ResourceTag/${TagKey} String

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

Example IAM policy

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

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

Related actions in route53resolver

View all route53resolver actions →