[−][src]Struct rusoto_ssm::RegisterTaskWithMaintenanceWindowRequest
Fields
client_token: Option<String>
User-provided idempotency token.
description: Option<String>
An optional description for the task.
logging_info: Option<LoggingInfo>
A structure containing information about an Amazon S3 bucket to write instance-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: String
The maximum number of targets this task can be run for in parallel.
max_errors: String
The maximum number of errors allowed before this task stops being scheduled.
name: Option<String>
An optional name for the task.
priority: Option<i64>
The priority of the task in the maintenance window, the lower the number the higher the priority. Tasks in a maintenance window are scheduled in priority order with tasks that have the same priority scheduled in parallel.
service_role_arn: Option<String>
The ARN of the IAM service role for Systems Manager to assume when running a maintenance window task. If you do not specify a service role ARN, Systems Manager uses your account's service-linked role. If no service-linked role for Systems Manager exists in your account, it is created when you run RegisterTaskWithMaintenanceWindow
.
For more information, see the following topics in the in the AWS Systems Manager User Guide:
targets: Vec<Target>
The targets (either instances or maintenance window targets).
Specify instances using the following format:
Key=InstanceIds,Values=<instance-id-1>,<instance-id-2>
Specify maintenance window targets using the following format:
Key=WindowTargetIds;,Values=<window-target-id-1>,<window-target-id-2>
task_arn: String
The ARN of the task to run.
task_invocation_parameters: Option<MaintenanceWindowTaskInvocationParameters>
The parameters that the task should use during execution. Populate only the fields that match the task type. All other fields should be empty.
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.
task_type: String
The type of task being registered.
window_id: String
The ID of the maintenance window the task should be added to.
Trait Implementations
impl Clone for RegisterTaskWithMaintenanceWindowRequest
[src]
fn clone(&self) -> RegisterTaskWithMaintenanceWindowRequest
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for RegisterTaskWithMaintenanceWindowRequest
[src]
impl Default for RegisterTaskWithMaintenanceWindowRequest
[src]
impl PartialEq<RegisterTaskWithMaintenanceWindowRequest> for RegisterTaskWithMaintenanceWindowRequest
[src]
fn eq(&self, other: &RegisterTaskWithMaintenanceWindowRequest) -> bool
[src]
fn ne(&self, other: &RegisterTaskWithMaintenanceWindowRequest) -> bool
[src]
impl Serialize for RegisterTaskWithMaintenanceWindowRequest
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for RegisterTaskWithMaintenanceWindowRequest
[src]
Auto Trait Implementations
impl RefUnwindSafe for RegisterTaskWithMaintenanceWindowRequest
impl Send for RegisterTaskWithMaintenanceWindowRequest
impl Sync for RegisterTaskWithMaintenanceWindowRequest
impl Unpin for RegisterTaskWithMaintenanceWindowRequest
impl UnwindSafe for RegisterTaskWithMaintenanceWindowRequest
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,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[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.
fn to_owned(&self) -> T
[src]
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.
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>,