Struct aws_sdk_ssm::types::Association
source · #[non_exhaustive]pub struct Association { /* private fields */ }
Expand description
Describes an association of a Amazon Web Services Systems Manager document (SSM document) and a managed node.
Implementations§
source§impl Association
impl Association
sourcepub fn instance_id(&self) -> Option<&str>
pub fn instance_id(&self) -> Option<&str>
The managed node ID.
sourcepub fn association_id(&self) -> Option<&str>
pub fn association_id(&self) -> Option<&str>
The ID created by the system when you create an association. An association is a binding between a document and a set of targets with a schedule.
sourcepub fn association_version(&self) -> Option<&str>
pub fn association_version(&self) -> Option<&str>
The association version.
sourcepub fn document_version(&self) -> Option<&str>
pub fn document_version(&self) -> Option<&str>
The version of the document used in the association. If you change a document version for a State Manager association, Systems Manager immediately runs the association unless you previously specifed the apply-only-at-cron-interval
parameter.
State Manager doesn't support running associations that use a new version of a document if that document is shared from another account. State Manager always runs the default
version of a document if shared from another account, even though the Systems Manager console shows that a new version was processed. If you want to run an association using a new version of a document shared form another account, you must set the document version to default
.
sourcepub fn targets(&self) -> Option<&[Target]>
pub fn targets(&self) -> Option<&[Target]>
The managed nodes targeted by the request to create an association. You can target all managed nodes in an Amazon Web Services account by specifying the InstanceIds
key with a value of *
.
sourcepub fn last_execution_date(&self) -> Option<&DateTime>
pub fn last_execution_date(&self) -> Option<&DateTime>
The date on which the association was last run.
sourcepub fn overview(&self) -> Option<&AssociationOverview>
pub fn overview(&self) -> Option<&AssociationOverview>
Information about the association.
sourcepub fn schedule_expression(&self) -> Option<&str>
pub fn schedule_expression(&self) -> Option<&str>
A cron expression that specifies a schedule when the association runs. The schedule runs in Coordinated Universal Time (UTC).
sourcepub fn association_name(&self) -> Option<&str>
pub fn association_name(&self) -> Option<&str>
The association name.
sourcepub fn schedule_offset(&self) -> Option<i32>
pub fn schedule_offset(&self) -> Option<i32>
Number of days to wait after the scheduled day to run an association.
source§impl Association
impl Association
sourcepub fn builder() -> AssociationBuilder
pub fn builder() -> AssociationBuilder
Creates a new builder-style object to manufacture Association
.
Trait Implementations§
source§impl Clone for Association
impl Clone for Association
source§fn clone(&self) -> Association
fn clone(&self) -> Association
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for Association
impl Debug for Association
source§impl PartialEq<Association> for Association
impl PartialEq<Association> for Association
source§fn eq(&self, other: &Association) -> bool
fn eq(&self, other: &Association) -> bool
self
and other
values to be equal, and is used
by ==
.