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: "NonPartnerEventBusNameOrArn",
}

Represents an event to be submitted.

Instance Attribute Summary collapse

Instance Attribute Details

#detailString

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

Returns:

  • (String)

    A valid JSON string.

#detail_typeString

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

Returns:

  • (String)

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

#event_bus_nameString

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.

Returns:

  • (String)

    The name or ARN of the event bus to receive the event.

#resourcesArray<String>

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

Returns:

  • (Array<String>)

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

#sourceString

The source of the event.

Returns:

  • (String)

    The source of the event.

#timeTime

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

Returns:

  • (Time)

    The time stamp of the event, per [RFC3339][1].