{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "cloudwatch:PutMetricData"
      ],
      "Resource": "*",
      "Condition": {
        "StringEquals": {
          "cloudwatch:namespace": "AWS/CustomerProfiles"
        }
      }
    },
    {
      "Effect": "Allow",
      "Action": [
        "iam:DeleteRole"
      ],
      "Resource": "arn:aws:iam::*:role/aws-service-role/profile.amazonaws.com/AWSServiceRoleForProfile_*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "connect-campaigns:PutProfileOutboundRequestBatch"
      ],
      "Resource": [
        "arn:aws:connect-campaigns:*:*:campaign/*"
      ]
    },
    {
      "Effect": "Allow",
      "Action": [
        "profile:BatchGetProfile",
        "profile:GetRecommender",
        "profile:GetCalculatedAttributeForProfile",
        "profile:GetProfileRecommendations"
      ],
      "Resource": "*"
    }
  ]
}
