You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::CloudWatchEvents::Types::PutRuleRequestWhen passing PutRuleRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
name: "RuleName", schedule_expression: "ScheduleExpression",
event_pattern: "EventPattern",
state: "ENABLED", description: "RuleDescription",
role_arn: "RoleArn",
tags: [
{
key: "TagKey", value: "TagValue", },
],
event_bus_name: "EventBusNameOrArn",
}
Instance Attribute Summary collapse
A description of the rule.
The name or ARN of the event bus to associate with this rule.
The event pattern.
The name of the rule that you are creating or updating.
The Amazon Resource Name (ARN) of the IAM role associated with the rule.
The scheduling expression.
Indicates whether the rule is enabled or disabled.
The list of key-value pairs to associate with the rule.
A description of the rule.
#event_bus_name ⇒ StringThe name or ARN of the event bus to associate with this rule. If you omit this, the default event bus is used.
#name ⇒ StringThe name of the rule that you are creating or updating.
#role_arn ⇒ StringThe Amazon Resource Name (ARN) of the IAM role associated with the rule.
#schedule_expression ⇒ StringThe scheduling expression. For example, \"cron(0 20 * * ? *)\" or \"rate(5 minutes)\".
#state ⇒ StringIndicates whether the rule is enabled or disabled.
Possible values:
The list of key-value pairs to associate with the rule.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4