AWS::SSM::MaintenanceWindowTask NotificationConfig - AWS CloudFormation

AWS::SSM::MaintenanceWindowTask NotificationConfig

The NotificationConfig property type specifies configurations for sending notifications for a maintenance window task in AWS Systems Manager.

NotificationConfig is a property of the MaintenanceWindowRunCommandParameters property type.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "NotificationArn" : String, "NotificationEvents" : [ String, ... ], "NotificationType" : String }

YAML

NotificationArn: String NotificationEvents: - String NotificationType: String

Properties

NotificationArn

An Amazon Resource Name (ARN) for an Amazon Simple Notification Service (Amazon SNS) topic. Run Command pushes notifications about command status changes to this topic.

Required: Yes

Type: String

Update requires: No interruption

NotificationEvents

The different events that you can receive notifications for. These events include the following: All (events), InProgress, Success, TimedOut, Cancelled, Failed. To learn more about these events, see Configuring Amazon SNS Notifications for AWS Systems Manager in the AWS Systems Manager User Guide.

Required: No

Type: Array of String

Update requires: No interruption

NotificationType

The notification type.

  • Command: Receive notification when the status of a command changes.

  • Invocation: For commands sent to multiple instances, receive notification on a per-instance basis when the status of a command changes.

Required: No

Type: String

Allowed values: Command | Invocation

Update requires: No interruption