Skip to content

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

License

Notifications You must be signed in to change notification settings

genzouw/create-aws-rest-api-to-s3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages