Interface CfnMaintenanceWindowTask.ITaskInvocationParametersProperty
The TaskInvocationParameters
property type specifies the task execution parameters for a maintenance window task in AWS Systems Manager .
public interface CfnMaintenanceWindowTask.ITaskInvocationParametersProperty
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SSM;
var parameters;
var taskInvocationParametersProperty = new TaskInvocationParametersProperty {
MaintenanceWindowAutomationParameters = new MaintenanceWindowAutomationParametersProperty {
DocumentVersion = "documentVersion",
Parameters = parameters
},
MaintenanceWindowLambdaParameters = new MaintenanceWindowLambdaParametersProperty {
ClientContext = "clientContext",
Payload = "payload",
Qualifier = "qualifier"
},
MaintenanceWindowRunCommandParameters = new MaintenanceWindowRunCommandParametersProperty {
CloudWatchOutputConfig = new CloudWatchOutputConfigProperty {
CloudWatchLogGroupName = "cloudWatchLogGroupName",
CloudWatchOutputEnabled = false
},
Comment = "comment",
DocumentHash = "documentHash",
DocumentHashType = "documentHashType",
DocumentVersion = "documentVersion",
NotificationConfig = new NotificationConfigProperty {
NotificationArn = "notificationArn",
// the properties below are optional
NotificationEvents = new [] { "notificationEvents" },
NotificationType = "notificationType"
},
OutputS3BucketName = "outputS3BucketName",
OutputS3KeyPrefix = "outputS3KeyPrefix",
Parameters = parameters,
ServiceRoleArn = "serviceRoleArn",
TimeoutSeconds = 123
},
MaintenanceWindowStepFunctionsParameters = new MaintenanceWindowStepFunctionsParametersProperty {
Input = "input",
Name = "name"
}
};
Remarks
TaskInvocationParameters
is a property of the AWS::SSM::MaintenanceWindowTask property type.
ExampleMetadata: fixture=_generated
Properties
MaintenanceWindowAutomationParameters
The parameters for an AUTOMATION
task type.
object? MaintenanceWindowAutomationParameters { get; }
Property Value
Remarks
MaintenanceWindowLambdaParameters
The parameters for a LAMBDA
task type.
object? MaintenanceWindowLambdaParameters { get; }
Property Value
Remarks
MaintenanceWindowRunCommandParameters
The parameters for a RUN_COMMAND
task type.
object? MaintenanceWindowRunCommandParameters { get; }
Property Value
Remarks
MaintenanceWindowStepFunctionsParameters
The parameters for a STEP_FUNCTIONS
task type.
object? MaintenanceWindowStepFunctionsParameters { get; }