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.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#code ⇒ String

The event code.

Possible values:

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

Returns:

  • (String) —

    The event code.

#description ⇒ String

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.

#instance_event_id ⇒ String

The ID of the event.

Returns:

  • (String) —

    The ID of the event.

#not_after ⇒ Time

The latest scheduled end time for the event.

Returns:

  • (Time) —

    The latest scheduled end time for the event.

#not_before ⇒ Time

The earliest scheduled start time for the event.

Returns:

  • (Time) —

    The earliest scheduled start time for the event.

#not_before_deadline ⇒ Time

The deadline for starting the event.

Returns:

  • (Time) —

    The deadline for starting the event.