@Stability(value=Stable)
public static interface CfnMaintenanceWindowTask.TaskInvocationParametersProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnMaintenanceWindowTask.TaskInvocationParametersProperty.Builder
|
static class |
CfnMaintenanceWindowTask.TaskInvocationParametersProperty.Jsii$Proxy
An implementation for
CfnMaintenanceWindowTask.TaskInvocationParametersProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnMaintenanceWindowTask.TaskInvocationParametersProperty.Builder |
builder() |
default Object |
getMaintenanceWindowAutomationParameters()
The parameters for an `AUTOMATION` task type.
|
default Object |
getMaintenanceWindowLambdaParameters()
The parameters for a `LAMBDA` task type.
|
default Object |
getMaintenanceWindowRunCommandParameters()
The parameters for a `RUN_COMMAND` task type.
|
default Object |
getMaintenanceWindowStepFunctionsParameters()
The parameters for a `STEP_FUNCTIONS` task type.
|
@Stability(value=Stable) @Nullable default Object getMaintenanceWindowAutomationParameters()
@Stability(value=Stable) @Nullable default Object getMaintenanceWindowLambdaParameters()
@Stability(value=Stable) @Nullable default Object getMaintenanceWindowRunCommandParameters()
@Stability(value=Stable) @Nullable default Object getMaintenanceWindowStepFunctionsParameters()
@Stability(value=Stable) static CfnMaintenanceWindowTask.TaskInvocationParametersProperty.Builder builder()
Copyright © 2022. All rights reserved.