Struct aws_sdk_ssm::types::Activation
source · #[non_exhaustive]pub struct Activation {
pub activation_id: Option<String>,
pub description: Option<String>,
pub default_instance_name: Option<String>,
pub iam_role: Option<String>,
pub registration_limit: i32,
pub registrations_count: i32,
pub expiration_date: Option<DateTime>,
pub expired: bool,
pub created_date: Option<DateTime>,
pub tags: Option<Vec<Tag>>,
}
Expand description
An activation registers one or more on-premises servers or virtual machines (VMs) with Amazon Web Services so that you can configure those servers or VMs using Run Command. A server or VM that has been registered with Amazon Web Services Systems Manager is called a managed node.
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.activation_id: Option<String>
The ID created by Systems Manager when you submitted the activation.
description: Option<String>
A user defined description of the activation.
default_instance_name: Option<String>
A name for the managed node when it is created.
iam_role: Option<String>
The Identity and Access Management (IAM) role to assign to the managed node.
registration_limit: i32
The maximum number of managed nodes that can be registered using this activation.
registrations_count: i32
The number of managed nodes already registered with this activation.
expiration_date: Option<DateTime>
The date when this activation can no longer be used to register managed nodes.
expired: bool
Whether or not the activation is expired.
created_date: Option<DateTime>
The date the activation was created.
Tags assigned to the activation.
Implementations§
source§impl Activation
impl Activation
sourcepub fn activation_id(&self) -> Option<&str>
pub fn activation_id(&self) -> Option<&str>
The ID created by Systems Manager when you submitted the activation.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A user defined description of the activation.
sourcepub fn default_instance_name(&self) -> Option<&str>
pub fn default_instance_name(&self) -> Option<&str>
A name for the managed node when it is created.
sourcepub fn iam_role(&self) -> Option<&str>
pub fn iam_role(&self) -> Option<&str>
The Identity and Access Management (IAM) role to assign to the managed node.
sourcepub fn registration_limit(&self) -> i32
pub fn registration_limit(&self) -> i32
The maximum number of managed nodes that can be registered using this activation.
sourcepub fn registrations_count(&self) -> i32
pub fn registrations_count(&self) -> i32
The number of managed nodes already registered with this activation.
sourcepub fn expiration_date(&self) -> Option<&DateTime>
pub fn expiration_date(&self) -> Option<&DateTime>
The date when this activation can no longer be used to register managed nodes.
sourcepub fn created_date(&self) -> Option<&DateTime>
pub fn created_date(&self) -> Option<&DateTime>
The date the activation was created.
Tags assigned to the activation.
source§impl Activation
impl Activation
sourcepub fn builder() -> ActivationBuilder
pub fn builder() -> ActivationBuilder
Creates a new builder-style object to manufacture Activation
.
Trait Implementations§
source§impl Clone for Activation
impl Clone for Activation
source§fn clone(&self) -> Activation
fn clone(&self) -> Activation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for Activation
impl Debug for Activation
source§impl PartialEq for Activation
impl PartialEq for Activation
source§fn eq(&self, other: &Activation) -> bool
fn eq(&self, other: &Activation) -> bool
self
and other
values to be equal, and is used
by ==
.