CmdID / aws / aws events
aws events enable-rule
Enables the specified rule. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
To enable a CloudWatch Events rule
The following enable-rule example enables the rule named DailyLambdaFunction, which had been previously disabled.
aws events enable-rule --name "DailyLambdaFunction"Identify--nameThe name of the rule.This command produces no output.
For more information, see Rules in Amazon EventBridge in the Amazon EventBridge User Guide.
Options
--event-bus-nameThe name or ARN of the event bus associated with the rule.--nameThe name of the rule.