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

Rule

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

Contains information about a rule in Amazon EventBridge.

interface Rule {
Arn?: string | null;
Description?: string | null;
EventBusName?: string | null;
EventPattern?: string | null;
ManagedBy?: string | null;
Name?: string | null;
RoleArn?: string | null;
ScheduleExpression?: string | null;
State?: RuleState | null;
}

§Properties

§
Arn?: string | null
[src]

The Amazon Resource Name (ARN) of the rule.

§
Description?: string | null
[src]

The description of the rule.

§
EventBusName?: string | null
[src]

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

§
EventPattern?: string | null
[src]

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

§
ManagedBy?: string | null
[src]

If the rule was created on behalf of your account by an Amazon Web Services service, this field displays the principal name of the service that created the rule.

§
Name?: string | null
[src]

The name of the rule.

§
RoleArn?: string | null
[src]

The Amazon Resource Name (ARN) of the role that is used for target invocation.

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 * * ? *)", "rate(5 minutes)". For more information, see Creating an Amazon EventBridge rule that runs on a schedule.

§
State?: RuleState | null
[src]

The state of the rule.