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

Class: Aws::CloudWatchLogs::Types::InputLogEvent

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

Overview

Note:

When making an API call, you may pass InputLogEvent data as a hash:

{
  timestamp: 1, # required
  message: "EventMessage", # required
}

Represents a log event, which is a record of activity that was recorded by the application or resource being monitored.

Instance Attribute Summary collapse

Instance Attribute Details

#messageString

The raw event message.

Returns:

  • (String)


1139
1140
1141
1142
1143
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 1139

class InputLogEvent < Struct.new(
  :timestamp,
  :message)
  include Aws::Structure
end

#timestampInteger

The time the event occurred, expressed as the number of milliseconds fter Jan 1, 1970 00:00:00 UTC.

Returns:

  • (Integer)


1139
1140
1141
1142
1143
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 1139

class InputLogEvent < Struct.new(
  :timestamp,
  :message)
  include Aws::Structure
end