AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the UpdateMaintenanceWindowTask operation. Modifies a task assigned to a Maintenance Window. You can't change the task type, but you can change the following values:

Task ARN. For example, you can change a RUN_COMMAND task from AWS-RunPowerShellScript to AWS-RunShellScript.

Service role ARN.

Task parameters.

Task priority.

Task MaxConcurrency and MaxErrors.

Log location.

If a parameter is null, then the corresponding field is not modified. Also, if you set Replace to true, then all fields required by the RegisterTaskWithMaintenanceWindow action are required for this request. Optional fields that aren't specified are set to null.

Inheritance Hierarchy


Namespace: Amazon.SimpleSystemsManagement.Model
Assembly: AWSSDK.SimpleSystemsManagement.dll
Version: 3.x.y.z


public class UpdateMaintenanceWindowTaskRequest : AmazonSimpleSystemsManagementRequest

The UpdateMaintenanceWindowTaskRequest type exposes the following members



Public Property Description System.String

Gets and sets the property Description.

The new task description to specify.

Public Property LoggingInfo Amazon.SimpleSystemsManagement.Model.LoggingInfo

Gets and sets the property LoggingInfo.

The new logging location in Amazon S3 to specify.

Public Property MaxConcurrency System.String

Gets and sets the property MaxConcurrency.

The new MaxConcurrency value you want to specify. MaxConcurrency is the number of targets that are allowed to run this task in parallel.

Public Property MaxErrors System.String

Gets and sets the property MaxErrors.

The new MaxErrors value to specify. MaxErrors is the maximum number of errors that are allowed before the task stops being scheduled.

Public Property Name System.String

Gets and sets the property Name.

The new task name to specify.

Public Property Priority System.Int32

Gets and sets the property Priority.

The new task priority to specify. The lower the number, the higher the priority. Tasks that have the same priority are scheduled in parallel.

Public Property Replace System.Boolean

Gets and sets the property Replace.

If True, then all fields that are required by the RegisterTaskWithMaintenanceWndow action are also required for this API request. Optional fields that are not specified are set to null.

Public Property ServiceRoleArn System.String

Gets and sets the property ServiceRoleArn.

The IAM service role ARN to modify. The system assumes this role during task execution.

Public Property Targets System.Collections.Generic.List<Amazon.SimpleSystemsManagement.Model.Target>

Gets and sets the property Targets.

The targets (either instances or tags) to modify. Instances are specified using Key=instanceids,Values=instanceID_1,instanceID_2. Tags are specified using Key=tag_name,Values=tag_value.

Public Property TaskArn System.String

Gets and sets the property TaskArn.

The task ARN to modify.

Public Property TaskInvocationParameters Amazon.SimpleSystemsManagement.Model.MaintenanceWindowTaskInvocationParameters

Gets and sets the property TaskInvocationParameters.

The parameters that the task should use during execution. Populate only the fields that match the task type. All other fields should be empty.

Public Property TaskParameters System.Collections.Generic.Dictionary<System.String, Amazon.SimpleSystemsManagement.Model.MaintenanceWindowTaskParameterValueExpression>

Gets and sets the property TaskParameters.

The parameters to modify. The map has the following format:

Key: string, between 1 and 255 characters

Value: an array of strings, each string is between 1 and 255 characters

Public Property WindowId System.String

Gets and sets the property WindowId.

The Maintenance Window ID that contains the task to modify.

Public Property WindowTaskId System.String

Gets and sets the property WindowTaskId.

The task ID to modify.

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms