Skip to content

Enable Rule

cloudwatchevents_enable_rule R Documentation

Enables the specified rule

Description

Enables the specified rule. If the rule does not exist, the operation fails.

When you enable a rule, incoming events might not immediately start matching to a newly enabled rule. Allow a short period of time for changes to take effect.

Usage

cloudwatchevents_enable_rule(Name, EventBusName)

Arguments

Name

[required] The name of the rule.

EventBusName

The name or ARN of the event bus associated with the rule. If you omit this, the default event bus is used.

Value

An empty list.

Request syntax

svc$enable_rule(
  Name = "string",
  EventBusName = "string"
)