Struct aws_sdk_ssm::types::TargetLocation
source · #[non_exhaustive]pub struct TargetLocation {
pub accounts: Option<Vec<String>>,
pub regions: Option<Vec<String>>,
pub target_location_max_concurrency: Option<String>,
pub target_location_max_errors: Option<String>,
pub execution_role_name: Option<String>,
pub target_location_alarm_configuration: Option<AlarmConfiguration>,
}
Expand description
The combination of Amazon Web Services Regions and Amazon Web Services accounts targeted by the current Automation execution.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.accounts: Option<Vec<String>>
The Amazon Web Services accounts targeted by the current Automation execution.
regions: Option<Vec<String>>
The Amazon Web Services Regions targeted by the current Automation execution.
target_location_max_concurrency: Option<String>
The maximum number of Amazon Web Services Regions and Amazon Web Services accounts allowed to run the Automation concurrently.
target_location_max_errors: Option<String>
The maximum number of errors allowed before the system stops queueing additional Automation executions for the currently running Automation.
execution_role_name: Option<String>
The Automation execution role used by the currently running Automation. If not specified, the default value is AWS-SystemsManager-AutomationExecutionRole
.
target_location_alarm_configuration: Option<AlarmConfiguration>
The details for the CloudWatch alarm you want to apply to an automation or command.
Implementations§
source§impl TargetLocation
impl TargetLocation
sourcepub fn accounts(&self) -> Option<&[String]>
pub fn accounts(&self) -> Option<&[String]>
The Amazon Web Services accounts targeted by the current Automation execution.
sourcepub fn regions(&self) -> Option<&[String]>
pub fn regions(&self) -> Option<&[String]>
The Amazon Web Services Regions targeted by the current Automation execution.
sourcepub fn target_location_max_concurrency(&self) -> Option<&str>
pub fn target_location_max_concurrency(&self) -> Option<&str>
The maximum number of Amazon Web Services Regions and Amazon Web Services accounts allowed to run the Automation concurrently.
sourcepub fn target_location_max_errors(&self) -> Option<&str>
pub fn target_location_max_errors(&self) -> Option<&str>
The maximum number of errors allowed before the system stops queueing additional Automation executions for the currently running Automation.
sourcepub fn execution_role_name(&self) -> Option<&str>
pub fn execution_role_name(&self) -> Option<&str>
The Automation execution role used by the currently running Automation. If not specified, the default value is AWS-SystemsManager-AutomationExecutionRole
.
sourcepub fn target_location_alarm_configuration(&self) -> Option<&AlarmConfiguration>
pub fn target_location_alarm_configuration(&self) -> Option<&AlarmConfiguration>
The details for the CloudWatch alarm you want to apply to an automation or command.
source§impl TargetLocation
impl TargetLocation
sourcepub fn builder() -> TargetLocationBuilder
pub fn builder() -> TargetLocationBuilder
Creates a new builder-style object to manufacture TargetLocation
.
Trait Implementations§
source§impl Clone for TargetLocation
impl Clone for TargetLocation
source§fn clone(&self) -> TargetLocation
fn clone(&self) -> TargetLocation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TargetLocation
impl Debug for TargetLocation
source§impl PartialEq for TargetLocation
impl PartialEq for TargetLocation
source§fn eq(&self, other: &TargetLocation) -> bool
fn eq(&self, other: &TargetLocation) -> bool
self
and other
values to be equal, and is used
by ==
.