SyncWords Live can publish your HLS stream with added captions and translated subtitles to your AWS MediaPackage v2 channel.
First, get your organization's assigned External ID from the SyncWords Live organization settings page.
Then create a new IAM role in your AWS account. When prompted for Trusted Entity Type select AWS Account. Select "Another AWS account" and paste SyncWords Live's AWS account ID, `710713970991`. For Options, select "Require external ID" and paste the External ID assigned to your organization by SyncWords Live. Click Next. On the next page prompting to add permissions, no permissions are required, click Next without adding any. On the next page, give the role a name of `syncwords` or use `syncwords-` as a prefix. Click Create Role.
Your role should have a Trust Policy that resembles this:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::710713970991:root"
},
"Action": "sts:AssumeRole",
"Condition": {
"StringEquals": {
"sts:ExternalId": "YOUR_EXTERNAL_ID_HERE"
}
}
}
]
}
Now copy your role's ARN, go back to your organization's settings page in Syncwords Live, and paste your role's ARN into the settings.
This role will be used to allow SyncWords Live to output to the AWS resources of your choosing. For each AWS resource output destination SyncWords Live supports, you will configure an additional policy on the resource to grant the access. See the following sections for further instructionsMediaPackage Version 2:
On your MediaPackage Version 2 channel, in the Policy section, paste a policy resembling this:
{
"Version" : "2012-10-17",
"Id" : "AllowIamUser",
"Statement" : [ {
"Sid" : "AllowIamUserToEmpChannel",
"Effect" : "Allow",
"Principal" : {
"AWS" : "YOUR_ROLE_ARN"
},
"Action" : "mediapackagev2:PutObject",
"Resource" : "YOUR_MPV2_CHANNEL_ARN"
} ]
}