diff --git a/cmd/client-s3.go b/cmd/client-s3.go index daeb3ea77c..1f5044ccd3 100644 --- a/cmd/client-s3.go +++ b/cmd/client-s3.go @@ -324,8 +324,7 @@ func (c *S3Client) AddNotificationConfig(ctx context.Context, arn string, events case "replica": nc.AddEvents(notification.EventType("s3:Replication:*")) case "ilm": - nc.AddEvents(notification.EventType("s3:ObjectRestore:*")) - nc.AddEvents(notification.EventType("s3:ObjectTransition:*")) + nc.AddEvents(notification.EventType("s3:ObjectRestore:*"), notification.ObjectTransitionAll, notification.ILMDelMarkerExpirationDelete) case "scanner": nc.AddEvents(notification.EventType("s3:Scanner:ManyVersions")) nc.AddEvents(notification.EventType("s3:Scanner:BigPrefix"))