PutRuleRequest
import type { PutRuleRequest } from "https://aws-api.deno.dev/v0.4/services/eventbridge.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
§
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 Amazon EventBridge event patterns in the Amazon EventBridge User Guide.
§
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.