InstanceInformation class

Describes a filter for a specific list of instances.

Constructors

InstanceInformation({String? activationId, String? agentVersion, InstanceAggregatedAssociationOverview? associationOverview, String? associationStatus, String? computerName, String? iPAddress, String? iamRole, String? instanceId, bool? isLatestVersion, DateTime? lastAssociationExecutionDate, DateTime? lastPingDateTime, DateTime? lastSuccessfulAssociationExecutionDate, String? name, PingStatus? pingStatus, String? platformName, PlatformType? platformType, String? platformVersion, DateTime? registrationDate, ResourceType? resourceType})
InstanceInformation.fromJson(Map<String, dynamic> json)
factory

Properties

activationId String?
The activation ID created by Systems Manager when the server or VM was registered.
final
agentVersion String?
The version of SSM Agent running on your Linux instance.
final
associationOverview InstanceAggregatedAssociationOverview?
Information about the association.
final
associationStatus String?
The status of the association.
final
computerName String?
The fully qualified host name of the managed instance.
final
hashCode int
The hash code for this object.
no setterinherited
iamRole String?
The Amazon Identity and Access Management (IAM) role assigned to the on-premises Systems Manager managed instance. This call does not return the IAM role for EC2 instances. To retrieve the IAM role for an EC2 instance, use the Amazon EC2 DescribeInstances action. For information, see DescribeInstances in the Amazon EC2 API Reference or describe-instances in the AWS CLI Command Reference.
final
instanceId String?
The instance ID.
final
iPAddress String?
The IP address of the managed instance.
final
isLatestVersion bool?
Indicates whether the latest version of SSM Agent is running on your Linux Managed Instance. This field does not indicate whether or not the latest version is installed on Windows managed instances, because some older versions of Windows Server use the EC2Config service to process SSM requests.
final
lastAssociationExecutionDate DateTime?
The date the association was last run.
final
lastPingDateTime DateTime?
The date and time when the agent last pinged the Systems Manager service.
final
lastSuccessfulAssociationExecutionDate DateTime?
The last date the association was successfully run.
final
name String?
The name assigned to an on-premises server or virtual machine (VM) when it is activated as a Systems Manager managed instance. The name is specified as the DefaultInstanceName property using the CreateActivation command. It is applied to the managed instance by specifying the Activation Code and Activation ID when you install SSM Agent on the instance, as explained in Install SSM Agent for a hybrid environment (Linux) and Install SSM Agent for a hybrid environment (Windows). To retrieve the Name tag of an EC2 instance, use the Amazon EC2 DescribeInstances action. For information, see DescribeInstances in the Amazon EC2 API Reference or describe-instances in the AWS CLI Command Reference.
final
pingStatus PingStatus?
Connection status of SSM Agent.
final
platformName String?
The name of the operating system platform running on your instance.
final
platformType PlatformType?
The operating system platform type.
final
platformVersion String?
The version of the OS platform running on your instance.
final
registrationDate DateTime?
The date the server or VM was registered with AWS as a managed instance.
final
resourceType ResourceType?
The type of instance. Instances are either EC2 instances or managed instances.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited