1 個回答
- 最新
- 最多得票
- 最多評論
1
Here's the magic. I wasn't setting up the "!If" within the list.
- !If
- inProduction
- Name: publicRateLimit
Action:
Block: {}
Priority: 7
Statement:
RateBasedStatement:
AggregateKeyType: IP
Limit: !Ref RateLimit
ScopeDownStatement:
NotStatement:
Statement:
ByteMatchStatement:
FieldToMatch:
UriPath: {}
PositionalConstraint: STARTS_WITH
SearchString:
'/exemptedpath'
TextTransformations:
- Priority: 0
Type: LOWERCASE
VisibilityConfig:
SampledRequestsEnabled: false
CloudWatchMetricsEnabled: false
MetricName: publicRateLimit
- !Ref AWS::NoValue
已回答 4 年前
相關內容
- AWS 官方已更新 1 年前