IRuleTarget Interface
An abstract target for EventRules.
Methods
bind(rule: IRuleRef, id?: string): RuleTargetConfigdef bind(self, rule: IRuleRef, id: typing.Optional[str] = None) -> RuleTargetConfigpublic RuleTargetConfig bind(IRuleRef rule, String id)public RuleTargetConfig Bind(IRuleRef rule, string? id = null)func Bind(Rule IRuleRef, Id *string) RuleTargetConfig#Returns the rule target specification.
NOTE: Do not use the various inputXxx options. They can be set in a call to addTarget.
2 parameters
Parameters
ruleruleruleruleRule— The EventBridge Rule that would trigger this target.ididididId— The id of the target that will be attached to the rule.