AWSCodeDeployRoleForECSLimited
Description: Provides CodeDeploy service limited access to perform an ECS blue/green deployment on your behalf.
AWSCodeDeployRoleForECSLimited
is an AWS managed policy.
Using this policy
You can attach AWSCodeDeployRoleForECSLimited
to your users, groups, and roles.
Policy details
-
Type: AWS managed policy
-
Creation time: November 27, 2018, 20:42 UTC
-
Edited time: September 23, 2019, 22:10 UTC
-
ARN:
arn:aws:iam::aws:policy/AWSCodeDeployRoleForECSLimited
Policy version
Policy version: v3 (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" : [ { "Action" : [ "ecs:DescribeServices", "ecs:CreateTaskSet", "ecs:UpdateServicePrimaryTaskSet", "ecs:DeleteTaskSet", "cloudwatch:DescribeAlarms" ], "Resource" : "*", "Effect" : "Allow" }, { "Action" : [ "sns:Publish" ], "Resource" : "arn:aws:sns:*:*:CodeDeployTopic_*", "Effect" : "Allow" }, { "Action" : [ "elasticloadbalancing:DescribeTargetGroups", "elasticloadbalancing:DescribeListeners", "elasticloadbalancing:ModifyListener", "elasticloadbalancing:DescribeRules", "elasticloadbalancing:ModifyRule" ], "Resource" : "*", "Effect" : "Allow" }, { "Action" : [ "lambda:InvokeFunction" ], "Resource" : "arn:aws:lambda:*:*:function:CodeDeployHook_*", "Effect" : "Allow" }, { "Action" : [ "s3:GetObject", "s3:GetObjectVersion" ], "Resource" : "*", "Condition" : { "StringEquals" : { "s3:ExistingObjectTag/UseWithCodeDeploy" : "true" } }, "Effect" : "Allow" }, { "Action" : [ "iam:PassRole" ], "Effect" : "Allow", "Resource" : [ "arn:aws:iam::*:role/ecsTaskExecutionRole", "arn:aws:iam::*:role/ECSTaskExecution*" ], "Condition" : { "StringLike" : { "iam:PassedToService" : [ "ecs-tasks.amazonaws.com" ] } } } ] }