class Aws::CloudWatchEvents::Types::PutEventsRequestEntry

Represents an event to be submitted.

@note When making an API call, you may pass PutEventsRequestEntry

data as a hash:

    {
      time: Time.now,
      source: "String",
      resources: ["EventResource"],
      detail_type: "String",
      detail: "String",
      event_bus_name: "NonPartnerEventBusNameOrArn",
      trace_header: "TraceHeader",
    }

@!attribute [rw] time

The time stamp of the event, per [RFC3339][1]. If no time stamp is
provided, the time stamp of the [PutEvents][2] call is used.

[1]: https://www.rfc-editor.org/rfc/rfc3339.txt
[2]: https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_PutEvents.html
@return [Time]

@!attribute [rw] source

The source of the event.
@return [String]

@!attribute [rw] resources

Amazon Web Services resources, identified by Amazon Resource Name
(ARN), which the event primarily concerns. Any number, including
zero, may be present.
@return [Array<String>]

@!attribute [rw] detail_type

Free-form string used to decide what fields to expect in the event
detail.
@return [String]

@!attribute [rw] detail

A valid JSON string. There is no other schema imposed. The JSON
string may contain fields and nested subobjects.
@return [String]

@!attribute [rw] event_bus_name

The name or ARN of the event bus to receive the event. Only the
rules that are associated with this event bus are used to match the
event. If you omit this, the default event bus is used.
@return [String]

@!attribute [rw] trace_header

An X-Ray trade header, which is an http header (X-Amzn-Trace-Id)
that contains the trace-id associated with the event.

To learn more about X-Ray trace headers, see [Tracing header][1] in
the X-Ray Developer Guide.

[1]: https://docs.aws.amazon.com/xray/latest/devguide/xray-concepts.html#xray-concepts-tracingheader
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutEventsRequestEntry AWS API Documentation

Constants

SENSITIVE