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

PutRuleRequest

import type { PutRuleRequest } from "https://aws-api.deno.dev/v0.4/services/cloudwatchevents.ts?docs=full";
interface PutRuleRequest {
Description?: string | null;
EventBusName?: string | null;
EventPattern?: string | null;
Name: string;
RoleArn?: string | null;
ScheduleExpression?: string | null;
State?: RuleState | null;
Tags?: Tag[] | null;
}

§Properties

§
Description?: string | null
[src]

A description of the rule.

§
EventBusName?: string | null
[src]

The name or ARN of the event bus to associate with this rule. If you omit this, the default event bus is used.

§
EventPattern?: string | null
[src]

The event pattern. For more information, see Events and Event Patterns in the Amazon EventBridge User Guide.

§
Name: string
[src]

The name of the rule that you are creating or updating.

§
RoleArn?: string | null
[src]

The Amazon Resource Name (ARN) of the IAM role associated with the rule.

If you're setting an event bus in another account as the target and that account granted permission to your account through an organization instead of directly by the account ID, you must specify a RoleArn with proper permissions in the Target structure, instead of here in this parameter.

§
ScheduleExpression?: string | null
[src]

The scheduling expression. For example, "cron(0 20 * * ? *)" or "rate(5 minutes)".

§
State?: RuleState | null
[src]

Indicates whether the rule is enabled or disabled.

§
Tags?: Tag[] | null
[src]

The list of key-value pairs to associate with the rule.