

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# Systems Manager Automation Runbook Reference
<a name="automation-runbook-reference"></a>

為了協助您快速入門， AWS Systems Manager 提供預先定義的 Runbook。這些 Runbook 由 Amazon Web Services AWS 支援和 維護 AWS Config。Runbook 參考說明 Systems Manager 提供的每個預先定義的 Runbook 支援，以及 AWS Config。

**重要**  
如果您執行可使用 AWS Identity and Access Management (IAM) 服務角色叫用其他服務的自動化工作流程，請注意您必須為該服務角色設定可叫用這些服務的許可。此要求適用於所有 AWS Automation Runbook (`AWS-*` Runbook)，例如 `AWS-ConfigureS3BucketLogging`、`AWS-CreateDynamoDBBackup` 和 `AWS-RestartEC2Instance` Runbook 等。此要求也適用於您建立的任何自訂 Automation Runbook，透過使用呼叫其他 AWS 服務的動作來叫用其他 服務。例如，如果您使用 `aws:executeAwsApi`、`aws:createStack` 或 `aws:copyImage` 等動作，則您必須為服務角色設定可叫用這些服務的許可。您可以將 IAM 內嵌政策新增至角色，以啟用其他 AWS 服務的許可。如需詳細資訊，請參閱[新增自動化內嵌政策以叫用其他服務 AWS](https://docs.aws.amazon.com/systems-manager/latest/userguide/automation-permissions.html#automation-role-add-inline-policy)。

此參考包含的主題說明 AWS AWS 支援、 和 擁有的每個 Systems Manager Runbook AWS Config。Runbook 由相關 組織 AWS 服務。每個頁面都會提供說明，說明您在使用 Runbook 時可指定的必要和選用參數。每個頁面也會列出 Runbook 中的步驟，以及自動化的輸出，如果有的話。

 此參考*不包含*需要核准之 Runbook 的個別頁面，例如 `AWS-CreateManagedLinuxInstanceWithApproval`或 `AWS-StopEC2InstanceWithApproval` Runbook。包含 的任何 Runbook 名稱`WithApproval`，表示 Runbook 包含 [https://docs.aws.amazon.com/systems-manager/latest/userguide/automation-action-approve.html](https://docs.aws.amazon.com/systems-manager/latest/userguide/automation-action-approve.html)動作。此動作會暫停自動化，直到指定的委託人核准或拒絕動作為止。達到所需的核准數量後，自動化會繼續。

如需執行自動化的詳細資訊，請參閱[執行簡單的自動化](https://docs.aws.amazon.com/systems-manager/latest/userguide/automation-working-executing.html)。如需在多個目標上執行自動化的詳細資訊，請參閱[使用目標和速率控制的執行自動化](https://docs.aws.amazon.com/systems-manager/latest/userguide/automation-working-targets-and-rate-controls.html)。

**Topics**
+ [檢視 Runbook 內容](#view-automation-json)
+ [API Gateway](automation-ref-abp.md)
+ [AWS Batch](automation-ref-batch.md)
+ [CloudFormation](automation-ref-cfn.md)
+ [CloudFront](automation-ref-cf.md)
+ [CloudTrail](automation-ref-ct.md)
+ [CloudWatch](automation-ref-cw.md)
+ [Amazon DocumentDB](automation-ref-docdb.md)
+ [CodeBuild：](automation-ref-acb.md)
+ [AWS CodeDeploy](automation-ref-acd.md)
+ [AWS Config](automation-ref-cc.md)
+ [連接客戶](automation-ref-con.md)
+ [AWS Directory Service](automation-ref-ads.md)
+ [AWS AppSync](automation-ref-apsy.md)
+ [Amazon Athena](automation-ref-ate.md)
+ [DynamoDB](automation-ref-ddb.md)
+ [AWS Database Migration Service](automation-ref-dms.md)
+ [Amazon EBS](automation-ref-ebs.md)
+ [Amazon EC2](automation-ref-ec2.md)
+ [Amazon ECS](automation-ref-ecs.md)
+ [Amazon EFS](automation-ref-efs.md)
+ [Amazon EKS](automation-ref-eks.md)
+ [Elastic Beanstalk](automation-ref-aeb.md)
+ [Elastic Load Balancing](automation-ref-elb.md)
+ [Amazon EMR](automation-ref-emr.md)
+ [Amazon OpenSearch Service](automation-ref-opensearch.md)
+ [EventBridge](automation-ref-ev.md)
+ [AWS Glue](automation-ref-glu.md)
+ [Amazon FSx](automation-ref-fsx.md)
+ [GuardDuty](automation-ref-gdu.md)
+ [IAM](automation-ref-iam.md)
+ [事件偵測與回應](automation-ref-idr.md)
+ [Amazon Kinesis Data Streams](automation-ref-aks.md)
+ [AWS KMS](automation-ref-kms.md)
+ [Lambda](automation-ref-lam.md)
+ [Amazon Managed Workflows for Apache Airflow](automation-ref-mwaa.md)
+ [Neptune](automation-ref-neptune.md)
+ [Amazon RDS](automation-ref-rds.md)
+ [Amazon Redshift](automation-ref-rs.md)
+ [Amazon S3](automation-ref-s3.md)
+ [Amazon SES](automation-ref-ses.md)
+ [SageMaker AI](automation-ref-sm.md)
+ [Secrets Manager](automation-ref-asm.md)
+ [Security Hub CSPM](automation-ref-ash.md)
+ [AWS Shield](automation-ref-shd.md)
+ [Amazon SNS](automation-ref-sns.md)
+ [Amazon SQS](automation-ref-sqs.md)
+ [步驟函數](automation-ref-sfn.md)
+ [Systems Manager](automation-ref-sys.md)
+ [第三方](automation-ref-third-party.md)
+ [Amazon VPC](automation-ref-vpc.md)
+ [Amazon Route 53](automation-ref-r53.md)
+ [AWS WAF](automation-ref-waf.md)
+ [Amazon WorkSpaces](automation-ref-wsp.md)
+ [X-Ray](automation-ref-xray.md)

## 檢視 Runbook 內容
<a name="view-automation-json"></a>

您可以在 Systems Manager 主控台中檢視 Runbook 的內容。

**檢視 Runbook 內容**

1. 在 https：//[https://console.aws.amazon.com/systems-manager/](https://console.aws.amazon.com/systems-manager/) 開啟 AWS Systems Manager 主控台。

1. 在導覽窗格中，選擇 **Documents (文件)**。

   -或-

   如果 AWS Systems Manager 首頁先開啟，請選擇選單圖示 (![Horizontal black and white striped pattern forming a simple geometric design.](http://docs.aws.amazon.com/zh_tw/systems-manager-automation-runbooks/latest/userguide/images/menu-icon-small.png)) 以開啟導覽窗格，然後在導覽窗格中選擇**文件**。

1. 在**類別**區段中，選擇**自動化文件**。

1.  選擇 Runbook，接著選擇 **View details (檢視詳細資訊)**。

1.  選擇 **Content (內容)** 索引標籤。