Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

PutEventsRequestEntry

import type { PutEventsRequestEntry } from "https://aws-api.deno.dev/v0.4/services/cloudwatchevents.ts?docs=full";

Represents an event to be submitted.

interface PutEventsRequestEntry {
Detail?: string | null;
DetailType?: string | null;
EventBusName?: string | null;
Resources?: string[] | null;
Source?: string | null;
Time?: Date | number | null;
TraceHeader?: string | null;
}

§Properties

§
Detail?: string | null
[src]

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

§
DetailType?: string | null
[src]

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

§
EventBusName?: string | null
[src]

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.

§
Resources?: string[] | null
[src]

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

§
Source?: string | null
[src]

The source of the event.

§
Time?: Date | number | null
[src]

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

§
TraceHeader?: string | null
[src]

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 in the X-Ray Developer Guide.