S3 BYOC Bulk Export 403 Forbidden on Legal Hold Objects

AWS 403 Forbidden. The bulk export job for WhatsApp recordings fails when targeting the BYOC S3 bucket. The IAM role has s3:PutObject permissions, but the policy denies access due to aws:SecureTransport not being used, despite using HTTPS. The endpoint is v2/recording/exports. We are using the Genesys Cloud SDK for Python v5. The metadata filter includes legal_hold: true. Is there a specific header required for BYOC integrations that the SDK is missing?

{
 "Condition": "aws:SecureTransport",
 "StringEquals": "true"
}

The easiest way to fix this is to verify the IAM policy condition explicitly matches the SDK’s transport layer. The 403 error typically indicates the policy condition is stricter than the actual request headers sent by the Python SDK during the export initiation.

Have you tried verifying the IAM policy condition explicitly matches the SDK’s transport layer, as the 403 error typically indicates the policy condition is stricter than the actual request headers sent by the Python SDK during the export initiation.