Class CfnMaintenanceWindowTask.NotificationConfigProperty
The NotificationConfig
property type specifies configurations for sending notifications for a maintenance window task in AWS Systems Manager .
public class CfnMaintenanceWindowTask.NotificationConfigProperty : CfnMaintenanceWindowTask.INotificationConfigProperty
- Inheritance
-
CfnMaintenanceWindowTask.NotificationConfigProperty
- Implements
- Inherited Members
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
Constructors
NotificationConfigProperty()
public NotificationConfigProperty()
Properties
NotificationArn
An Amazon Resource Name (ARN) for an Amazon Simple Notification Service (Amazon SNS) topic.
public string NotificationArn { get; set; }
Property Value
Remarks
Run Command pushes notifications about command status changes to this topic.
NotificationEvents
The different events that you can receive notifications for.
public string[]? NotificationEvents { get; set; }
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.
public string? NotificationType { get; set; }