Table of Contents

Class CfnMaintenanceWindowTask.TaskInvocationParametersProperty

Namespace
Amazon.CDK.AWS.SSM
Assembly
Amazon.CDK.AWS.SSM.dll

The TaskInvocationParameters property type specifies the task execution parameters for a maintenance window task in AWS Systems Manager .

public class CfnMaintenanceWindowTask.TaskInvocationParametersProperty : CfnMaintenanceWindowTask.ITaskInvocationParametersProperty
Inheritance
CfnMaintenanceWindowTask.TaskInvocationParametersProperty
Implements
Inherited Members

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

Constructors

TaskInvocationParametersProperty()

public TaskInvocationParametersProperty()

Properties

MaintenanceWindowAutomationParameters

The parameters for an AUTOMATION task type.

public object? MaintenanceWindowAutomationParameters { get; set; }

Property Value

object

Remarks

MaintenanceWindowLambdaParameters

The parameters for a LAMBDA task type.

public object? MaintenanceWindowLambdaParameters { get; set; }

Property Value

object

Remarks

MaintenanceWindowRunCommandParameters

The parameters for a RUN_COMMAND task type.

public object? MaintenanceWindowRunCommandParameters { get; set; }

Property Value

object

Remarks

MaintenanceWindowStepFunctionsParameters

The parameters for a STEP_FUNCTIONS task type.

public object? MaintenanceWindowStepFunctionsParameters { get; set; }

Property Value

object

Remarks