From f2cd24dfb7b9c9065c3aa5bdfe254c99257d1eb2 Mon Sep 17 00:00:00 2001 From: paulhcsun <47882901+paulhcsun@users.noreply.github.com> Date: Tue, 4 Mar 2025 12:38:53 -0800 Subject: [PATCH] chore(s3): backfill missing enums for s3 (#33655) ### Description of changes backfill missing enums for s3 ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license* --- packages/aws-cdk-lib/aws-s3/lib/bucket.ts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/packages/aws-cdk-lib/aws-s3/lib/bucket.ts b/packages/aws-cdk-lib/aws-s3/lib/bucket.ts index f51b3b5132ad0..f38b74a41cdaa 100644 --- a/packages/aws-cdk-lib/aws-s3/lib/bucket.ts +++ b/packages/aws-cdk-lib/aws-s3/lib/bucket.ts @@ -3291,6 +3291,21 @@ export enum EventType { * object’s ACL. */ OBJECT_ACL_PUT = 's3:ObjectAcl:Put', + + /** + * Using restore object event types you can receive notifications for + * initiation and completion when restoring objects from the S3 Glacier + * storage class. + * + * You use s3:ObjectRestore:* to request notification of + * any restoration event. + */ + OBJECT_RESTORE = 's3:ObjectRestore:*', + + /** + * You receive this notification event for any object replication event. + */ + REPLICATION = 's3:Replication:*', } export interface NotificationKeyFilter {