File tree Expand file tree Collapse file tree 6 files changed +39
-39
lines changed Expand file tree Collapse file tree 6 files changed +39
-39
lines changed Original file line number Diff line number Diff line change @@ -21,13 +21,13 @@ It handles a simple AWS Lambda function that shows the content (text) of the cal
2121 *  Runtime: ` Python 3.8 ` 
2222 *  Handler: ` lambda_function.lambda_handler ` 
2323 *  Role: ` lambda-basic-execution ` 
24-  *  The triggers:
25-  *  ` Nothing ` 
26-  *  The resources that the function's role has access to:
27-  *  ` Amazon CloudWatch Logs ` 
28-  *  Basic Settings for the lambda function:
24+  *  Runtime Settings for the lambda function:
2925 *  Memory (MB): ` 128 ` 
3026 *  Timeout: ` 3 sec ` 
27+  *  The resources that the function's role has access to:
28+  *  ` Amazon CloudWatch Logs ` 
29+  *  The triggers:
30+  *  ` Nothing ` 
3131
3232*  Write the code.
3333
Original file line number Diff line number Diff line change @@ -21,13 +21,13 @@ It handles a simple AWS Lambda function that shows the content (JSON) of the cal
2121 *  Runtime: ` Python 3.8 ` 
2222 *  Handler: ` lambda_function.lambda_handler ` 
2323 *  Role: ` lambda-basic-execution ` 
24-  *  The triggers:
25-  *  ` Nothing ` 
26-  *  The resources that the function's role has access to:
27-  *  ` Amazon CloudWatch Logs ` 
28-  *  Basic Settings for the lambda function:
24+  *  Runtime Settings for the lambda function:
2925 *  Memory (MB): ` 128 ` 
3026 *  Timeout: ` 3 sec ` 
27+  *  The resources that the function's role has access to:
28+  *  ` Amazon CloudWatch Logs ` 
29+  *  The triggers:
30+  *  ` Nothing ` 
3131
3232*  Write the code.
3333
Original file line number Diff line number Diff line change @@ -87,21 +87,21 @@ It handles an AWS Lambda function that copies an object when it appears in a S3
8787 *  Runtime: ` Python 3.8 ` 
8888 *  Handler: ` lambda_function.lambda_handler ` 
8989 *  Role: ` Role-my-buckets ` 
90-  *  The triggers:
91-  *  ` S3 ` 
92-  *  Bucket: ` <BUCKET_NAME> ` 
93-  *  Event type: ` ObjectCreated ` 
94-  *  Enable trigger: ` Yes ` 
90+  *  Runtime Settings for the lambda function:
91+  *  Memory (MB): ` 1024 ` 
92+  *  Timeout: ` 10 sec ` 
9593 *  The resources that the function's role has access to:
9694 *  ` Amazon CloudWatch ` 
9795 *  ` Amazon CloudWatch Logs ` 
9896 *  ` Amazon S3 ` 
9997 *  Lambda obtained information from the policy statements: ` Managed policy Policy-my-buckets ` :
10098 *  ` s3:GetObject `  --> ` Allow: arn:aws:s3:::sourcebucket/* ` 
10199 *  ` s3:PutObject `  --> ` Allow: arn:aws:s3:::targetbucket/* ` 
102-  *  Basic Settings for the lambda function:
103-  *  Memory (MB): ` 1024 ` 
104-  *  Timeout: ` 10 sec ` 
100+  *  The triggers:
101+  *  ` S3 ` 
102+  *  Bucket: ` <BUCKET_NAME> ` 
103+  *  Event type: ` ObjectCreated ` 
104+  *  Enable trigger: ` Yes ` 
105105
106106*  Create the AWS Lambda environment variable ` TARGET_BUCKET `  and set its value to the name of your target bucket.
107107
Original file line number Diff line number Diff line change @@ -87,21 +87,21 @@ It handles an AWS Lambda function that copies an object when it appears in a S3
8787 *  Runtime: ` Python 3.8 ` 
8888 *  Handler: ` lambda_function.lambda_handler ` 
8989 *  Role: ` Role-my-buckets ` 
90-  *  The triggers:
91-  *  ` S3 ` 
92-  *  Bucket: ` <BUCKET_NAME> ` 
93-  *  Event type: ` ObjectCreated ` 
94-  *  Enable trigger: ` Yes ` 
90+  *  Runtime Settings for the lambda function:
91+  *  Memory (MB): ` 1024 ` 
92+  *  Timeout: ` 10 sec ` 
9593 *  The resources that the function's role has access to:
9694 *  ` Amazon CloudWatch ` 
9795 *  ` Amazon CloudWatch Logs ` 
9896 *  ` Amazon S3 ` 
9997 *  Lambda obtained information from the policy statements: ` Managed policy Policy-my-buckets ` :
10098 *  ` s3:GetObject `  --> ` Allow: arn:aws:s3:::sourcebucket/* ` 
10199 *  ` s3:PutObject `  --> ` Allow: arn:aws:s3:::targetbucket/* ` 
102-  *  Basic Settings for the lambda function:
103-  *  Memory (MB): ` 1024 ` 
104-  *  Timeout: ` 10 sec ` 
100+  *  The triggers:
101+  *  ` S3 ` 
102+  *  Bucket: ` <BUCKET_NAME> ` 
103+  *  Event type: ` ObjectCreated ` 
104+  *  Enable trigger: ` Yes ` 
105105
106106*  Create the AWS Lambda environment variable ` TARGET_BUCKET `  and set its value to the name of your target bucket.
107107
Original file line number Diff line number Diff line change @@ -21,16 +21,16 @@ It handles an AWS Lambda function that sends information to the log about an obj
2121 *  Runtime: ` Python 3.8 ` 
2222 *  Handler: ` lambda_function.lambda_handler ` 
2323 *  Role: ` lambda-basic-execution ` 
24+  *  Runtime Settings for the lambda function:
25+  *  Memory (MB): ` 128 ` 
26+  *  Timeout: ` 3 sec ` 
27+  *  The resources that the function's role has access to:
28+  *  ` Amazon CloudWatch Logs ` 
2429 *  The triggers:
2530 *  ` S3 ` 
2631 *  Bucket: ` <BUCKET_NAME> ` 
2732 *  Event type: ` ObjectCreated ` 
2833 *  Enable trigger: ` Yes ` 
29-  *  The resources that the function's role has access to:
30-  *  ` Amazon CloudWatch Logs ` 
31-  *  Basic Settings for the lambda function:
32-  *  Memory (MB): ` 128 ` 
33-  *  Timeout: ` 3 sec ` 
3434
3535*  Write the code.
3636
Original file line number Diff line number Diff line change @@ -88,11 +88,9 @@ It handles an AWS Lambda function that moves an object when it appears in a S3 b
8888 *  Runtime: ` Python 3.8 ` 
8989 *  Handler: ` lambda_function.lambda_handler ` 
9090 *  Role: ` Role-my-buckets ` 
91-  *  The triggers:
92-  *  ` S3 ` 
93-  *  Bucket: ` <BUCKET_NAME> ` 
94-  *  Event type: ` ObjectCreated ` 
95-  *  Enable trigger: ` Yes ` 
91+  *  Runtime Settings for the lambda function:
92+  *  Memory (MB): ` 1024 ` 
93+  *  Timeout: ` 10 sec ` 
9694 *  The resources that the function's role has access to:
9795 *  ` Amazon CloudWatch ` 
9896 *  ` Amazon CloudWatch Logs ` 
@@ -101,9 +99,11 @@ It handles an AWS Lambda function that moves an object when it appears in a S3 b
10199 *  ` s3:GetObject `  --> ` Allow: arn:aws:s3:::sourcebucket/* ` 
102100 *  ` s3:DeleteObject `  --> ` Allow: arn:aws:s3:::sourcebucket/* ` 
103101 *  ` s3:PutObject `  --> ` Allow: arn:aws:s3:::targetbucket/* ` 
104-  *  Basic Settings for the lambda function:
105-  *  Memory (MB): ` 1024 ` 
106-  *  Timeout: ` 10 sec ` 
102+  *  The triggers:
103+  *  ` S3 ` 
104+  *  Bucket: ` <BUCKET_NAME> ` 
105+  *  Event type: ` ObjectCreated ` 
106+  *  Enable trigger: ` Yes ` 
107107
108108*  Create the AWS Lambda environment variable ` TARGET_BUCKET `  and set its value to the name of your target bucket.
109109
                         You can’t perform that action at this time. 
           
                  
0 commit comments