scenarios/basics/ssm/README.md
This AWS Systems Manager getting started scenario demonstrates how to interact with the AWS Systems Manager service using an AWS SDK. The scenario covers various operations such as creating a maintenance window, creating an SSM document, sending a command to a managed node, creating an OpsItem, updating an OpsItem, and deleting SSM resources.
AWS Systems Manager Agent is Amazon software that runs on Amazon Elastic Compute Cloud (Amazon EC2) instances, edge devices, on-premises servers, and virtual machines (VMs). A Systems Manager Agent makes it possible for Systems Manager to update, manage, and configure these resources. To successfully run this getting started scenario, the EC2 instance must have a Systems Manager Agent. The CDK script that is executed during the Scenario creates an EC2 instance that has a Systems Manager Agent.
For more information, see Working with SSM Agent.
The program performs the following tasks:
instanceId: The ID of the EC2 instance to send the command to.title: The title of the OpsItem to create.source: The source of the OpsItem.category: The category of the OpsItem.severity: The severity of the OpsItem.SSMScenario class.The program will guide you through the scenario, prompting you to enter the maintenance window name and the document name. The program will also display the progress and results of the various operations.
The provided code demonstrates the following key features of the AWS SDK and the AWS Systems Manager service:
SsmClient to create, modify, and delete an SSM maintenance window.Overall, this AWS SDK Systems Manager code example is a resource for developers new to AWS Systems Manager and the AWS SDK. It provides a solid foundation for understanding and building applications that interact with the AWS Systems Manager service.