This is a Bash shell script that automatically builds an environment for accessing "S3" from "AWS API Gateway".
- Twitter : @genzouw ( https://twitter.com/genzouw )
- Facebook : genzouw ( https://www.facebook.com/genzouw )
- Gmail : genzouw@gmail.com
The following tools are required to run this script:
Please see to "Requirements".
Before execution, change the following variables to your preferred values. These are used for naming when creating "AWS" objects.
IAM_ROLE_NAME
S3_BUCKET_NAME
APIGATEWAY_RESTAPI_NAME
AWS_DEFAULT_REGION
Alternatively, add the environment variable settings at the beginning of the command as follows:
$ IAM_ROLE_NAME='value1' \
S3_BUCKET_NAME='value2' \
APIGATEWAY_RESTAPI_NAME='value2' \
create-aws-rest-api-to-s3.sh
Environmental Variables are follows:
IAM_ROLE_NAME
S3_BUCKET_NAME
APIGATEWAY_RESTAPI_NAME
AWS_DEFAULT_REGION
date | version | note |
---|---|---|
2019-03-16 | 0.1 | first release. |
This software is released under the MIT License, see LICENSE.