Skip to content

Disable Rule

cloudwatchevents_disable_rule R Documentation

Disables the specified rule

Description

Disables the specified rule. A disabled rule won't match any events, and won't self-trigger if it has a schedule expression.

When you disable a rule, incoming events might continue to match to the disabled rule. Allow a short period of time for changes to take effect.

Usage

cloudwatchevents_disable_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$disable_rule(
  Name = "string",
  EventBusName = "string"
)