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
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
impl InstanceProperty
sourcepub fn name(&self) -> Option<&str>
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.
sourcepub fn instance_id(&self) -> Option<&str>
pub fn instance_id(&self) -> Option<&str>
The ID of the managed node.
sourcepub fn instance_type(&self) -> Option<&str>
pub fn instance_type(&self) -> Option<&str>
The instance type of the managed node. For example, t3.large.
sourcepub fn instance_role(&self) -> Option<&str>
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.
sourcepub fn key_name(&self) -> Option<&str>
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.
sourcepub fn instance_state(&self) -> Option<&str>
pub fn instance_state(&self) -> Option<&str>
The current state of the node.
sourcepub fn architecture(&self) -> Option<&str>
pub fn architecture(&self) -> Option<&str>
The CPU architecture of the node. For example, x86_64.
sourcepub fn ip_address(&self) -> Option<&str>
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.
sourcepub fn launch_time(&self) -> Option<&DateTime>
pub fn launch_time(&self) -> Option<&DateTime>
The timestamp for when the node was launched.
sourcepub fn ping_status(&self) -> Option<&PingStatus>
pub fn ping_status(&self) -> Option<&PingStatus>
Connection status of the SSM Agent on the managed node.
sourcepub fn last_ping_date_time(&self) -> Option<&DateTime>
pub fn last_ping_date_time(&self) -> Option<&DateTime>
The date and time when the SSM Agent last pinged the Systems Manager service.
sourcepub fn agent_version(&self) -> Option<&str>
pub fn agent_version(&self) -> Option<&str>
The version of SSM Agent running on your managed node.
sourcepub fn platform_type(&self) -> Option<&PlatformType>
pub fn platform_type(&self) -> Option<&PlatformType>
The operating system platform type of the managed node. For example, Windows.
sourcepub fn platform_name(&self) -> Option<&str>
pub fn platform_name(&self) -> Option<&str>
The name of the operating system platform running on your managed node.
sourcepub fn platform_version(&self) -> Option<&str>
pub fn platform_version(&self) -> Option<&str>
The version of the OS platform running on your managed node.
sourcepub fn activation_id(&self) -> Option<&str>
pub fn activation_id(&self) -> Option<&str>
The activation ID created by Systems Manager when the server or virtual machine (VM) was registered
sourcepub fn iam_role(&self) -> Option<&str>
pub fn iam_role(&self) -> Option<&str>
The IAM role used in the hybrid activation to register the node with Systems Manager.
sourcepub fn registration_date(&self) -> Option<&DateTime>
pub fn registration_date(&self) -> Option<&DateTime>
The date the node was registered with Systems Manager.
sourcepub fn resource_type(&self) -> Option<&str>
pub fn resource_type(&self) -> Option<&str>
The type of managed node.
sourcepub fn computer_name(&self) -> Option<&str>
pub fn computer_name(&self) -> Option<&str>
The fully qualified host name of the managed node.
sourcepub fn association_status(&self) -> Option<&str>
pub fn association_status(&self) -> Option<&str>
The status of the State Manager association applied to the managed node.
sourcepub fn last_association_execution_date(&self) -> Option<&DateTime>
pub fn last_association_execution_date(&self) -> Option<&DateTime>
The date the association was last run.
sourcepub fn last_successful_association_execution_date(&self) -> Option<&DateTime>
pub fn last_successful_association_execution_date(&self) -> Option<&DateTime>
The last date the association was successfully run.
sourcepub fn association_overview(
&self,
) -> Option<&InstanceAggregatedAssociationOverview>
pub fn association_overview( &self, ) -> Option<&InstanceAggregatedAssociationOverview>
Status information about the aggregated associations.
sourcepub fn source_type(&self) -> Option<&SourceType>
pub fn source_type(&self) -> Option<&SourceType>
The type of the source resource.
source§impl InstanceProperty
impl InstanceProperty
sourcepub fn builder() -> InstancePropertyBuilder
pub fn builder() -> InstancePropertyBuilder
Creates a new builder-style object to manufacture InstanceProperty
.
Trait Implementations§
source§impl Clone for InstanceProperty
impl Clone for InstanceProperty
source§fn clone(&self) -> InstanceProperty
fn clone(&self) -> InstanceProperty
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for InstanceProperty
impl Debug for InstanceProperty
source§impl PartialEq for InstanceProperty
impl PartialEq for InstanceProperty
impl StructuralPartialEq for InstanceProperty
Auto Trait Implementations§
impl Freeze for InstanceProperty
impl RefUnwindSafe for InstanceProperty
impl Send for InstanceProperty
impl Sync for InstanceProperty
impl Unpin for InstanceProperty
impl UnwindSafe for InstanceProperty
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