CmdID / aws / aws route53resolver
aws route53resolver create-firewall-rule-group
Creates an empty DNS Firewall rule group for filtering DNS network traffic in a VPC. AWS CLI reference
1 example 3 options Its page in the AWS CLI reference
Examples
To create a Firewall rule group
The following create-firewall-rule-group example creates a DNS Firewall rule group.
aws route53resolver create-firewall-rule-group --creator-request-id my-request-id --name testIdentify--creator-request-idA unique string defined by you to identify the request.--nameA name that lets you identify the rule group, to manage and use it.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
--creator-request-idA unique string defined by you to identify the request.--nameA name that lets you identify the rule group, to manage and use it.--tagsA list of the tag keys and values that you want to associate with the rule group.