Skip to content

Instantly share code, notes, and snippets.

@davidwebstar34
Created January 31, 2021 13:51
Show Gist options
  • Save davidwebstar34/4b524a752aff9da47446ff8adbc9467b to your computer and use it in GitHub Desktop.
Save davidwebstar34/4b524a752aff9da47446ff8adbc9467b to your computer and use it in GitHub Desktop.
AWS Cloudshell deny upload and download of files
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "CloudShellUser",
"Effect": "Allow",
"Action": [
"cloudshell:*"
],
"Resource": "*"
},
{
"Sid": "DenyUploadDownload",
"Effect": "Deny",
"Action": [
"cloudshell:GetFileDownloadUrls",
"cloudshell:GetFileUploadUrls"
],
"Resource": "*"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment