[][src]Struct rusoto_ssm::MaintenanceWindowTask

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 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 ARN of the IAM service role to use to publish Amazon Simple Notification Service (Amazon SNS) notifications for maintenance window Run Command tasks.

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_FUNCTIONS 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 run.

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_FUNCTIONS.

window_id: Option<String>

The ID of the maintenance window where the task is registered.

window_task_id: Option<String>

The task ID.

Trait Implementations

impl Clone for MaintenanceWindowTask[src]

impl Debug for MaintenanceWindowTask[src]

impl Default for MaintenanceWindowTask[src]

impl<'de> Deserialize<'de> for MaintenanceWindowTask[src]

impl PartialEq<MaintenanceWindowTask> for MaintenanceWindowTask[src]

impl StructuralPartialEq for MaintenanceWindowTask[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.