Skip to content

Commit 9f6e247

Browse files
committed
Updated README.md
1 parent 466518f commit 9f6e247

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

awslambdas3copy/README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ It handles an AWS Lambda function that copies an object when it appears in a S3
2727

2828
* Create an IAM Policy: ex. `Policy-my-buckets`
2929

30+
Changing:
31+
32+
* `sourcebucket` with the name of your source bucket.
33+
* `targetbucket` with the name of your target bucket.
34+
3035
Content of the IAM policy:
3136

3237
```bash
@@ -115,3 +120,15 @@ It handles an AWS Lambda function that copies an object when it appears in a S3
115120
Copy a file in the source S3 bucket.
116121

117122
The object from the source S3 bucket should be copied to the target S3 bucket.
123+
124+
You should see the next messages in the log:
125+
126+
```bash
127+
"S3Event: <LAMBDA_INPUT>"
128+
"Source Bucket: <SOURCE_BUCKET_NAME>"
129+
"Source Object: <SOURCE_FILE_NAME>"
130+
"Target Bucket: <TARGET_BUCKET_NAME>"
131+
"Target Object: <TARGET_FILE_NAME>"
132+
"Copying object ..."
133+
"Copied"
134+
```

0 commit comments

Comments
 (0)