Menu
Amazon CloudWatch Events
API Reference (API Version 2015-10-07)

Rule

Contains information about a rule in Amazon CloudWatch Events.

Contents

Arn

The Amazon Resource Name (ARN) of the rule.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 1600.

Required: No

Description

The description of the rule.

Type: String

Length Constraints: Maximum length of 512.

Required: No

EventPattern

The event pattern of the rule.

Type: String

Length Constraints: Maximum length of 2048.

Required: No

Name

The name of the rule.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 64.

Pattern: [\.\-_A-Za-z0-9]+

Required: No

RoleArn

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

Type: String

Length Constraints: Minimum length of 1. Maximum length of 1600.

Required: No

ScheduleExpression

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

Type: String

Length Constraints: Maximum length of 256.

Required: No

State

The state of the rule.

Type: String

Valid Values: ENABLED | DISABLED

Required: No