{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "autoscaling:Describe*", "autoscaling:CreateAutoScalingGroup", "autoscaling:CreateLaunchConfiguration", "autoscaling:UpdateAutoScalingGroup", "autoscaling:DeleteLaunchConfiguration", "autoscaling:DeleteAutoScalingGroup", "autoscaling:TerminateInstanceInAutoScalingGroup", "autoscaling:PutScalingPolicy" ], "Resource": "*" }, { "Effect": "Allow", "Action": [ "application-autoscaling:Describe*", "application-autoscaling:DeleteScalingPolicy", "application-autoscaling:DeregisterScalableTarget", "application-autoscaling:PutScalingPolicy", "application-autoscaling:RegisterScalableTarget" ], "Resource": "*" }, { "Effect": "Allow", "Action": [ "appmesh:List*", "appmesh:Describe*" ], "Resource": "*" }, { "Effect": "Allow", "Action": [ "cloudwatch:Get*", "cloudwatch:List*", "cloudwatch:Describe*" ], "Resource": "*" }, { "Effect": "Allow", "Action": [ "dynamodb:List*", "dynamodb:Describe*", "dynamodb:BatchGetItem", "dynamodb:GetItem", "dynamodb:Query", "dynamodb:Scan" ], "Resource": "*" }, { "Effect": "Allow", "Action": [ "tag:GetResources", "s3:Get*", "s3:List*", "s3:PutMetricsConfiguration", "s3:PutIntelligentTieringConfiguration", "s3:PutLifecycleConfiguration" ], "Resource": "*" }, { "Effect": "Allow", "Action": [ "ec2:Describe*", "ec2:Search*", "ec2:Get*", "ec2:ModifyVolume" ], "Resource": "*" }, { "Effect": "Allow", "Action": [ "ecs:Describe*", "ecs:List*", "ecs:CreateCapacityProvider", "ecs:CreateService", "ecs:CreateTaskSet", "ecs:DeleteCapacityProvider", "ecs:Deregister*", "ecs:DiscoverPollEndpoint", "ecs:ExecuteCommand", "ecs:Poll", "ecs:Put*", "ecs:Register*", "ecs:RunTask", "ecs:Start*", "ecs:StopTask", "ecs:Submit*", "ecs:TagResource", "ecs:UntagResource", "ecs:Update*" ], "Resource": [ "*" ] }, { "Effect": "Allow", "Action": [ "eks:List*", "eks:Describe*" ], "Resource": "*" }, { "Effect": "Allow", "Action": [ "iam:ListInstanceProfiles" ], "Resource": "*" }, { "Effect": "Allow", "Action": [ "elasticloadbalancing:AddTags" ], "Resource": "*", "Condition": { "StringEquals": { "elasticloadbalancing:CreateAction": [ "CreateTargetGroup", "CreateRule", "CreateListener", "CreateLoadBalancer" ] } } }, { "Effect": "Allow", "Action": [ "elasticloadbalancing:Describe*", "elasticloadbalancing:CreateRule", "elasticloadbalancing:CreateTargetGroup", "elasticloadbalancing:DeregisterInstancesFromLoadBalancer", "elasticloadbalancing:DeregisterTargets", "elasticloadbalancing:RegisterInstancesWithLoadBalancer", "elasticloadbalancing:RegisterTargets" ], "Resource": "*" }, { "Action": "iam:PassRole", "Effect": "Allow", "Resource": "*", "Condition": { "StringLike": { "iam:PassedToService": [ "ec2.amazonaws.com", "ecs.amazonaws.com", "ecs-tasks.amazonaws.com", "application-autoscaling.amazonaws.com", "elasticloadbalancing.amazonaws.com", "autoscaling.amazonaws.com" ] } } }, { "Effect": "Allow", "Action": "iam:CreateServiceLinkedRole", "Resource": "*", "Condition": { "StringLike": { "iam:AWSServiceName": [ "autoscaling.amazonaws.com", "ecs.amazonaws.com", "ecs.application-autoscaling.amazonaws.com", "spot.amazonaws.com", "spotfleet.amazonaws.com" ] } } }, { "Effect": "Allow", "Action": [ "lambda:Get*", "lambda:List*", "lambda:DeleteProvisionedConcurrencyConfig", "lambda:PublishVersion", "lambda:PutFunctionConcurrency", "lambda:PutProvisionedConcurrencyConfig", "lambda:UpdateAlias", "lambda:UpdateFunctionConfiguration" ], "Resource": "*" }, { "Effect": "Allow", "Action": [ "servicediscovery:Get*", "servicediscovery:List*", "servicediscovery:CreatePrivateDnsNamespace", "servicediscovery:CreateService", "servicediscovery:UpdateService" ], "Resource": "*" }, { "Effect": "Allow", "Action": [ "states:List*", "states:Get*", "states:Describe*" ], "Resource": "*" }, { "Effect": "Allow", "Action": [ "xray:BatchGetTraces", "xray:Get*", "xray:List*" ], "Resource": "*" }, { "Effect": "Allow", "Action": [ "logs:List*", "logs:Describe*", "logs:Get*", "logs:TestMetricFilter", "logs:GetLogEvents", "logs:GetQueryResults", "logs:StartQuery", "logs:StopQuery" ], "Resource": "*" }, { "Effect": "Allow", "Action": [ "apigateway:GET" ], "Resource": "*" } ] }