Skip to content

Instantly share code, notes, and snippets.

@alessandrobologna
Last active August 6, 2018 16:04
Show Gist options
  • Save alessandrobologna/4fdda4d9cd8695feaf4cea37ab2cc915 to your computer and use it in GitHub Desktop.
Save alessandrobologna/4fdda4d9cd8695feaf4cea37ab2cc915 to your computer and use it in GitHub Desktop.
s3 tag policies
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "test01",
"Effect": "Allow",
"Action": "s3:GetObject",
"Resource": "*",
"Condition": {
"ForAllValues:StringEquals": {
"s3:ExistingObjectTag/key1": [
"red",
"blue"
],
"s3:ExistingObjectTag/key2": [
"green"
]
}
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment