Created
January 31, 2021 13:51
-
-
Save davidwebstar34/4b524a752aff9da47446ff8adbc9467b to your computer and use it in GitHub Desktop.
AWS Cloudshell deny upload and download of files
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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