Class CfnMaintenanceWindowTask.TaskInvocationParametersProperty
The TaskInvocationParameters
property type specifies the task execution parameters for a maintenance window task in AWS Systems Manager .
Inheritance
System.Object
CfnMaintenanceWindowTask.TaskInvocationParametersProperty
Namespace: Amazon.CDK.AWS.SSM
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class TaskInvocationParametersProperty : Object, CfnMaintenanceWindowTask.ITaskInvocationParametersProperty
Syntax (vb)
Public Class TaskInvocationParametersProperty
Inherits Object
Implements CfnMaintenanceWindowTask.ITaskInvocationParametersProperty
Remarks
TaskInvocationParameters
is a property of the AWS::SSM::MaintenanceWindowTask property type.
ExampleMetadata: fixture=_generated
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"
}
};
Synopsis
Constructors
TaskInvocationParametersProperty() |
Properties
MaintenanceWindowAutomationParameters | The parameters for an |
MaintenanceWindowLambdaParameters | The parameters for a |
MaintenanceWindowRunCommandParameters | The parameters for a |
MaintenanceWindowStepFunctionsParameters | The parameters for a |
Constructors
TaskInvocationParametersProperty()
public TaskInvocationParametersProperty()
Properties
MaintenanceWindowAutomationParameters
The parameters for an AUTOMATION
task type.
public object MaintenanceWindowAutomationParameters { get; set; }
Property Value
System.Object
Remarks
MaintenanceWindowLambdaParameters
The parameters for a LAMBDA
task type.
public object MaintenanceWindowLambdaParameters { get; set; }
Property Value
System.Object
Remarks
MaintenanceWindowRunCommandParameters
The parameters for a RUN_COMMAND
task type.
public object MaintenanceWindowRunCommandParameters { get; set; }
Property Value
System.Object
Remarks
MaintenanceWindowStepFunctionsParameters
The parameters for a STEP_FUNCTIONS
task type.
public object MaintenanceWindowStepFunctionsParameters { get; set; }
Property Value
System.Object