How do i create a location label based condition in AWS WAF?

0

Since november the second its possible to restrict access to a resource based on a specific location such as a state. You can create a label based rule with the rule builder.

I want to restrict access to a cloudfront distribution for certain US states but i can't locate this rule builder anywhere in the WAF console. Where to find this builder and how do i create a label based condition to restrict a US state?

Thanks

1回答
0
承認された回答

The geographic match rule adds geographic region and country labels to every request that it evaluates, enabling customers to write label match statements according to the regions they wish to block or allow.

You can find it under: Rule builder on the console – Under the rule's Action settings, under Label.

Also refer to https://docs.aws.amazon.com/waf/latest/developerguide/waf-rule-label-add.html and https://docs.aws.amazon.com/waf/latest/developerguide/waf-rule-statement-type-label-match.html

AWS
Lucas
回答済み 1年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ