You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::EC2::Types::InstanceStatusEvent

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Describes a scheduled event for an instance.

Instance Attribute Summary collapse

Instance Attribute Details

#codeString

The event code.

Possible values:

  • instance-reboot
  • system-reboot
  • system-maintenance
  • instance-retirement
  • instance-stop

Returns:

  • (String)

    The event code.

#descriptionString

A description of the event.

After a scheduled event is completed, it can still be described for up to a week. If the event has been completed, this description starts with the following text: [Completed].

Returns:

  • (String)

    A description of the event.

#not_afterTime

The latest scheduled end time for the event.

Returns:

  • (Time)

    The latest scheduled end time for the event.

#not_beforeTime

The earliest scheduled start time for the event.

Returns:

  • (Time)

    The earliest scheduled start time for the event.