Skip to content

Instantly share code, notes, and snippets.

@alexishida
Last active October 8, 2021 22:55
Show Gist options
  • Select an option

  • Save alexishida/0043892232f513d81f88155dfea26891 to your computer and use it in GitHub Desktop.

Select an option

Save alexishida/0043892232f513d81f88155dfea26891 to your computer and use it in GitHub Desktop.
AWS commands
#Install SAM CLI
https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-cli-install-linux.html
# S3 Bucket Policy
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "PublicRead",
"Effect": "Allow",
"Principal": "*",
"Action": [
"s3:GetObject",
"s3:GetObjectVersion"
],
"Resource": "arn:aws:s3:::bucket/*"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment