Skip to content

Commit

Permalink
Update 3-aws-iam-policy.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
smoy committed May 2, 2023
1 parent d5e98b1 commit c51dd62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/web/docs/3-reference/2-templates/3-aws-iam-policy.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ properties:
statement:
- action:
- s3:GetObject
s3:PutObject
- s3:PutObject
effect: Deny
resource: arn:aws:s3:::mybucket
condition:
Expand All @@ -29,4 +29,4 @@ For the example above, the `operator` is `StringLike`, `matching_key` is `s3:pre
`matching_value` is `pii/*`. The double quote is needed when there is a potential collision with
yaml dictionary syntax.

For the full condition reference, check out AWS [documentation](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition_operators.html).
For the full condition reference, check out AWS [documentation](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition_operators.html).

0 comments on commit c51dd62

Please sign in to comment.