IRuleTarget
- class aws_cdk.aws_events.IRuleTarget(*args, **kwargs)
Bases:
Protocol
An abstract target for EventRules.
Methods
- bind(rule, id=None)
Returns the rule target specification.
NOTE: Do not use the various
inputXxx
options. They can be set in a call toaddTarget
.- Parameters:
rule (
IRule
) – The EventBridge Rule that would trigger this target.id (
Optional
[str
]) – The id of the target that will be attached to the rule.
- Return type: