Interface CfnMaintenanceWindowTask.INotificationConfigProperty
The NotificationConfig
property type specifies configurations for sending notifications for a maintenance window task in AWS Systems Manager .
public interface CfnMaintenanceWindowTask.INotificationConfigProperty
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SSM;
var notificationConfigProperty = new NotificationConfigProperty {
NotificationArn = "notificationArn",
// the properties below are optional
NotificationEvents = new [] { "notificationEvents" },
NotificationType = "notificationType"
};
Remarks
NotificationConfig
is a property of the MaintenanceWindowRunCommandParameters property type.
ExampleMetadata: fixture=_generated
Properties
NotificationArn
An Amazon Resource Name (ARN) for an Amazon Simple Notification Service (Amazon SNS) topic.
string NotificationArn { get; }
Property Value
Remarks
Run Command pushes notifications about command status changes to this topic.
NotificationEvents
The different events that you can receive notifications for.
string[]? NotificationEvents { get; }
Property Value
- string[]
Remarks
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 .
NotificationType
The notification type.
string? NotificationType { get; }