Struct aws_sdk_ssm::types::MaintenanceWindowTarget
source · #[non_exhaustive]pub struct MaintenanceWindowTarget {
pub window_id: Option<String>,
pub window_target_id: Option<String>,
pub resource_type: Option<MaintenanceWindowResourceType>,
pub targets: Option<Vec<Target>>,
pub owner_information: Option<String>,
pub name: Option<String>,
pub description: Option<String>,
}
Expand description
The target registered with the maintenance window.
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.window_id: Option<String>
The ID of the maintenance window to register the target with.
window_target_id: Option<String>
The ID of the target.
resource_type: Option<MaintenanceWindowResourceType>
The type of target that is being registered with the maintenance window.
targets: Option<Vec<Target>>
The targets, either managed nodes or tags.
Specify managed nodes using the following format:
Key=instanceids,Values=
Tags are specified using the following format:
Key=
.
owner_information: Option<String>
A user-provided value that will be included in any Amazon CloudWatch Events events that are raised while running tasks for these targets in this maintenance window.
name: Option<String>
The name for the maintenance window target.
description: Option<String>
A description for the target.
Implementations§
source§impl MaintenanceWindowTarget
impl MaintenanceWindowTarget
sourcepub fn window_id(&self) -> Option<&str>
pub fn window_id(&self) -> Option<&str>
The ID of the maintenance window to register the target with.
sourcepub fn window_target_id(&self) -> Option<&str>
pub fn window_target_id(&self) -> Option<&str>
The ID of the target.
sourcepub fn resource_type(&self) -> Option<&MaintenanceWindowResourceType>
pub fn resource_type(&self) -> Option<&MaintenanceWindowResourceType>
The type of target that is being registered with the maintenance window.
sourcepub fn targets(&self) -> &[Target]
pub fn targets(&self) -> &[Target]
The targets, either managed nodes or tags.
Specify managed nodes using the following format:
Key=instanceids,Values=
Tags are specified using the following format:
Key=
.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .targets.is_none()
.
sourcepub fn owner_information(&self) -> Option<&str>
pub fn owner_information(&self) -> Option<&str>
A user-provided value that will be included in any Amazon CloudWatch Events events that are raised while running tasks for these targets in this maintenance window.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description for the target.
source§impl MaintenanceWindowTarget
impl MaintenanceWindowTarget
sourcepub fn builder() -> MaintenanceWindowTargetBuilder
pub fn builder() -> MaintenanceWindowTargetBuilder
Creates a new builder-style object to manufacture MaintenanceWindowTarget
.
Trait Implementations§
source§impl Clone for MaintenanceWindowTarget
impl Clone for MaintenanceWindowTarget
source§fn clone(&self) -> MaintenanceWindowTarget
fn clone(&self) -> MaintenanceWindowTarget
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for MaintenanceWindowTarget
impl Debug for MaintenanceWindowTarget
source§impl PartialEq for MaintenanceWindowTarget
impl PartialEq for MaintenanceWindowTarget
impl StructuralPartialEq for MaintenanceWindowTarget
Auto Trait Implementations§
impl Freeze for MaintenanceWindowTarget
impl RefUnwindSafe for MaintenanceWindowTarget
impl Send for MaintenanceWindowTarget
impl Sync for MaintenanceWindowTarget
impl Unpin for MaintenanceWindowTarget
impl UnwindSafe for MaintenanceWindowTarget
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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