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

Class: Aws::EventBridge::Types::PutEventsRequestEntry

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing PutEventsRequestEntry as input to an Aws::Client method, you can use a vanilla Hash:

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

Represents an event to be submitted.

Instance Attribute Summary collapse

Instance Attribute Details

#detailString

A valid JSON object. There is no other schema imposed. The JSON object can contain fields and nested subobjects.

This field is required.

Returns:

  • (String)

    A valid JSON object.

#detail_typeString

Free-form string used to decide which fields to expect in the event detail. This field is required.

Returns:

  • (String)

    Free-form string used to decide which fields to expect in the event detail.

#event_bus_nameString

The event bus that will receive the event. Only the rules that are associated with this event bus can match the event.

Returns:

  • (String)

    The event bus that will receive the event.

#resourcesArray<String>

AWS resources, identified by Amazon Resource Name (ARN), that the event primarily concerns. Any number, including zero, can be present.

Returns:

  • (Array<String>)

    AWS resources, identified by Amazon Resource Name (ARN), that the event primarily concerns.

#sourceString

The source of the event. This field is required.

Returns:

  • (String)

    The source of the event.

#timeTime

The timestamp of the event, per RFC3339. If no timestamp is provided, the timestamp of the PutEvents call is used.

Returns:

  • (Time)

    The timestamp of the event, per [RFC3339][1].