Skip to content

/AWS1/CL_CWE=>DISABLERULE()

About DisableRule

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.

Method Signature

IMPORTING

Required arguments:

IV_NAME TYPE /AWS1/CWERULENAME /AWS1/CWERULENAME

The name of the rule.

Optional arguments:

IV_EVENTBUSNAME TYPE /AWS1/CWEEVENTBUSNAMEORARN /AWS1/CWEEVENTBUSNAMEORARN

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