# -*- mode: snippet -*-
# name: aws-iam-policy
# key: iam-policy
# group: cloudformation
# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't))
# --
${1:iamPolicy}:
    Type: AWS::IAM::Policy
    Properties:
      Groups:
          - $2
      PolicyDocument: {$3}
      PolicyName: $4
      Roles:
          - $5
      Users:
          - $0

