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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#messageString

The raw event message.

Returns:

  • (String)


1527
1528
1529
1530
1531
1532
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 1527

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

#timestampInteger

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

Returns:

  • (Integer)


1527
1528
1529
1530
1531
1532
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 1527

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