本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。
AWSConfigRemediation-EnableAPIGatewayTracing
Description (描述)
AWSConfigRemediation-EnableAPIGatewayTracing
執行手冊可在亞馬遜 API 閘道 (API 閘道) 階段上進行追蹤。 AWS Config必須在您執行此自動化操作的AWS 區域位置啟用。
文件類型
自動化
擁有者
Amazon
平台
Linux,macOS, Windows
參數
-
AutomationAssumeRole
類型:字串
描述:(必要) 允許系統管理員自動化代表您執行動作的 AWS Identity and Access Management (IAM) 角色的 Amazon 資源名稱 (ARN)。
-
StageArn
類型:字串
描述:(必填) 您要啟用追蹤之 API 閘道階段的 Amazon 資源名稱 (ARN)。
必要的 IAM 許可
此AutomationAssumeRole
參數需要下列動作才能成功使用 runbook。
-
ssm:GetAutomationExecution
-
ssm:StartAutomationExecution
-
config:GetResourceConfigHistory
-
apigateway:GET
-
apigateway:PATCH
文件步驟
-
aws:executeScript
-在StageArn
參數中指定的 API 閘道階段啟用追蹤。