IRuleTarget
- class aws_cdk.aws_events.IRuleTarget(*args, **kwargs)
Bases:
ProtocolAn abstract target for EventRules.
Methods
- bind(rule, id=None)
Returns the rule target specification.
NOTE: Do not use the various
inputXxxoptions. 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: