v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1463250283.1 KB

Specifies an Amazon Web Services rule that you want to share with another account, the account that you want to share the rule with, and the operations that you want the account to be able to perform on the rule.

post/#X-Amz-Target=Route53Resolver.PutResolverRulePolicy

Headers

X-Amz-Target'Route53Resolver.PutResolverRulePolicy' required

Request body

Arnstring required

The Amazon Resource Name (ARN) of the rule that you want to share with another account.

ResolverRulePolicystring required
<p>An Identity and Access Management policy statement that lists the rules 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 <code>Action</code> section of the statement:</p> <ul> <li> <p> <code>route53resolver:GetResolverRule</code> </p> </li> <li> <p> <code>route53resolver:AssociateResolverRule</code> </p> </li> <li> <p> <code>route53resolver:DisassociateResolverRule</code> </p> </li> <li> <p> <code>route53resolver:ListResolverRules</code> </p> </li> <li> <p> <code>route53resolver:ListResolverRuleAssociations</code> </p> </li> </ul> <p>In the <code>Resource</code> section of the statement, specify the ARN for the rule that you want to share with another account. Specify the same ARN that you specified in <code>Arn</code>.</p>

Response

Success

ReturnValueboolean

Whether the <code>PutResolverRulePolicy</code> request was successful.