本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。
AmazonSSMServiceRolePolicy
描述:提供对 Amazon SSM 管理或使用的 AWS 资源的访问权限
AmazonSSMServiceRolePolicy
是一项 AWS 托管式策略。
使用此策略
此附加到服务相关角色的策略允许服务代表您执行操作。您无法将此策略附加到您的用户、组或角色。
策略详细信息
-
类型:服务相关角色策略
-
创建时间:2017 年 11 月 13 日 19:20 UTC
-
编辑时间:世界标准时间 2024 年 11 月 15 日 14:08
-
ARN:
arn:aws:iam::aws:policy/aws-service-role/AmazonSSMServiceRolePolicy
策略版本
策略版本:v15 (默认值)
此策略的默认版本是定义策略权限的版本。当使用该策略的用户或角色请求访问 AWS 资源时, AWS 会检查策略的默认版本以确定是否允许该请求。
JSON 策略文档
{ "Version" : "2012-10-17", "Statement" : [ { "Effect" : "Allow", "Action" : [ "ssm:CancelCommand", "ssm:GetCommandInvocation", "ssm:ListCommandInvocations", "ssm:ListCommands", "ssm:SendCommand", "ssm:GetAutomationExecution", "ssm:GetParameters", "ssm:StartAutomationExecution", "ssm:StopAutomationExecution", "ssm:ListTagsForResource", "ssm:GetCalendarState" ], "Resource" : [ "*" ] }, { "Effect" : "Allow", "Action" : [ "ssm:UpdateServiceSetting", "ssm:GetServiceSetting" ], "Resource" : [ "arn:aws:ssm:*:*:servicesetting/ssm/opsitem/*", "arn:aws:ssm:*:*:servicesetting/ssm/opsdata/*" ] }, { "Effect" : "Allow", "Action" : [ "ec2:DescribeInstanceAttribute", "ec2:DescribeInstanceStatus", "ec2:DescribeInstances" ], "Resource" : [ "*" ] }, { "Effect" : "Allow", "Action" : [ "lambda:InvokeFunction" ], "Resource" : [ "arn:aws:lambda:*:*:function:SSM*", "arn:aws:lambda:*:*:function:*:SSM*" ] }, { "Effect" : "Allow", "Action" : [ "states:DescribeExecution", "states:StartExecution" ], "Resource" : [ "arn:aws:states:*:*:stateMachine:SSM*", "arn:aws:states:*:*:execution:SSM*" ] }, { "Effect" : "Allow", "Action" : [ "resource-groups:ListGroups", "resource-groups:ListGroupResources", "resource-groups:GetGroupQuery" ], "Resource" : [ "*" ] }, { "Effect" : "Allow", "Action" : [ "cloudformation:DescribeStacks", "cloudformation:ListStackResources" ], "Resource" : [ "*" ] }, { "Effect" : "Allow", "Action" : [ "tag:GetResources" ], "Resource" : [ "*" ] }, { "Effect" : "Allow", "Action" : [ "config:SelectResourceConfig" ], "Resource" : [ "*" ] }, { "Effect" : "Allow", "Action" : [ "compute-optimizer:GetEC2InstanceRecommendations", "compute-optimizer:GetEnrollmentStatus" ], "Resource" : [ "*" ] }, { "Effect" : "Allow", "Action" : [ "support:DescribeTrustedAdvisorChecks", "support:DescribeTrustedAdvisorCheckSummaries", "support:DescribeTrustedAdvisorCheckResult", "support:DescribeCases" ], "Resource" : [ "*" ] }, { "Effect" : "Allow", "Action" : [ "config:DescribeComplianceByConfigRule", "config:DescribeComplianceByResource", "config:DescribeRemediationConfigurations", "config:DescribeConfigurationRecorders" ], "Resource" : [ "*" ] }, { "Effect" : "Allow", "Action" : "cloudwatch:DescribeAlarms", "Resource" : "*" }, { "Effect" : "Allow", "Action" : "iam:PassRole", "Resource" : "*", "Condition" : { "StringEquals" : { "iam:PassedToService" : [ "ssm.amazonaws.com" ] } } }, { "Effect" : "Allow", "Action" : "organizations:DescribeOrganization", "Resource" : "*" }, { "Effect" : "Allow", "Action" : "cloudformation:ListStackSets", "Resource" : "*" }, { "Effect" : "Allow", "Action" : [ "cloudformation:ListStackInstances", "cloudformation:DescribeStackSetOperation", "cloudformation:DeleteStackSet" ], "Resource" : "arn:aws:cloudformation:*:*:stackset/AWS-QuickSetup-SSM*:*" }, { "Effect" : "Allow", "Action" : "cloudformation:DeleteStackInstances", "Resource" : [ "arn:aws:cloudformation:*:*:stackset/AWS-QuickSetup-SSM*:*", "arn:aws:cloudformation:*:*:stackset-target/AWS-QuickSetup-SSM*:*", "arn:aws:cloudformation:*:*:type/resource/*" ] }, { "Effect" : "Allow", "Action" : [ "events:PutRule", "events:PutTargets" ], "Resource" : "*", "Condition" : { "StringEquals" : { "events:ManagedBy" : "ssm.amazonaws.com" } } }, { "Effect" : "Allow", "Action" : [ "events:RemoveTargets", "events:DeleteRule" ], "Resource" : [ "arn:aws:events:*:*:rule/SSMExplorerManagedRule" ] }, { "Effect" : "Allow", "Action" : "events:DescribeRule", "Resource" : "*" }, { "Effect" : "Allow", "Action" : "securityhub:DescribeHub", "Resource" : "*" }, { "Effect" : "Allow", "Action" : "resource-explorer-2:CreateManagedView", "Resource" : "arn:aws:resource-explorer-2:*:*:managed-view/AWSManagedViewForSSM*" } ] }