HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/awscli/examples/route53resolver/get-resolver-rule-association.rst
**To get information about the association between a Resolver rule and a VPC**

The following ``get-resolver-rule-association`` example displays details about the association between a specified Resolver rule and a VPC. You associate a resolver rule and a VPC using `associate-resolver-rule <https://docs.aws.amazon.com/cli/latest/reference/route53resolver/associate-resolver-rule.html>`__. ::

    aws route53resolver get-resolver-rule-association \
        --resolver-rule-association-id rslvr-rrassoc-d61cbb2c8bexample

Output::

    {
        "ResolverRuleAssociation": {
            "Id": "rslvr-rrassoc-d61cbb2c8bexample",
            "ResolverRuleId": "rslvr-rr-42b60677c0example",
            "Name": "my-resolver-rule-association",
            "VPCId": "vpc-304bexam",
            "Status": "COMPLETE",
            "StatusMessage": ""
        }
    }