Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jaw111 authored Nov 7, 2024
1 parent 394d256 commit 8b8ff81
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/aws-cdk-lib/aws-events/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,12 @@ const rule = new events.Rule(this, 'rule', {
object: {
// Matchers may appear at any level
size: events.Match.greaterThan(1024),
key: events.Match.wildcard('path/to/object/*.txt'),
},

// 'OR' condition
'source-storage-class': events.Match.anyOf(
events.Match.prefix("GLACIER"),
events.Match.prefix('GLACIER'),
events.Match.exactString('DEEP_ARCHIVE'),
),
},
Expand Down

0 comments on commit 8b8ff81

Please sign in to comment.