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: Option<i32>,
pub registrations_count: Option<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: Option<i32>
The maximum number of managed nodes that can be registered using this activation.
registrations_count: Option<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) -> Option<i32>
pub fn registration_limit(&self) -> Option<i32>
The maximum number of managed nodes that can be registered using this activation.
sourcepub fn registrations_count(&self) -> Option<i32>
pub fn registrations_count(&self) -> Option<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.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
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
impl StructuralPartialEq for Activation
Auto Trait Implementations§
impl Freeze for Activation
impl RefUnwindSafe for Activation
impl Send for Activation
impl Sync for Activation
impl Unpin for Activation
impl UnwindSafe for Activation
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