Rule class

Contains information about a rule in Amazon EventBridge.

Constructors

Rule({String? arn, String? description, String? eventBusName, String? eventPattern, String? managedBy, String? name, String? roleArn, String? scheduleExpression, RuleState? state})
Rule.fromJson(Map<String, dynamic> json)
factory

Properties

arn String?
The Amazon Resource Name (ARN) of the rule.
final
description String?
The description of the rule.
final
eventBusName String?
The name or ARN of the event bus associated with the rule. If you omit this, the default event bus is used.
final
eventPattern String?
The event pattern of the rule. For more information, see Events and Event Patterns in the Amazon EventBridge User Guide.
final
hashCode int
The hash code for this object.
no setterinherited
managedBy String?
If the rule was created on behalf of your account by an AWS service, this field displays the principal name of the service that created the rule.
final
name String?
The name of the rule.
final
roleArn String?
The Amazon Resource Name (ARN) of the role that is used for target invocation.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scheduleExpression String?
The scheduling expression. For example, "cron(0 20 * * ? *)", "rate(5 minutes)".
final
state RuleState?
The state of the rule.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited