From 8b8ff8162ee62c0a88b0b2e67d5533aedadddfc6 Mon Sep 17 00:00:00 2001 From: John Walker Date: Thu, 7 Nov 2024 15:19:13 +0100 Subject: [PATCH] Update README.md --- packages/aws-cdk-lib/aws-events/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/aws-cdk-lib/aws-events/README.md b/packages/aws-cdk-lib/aws-events/README.md index 9a8af87acee4c..f3646b207f3d4 100644 --- a/packages/aws-cdk-lib/aws-events/README.md +++ b/packages/aws-cdk-lib/aws-events/README.md @@ -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'), ), },