source/aws-connect-vm-serverless/serverless.yml [1020:1039]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            PolicyDocument:
              Version: '2012-10-17'
              Statement:
                - Effect: Allow
                  Action:
                    - logs:CreateLogGroup
                    - logs:CreateLogStream
                    - logs:PutLogEvents
                  Resource:
                    - !Sub "arn:#{AWS::Partition}:logs:#{AWS::Region}:#{AWS::AccountId}:log-group:/aws/lambda/*"
                - Effect: Allow
                  Action:
                    - dynamodb:Scan
                    - dynamodb:BatchWriteItem
                  Resource: 
                    - !GetAtt UsersTable.Arn
                - Effect: Allow
                  Action:
                    - connect:ListUsers
                  Resource: !Ref AmazonConnectInstanceArn
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



source/aws-connect-vm-serverless/serverless.yml [1055:1074]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            PolicyDocument:
              Version: '2012-10-17'
              Statement:
                - Effect: Allow
                  Action:
                    - logs:CreateLogGroup
                    - logs:CreateLogStream
                    - logs:PutLogEvents
                  Resource:
                    - !Sub "arn:#{AWS::Partition}:logs:#{AWS::Region}:#{AWS::AccountId}:log-group:/aws/lambda/*"
                - Effect: Allow
                  Action:
                    - dynamodb:Scan
                    - dynamodb:BatchWriteItem
                  Resource: 
                    - !GetAtt UsersTable.Arn
                - Effect: Allow
                  Action:
                    - connect:ListUsers
                  Resource: !Ref AmazonConnectInstanceArn
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



