Struct rusoto_ssm::MaintenanceWindowTask
[−]
[src]
pub struct MaintenanceWindowTask { pub description: Option<String>, pub logging_info: Option<LoggingInfo>, pub max_concurrency: Option<String>, pub max_errors: Option<String>, pub name: Option<String>, pub priority: Option<i64>, pub service_role_arn: Option<String>, pub targets: Option<Vec<Target>>, pub task_arn: Option<String>, pub task_parameters: Option<HashMap<String, MaintenanceWindowTaskParameterValueExpression>>, pub type_: Option<String>, pub window_id: Option<String>, pub window_task_id: Option<String>, }
Information about a task defined for a Maintenance Window.
Fields
description: Option<String>
A description of the task.
logging_info: Option<LoggingInfo>
Information about an Amazon S3 bucket to write task-level logs to.
max_concurrency: Option<String>
The maximum number of targets this task can be run for in parallel.
max_errors: Option<String>
The maximum number of errors allowed before this task stops being scheduled.
name: Option<String>
The task name.
priority: Option<i64>
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.
service_role_arn: Option<String>
The role that should be assumed when executing the task
targets: Option<Vec<Target>>
The targets (either instances or tags). Instances are specified using Key=instanceids,Values=<instanceid1>,<instanceid2>. Tags are specified using Key=<tag name>,Values=<tag value>.
task_arn: Option<String>
The resource that the task uses during execution. For RUN_COMMAND and AUTOMATION task types, TaskArn
is the SSM document name or ARN. For LAMBDA tasks, it's the function name or ARN. For STEP_FUNCTION tasks, it's the state machine ARN.
task_parameters: Option<HashMap<String, MaintenanceWindowTaskParameterValueExpression>>
The parameters that should be passed to the task when it is executed.
type_: Option<String>
The type of task. The type can be one of the following: RUN_COMMAND, AUTOMATION, LAMBDA, or STEP_FUNCTION.
window_id: Option<String>
The Maintenance Window ID where the task is registered.
window_task_id: Option<String>
The task ID.
Trait Implementations
impl Default for MaintenanceWindowTask
[src]
fn default() -> MaintenanceWindowTask
[src]
Returns the "default value" for a type. Read more
impl Debug for MaintenanceWindowTask
[src]
impl Clone for MaintenanceWindowTask
[src]
fn clone(&self) -> MaintenanceWindowTask
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more