Skip to content

Latest commit

 

History

History
68 lines (39 loc) · 1.35 KB

README.md

File metadata and controls

68 lines (39 loc) · 1.35 KB

create-aws-rest-api-to-s3

This is a Bash shell script that automatically builds an environment for accessing "S3" from "AWS API Gateway".

Author Information

genzouw

Requirements

The following tools are required to run this script:

Installation

Please see to "Requirements".

Usage

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

Configuration

Environmental Variables are follows:

  • IAM_ROLE_NAME
  • S3_BUCKET_NAME
  • APIGATEWAY_RESTAPI_NAME
  • AWS_DEFAULT_REGION

Relase Note

date version note
2019-03-16 0.1 first release.

License

This software is released under the MIT License, see LICENSE.