本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。
AWSConfigRemediation-DeleteLambdaFunction
描述
The AWSConfigRemediation-DeleteLambdaFunction Automation document deletes the AWS Lambda function you specify.
文档类型
Automation
所有者
Amazon
平台
Linux、macOS、Windows
参数
-
AutomationAssumeRole
类型:字符串
说明:(必需)允许 Systems Manager Automation 代表您执行操作的 AWS Identity and Access Management (IAM) 角色的 Amazon 资源名称 (ARN)。
-
LambdaFunctionName
类型: 字符串
描述:(Required) The name of the Lambda function that you want to delete.
所需的 IAM 权限
AutomationAssumeRole
需要执行以下操作才能成功运行 Automation 文档。
-
ssm:ExecuteAutomation
-
ssm:GetAutomationExecution
-
lambda:DeleteFunction
-
lambda:GetFunction
文档步骤
-
aws:executeAwsApi - Deletes the Lambda function specified in the
LambdaFunctionName
parameter. -
aws:executeScript - Verifies the Lambda function has been deleted.