1 Risposta
- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
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
con risposta 4 anni fa
Contenuto pertinente
- AWS UFFICIALEAggiornata 2 anni fa