Class CfnMaintenanceWindowTaskPropsMixin.NotificationConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ssm.CfnMaintenanceWindowTaskPropsMixin.NotificationConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMaintenanceWindowTaskPropsMixin.NotificationConfigProperty>
- Enclosing interface:
CfnMaintenanceWindowTaskPropsMixin.NotificationConfigProperty
@Stability(Stable)
public static final class CfnMaintenanceWindowTaskPropsMixin.NotificationConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMaintenanceWindowTaskPropsMixin.NotificationConfigProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.notificationArn(String notificationArn) notificationEvents(List<String> notificationEvents) notificationType(String notificationType)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
notificationArn
@Stability(Stable) public CfnMaintenanceWindowTaskPropsMixin.NotificationConfigProperty.Builder notificationArn(String notificationArn) Sets the value ofCfnMaintenanceWindowTaskPropsMixin.NotificationConfigProperty.getNotificationArn()- Parameters:
notificationArn- 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.- Returns:
this
-
notificationEvents
@Stability(Stable) public CfnMaintenanceWindowTaskPropsMixin.NotificationConfigProperty.Builder notificationEvents(List<String> notificationEvents) Sets the value ofCfnMaintenanceWindowTaskPropsMixin.NotificationConfigProperty.getNotificationEvents()- Parameters:
notificationEvents- 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 .- Returns:
this
-
notificationType
@Stability(Stable) public CfnMaintenanceWindowTaskPropsMixin.NotificationConfigProperty.Builder notificationType(String notificationType) Sets the value ofCfnMaintenanceWindowTaskPropsMixin.NotificationConfigProperty.getNotificationType()- Parameters:
notificationType- 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.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMaintenanceWindowTaskPropsMixin.NotificationConfigProperty>- Returns:
- a new instance of
CfnMaintenanceWindowTaskPropsMixin.NotificationConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-