Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
1.7 kB
2
Indexable
Never
{
    "Statement": [
        {
            "Action": [
                "dynamodb:GetItem",
                "dynamodb:Query",
                "dynamodb:BatchGetItem"
            ],
            "Resource": "arn:aws:dynamodb:us-west-2:460561121586:table/vlncc-user-rights-nou",
            "Effect": "Allow",
            "Condition": {
                "ForAllValues:StringLike": {
                    "dynamodb:LeadingKeys": [
                        "nou-0ee3af8a-d58b-4e1d-936d-3d76",
                        "nou-0ee3af8a-d58b-4e1d-936d-3d76#*"
                    ]
                }
            }
        },
        {
            "Action": [
                "dynamodb:PutItem",
                "dynamodb:UpdateItem",
                "dynamodb:GetItem",
                "dynamodb:DeleteItem",
                "dynamodb:Query",
                "dynamodb:BatchWriteItem",
                "dynamodb:BatchGetItem",
                "dynamodb:ConditionCheckItem"
            ],
            "Resource": [
                "arn:aws:dynamodb:us-west-2:460561121586:table/vlncc-measurements-nou",
                "arn:aws:dynamodb:us-west-2:460561121586:table/vlncc-measurements-nou/index/idx-node_id-timestamp",
                "arn:aws:dynamodb:us-west-2:460561121586:table/vlncc-measurements-nou/index/idx-pk-timestamp"
            ],
            "Effect": "Allow",
            "Condition": {
                "ForAllValues:StringLike": {
                    "dynamodb:LeadingKeys": [
                        "nou-0ee3af8a-d58b-4e1d-936d-3d76",
                        "nou-0ee3af8a-d58b-4e1d-936d-3d76#*"
                    ]
                }
            }
        }
    ]
}