{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "ListCustomerFilePrefix",
      "Effect": "Allow",
      "Action": "s3:ListBucket",
      "Resource": "arn:aws:s3:::nexus-crm-files-prod",
      "Condition": {
        "StringLike": {
          "s3:prefix": [
            "prod/customer-files/v1",
            "prod/customer-files/v1/*"
          ]
        }
      }
    },
    {
      "Sid": "ReadWriteCustomerFileObjects",
      "Effect": "Allow",
      "Action": [
        "s3:GetObject",
        "s3:PutObject",
        "s3:DeleteObject"
      ],
      "Resource": "arn:aws:s3:::nexus-crm-files-prod/prod/customer-files/v1/*"
    },
    {
      "Sid": "ReadSalesforceHistoryObjects",
      "Effect": "Allow",
      "Action": "s3:GetObject",
      "Resource": "arn:aws:s3:::nexuscrm-sf-export-604175033442-us-west-2/salesforce/content/blobs/*"
    }
  ]
}
