Interface CfnMaintenanceWindowTask.INotificationConfigProperty
The NotificationConfig
property type specifies configurations for sending notifications for a maintenance window task in AWS Systems Manager .
Namespace: Amazon.CDK.AWS.SSM
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface INotificationConfigProperty
Syntax (vb)
Public Interface INotificationConfigProperty
Remarks
NotificationConfig
is a property of the MaintenanceWindowRunCommandParameters property type.
ExampleMetadata: fixture=_generated
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"
};
Synopsis
Properties
NotificationArn | An Amazon Resource Name (ARN) for an Amazon Simple Notification Service (Amazon SNS) topic. |
NotificationEvents | The different events that you can receive notifications for. |
NotificationType | The notification type. |
Properties
NotificationArn
An Amazon Resource Name (ARN) for an Amazon Simple Notification Service (Amazon SNS) topic.
string NotificationArn { get; }
Property Value
System.String
Remarks
Run Command pushes notifications about command status changes to this topic.
NotificationEvents
The different events that you can receive notifications for.
virtual string[] NotificationEvents { get; }
Property Value
System.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.
virtual string NotificationType { get; }
Property Value
System.String