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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnMaintenanceWindowTask.TaskInvocationParametersProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMaintenanceWindowAutomationParameters
The parameters for anAUTOMATIONtask type.Returns union: either
IResolvableorCfnMaintenanceWindowTask.MaintenanceWindowAutomationParametersProperty- See Also:
-
getMaintenanceWindowLambdaParameters
The parameters for aLAMBDAtask type.Returns union: either
IResolvableorCfnMaintenanceWindowTask.MaintenanceWindowLambdaParametersProperty- See Also:
-
getMaintenanceWindowRunCommandParameters
The parameters for aRUN_COMMANDtask type.Returns union: either
IResolvableorCfnMaintenanceWindowTask.MaintenanceWindowRunCommandParametersProperty- See Also:
-
getMaintenanceWindowStepFunctionsParameters
The parameters for aSTEP_FUNCTIONStask type.Returns union: either
IResolvableorCfnMaintenanceWindowTask.MaintenanceWindowStepFunctionsParametersProperty- See Also:
-
builder
@Stability(Stable) static CfnMaintenanceWindowTask.TaskInvocationParametersProperty.Builder builder()
-