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.
LoggingInfo
has been deprecated. To specify an S3 bucket to contain logs, instead use the OutputS3BucketName
and OutputS3KeyPrefix
options in the TaskInvocationParameters
structure. For information about how Systems Manager handles these options for the supported Maintenance Window task types, see MaintenanceWindowTaskInvocationParameters.
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 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.
task_parameters: Option<HashMap<String, MaintenanceWindowTaskParameterValueExpression>>
The parameters that should be passed to the task when it is executed.
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.
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]
impl Default for MaintenanceWindowTask
fn default() -> MaintenanceWindowTask
[src]
fn default() -> MaintenanceWindowTask
Returns the "default value" for a type. Read more
impl Debug for MaintenanceWindowTask
[src]
impl Debug for MaintenanceWindowTask
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for MaintenanceWindowTask
[src]
impl Clone for MaintenanceWindowTask
fn clone(&self) -> MaintenanceWindowTask
[src]
fn clone(&self) -> MaintenanceWindowTask
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialEq for MaintenanceWindowTask
[src]
impl PartialEq for MaintenanceWindowTask
fn eq(&self, other: &MaintenanceWindowTask) -> bool
[src]
fn eq(&self, other: &MaintenanceWindowTask) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &MaintenanceWindowTask) -> bool
[src]
fn ne(&self, other: &MaintenanceWindowTask) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for MaintenanceWindowTask
impl Send for MaintenanceWindowTask
impl Sync for MaintenanceWindowTask
impl Sync for MaintenanceWindowTask