Replies: 1 comment
|
Or is there any way to set |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
so just playing around with aws-sdk-rust (wafv2). I achieve my goals to get ip from cloudwatch -> create ip sets -> create rules -> attach ip sets to rules -> attach rules to waf acl -> done. But i forgot to set the capacity (wcu) on the rules but it success (good but why?) -> found out i'am not using option, i define the rules by using Rule types builder
the docs said it required but a lil bit confused because it enforce 1 wcu for rules that read 1 ip sets with 100 ip in it. I try read the
operation builderhere https://github.com/awslabs/aws-sdk-rust/blob/main/sdk/wafv2/src/operation/create_rule_group/builders.rs#L161-L180 i found nothing about the default value here but capacity is not defined here in types http://docs.rs/aws-sdk-wafv2/latest/aws_sdk_wafv2/types/struct.Rule.htmlSo is it expected?
Thank you!
All reactions