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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb

Overview

Describes a scheduled event for an instance.

Instance Attribute Summary collapse

Instance Attribute Details

#codeString

The event code.

Returns:

  • (String)


15575
15576
15577
15578
15579
15580
15581
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15575

class InstanceStatusEvent < Struct.new(
  :code,
  :description,
  :not_after,
  :not_before)
  include Aws::Structure
end

#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)


15575
15576
15577
15578
15579
15580
15581
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15575

class InstanceStatusEvent < Struct.new(
  :code,
  :description,
  :not_after,
  :not_before)
  include Aws::Structure
end

#not_afterTime

The latest scheduled end time for the event.

Returns:

  • (Time)


15575
15576
15577
15578
15579
15580
15581
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15575

class InstanceStatusEvent < Struct.new(
  :code,
  :description,
  :not_after,
  :not_before)
  include Aws::Structure
end

#not_beforeTime

The earliest scheduled start time for the event.

Returns:

  • (Time)


15575
15576
15577
15578
15579
15580
15581
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15575

class InstanceStatusEvent < Struct.new(
  :code,
  :description,
  :not_after,
  :not_before)
  include Aws::Structure
end