Struct aws_sdk_ssm::types::InstanceProperty

source ·
#[non_exhaustive]
pub struct InstanceProperty {
Show 26 fields pub name: Option<String>, pub instance_id: Option<String>, pub instance_type: Option<String>, pub instance_role: Option<String>, pub key_name: Option<String>, pub instance_state: Option<String>, pub architecture: Option<String>, pub ip_address: Option<String>, pub launch_time: Option<DateTime>, pub ping_status: Option<PingStatus>, pub last_ping_date_time: Option<DateTime>, pub agent_version: Option<String>, pub platform_type: Option<PlatformType>, pub platform_name: Option<String>, pub platform_version: Option<String>, pub activation_id: Option<String>, pub iam_role: Option<String>, pub registration_date: Option<DateTime>, pub resource_type: Option<String>, pub computer_name: Option<String>, pub association_status: Option<String>, pub last_association_execution_date: Option<DateTime>, pub last_successful_association_execution_date: Option<DateTime>, pub association_overview: Option<InstanceAggregatedAssociationOverview>, pub source_id: Option<String>, pub source_type: Option<SourceType>,
}
Expand description

An object containing various properties of a managed node.

Fields (Non-exhaustive)§

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
§name: Option<String>

The value of the EC2 Name tag associated with the node. If a Name tag hasn't been applied to the node, this value is blank.

§instance_id: Option<String>

The ID of the managed node.

§instance_type: Option<String>

The instance type of the managed node. For example, t3.large.

§instance_role: Option<String>

The instance profile attached to the node. If an instance profile isn't attached to the node, this value is blank.

§key_name: Option<String>

The name of the key pair associated with the node. If a key pair isnt't associated with the node, this value is blank.

§instance_state: Option<String>

The current state of the node.

§architecture: Option<String>

The CPU architecture of the node. For example, x86_64.

§ip_address: Option<String>

The public IPv4 address assigned to the node. If a public IPv4 address isn't assigned to the node, this value is blank.

§launch_time: Option<DateTime>

The timestamp for when the node was launched.

§ping_status: Option<PingStatus>

Connection status of the SSM Agent on the managed node.

§last_ping_date_time: Option<DateTime>

The date and time when the SSM Agent last pinged the Systems Manager service.

§agent_version: Option<String>

The version of SSM Agent running on your managed node.

§platform_type: Option<PlatformType>

The operating system platform type of the managed node. For example, Windows.

§platform_name: Option<String>

The name of the operating system platform running on your managed node.

§platform_version: Option<String>

The version of the OS platform running on your managed node.

§activation_id: Option<String>

The activation ID created by Systems Manager when the server or virtual machine (VM) was registered

§iam_role: Option<String>

The IAM role used in the hybrid activation to register the node with Systems Manager.

§registration_date: Option<DateTime>

The date the node was registered with Systems Manager.

§resource_type: Option<String>

The type of managed node.

§computer_name: Option<String>

The fully qualified host name of the managed node.

§association_status: Option<String>

The status of the State Manager association applied to the managed node.

§last_association_execution_date: Option<DateTime>

The date the association was last run.

§last_successful_association_execution_date: Option<DateTime>

The last date the association was successfully run.

§association_overview: Option<InstanceAggregatedAssociationOverview>

Status information about the aggregated associations.

§source_id: Option<String>

The ID of the source resource.

§source_type: Option<SourceType>

The type of the source resource.

Implementations§

source§

impl InstanceProperty

source

pub fn name(&self) -> Option<&str>

The value of the EC2 Name tag associated with the node. If a Name tag hasn't been applied to the node, this value is blank.

source

pub fn instance_id(&self) -> Option<&str>

The ID of the managed node.

source

pub fn instance_type(&self) -> Option<&str>

The instance type of the managed node. For example, t3.large.

source

pub fn instance_role(&self) -> Option<&str>

The instance profile attached to the node. If an instance profile isn't attached to the node, this value is blank.

source

pub fn key_name(&self) -> Option<&str>

The name of the key pair associated with the node. If a key pair isnt't associated with the node, this value is blank.

source

pub fn instance_state(&self) -> Option<&str>

The current state of the node.

source

pub fn architecture(&self) -> Option<&str>

The CPU architecture of the node. For example, x86_64.

source

pub fn ip_address(&self) -> Option<&str>

The public IPv4 address assigned to the node. If a public IPv4 address isn't assigned to the node, this value is blank.

source

pub fn launch_time(&self) -> Option<&DateTime>

The timestamp for when the node was launched.

source

pub fn ping_status(&self) -> Option<&PingStatus>

Connection status of the SSM Agent on the managed node.

source

pub fn last_ping_date_time(&self) -> Option<&DateTime>

The date and time when the SSM Agent last pinged the Systems Manager service.

source

pub fn agent_version(&self) -> Option<&str>

The version of SSM Agent running on your managed node.

source

pub fn platform_type(&self) -> Option<&PlatformType>

The operating system platform type of the managed node. For example, Windows.

source

pub fn platform_name(&self) -> Option<&str>

The name of the operating system platform running on your managed node.

source

pub fn platform_version(&self) -> Option<&str>

The version of the OS platform running on your managed node.

source

pub fn activation_id(&self) -> Option<&str>

The activation ID created by Systems Manager when the server or virtual machine (VM) was registered

source

pub fn iam_role(&self) -> Option<&str>

The IAM role used in the hybrid activation to register the node with Systems Manager.

source

pub fn registration_date(&self) -> Option<&DateTime>

The date the node was registered with Systems Manager.

source

pub fn resource_type(&self) -> Option<&str>

The type of managed node.

source

pub fn computer_name(&self) -> Option<&str>

The fully qualified host name of the managed node.

source

pub fn association_status(&self) -> Option<&str>

The status of the State Manager association applied to the managed node.

source

pub fn last_association_execution_date(&self) -> Option<&DateTime>

The date the association was last run.

source

pub fn last_successful_association_execution_date(&self) -> Option<&DateTime>

The last date the association was successfully run.

source

pub fn association_overview( &self, ) -> Option<&InstanceAggregatedAssociationOverview>

Status information about the aggregated associations.

source

pub fn source_id(&self) -> Option<&str>

The ID of the source resource.

source

pub fn source_type(&self) -> Option<&SourceType>

The type of the source resource.

source§

impl InstanceProperty

source

pub fn builder() -> InstancePropertyBuilder

Creates a new builder-style object to manufacture InstanceProperty.

Trait Implementations§

source§

impl Clone for InstanceProperty

source§

fn clone(&self) -> InstanceProperty

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for InstanceProperty

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq for InstanceProperty

source§

fn eq(&self, other: &InstanceProperty) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl StructuralPartialEq for InstanceProperty

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

default unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts 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 more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts 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
source§

impl<Unshared, Shared> IntoShared<Shared> for Unshared
where Shared: FromUnshared<Unshared>,

source§

fn into_shared(self) -> Shared

Creates a shared type from an unshared type.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more