Assume Role Policy to Permit ECS Task to Assume IAM Role

Feb 02, 2022

0

Share this article

{{ }} Substitute variables

Adjust the variable values according to your preference.

Policy Code

1{
2  Version = "2012-10-17"
3  Statement = [
4    {
5      Action = "sts:AssumeRole"
6      Effect = "Allow"
7      Sid    = ""
8      Principal = {
9        Service = "ecs-tasks.amazonaws.com"
10      }
11    }
12  ]
13}
    img

    Related Policies

    POLICY

    AWS ECR: Permit Cross Account Image Upload

    Grant n AWS accounts, any principal, to connect to ECR resource and upload image...

    Mar 07, 2022

    0
    POLICY

    AWS ECR, Permit Cross Account Image Download

    Grant n other accounts access to this ECR, account-wide. Use more specific princ...

    Feb 16, 2022

    0
    img

    Join the beta waitlist

    Enter your email to get notified when our product becomes available to try.

    Sign Up for the community

    Create your member profile to get involved with our content, programs, and events.