@Stability(value=Stable)
public static interface CfnMaintenanceWindowTask.NotificationConfigProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnMaintenanceWindowTask.NotificationConfigProperty.Builder
A builder for
CfnMaintenanceWindowTask.NotificationConfigProperty |
static class |
CfnMaintenanceWindowTask.NotificationConfigProperty.Jsii$Proxy
An implementation for
CfnMaintenanceWindowTask.NotificationConfigProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnMaintenanceWindowTask.NotificationConfigProperty.Builder |
builder() |
String |
getNotificationArn()
An Amazon Resource Name (ARN) for an Amazon Simple Notification Service (Amazon SNS) topic.
|
default List<String> |
getNotificationEvents()
The different events that you can receive notifications for.
|
default String |
getNotificationType()
The notification type.
|
@Stability(value=Stable) @NotNull String getNotificationArn()
Run Command pushes notifications about command status changes to this topic.
@Stability(value=Stable) @Nullable default List<String> getNotificationEvents()
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 .
@Stability(value=Stable) @Nullable default String getNotificationType()
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.@Stability(value=Stable) static CfnMaintenanceWindowTask.NotificationConfigProperty.Builder builder()
Copyright © 2022. All rights reserved.