CmdID / aws / aws route53resolver
aws route53resolver get-resolver-rule-association
Gets information about an association between a specified Resolver rule and a VPC. AWS CLI reference
1 example 1 option Its page in the AWS CLI reference
Examples
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.
aws route53resolver get-resolver-rule-association --resolver-rule-association-id rslvr-rrassoc-d61cbb2c8bexampleIdentify--resolver-rule-association-idThe ID of the Resolver rule association that you want to get information about.Its output
{
"ResolverRuleAssociation": {
"Id": "rslvr-rrassoc-d61cbb2c8bexample",
"ResolverRuleId": "rslvr-rr-42b60677c0example",
"Name": "my-resolver-rule-association",
"VPCId": "vpc-304bexam",
"Status": "COMPLETE",
"StatusMessage": ""
}
}For more information, see Managing forwarding rules in the Amazon Route 53 Developer Guide.
Options
--resolver-rule-association-idThe ID of the Resolver rule association that you want to get information about.