[−][src]Struct rusoto_ssm::MaintenanceWindowTask
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]
pub fn clone(&self) -> MaintenanceWindowTask
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for MaintenanceWindowTask
[src]
impl Default for MaintenanceWindowTask
[src]
pub fn default() -> MaintenanceWindowTask
[src]
impl<'de> Deserialize<'de> for MaintenanceWindowTask
[src]
pub fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<MaintenanceWindowTask> for MaintenanceWindowTask
[src]
pub fn eq(&self, other: &MaintenanceWindowTask) -> bool
[src]
pub fn ne(&self, other: &MaintenanceWindowTask) -> bool
[src]
impl StructuralPartialEq for MaintenanceWindowTask
[src]
Auto Trait Implementations
impl RefUnwindSafe for MaintenanceWindowTask
[src]
impl Send for MaintenanceWindowTask
[src]
impl Sync for MaintenanceWindowTask
[src]
impl Unpin for MaintenanceWindowTask
[src]
impl UnwindSafe for MaintenanceWindowTask
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,