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.

Information about a task defined for a Maintenance Window.

Inheritance Hierarchy


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


public class MaintenanceWindowTask

The MaintenanceWindowTask type exposes the following members


Public Method MaintenanceWindowTask()


Public Property Description System.String

Gets and sets the property Description.

A description of the task.

Public Property LoggingInfo Amazon.SimpleSystemsManagement.Model.LoggingInfo

Gets and sets the property LoggingInfo.

Information about an Amazon S3 bucket to write task-level logs to.

Public Property MaxConcurrency System.String

Gets and sets the property MaxConcurrency.

The maximum number of targets this task can be run for in parallel.

Public Property MaxErrors System.String

Gets and sets the property MaxErrors.

The maximum number of errors allowed before this task stops being scheduled.

Public Property Name System.String

Gets and sets the property Name.

The task name.

Public Property Priority System.Int32

Gets and sets the property Priority.

The priority of the task in the Maintenance Window. The lower the number, the higher the priority. Tasks that have the same priority are scheduled in parallel.

Public Property ServiceRoleArn System.String

Gets and sets the property ServiceRoleArn.

The role that should be assumed when executing the task

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

Gets and sets the property Targets.

The targets (either instances or tags). Instances are specified using Key=instanceids,Values=,. Tags are specified using Key=,Values=.

Public Property TaskArn System.String

Gets and sets the property TaskArn.

The resource that the task uses during execution. For RUN_COMMAND and AUTOMATION task types, TaskArn is the Systems Manager document name or ARN. For LAMBDA tasks, it's the function name or ARN. For STEP_FUNCTION tasks, it's the state machine ARN.

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

Gets and sets the property TaskParameters.

The parameters that should be passed to the task when it is executed.

Public Property Type Amazon.SimpleSystemsManagement.MaintenanceWindowTaskType

Gets and sets the property Type.

The type of task. The type can be one of the following: RUN_COMMAND, AUTOMATION, LAMBDA, or STEP_FUNCTION.

Public Property WindowId System.String

Gets and sets the property WindowId.

The Maintenance Window ID where the task is registered.

Public Property WindowTaskId System.String

Gets and sets the property WindowTaskId.

The task ID.

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