Struct rusoto_events::Rule [] [src]

pub struct Rule {
    pub arn: Option<RuleArn>,
    pub description: Option<RuleDescription>,
    pub event_pattern: Option<EventPattern>,
    pub name: Option<RuleName>,
    pub role_arn: Option<RoleArn>,
    pub schedule_expression: Option<ScheduleExpression>,
    pub state: Option<RuleState>,
}

Contains information about a rule in Amazon CloudWatch Events.

Fields

The Amazon Resource Name (ARN) of the rule.

The description of the rule.

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

The name of the rule.

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

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

The state of the rule.

Trait Implementations

impl Default for Rule
[src]

Returns the "default value" for a type. Read more

impl Debug for Rule
[src]

Formats the value using the given formatter.

impl Clone for Rule
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more