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
source§fn eq(&self, other: &MaintenanceWindowTarget) -> bool
fn eq(&self, other: &MaintenanceWindowTarget) -> bool
self
and other
values to be equal, and is used
by ==
.