class Amazonite::Ssm::InstanceProperty

Overview

An object containing various properties of a managed node.

Included Modules

Defined in:

ssm/instance_property.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(name : String | Nil = nil, instance_id : String | Nil = nil, instance_type : String | Nil = nil, instance_role : String | Nil = nil, key_name : String | Nil = nil, instance_state : String | Nil = nil, architecture : String | Nil = nil, ip_address : String | Nil = nil, launch_time : Time | Nil = nil, ping_status : PingStatus | Nil = nil, last_ping_date_time : Time | Nil = nil, agent_version : String | 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 : 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, availability_zone : String | Nil = nil) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def activation_id : String | Nil #

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


[View source]
def activation_id=(activation_id : String | Nil) #

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


[View source]
def agent_version : String | Nil #

The version of SSM Agent running on your managed node.


[View source]
def agent_version=(agent_version : String | Nil) #

The version of SSM Agent running on your managed node.


[View source]
def architecture : String | Nil #

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


[View source]
def architecture=(architecture : String | Nil) #

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


[View source]
def association_overview : InstanceAggregatedAssociationOverview | Nil #

[View source]
def association_overview=(association_overview : InstanceAggregatedAssociationOverview | Nil) #

[View source]
def association_status : String | Nil #

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


[View source]
def association_status=(association_status : String | Nil) #

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


[View source]
def availability_zone : String | Nil #

The Availability Zone where the managed node is located.


[View source]
def availability_zone=(availability_zone : String | Nil) #

The Availability Zone where the managed node is located.


[View source]
def computer_name : String | Nil #

The fully qualified host name of the managed node.


[View source]
def computer_name=(computer_name : String | Nil) #

The fully qualified host name of the managed node.


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def iam_role : String | Nil #

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


[View source]
def iam_role=(iam_role : String | Nil) #

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


[View source]
def instance_id : String | Nil #

The ID of the managed node.


[View source]
def instance_id=(instance_id : String | Nil) #

The ID of the managed node.


[View source]
def instance_role : String | Nil #

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


[View source]
def instance_role=(instance_role : String | Nil) #

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


[View source]
def instance_state : String | Nil #

The current state of the node.


[View source]
def instance_state=(instance_state : String | Nil) #

The current state of the node.


[View source]
def instance_type : String | Nil #

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


[View source]
def instance_type=(instance_type : String | Nil) #

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


[View source]
def ip_address : String | Nil #

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


[View source]
def ip_address=(ip_address : String | Nil) #

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


[View source]
def key_name : String | Nil #

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


[View source]
def key_name=(key_name : String | Nil) #

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


[View source]
def last_association_execution_date : Time | Nil #

The date the association was last run.


[View source]
def last_association_execution_date=(last_association_execution_date : Time | Nil) #

The date the association was last run.


[View source]
def last_ping_date_time : Time | Nil #

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


[View source]
def last_ping_date_time=(last_ping_date_time : Time | Nil) #

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


[View source]
def last_successful_association_execution_date : Time | Nil #

The last date the association was successfully run.


[View source]
def last_successful_association_execution_date=(last_successful_association_execution_date : Time | Nil) #

The last date the association was successfully run.


[View source]
def launch_time : Time | Nil #

The timestamp for when the node was launched.


[View source]
def launch_time=(launch_time : Time | Nil) #

The timestamp for when the node was launched.


[View source]
def name : String | Nil #

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.


[View source]
def name=(name : String | Nil) #

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.


[View source]
def ping_status : PingStatus | Nil #

Connection status of the SSM Agent on the managed node.


[View source]
def ping_status=(ping_status : PingStatus | Nil) #

Connection status of the SSM Agent on the managed node.


[View source]
def platform_name : String | Nil #

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


[View source]
def platform_name=(platform_name : String | Nil) #

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


[View source]
def platform_type : PlatformType | Nil #

The operating system platform type of the managed node. For example, Windows Server or Amazon Linux 2.


[View source]
def platform_type=(platform_type : PlatformType | Nil) #

The operating system platform type of the managed node. For example, Windows Server or Amazon Linux 2.


[View source]
def platform_version : String | Nil #

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


[View source]
def platform_version=(platform_version : String | Nil) #

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


[View source]
def registration_date : Time | Nil #

The date the node was registered with Systems Manager.


[View source]
def registration_date=(registration_date : Time | Nil) #

The date the node was registered with Systems Manager.


[View source]
def resource_type : String | Nil #

The type of managed node.


[View source]
def resource_type=(resource_type : String | Nil) #

The type of managed node.


[View source]
def source_id : String | Nil #

The ID of the source resource.


[View source]
def source_id=(source_id : String | Nil) #

The ID of the source resource.


[View source]
def source_location : String | Nil #

The location of the source resource in the third-party cloud environment.


[View source]
def source_location=(source_location : String | Nil) #

The location of the source resource in the third-party cloud environment.


[View source]
def source_type : SourceType | Nil #

The type of the source resource. Valid values: AWS::EC2::Instance | AWS::SSM::ManagedInstance | AWS::IoT::Thing | Microsoft.Compute/virtualMachines.


[View source]
def source_type=(source_type : SourceType | Nil) #

The type of the source resource. Valid values: AWS::EC2::Instance | AWS::SSM::ManagedInstance | AWS::IoT::Thing | Microsoft.Compute/virtualMachines.


[View source]
def validate! : Nil #

[View source]