Skip to content

Commit 7b2951a

Browse files
committed
Updated README.md
1 parent 5536b02 commit 7b2951a

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

awslambdas3move/README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff 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+
```

0 commit comments

Comments
 (0)