CmdID / aws / aws route53resolver
aws route53resolver get-firewall-rule-group
Retrieves the specified firewall rule group. AWS CLI reference
1 example 1 option Its page in the AWS CLI reference
Examples
To get a Firewall rule group
The following get-firewall-rule-group example retrieves information about a DNS Firewall rule group with the ID you provide.
aws route53resolver get-firewall-rule-group --firewall-rule-group-id rslvr-frg-47f93271fexampleIdentify--firewall-rule-group-idThe unique identifier of the firewall rule group.Its output
{
"FirewallRuleGroup": {
"Id": "rslvr-frg-47f93271fexample",
"Arn": "arn:aws:route53resolver:us-west-2:123456789012:firewall-rule-group/rslvr-frg-47f93271fexample",
"Name": "test",
"RuleCount": 0,
"Status": "COMPLETE",
"StatusMessage": "Created Firewall Rule Group",
"OwnerId": "123456789012",
"CreatorRequestId": "my-request-id",
"ShareStatus": "NOT_SHARED",
"CreationTime": "2021-05-25T18:59:26.490017Z",
"ModificationTime": "2021-05-25T18:59:26.490017Z"
}
}For more information, see Managing rule groups and rules in DNS Firewall in the Amazon Route 53 Developer Guide.
Options
--firewall-rule-group-idThe unique identifier of the firewall rule group.