Describes the specified rule.
DescribeRule does not list the targets of a rule. To see the targets
associated with a rule, use
list_targets_by_rule
.
cloudwatchevents_describe_rule(Name, EventBusName)
A list with the following syntax:
list(
Name = "string",
Arn = "string",
EventPattern = "string",
ScheduleExpression = "string",
State = "ENABLED"|"DISABLED",
Description = "string",
RoleArn = "string",
ManagedBy = "string",
EventBusName = "string",
CreatedBy = "string"
)
[required] The name of the rule.
The name or ARN of the event bus associated with the rule. If you omit this, the default event bus is used.
svc$describe_rule(
Name = "string",
EventBusName = "string"
)