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.
Namespace: Amazon.SimpleSystemsManagement.Model
Assembly: AWSSDK.SimpleSystemsManagement.dll
Version: 3.x.y.z
public class MaintenanceWindowTask
The MaintenanceWindowTask type exposes the following members
Name | Description | |
---|---|---|
MaintenanceWindowTask() |
Name | Type | Description | |
---|---|---|---|
AlarmConfiguration | Amazon.SimpleSystemsManagement.Model.AlarmConfiguration |
Gets and sets the property AlarmConfiguration. The details for the CloudWatch alarm applied to your maintenance window task. |
|
CutoffBehavior | Amazon.SimpleSystemsManagement.MaintenanceWindowTaskCutoffBehavior |
Gets and sets the property CutoffBehavior. The specification for whether tasks should continue to run after the cutoff time specified in the maintenance windows is reached. |
|
Description | System.String |
Gets and sets the property Description. A description of the task. |
|
LoggingInfo | Amazon.SimpleSystemsManagement.Model.LoggingInfo |
Gets and sets the property LoggingInfo. Information about an S3 bucket to write task-level logs to.
|
|
MaxConcurrency | System.String |
Gets and sets the property MaxConcurrency. The maximum number of targets this task can be run for, in parallel. Although this element is listed as "Required: No", a value can be omitted only when you are registering or updating a targetless task You must provide a value in all other cases.
For maintenance window tasks without a target specified, you can't supply a value
for this option. Instead, the system inserts a placeholder value of |
|
MaxErrors | System.String |
Gets and sets the property MaxErrors. The maximum number of errors allowed before this task stops being scheduled. Although this element is listed as "Required: No", a value can be omitted only when you are registering or updating a targetless task You must provide a value in all other cases.
For maintenance window tasks without a target specified, you can't supply a value
for this option. Instead, the system inserts a placeholder value of |
|
Name | System.String |
Gets and sets the property Name. The task name. |
|
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. |
|
ServiceRoleArn | System.String |
Gets and sets the property ServiceRoleArn. The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) service role to use to publish Amazon Simple Notification Service (Amazon SNS) notifications for maintenance window Run Command tasks. |
|
Targets | System.Collections.Generic.List<Amazon.SimpleSystemsManagement.Model.Target> |
Gets and sets the property Targets.
The targets (either managed nodes or tags). Managed nodes are specified using |
|
TaskArn | System.String |
Gets and sets the property TaskArn.
The resource that the task uses during execution. For |
|
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 run.
|
|
Type | Amazon.SimpleSystemsManagement.MaintenanceWindowTaskType |
Gets and sets the property Type. The type of task. |
|
WindowId | System.String |
Gets and sets the property WindowId. The ID of the maintenance window where the task is registered. |
|
WindowTaskId | System.String |
Gets and sets the property WindowTaskId. The task ID. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5