1 Antwort
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
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
beantwortet vor 4 Jahren
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor 3 Jahren
- AWS OFFICIALAktualisiert vor 3 Jahren
- AWS OFFICIALAktualisiert vor 2 Jahren