class
Amazonite::Ssm::InstanceInformation
- Amazonite::Ssm::InstanceInformation
- Reference
- Object
Overview
Describes a filter for a specific list of managed nodes.
Included Modules
- JSON::Serializable
Defined in:
ssm/instance_information.crConstructors
- .new(pull : JSON::PullParser)
- .new(instance_id : String | Nil = nil, ping_status : PingStatus | Nil = nil, last_ping_date_time : Time | Nil = nil, agent_version : String | Nil = nil, is_latest_version : Bool | Nil = nil, platform_type : PlatformType | Nil = nil, platform_name : String | Nil = nil, platform_version : String | Nil = nil, activation_id : String | Nil = nil, iam_role : String | Nil = nil, registration_date : Time | Nil = nil, resource_type : ResourceType | Nil = nil, name : String | Nil = nil, ip_address : String | Nil = nil, computer_name : String | Nil = nil, association_status : String | Nil = nil, last_association_execution_date : Time | Nil = nil, last_successful_association_execution_date : Time | Nil = nil, association_overview : InstanceAggregatedAssociationOverview | Nil = nil, source_id : String | Nil = nil, source_type : SourceType | Nil = nil, source_location : String | Nil = nil)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#activation_id : String | Nil
The activation ID created by Amazon Web Services Systems Manager when the server or virtual machine (VM) was registered.
-
#activation_id=(activation_id : String | Nil)
The activation ID created by Amazon Web Services Systems Manager when the server or virtual machine (VM) was registered.
-
#agent_version : String | Nil
The version of SSM Agent running on your Linux managed node.
-
#agent_version=(agent_version : String | Nil)
The version of SSM Agent running on your Linux managed node.
-
#association_overview : InstanceAggregatedAssociationOverview | Nil
Information about the association.
-
#association_overview=(association_overview : InstanceAggregatedAssociationOverview | Nil)
Information about the association.
-
#association_status : String | Nil
The status of the association.
-
#association_status=(association_status : String | Nil)
The status of the association.
-
#computer_name : String | Nil
The fully qualified host name of the managed node.
-
#computer_name=(computer_name : String | Nil)
The fully qualified host name of the managed node.
-
#hash(hasher)
See
Object#hash(hasher) -
#iam_role : String | Nil
The role assigned to an Amazon EC2 instance configured with a Systems Manager Quick Setup host management configuration or the role assigned to an on-premises managed node.
-
#iam_role=(iam_role : String | Nil)
The role assigned to an Amazon EC2 instance configured with a Systems Manager Quick Setup host management configuration or the role assigned to an on-premises managed node.
-
#instance_id : String | Nil
The managed node ID.
-
#instance_id=(instance_id : String | Nil)
The managed node ID.
-
#ip_address : String | Nil
The IP address of the managed node.
-
#ip_address=(ip_address : String | Nil)
The IP address of the managed node.
-
#is_latest_version : Bool | Nil
Indicates whether the latest version of SSM Agent is running on your Linux managed node.
-
#is_latest_version=(is_latest_version : Bool | Nil)
Indicates whether the latest version of SSM Agent is running on your Linux managed node.
-
#last_association_execution_date : Time | Nil
The date the association was last run.
-
#last_association_execution_date=(last_association_execution_date : Time | Nil)
The date the association was last run.
-
#last_ping_date_time : Time | Nil
The date and time when the agent last pinged the Systems Manager service.
-
#last_ping_date_time=(last_ping_date_time : Time | Nil)
The date and time when the agent last pinged the Systems Manager service.
-
#last_successful_association_execution_date : Time | Nil
The last date the association was successfully run.
-
#last_successful_association_execution_date=(last_successful_association_execution_date : Time | Nil)
The last date the association was successfully run.
-
#name : String | Nil
The name assigned to an on-premises server, edge device, or virtual machine (VM) when it is activated as a Systems Manager managed node.
-
#name=(name : String | Nil)
The name assigned to an on-premises server, edge device, or virtual machine (VM) when it is activated as a Systems Manager managed node.
-
#ping_status : PingStatus | Nil
Connection status of SSM Agent.
-
#ping_status=(ping_status : PingStatus | Nil)
Connection status of SSM Agent.
-
#platform_name : String | Nil
The name of the operating system platform running on your managed node.
-
#platform_name=(platform_name : String | Nil)
The name of the operating system platform running on your managed node.
-
#platform_type : PlatformType | Nil
The operating system platform type.
-
#platform_type=(platform_type : PlatformType | Nil)
The operating system platform type.
-
#platform_version : String | Nil
The version of the OS platform running on your managed node.
-
#platform_version=(platform_version : String | Nil)
The version of the OS platform running on your managed node.
-
#registration_date : Time | Nil
The date the server or VM was registered with Amazon Web Services as a managed node.
-
#registration_date=(registration_date : Time | Nil)
The date the server or VM was registered with Amazon Web Services as a managed node.
-
#resource_type : ResourceType | Nil
The type of instance.
-
#resource_type=(resource_type : ResourceType | Nil)
The type of instance.
-
#source_id : String | Nil
The ID of the source resource.
-
#source_id=(source_id : String | Nil)
The ID of the source resource.
-
#source_location : String | Nil
The location of the source resource in the third-party cloud environment.
-
#source_location=(source_location : String | Nil)
The location of the source resource in the third-party cloud environment.
-
#source_type : SourceType | Nil
The type of the source resource.
-
#source_type=(source_type : SourceType | Nil)
The type of the source resource.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The activation ID created by Amazon Web Services Systems Manager when the server or virtual machine (VM) was registered.
The activation ID created by Amazon Web Services Systems Manager when the server or virtual machine (VM) was registered.
The version of SSM Agent running on your Linux managed node.
Information about the association.
Information about the association.
The fully qualified host name of the managed node.
The role assigned to an Amazon EC2 instance configured with a Systems Manager Quick Setup host management configuration or the role assigned to an on-premises managed node.
This call doesn't return the IAM role for unmanaged Amazon EC2 instances (instances not
configured for Systems Manager). To retrieve the role for an unmanaged instance, use the Amazon
EC2 DescribeInstances operation. For information, see
DescribeInstances
in the Amazon EC2 API Reference or
describe-instances
in the Amazon Web Services CLI Command Reference.
The role assigned to an Amazon EC2 instance configured with a Systems Manager Quick Setup host management configuration or the role assigned to an on-premises managed node.
This call doesn't return the IAM role for unmanaged Amazon EC2 instances (instances not
configured for Systems Manager). To retrieve the role for an unmanaged instance, use the Amazon
EC2 DescribeInstances operation. For information, see
DescribeInstances
in the Amazon EC2 API Reference or
describe-instances
in the Amazon Web Services CLI Command Reference.
Indicates whether the latest version of SSM Agent is running on your Linux managed node. This field doesn't indicate whether or not the latest version is installed on Windows managed nodes, because some older versions of Windows Server use the EC2Config service to process Systems Manager requests.
Indicates whether the latest version of SSM Agent is running on your Linux managed node. This field doesn't indicate whether or not the latest version is installed on Windows managed nodes, because some older versions of Windows Server use the EC2Config service to process Systems Manager requests.
The date the association was last run.
The date and time when the agent last pinged the Systems Manager service.
The date and time when the agent last pinged the Systems Manager service.
The last date the association was successfully run.
The last date the association was successfully run.
The name assigned to an on-premises server, edge device, or virtual machine (VM) when it is
activated as a Systems Manager managed node. The name is specified as the DefaultInstanceName
property using the CreateActivation command. It is applied to the managed node by specifying the
Activation Code and Activation ID when you install SSM Agent on the node, as explained in How
to install SSM Agent on hybrid Linux
nodes
and How to install SSM Agent on hybrid Windows Server
nodes.
To retrieve the Name tag of an EC2 instance, use the Amazon EC2 DescribeInstances operation.
For information, see
DescribeInstances
in the Amazon EC2 API Reference or
describe-instances
in the Amazon Web Services CLI Command Reference.
The name assigned to an on-premises server, edge device, or virtual machine (VM) when it is
activated as a Systems Manager managed node. The name is specified as the DefaultInstanceName
property using the CreateActivation command. It is applied to the managed node by specifying the
Activation Code and Activation ID when you install SSM Agent on the node, as explained in How
to install SSM Agent on hybrid Linux
nodes
and How to install SSM Agent on hybrid Windows Server
nodes.
To retrieve the Name tag of an EC2 instance, use the Amazon EC2 DescribeInstances operation.
For information, see
DescribeInstances
in the Amazon EC2 API Reference or
describe-instances
in the Amazon Web Services CLI Command Reference.
Connection status of SSM Agent.
The status Inactive has been deprecated and is no longer in use.
Connection status of SSM Agent.
The status Inactive has been deprecated and is no longer in use.
The name of the operating system platform running on your managed node.
The name of the operating system platform running on your managed node.
The version of the OS platform running on your managed node.
The date the server or VM was registered with Amazon Web Services as a managed node.
The date the server or VM was registered with Amazon Web Services as a managed node.
The type of instance. Instances are either EC2 instances or managed instances.
The type of instance. Instances are either EC2 instances or managed instances.
The ID of the source resource. For IoT Greengrass devices, SourceId is the Thing name.
The ID of the source resource. For IoT Greengrass devices, SourceId is the Thing name.
The location of the source resource in the third-party cloud environment.
The location of the source resource in the third-party cloud environment.
The type of the source resource. For IoT Greengrass devices, SourceType is AWS::IoT::Thing.
For Azure Virtual Machines, SourceType is Microsoft.Compute/virtualMachines.
The type of the source resource. For IoT Greengrass devices, SourceType is AWS::IoT::Thing.
For Azure Virtual Machines, SourceType is Microsoft.Compute/virtualMachines.