You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: s3-lambda-resizing-python/README.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,6 +30,7 @@ Important: this application uses various AWS services and there are costs associ
30
30
* Enter a stack name
31
31
* Enter the desired AWS Region
32
32
* Allow SAM CLI to create IAM roles with the required permissions.
33
+
* Enter names for your source and destination S3 buckets. Make sure these are unique as S3 bucket names share a global namespace.
33
34
34
35
Once you have run `sam deploy --guided` mode once and saved arguments to a configuration file (samconfig.toml), you can use `sam deploy` in future to use these defaults.
35
36
@@ -39,16 +40,16 @@ Important: this application uses various AWS services and there are costs associ
39
40
40
41
* Use the AWS CLI upload an image to S3
41
42
* If the object is a .jpeg or a .png, the code creates a thumbnail and saves it to the target bucket.
42
-
* The code assumes that the destination bucket exists and its name is a concatenation of the source bucket name followed by the string -resized
43
+
* The code assumes that the destination bucket exists.
43
44
44
45
==============================================
45
46
46
47
## Testing
47
48
48
-
Run the following S3 CLI command to upload an image to the S3 bucket. Note, you must edit the {SourceBucketName} placeholder with the name of the S3 Bucket. This is provided in the stack outputs.
49
+
Run the following S3 CLI command to upload an image to the S3 bucket. Note, you must edit the {SourceBucketName} placeholder with the name of the S3 Bucket. This is provided in the stack outputs.
0 commit comments