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년 전