AmazonEC2ContainerServiceforEC2Role
Description: Default policy for the Amazon EC2 Role for Amazon EC2 Container Service.
AmazonEC2ContainerServiceforEC2Role
is an AWS managed policy.
Using this policy
You can attach AmazonEC2ContainerServiceforEC2Role
to your users, groups, and roles.
Policy details
-
Type: Service role policy
-
Creation time: March 19, 2015, 18:45 UTC
-
Edited time: March 06, 2023, 22:19 UTC
-
ARN:
arn:aws:iam::aws:policy/service-role/AmazonEC2ContainerServiceforEC2Role
Policy version
Policy version: v7 (default)
The policy's default version is the version that defines the permissions for the policy. When a user or role with the policy makes a request to access an AWS resource, AWS checks the default version of the policy to determine whether to allow the request.
JSON policy document
{ "Version" : "2012-10-17", "Statement" : [ { "Effect" : "Allow", "Action" : [ "ec2:DescribeTags", "ecs:CreateCluster", "ecs:DeregisterContainerInstance", "ecs:DiscoverPollEndpoint", "ecs:Poll", "ecs:RegisterContainerInstance", "ecs:StartTelemetrySession", "ecs:UpdateContainerInstancesState", "ecs:Submit*", "ecr:GetAuthorizationToken", "ecr:BatchCheckLayerAvailability", "ecr:GetDownloadUrlForLayer", "ecr:BatchGetImage", "logs:CreateLogStream", "logs:PutLogEvents" ], "Resource" : "*" }, { "Effect" : "Allow", "Action" : "ecs:TagResource", "Resource" : "*", "Condition" : { "StringEquals" : { "ecs:CreateAction" : [ "CreateCluster", "RegisterContainerInstance" ] } } } ] }