You've already forked EjemplosPoliticasAWS
Orden en carpetas
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
{
|
||||
"Version": "2012-10-17",
|
||||
"Statement": [
|
||||
{
|
||||
"Sid": "DenyAllAwsReourcesOutsideAccountExceptAmazonS3",
|
||||
"Effect": "Deny",
|
||||
"NotAction": [
|
||||
"s3:GetObject",
|
||||
"s3:PutObject",
|
||||
"s3:PutObjectAcl"
|
||||
],
|
||||
"Resource": "*",
|
||||
"Condition": {
|
||||
"StringNotEquals": {
|
||||
"aws:ResourceAccount": [
|
||||
"111122223333"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"Sid": "DenyAllS3ResourcesOutsideAccountExceptDataExchange",
|
||||
"Effect": "Deny",
|
||||
"Action": [
|
||||
"s3:GetObject",
|
||||
"s3:PutObject",
|
||||
"s3:PutObjectAcl"
|
||||
],
|
||||
"Resource": "*",
|
||||
"Condition": {
|
||||
"StringNotEquals": {
|
||||
"aws:ResourceAccount": [
|
||||
"111122223333"
|
||||
]
|
||||
},
|
||||
"ForAllValues:StringNotEquals": {
|
||||
"aws:CalledVia": [
|
||||
"dataexchange.amazonaws.com"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user