Skip to content

Commit

Permalink
feat(s3): add s3:ObjectRestore:Delete to EventType for notificati…
Browse files Browse the repository at this point in the history
…on (#19250)

closes #19223 

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
mayforblue authored Mar 5, 2022
1 parent f109720 commit e0f863a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions packages/@aws-cdk/aws-s3/lib/bucket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2297,6 +2297,16 @@ export enum EventType {
*/
OBJECT_RESTORE_COMPLETED = 's3:ObjectRestore:Completed',

/**
* 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:Delete to request notification of
* restoration completion.
*/
OBJECT_RESTORE_DELETE = 's3:ObjectRestore:Delete',

/**
* You can use this event type to request Amazon S3 to send a notification
* message when Amazon S3 detects that an object of the RRS storage class is
Expand Down

0 comments on commit e0f863a

Please sign in to comment.