選取您的 Cookie 偏好設定

我們使用提供自身網站和服務所需的基本 Cookie 和類似工具。我們使用效能 Cookie 收集匿名統計資料,以便了解客戶如何使用我們的網站並進行改進。基本 Cookie 無法停用,但可以按一下「自訂」或「拒絕」以拒絕效能 Cookie。

如果您同意,AWS 與經核准的第三方也會使用 Cookie 提供實用的網站功能、記住您的偏好設定,並顯示相關內容,包括相關廣告。若要接受或拒絕所有非必要 Cookie,請按一下「接受」或「拒絕」。若要進行更詳細的選擇,請按一下「自訂」。

AmazonECSServiceRolePolicy - AWS 受管政策

本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。

本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。

AmazonECSServiceRolePolicy

說明:使 Amazon ECS 能夠管理叢集的政策。

AmazonECSServiceRolePolicyAWS 受管理的策略

使用此政策

此原則附加至服務連結角色,可讓服務代表您執行動作。您無法將此政策連接至使用者、群組或角色。

政策詳情

  • 類型:服務連結角色原則

  • 創建時間:2017 年 10 月 14 日, 01:18 世界標準時間

  • 編輯時間:世界標準時間 2023 年 12 月 4 日下午 19:32

  • ARN: arn:aws:iam::aws:policy/aws-service-role/AmazonECSServiceRolePolicy

政策版本

策略版本:v11(預設值)

原則的預設版本是定義原則權限的版本。當具有策略的使用者或角色發出要求以存取 AWS 資源時,請 AWS 檢查原則的預設版本,以決定是否允許該要求。

政策文件

{ "Version" : "2012-10-17", "Statement" : [ { "Sid" : "ECSTaskManagement", "Effect" : "Allow", "Action" : [ "ec2:AttachNetworkInterface", "ec2:CreateNetworkInterface", "ec2:CreateNetworkInterfacePermission", "ec2:DeleteNetworkInterface", "ec2:DeleteNetworkInterfacePermission", "ec2:Describe*", "ec2:DetachNetworkInterface", "elasticloadbalancing:DeregisterInstancesFromLoadBalancer", "elasticloadbalancing:DeregisterTargets", "elasticloadbalancing:Describe*", "elasticloadbalancing:RegisterInstancesWithLoadBalancer", "elasticloadbalancing:RegisterTargets", "route53:ChangeResourceRecordSets", "route53:CreateHealthCheck", "route53:DeleteHealthCheck", "route53:Get*", "route53:List*", "route53:UpdateHealthCheck", "servicediscovery:DeregisterInstance", "servicediscovery:Get*", "servicediscovery:List*", "servicediscovery:RegisterInstance", "servicediscovery:UpdateInstanceCustomHealthStatus" ], "Resource" : "*" }, { "Sid" : "AutoScaling", "Effect" : "Allow", "Action" : [ "autoscaling:Describe*" ], "Resource" : "*" }, { "Sid" : "AutoScalingManagement", "Effect" : "Allow", "Action" : [ "autoscaling:DeletePolicy", "autoscaling:PutScalingPolicy", "autoscaling:SetInstanceProtection", "autoscaling:UpdateAutoScalingGroup", "autoscaling:PutLifecycleHook", "autoscaling:DeleteLifecycleHook", "autoscaling:CompleteLifecycleAction", "autoscaling:RecordLifecycleActionHeartbeat" ], "Resource" : "*", "Condition" : { "Null" : { "autoscaling:ResourceTag/AmazonECSManaged" : "false" } } }, { "Sid" : "AutoScalingPlanManagement", "Effect" : "Allow", "Action" : [ "autoscaling-plans:CreateScalingPlan", "autoscaling-plans:DeleteScalingPlan", "autoscaling-plans:DescribeScalingPlans", "autoscaling-plans:DescribeScalingPlanResources" ], "Resource" : "*" }, { "Sid" : "EventBridge", "Effect" : "Allow", "Action" : [ "events:DescribeRule", "events:ListTargetsByRule" ], "Resource" : "arn:aws:events:*:*:rule/ecs-managed-*" }, { "Sid" : "EventBridgeRuleManagement", "Effect" : "Allow", "Action" : [ "events:PutRule", "events:PutTargets" ], "Resource" : "*", "Condition" : { "StringEquals" : { "events:ManagedBy" : "ecs.amazonaws.com" } } }, { "Sid" : "CWAlarmManagement", "Effect" : "Allow", "Action" : [ "cloudwatch:DeleteAlarms", "cloudwatch:DescribeAlarms", "cloudwatch:PutMetricAlarm" ], "Resource" : "arn:aws:cloudwatch:*:*:alarm:*" }, { "Sid" : "ECSTagging", "Effect" : "Allow", "Action" : [ "ec2:CreateTags" ], "Resource" : "arn:aws:ec2:*:*:network-interface/*" }, { "Sid" : "CWLogGroupManagement", "Effect" : "Allow", "Action" : [ "logs:CreateLogGroup", "logs:DescribeLogGroups", "logs:PutRetentionPolicy" ], "Resource" : "arn:aws:logs:*:*:log-group:/aws/ecs/*" }, { "Sid" : "CWLogStreamManagement", "Effect" : "Allow", "Action" : [ "logs:CreateLogStream", "logs:DescribeLogStreams", "logs:PutLogEvents" ], "Resource" : "arn:aws:logs:*:*:log-group:/aws/ecs/*:log-stream:*" }, { "Sid" : "ExecuteCommandSessionManagement", "Effect" : "Allow", "Action" : [ "ssm:DescribeSessions" ], "Resource" : "*" }, { "Sid" : "ExecuteCommand", "Effect" : "Allow", "Action" : [ "ssm:StartSession" ], "Resource" : [ "arn:aws:ecs:*:*:task/*", "arn:aws:ssm:*:*:document/AmazonECS-ExecuteInteractiveCommand" ] }, { "Sid" : "CloudMapResourceCreation", "Effect" : "Allow", "Action" : [ "servicediscovery:CreateHttpNamespace", "servicediscovery:CreateService" ], "Resource" : "*", "Condition" : { "ForAllValues:StringEquals" : { "aws:TagKeys" : [ "AmazonECSManaged" ] } } }, { "Sid" : "CloudMapResourceTagging", "Effect" : "Allow", "Action" : "servicediscovery:TagResource", "Resource" : "*", "Condition" : { "StringLike" : { "aws:RequestTag/AmazonECSManaged" : "*" } } }, { "Sid" : "CloudMapResourceDeletion", "Effect" : "Allow", "Action" : [ "servicediscovery:DeleteService" ], "Resource" : "*", "Condition" : { "Null" : { "aws:ResourceTag/AmazonECSManaged" : "false" } } }, { "Sid" : "CloudMapResourceDiscovery", "Effect" : "Allow", "Action" : [ "servicediscovery:DiscoverInstances", "servicediscovery:DiscoverInstancesRevision" ], "Resource" : "*" } ] }

進一步了解

隱私權網站條款Cookie 偏好設定
© 2025, Amazon Web Services, Inc.或其附屬公司。保留所有權利。