本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。
AWS-ExportOpsDataToS3
描述
This document retrieves a list of OpsData summaries in AWS Systems Manager Explorer and exports them to an object in a specified S3 bucket.
文档类型
Automation
所有者
Amazon
平台
Linux、macOS、Windows
参数
-
AutomationAssumeRole
类型:字符串
说明:(可选)允许 Systems Manager Automation 代表您执行操作的 AWS Identity and Access Management (IAM) 角色的 Amazon 资源名称 (ARN)。如果未指定任何角色,则 Systems Manager Automation 使用运行此文档的用户的权限。
-
columnFields
Type: StringList
描述:(Required) Column fields to write to the output file.
-
筛选条件
类型: 字符串
描述:(Optional) Filters for the getOpsSummary request.
-
resultAttribute
类型: 字符串
描述:(Optional) The result attribute for getOpsSummary request.
-
s3BucketName
类型: 字符串
描述:(Required) S3 bucket where you want to download the output file.
-
snsSuccessMessage
类型: 字符串
描述:(Optional) Message to send when document finishes.
-
snsTopicArn
类型: 字符串
描述:(Required) Amazon Simple Notification Service (Amazon SNS) topic ARN to notify when the download completes.
-
syncName
类型: 字符串
描述:(Optional) The name of the resource data sync.
文档步骤
getOpsSummaryStep – Retrieves up to 5,000 ops summaries to export in a CSV file now.
输出
OpsData object – If the Automation document runs successfully, you will find the exported OpsData object in your target S3 bucket.