InstanceInformation

public struct InstanceInformation : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The activation ID created by Systems Manager when the server or VM was registered.

    Declaration

    Swift

    public let activationId: String?
  • The version of SSM Agent running on your Linux instance.

    Declaration

    Swift

    public let agentVersion: String?
  • Information about the association.

    Declaration

    Swift

    public let associationOverview: InstanceAggregatedAssociationOverview?
  • The status of the association.

    Declaration

    Swift

    public let associationStatus: String?
  • The fully qualified host name of the managed instance.

    Declaration

    Swift

    public let computerName: 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.

    Declaration

    Swift

    public let iamRole: String?
  • The instance ID.

    Declaration

    Swift

    public let instanceId: String?
  • The IP address of the managed instance.

    Declaration

    Swift

    public let iPAddress: String?
  • 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.

    Declaration

    Swift

    public let isLatestVersion: Bool?
  • The date the association was last run.

    Declaration

    Swift

    public let lastAssociationExecutionDate: TimeStamp?
  • The date and time when agent last pinged Systems Manager service.

    Declaration

    Swift

    public let lastPingDateTime: TimeStamp?
  • The last date the association was successfully run.

    Declaration

    Swift

    public let lastSuccessfulAssociationExecutionDate: TimeStamp?
  • 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.

    Declaration

    Swift

    public let name: String?
  • Connection status of SSM Agent.

    Declaration

    Swift

    public let pingStatus: PingStatus?
  • The name of the operating system platform running on your instance.

    Declaration

    Swift

    public let platformName: String?
  • The operating system platform type.

    Declaration

    Swift

    public let platformType: PlatformType?
  • The version of the OS platform running on your instance.

    Declaration

    Swift

    public let platformVersion: String?
  • The date the server or VM was registered with AWS as a managed instance.

    Declaration

    Swift

    public let registrationDate: TimeStamp?
  • The type of instance. Instances are either EC2 instances or managed instances.

    Declaration

    Swift

    public let resourceType: ResourceType?
  • Undocumented

    Declaration

    Swift

    public init(activationId: String? = nil, agentVersion: String? = nil, associationOverview: InstanceAggregatedAssociationOverview? = nil, associationStatus: String? = nil, computerName: String? = nil, iamRole: String? = nil, instanceId: String? = nil, iPAddress: String? = nil, isLatestVersion: Bool? = nil, lastAssociationExecutionDate: TimeStamp? = nil, lastPingDateTime: TimeStamp? = nil, lastSuccessfulAssociationExecutionDate: TimeStamp? = nil, name: String? = nil, pingStatus: PingStatus? = nil, platformName: String? = nil, platformType: PlatformType? = nil, platformVersion: String? = nil, registrationDate: TimeStamp? = nil, resourceType: ResourceType? = nil)