Class MaintenanceWindowTaskArgs
Inherited Members
Namespace: Pulumi.Aws.Ssm
Assembly: Pulumi.Aws.dll
Syntax
public sealed class MaintenanceWindowTaskArgs : ResourceArgs
Constructors
View SourceMaintenanceWindowTaskArgs()
Declaration
public MaintenanceWindowTaskArgs()
Properties
View SourceDescription
The description of the maintenance window task.
Declaration
public Input<string> Description { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
LoggingInfo
A structure containing information about an Amazon S3 bucket to write instance-level logs to. Use task_invocation_parameters configuration block run_command_parameters configuration block output_s3_* arguments instead. Conflicts with task_invocation_parameters. Documented below.
Declaration
public Input<MaintenanceWindowTaskLoggingInfoArgs> LoggingInfo { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<MaintenanceWindowTaskLoggingInfoArgs> |
MaxConcurrency
The maximum number of targets this task can be run for in parallel.
Declaration
public Input<string> MaxConcurrency { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
MaxErrors
The maximum number of errors allowed before this task stops being scheduled.
Declaration
public Input<string> MaxErrors { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Name
The name of the maintenance window task.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Priority
The priority of the task in the Maintenance Window, the lower the number the higher the priority. Tasks in a Maintenance Window are scheduled in priority order with tasks that have the same priority scheduled in parallel.
Declaration
public Input<int> Priority { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
ServiceRoleArn
The role that should be assumed when executing the task.
Declaration
public Input<string> ServiceRoleArn { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Targets
The targets (either instances or window target ids). Instances are specified using Key=InstanceIds,Values=instanceid1,instanceid2. Window target ids are specified using Key=WindowTargetIds,Values=window target id1, window target id2.
Declaration
public InputList<MaintenanceWindowTaskTargetArgs> Targets { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<MaintenanceWindowTaskTargetArgs> |
TaskArn
The ARN of the task to execute.
Declaration
public Input<string> TaskArn { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
TaskInvocationParameters
The parameters for task execution. This argument is conflict with task_parameters and logging_info.
Declaration
public Input<MaintenanceWindowTaskTaskInvocationParametersArgs> TaskInvocationParameters { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<MaintenanceWindowTaskTaskInvocationParametersArgs> |
TaskParameters
A structure containing information about parameters required by the particular task_arn. Use parameter configuration blocks under the task_invocation_parameters configuration block instead. Conflicts with task_invocation_parameters. Documented below.
Declaration
[Obsolete("use 'task_invocation_parameters' argument instead")]
public InputList<MaintenanceWindowTaskTaskParameterArgs> TaskParameters { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<MaintenanceWindowTaskTaskParameterArgs> |
TaskType
The type of task being registered. The only allowed value is RUN_COMMAND.
Declaration
public Input<string> TaskType { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
WindowId
The Id of the maintenance window to register the task with.
Declaration
public Input<string> WindowId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |