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

Class: Aws::CloudWatchEvents::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",
}

Represents an event to be submitted.

Instance Attribute Summary collapse

Instance Attribute Details

#detailString

In the JSON sense, an object containing fields, which may also contain nested subobjects. No constraints are imposed on its contents.

Returns:

  • (String)

    In the JSON sense, an object containing fields, which may also contain nested subobjects.

#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.

#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 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].