Struct aws_sdk_ssm::output::get_maintenance_window_task_output::Builder [−][src]
#[non_exhaustive]pub struct Builder { /* fields omitted */ }
Expand description
A builder for GetMaintenanceWindowTaskOutput
Implementations
The retrieved maintenance window ID.
The retrieved maintenance window task ID.
The retrieved maintenance window task ID.
Appends an item to targets
.
To override the contents of this collection use set_targets
.
The targets where the task should run.
The targets where the task should run.
The resource that the task used during execution. For RUN_COMMAND
and
AUTOMATION
task types, the value of TaskArn
is the SSM document
name/ARN. For LAMBDA
tasks, the value is the function name/ARN. For
STEP_FUNCTIONS
tasks, the value is the state machine ARN.
The resource that the task used during execution. For RUN_COMMAND
and
AUTOMATION
task types, the value of TaskArn
is the SSM document
name/ARN. For LAMBDA
tasks, the value is the function name/ARN. For
STEP_FUNCTIONS
tasks, the value is the state machine ARN.
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.
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.
The type of task to run.
The type of task to run.
pub fn task_parameters(
self,
k: impl Into<String>,
v: impl Into<MaintenanceWindowTaskParameterValueExpression>
) -> Self
pub fn task_parameters(
self,
k: impl Into<String>,
v: impl Into<MaintenanceWindowTaskParameterValueExpression>
) -> Self
Adds a key-value pair to task_parameters
.
To override the contents of this collection use set_task_parameters
.
The parameters to pass to the task when it runs.
TaskParameters
has been deprecated. To specify parameters to pass to a task when it runs,
instead use the Parameters
option in the TaskInvocationParameters
structure. For information
about how Systems Manager handles these options for the supported maintenance window task
types, see MaintenanceWindowTaskInvocationParameters.
pub fn set_task_parameters(
self,
input: Option<HashMap<String, MaintenanceWindowTaskParameterValueExpression>>
) -> Self
pub fn set_task_parameters(
self,
input: Option<HashMap<String, MaintenanceWindowTaskParameterValueExpression>>
) -> Self
The parameters to pass to the task when it runs.
TaskParameters
has been deprecated. To specify parameters to pass to a task when it runs,
instead use the Parameters
option in the TaskInvocationParameters
structure. For information
about how Systems Manager handles these options for the supported maintenance window task
types, see MaintenanceWindowTaskInvocationParameters.
pub fn task_invocation_parameters(
self,
input: MaintenanceWindowTaskInvocationParameters
) -> Self
pub fn task_invocation_parameters(
self,
input: MaintenanceWindowTaskInvocationParameters
) -> Self
The parameters to pass to the task when it runs.
pub fn set_task_invocation_parameters(
self,
input: Option<MaintenanceWindowTaskInvocationParameters>
) -> Self
pub fn set_task_invocation_parameters(
self,
input: Option<MaintenanceWindowTaskInvocationParameters>
) -> Self
The parameters to pass to the task when it runs.
The priority of the task when it runs. The lower the number, the higher the priority. Tasks that have the same priority are scheduled in parallel.
The priority of the task when it runs. The lower the number, the higher the priority. Tasks that have the same priority are scheduled in parallel.
The maximum number of targets allowed to run this task in parallel.
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 1
, which may be reported
in the response to this command. This value doesn't affect the running of your task and can be
ignored.
The maximum number of targets allowed to run this task in parallel.
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 1
, which may be reported
in the response to this command. This value doesn't affect the running of your task and can be
ignored.
The maximum number of errors allowed before the task stops being scheduled.
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 1
, which may be reported
in the response to this command. This value doesn't affect the running of your task and can be
ignored.
The maximum number of errors allowed before the task stops being scheduled.
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 1
, which may be reported
in the response to this command. This value doesn't affect the running of your task and can be
ignored.
The location in Amazon Simple Storage Service (Amazon S3) where the task results are logged.
LoggingInfo
has been deprecated. To specify an Amazon Simple Storage Service (Amazon S3) bucket to contain logs, instead use the
OutputS3BucketName
and OutputS3KeyPrefix
options in the TaskInvocationParameters
structure.
For information about how Amazon Web Services Systems Manager handles these options for the supported maintenance
window task types, see MaintenanceWindowTaskInvocationParameters.
The location in Amazon Simple Storage Service (Amazon S3) where the task results are logged.
LoggingInfo
has been deprecated. To specify an Amazon Simple Storage Service (Amazon S3) bucket to contain logs, instead use the
OutputS3BucketName
and OutputS3KeyPrefix
options in the TaskInvocationParameters
structure.
For information about how Amazon Web Services Systems Manager handles these options for the supported maintenance
window task types, see MaintenanceWindowTaskInvocationParameters.
The retrieved task description.
The retrieved task description.
The action to take on tasks when the maintenance window cutoff time is reached.
CONTINUE_TASK
means that tasks continue to run. For Automation, Lambda, Step Functions tasks, CANCEL_TASK
means that currently
running task invocations continue, but no new task invocations are started. For Run Command
tasks, CANCEL_TASK
means the system attempts to stop the task by sending a
CancelCommand
operation.
The action to take on tasks when the maintenance window cutoff time is reached.
CONTINUE_TASK
means that tasks continue to run. For Automation, Lambda, Step Functions tasks, CANCEL_TASK
means that currently
running task invocations continue, but no new task invocations are started. For Run Command
tasks, CANCEL_TASK
means the system attempts to stop the task by sending a
CancelCommand
operation.
Consumes the builder and constructs a GetMaintenanceWindowTaskOutput
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more