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) -> &[String]
pub fn accounts(&self) -> &[String]
The Amazon Web Services accounts targeted by the current Automation execution.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .accounts.is_none()
.
sourcepub fn regions(&self) -> &[String]
pub fn regions(&self) -> &[String]
The Amazon Web Services Regions targeted by the current Automation execution.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .regions.is_none()
.
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 ==
.impl StructuralPartialEq for TargetLocation
Auto Trait Implementations§
impl Freeze for TargetLocation
impl RefUnwindSafe for TargetLocation
impl Send for TargetLocation
impl Sync for TargetLocation
impl Unpin for TargetLocation
impl UnwindSafe for TargetLocation
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more