Interface CfnMaintenanceWindowTask.TaskInvocationParametersProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnMaintenanceWindowTask.TaskInvocationParametersProperty.Jsii$Proxy
Enclosing class:
CfnMaintenanceWindowTask

@Stability(Stable) public static interface CfnMaintenanceWindowTask.TaskInvocationParametersProperty extends software.amazon.jsii.JsiiSerializable
The TaskInvocationParameters property type specifies the task execution parameters for a maintenance window task in AWS Systems Manager .

TaskInvocationParameters is a property of the AWS::SSM::MaintenanceWindowTask 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.*;
 Object parameters;
 TaskInvocationParametersProperty taskInvocationParametersProperty = TaskInvocationParametersProperty.builder()
         .maintenanceWindowAutomationParameters(MaintenanceWindowAutomationParametersProperty.builder()
                 .documentVersion("documentVersion")
                 .parameters(parameters)
                 .build())
         .maintenanceWindowLambdaParameters(MaintenanceWindowLambdaParametersProperty.builder()
                 .clientContext("clientContext")
                 .payload("payload")
                 .qualifier("qualifier")
                 .build())
         .maintenanceWindowRunCommandParameters(MaintenanceWindowRunCommandParametersProperty.builder()
                 .cloudWatchOutputConfig(CloudWatchOutputConfigProperty.builder()
                         .cloudWatchLogGroupName("cloudWatchLogGroupName")
                         .cloudWatchOutputEnabled(false)
                         .build())
                 .comment("comment")
                 .documentHash("documentHash")
                 .documentHashType("documentHashType")
                 .documentVersion("documentVersion")
                 .notificationConfig(NotificationConfigProperty.builder()
                         .notificationArn("notificationArn")
                         // the properties below are optional
                         .notificationEvents(List.of("notificationEvents"))
                         .notificationType("notificationType")
                         .build())
                 .outputS3BucketName("outputS3BucketName")
                 .outputS3KeyPrefix("outputS3KeyPrefix")
                 .parameters(parameters)
                 .serviceRoleArn("serviceRoleArn")
                 .timeoutSeconds(123)
                 .build())
         .maintenanceWindowStepFunctionsParameters(MaintenanceWindowStepFunctionsParametersProperty.builder()
                 .input("input")
                 .name("name")
                 .build())
         .build();