본문 바로가기
Private & Public Cloud/AWS

Lambda 에서 사용가능한 S3 trigger event

by 낭만프로그래머. 2020. 1. 14.

 

s3:ObjectCreated:*

s3:ObjectCreated:Put

s3:ObjectCreated:Post

s3:ObjectCreated:Copy

s3:ObjectCreated:CompleteMultipartUpload

Amazon S3 APIs such as PUT, POST, and COPY can create an object. Using these event types, you can enable notification when an object is created using a specific API, or you can use the s3:ObjectCreated:* event type to request notification regardless of the API that was used to create an object.

You do not receive event notifications from failed operations.

s3:ObjectRemoved:*

s3:ObjectRemoved:Delete

s3:ObjectRemoved:DeleteMarkerCreated

By using the ObjectRemoved event types, you can enable notification when an object or a batch of objects is removed from a bucket.

You can request notification when an object is deleted or a versioned object is permanently deleted by using the s3:ObjectRemoved:Delete event type. Or you can request notification when a delete marker is created for a versioned object by using s3:ObjectRemoved:DeleteMarkerCreated. For information about deleting versioned objects, see Deleting Object Versions. You can also use a wildcard s3:ObjectRemoved:* to request notification anytime an object is deleted.

You do not receive event notifications from automatic deletes from lifecycle policies or from failed operations.

s3:ObjectRestore:Post

s3:ObjectRestore:Completed

Using restore object event types you can receive notifications for initiation and completion when restoring objects from the GLACIER storage class.

You use s3:ObjectRestore:Post to request notification of object restoration initiation. You use s3:ObjectRestore:Completed to request notification of restoration completion.

s3:ReducedRedundancyLostObject 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 lost.
s3:Replication:OperationFailedReplication You receive this notification event when an object that was eligible for replication using Amazon S3 Replication Time Control failed to replicate.
s3:Replication:OperationMissedThreshold You receive this notification event when an object that was eligible for replication using Amazon S3 Replication Time Control exceeded the 15-minute threshold for replication.
s3:Replication:OperationReplicatedAfterThreshold You receive this notification event for an object that was eligible for replication using the Amazon S3 Replication Time Control feature replicated after the 15-minute threshold.
s3:Replication:OperationNotTracked You receive this notification event for an object that was eligible for replication using Amazon S3 Replication Time Control but is no longer tracked by replication metrics.

 

https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html#notification-how-to-event-types-and-destinations

 

https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html#notification-how-to-event-types-and-destinations

Configuring Amazon S3 Event Notifications

docs.aws.amazon.com

 

'Private & Public Cloud > AWS' 카테고리의 다른 글

EC2 -> S3 log stream 만들기  (0) 2020.01.13
EC2 서버 nodejs 설치  (0) 2020.01.13