AWS Elemental MediaPackage
User Guide

The AWS Documentation website is getting a new look!
Try it now and let us know what you think. Switch to the new look >>

You can return to the original look by selecting English in the language selector above.

Step 3: Modify the Trust Relationship

The trust relationship defines what entities can assume the role that you created in Step 2: Create a Role. When you created the role and established the trusted relationship, you chose EC2 as the trusted entity. Modify the role so that the trusted relationship is between your AWS account and AWS Elemental MediaPackage.

To change the trust relationship to MediaPackage

  1. Access the role that you created in Step 2: Create a Role.

    If you're not already displaying the role, in the navigation pane of the IAM console, choose Roles. Search for and choose the role that you created.

  2. On the Summary page for the role, choose Trust relationships.

  3. Choose Edit trust relationship.

  4. On the Edit Trust Relationship page, in the Policy Document, change ec2.amazonaws.com to mediapackage-vod.amazonaws.com.

    The policy document should now look like this:

    { "Version": "2012-10-17", "Statement": [ { "Sid": "", "Effect": "Allow", "Principal": { "Service": "mediapackage.amazonaws.com" }, "Action": "sts:AssumeRole" } ] }
  5. Choose Update Trust Policy.

  6. On the Summary page, make a note of the value in Role ARN. You use this ARN when you ingest source content for video on demand (VOD) workflows. The ARN looks like this:

    arn:aws:iam::111122223333:role/RoleName

    In the example, 111122223333 is your AWS account number.