File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,11 @@ It handles an AWS Lambda function that moves an object when it appears in a S3 b
2929
3030 Content of the IAM policy:
3131
32+ Changing:
33+
34+ * ` sourcebucket ` to the name of your source bucket.
35+ * ` targetbucket ` to the name of your target bucket.
36+
3237 ``` bash
3338 {
3439 " Version" : " 2012-10-17" ,
@@ -117,3 +122,15 @@ It handles an AWS Lambda function that moves an object when it appears in a S3 b
117122 Copy a file in the source S3 bucket.
118123
119124 The object from the source S3 bucket should be copied to the target S3 bucket and deleted in the source S3 bucket.
125+
126+ You should see the next messages in the log:
127+
128+ ``` bash
129+ " S3Event: <LAMBDA_INPUT>"
130+ " Source Bucket: <SOURCE_BUCKET_NAME>"
131+ " Source Object: <SOURCE_FILE_NAME>"
132+ " Target Bucket: <TARGET_BUCKET_NAME>"
133+ " Target Object: <TARGET_FILE_NAME>"
134+ " Moving object ..."
135+ " Moved"
136+ ```
You can’t perform that action at this time.
0 commit comments