File tree Expand file tree Collapse file tree 5 files changed +31
-31
lines changed Expand file tree Collapse file tree 5 files changed +31
-31
lines changed Original file line number Diff line number Diff line change @@ -26,13 +26,13 @@ It handles a simple AWS Lambda function that shows the content (text) of the cal
26
26
* Runtime: ` Java 8 `
27
27
* Handler: ` example.Hello::myHandler `
28
28
* Role: ` lambda-basic-execution `
29
- * The triggers:
30
- * ` Nothing `
31
- * The resources that the function's role has access to:
32
- * ` Amazon CloudWatch Logs `
33
- * Basic Settings for the lambda function:
29
+ * Runtime Settings for the lambda function:
34
30
* Memory (MB): ` 512 `
35
31
* Timeout: ` 15 sec `
32
+ * The resources that the function's role has access to:
33
+ * ` Amazon CloudWatch Logs `
34
+ * The triggers:
35
+ * ` Nothing `
36
36
37
37
* Upload the Java JAR file.
38
38
Original file line number Diff line number Diff line change @@ -26,13 +26,13 @@ It handles a simple AWS Lambda function that shows the content (JSON) of the cal
26
26
* Runtime: ` Java 8 `
27
27
* Handler: ` example.Hello::handleRequest `
28
28
* Role: ` lambda-basic-execution `
29
- * The triggers:
30
- * ` Nothing `
31
- * The resources that the function's role has access to:
32
- * ` Amazon CloudWatch Logs `
33
- * Basic Settings for the lambda function:
29
+ * Runtime Settings for the lambda function:
34
30
* Memory (MB): ` 512 `
35
31
* Timeout: ` 15 sec `
32
+ * The resources that the function's role has access to:
33
+ * ` Amazon CloudWatch Logs `
34
+ * The triggers:
35
+ * ` Nothing `
36
36
37
37
* Upload the Java JAR file.
38
38
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: ` Java 8 `
88
88
* Handler: ` example.S3CopyHandler::handleRequest `
89
89
* Role: ` Role-my-buckets `
90
- * The triggers:
91
- * ` S3 `
92
- * Bucket: ` <SOURCE_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: ` <SOURCE_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 @@ -27,16 +27,16 @@ It handles an AWS Lambda function that sends information to the log about an obj
27
27
* Runtime: ` Java 8 `
28
28
* Handler: ` example.S3EventHandler::handleRequest `
29
29
* Role: ` lambda-basic-execution `
30
+ * Runtime Settings for the lambda function:
31
+ * Memory (MB): ` 512 `
32
+ * Timeout: ` 15 sec `
33
+ * The resources that the function's role has access to:
34
+ * ` Amazon CloudWatch Logs `
30
35
* The triggers:
31
36
* ` S3 `
32
37
* Bucket: ` <BUCKET_NAME> `
33
38
* Event type: ` ObjectCreated `
34
39
* Enable trigger: ` Yes `
35
- * The resources that the function's role has access to:
36
- * ` Amazon CloudWatch Logs `
37
- * Basic Settings for the lambda function:
38
- * Memory (MB): ` 512 `
39
- * Timeout: ` 15 sec `
40
40
41
41
* Upload the Java JAR file.
42
42
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: ` Java 8 `
89
89
* Handler: ` example.S3MoveHandler::handleRequest `
90
90
* Role: ` Role-my-buckets `
91
- * The triggers:
92
- * ` S3 `
93
- * Bucket: ` <SOURCE_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: ` <SOURCE_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