File tree 6 files changed +39
-39
lines changed
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
21
21
* Runtime: ` Python 3.8 `
22
22
* Handler: ` lambda_function.lambda_handler `
23
23
* 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:
29
25
* Memory (MB): ` 128 `
30
26
* Timeout: ` 3 sec `
27
+ * The resources that the function's role has access to:
28
+ * ` Amazon CloudWatch Logs `
29
+ * The triggers:
30
+ * ` Nothing `
31
31
32
32
* Write the code.
33
33
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
21
21
* Runtime: ` Python 3.8 `
22
22
* Handler: ` lambda_function.lambda_handler `
23
23
* 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:
29
25
* Memory (MB): ` 128 `
30
26
* Timeout: ` 3 sec `
27
+ * The resources that the function's role has access to:
28
+ * ` Amazon CloudWatch Logs `
29
+ * The triggers:
30
+ * ` Nothing `
31
31
32
32
* Write the code.
33
33
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
87
87
* Runtime: ` Python 3.8 `
88
88
* Handler: ` lambda_function.lambda_handler `
89
89
* 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 `
95
93
* The resources that the function's role has access to:
96
94
* ` Amazon CloudWatch `
97
95
* ` Amazon CloudWatch Logs `
98
96
* ` Amazon S3 `
99
97
* Lambda obtained information from the policy statements: ` Managed policy Policy-my-buckets ` :
100
98
* ` s3:GetObject ` --> ` Allow: arn:aws:s3:::sourcebucket/* `
101
99
* ` 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 `
105
105
106
106
* Create the AWS Lambda environment variable ` TARGET_BUCKET ` and set its value to the name of your target bucket.
107
107
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
87
87
* Runtime: ` Python 3.8 `
88
88
* Handler: ` lambda_function.lambda_handler `
89
89
* 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 `
95
93
* The resources that the function's role has access to:
96
94
* ` Amazon CloudWatch `
97
95
* ` Amazon CloudWatch Logs `
98
96
* ` Amazon S3 `
99
97
* Lambda obtained information from the policy statements: ` Managed policy Policy-my-buckets ` :
100
98
* ` s3:GetObject ` --> ` Allow: arn:aws:s3:::sourcebucket/* `
101
99
* ` 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 `
105
105
106
106
* Create the AWS Lambda environment variable ` TARGET_BUCKET ` and set its value to the name of your target bucket.
107
107
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
21
21
* Runtime: ` Python 3.8 `
22
22
* Handler: ` lambda_function.lambda_handler `
23
23
* 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 `
24
29
* The triggers:
25
30
* ` S3 `
26
31
* Bucket: ` <BUCKET_NAME> `
27
32
* Event type: ` ObjectCreated `
28
33
* 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 `
34
34
35
35
* Write the code.
36
36
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
88
88
* Runtime: ` Python 3.8 `
89
89
* Handler: ` lambda_function.lambda_handler `
90
90
* 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 `
96
94
* The resources that the function's role has access to:
97
95
* ` Amazon CloudWatch `
98
96
* ` Amazon CloudWatch Logs `
@@ -101,9 +99,11 @@ It handles an AWS Lambda function that moves an object when it appears in a S3 b
101
99
* ` s3:GetObject ` --> ` Allow: arn:aws:s3:::sourcebucket/* `
102
100
* ` s3:DeleteObject ` --> ` Allow: arn:aws:s3:::sourcebucket/* `
103
101
* ` 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 `
107
107
108
108
* Create the AWS Lambda environment variable ` TARGET_BUCKET ` and set its value to the name of your target bucket.
109
109
You can’t perform that action at this time.
0 commit comments