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
arn: Option<RuleArn>
The Amazon Resource Name (ARN) of the rule.
description: Option<RuleDescription>
The description of the rule.
event_pattern: Option<EventPattern>
The event pattern of the rule. For more information, see Events and Event Patterns in the Amazon CloudWatch Events User Guide.
name: Option<RuleName>
The name of the rule.
role_arn: Option<RoleArn>
The Amazon Resource Name (ARN) of the role that is used for target invocation.
schedule_expression: Option<ScheduleExpression>
The scheduling expression. For example, "cron(0 20 * * ? *)", "rate(5 minutes)".
state: Option<RuleState>
The state of the rule.
Trait Implementations
impl Default for Rule
[src]
impl Debug for Rule
[src]
impl Clone for Rule
[src]
fn clone(&self) -> Rule
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more