Skip to content

Commit

Permalink
chore(s3): backfill missing enums for s3 (aws#33655)
Browse files Browse the repository at this point in the history
### 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*
  • Loading branch information
paulhcsun authored Mar 4, 2025
1 parent ab368ee commit f2cd24d
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions packages/aws-cdk-lib/aws-s3/lib/bucket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit f2cd24d

Please sign in to comment.