Interface CfnMaintenanceWindowTask.NotificationConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnMaintenanceWindowTask.NotificationConfigProperty.Jsii$Proxy
- Enclosing class:
CfnMaintenanceWindowTask
@Stability(Stable)
public static interface CfnMaintenanceWindowTask.NotificationConfigProperty
extends software.amazon.jsii.JsiiSerializable
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.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.ssm.*; NotificationConfigProperty notificationConfigProperty = NotificationConfigProperty.builder() .notificationArn("notificationArn") // the properties below are optional .notificationEvents(List.of("notificationEvents")) .notificationType("notificationType") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnMaintenanceWindowTask.NotificationConfigProperty
static final class
An implementation forCfnMaintenanceWindowTask.NotificationConfigProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getNotificationArn
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.
-
getNotificationEvents
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 . -
getNotificationType
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.
-
builder
-