本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。
AWSConfigRemediation-EnableAccountAccessAnalyzer
描述
The AWSConfigRemediation-EnableAccountAccessAnalyzer Automation document creates an AWS Identity and Access Management (IAM) Access Analyzer in your AWS account. For information about Access Analyzer, see Using AWS IAM Access Analyzer in the IAM 用户指南.
文档类型
Automation
所有者
Amazon
平台
Linux、macOS、Windows
参数
-
AnalyzerName
类型: 字符串
描述:(Required) The name of the analyzer to create.
-
AutomationAssumeRole
类型:字符串
说明:(必需)允许 Systems Manager Automation 代表您执行操作的 AWS Identity and Access Management (IAM) 角色的 Amazon 资源名称 (ARN)。
所需的 IAM 权限
AutomationAssumeRole
需要执行以下操作才能成功运行 Automation 文档。
-
ssm:ExecuteAutomation
-
ssm:GetAutomationExecution
-
access-analyzer:CreateAnalyzer
-
access-analyzer:GetAnalyzer
文档步骤
-
aws:executeAwsApi - Creates an access analyzer for your account.
-
aws:waitForAwsResourceProperty - Waits for the status of the access analyzer to be
ACTIVE
. -
aws:assertAwsResourceProperty - Confirms the status of the access analyzer is
ACTIVE
.