Interface IRuleTarget
An abstract target for EventRules.
Namespace: Amazon.CDK.AWS.Events
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IRuleTarget
Syntax (vb)
Public Interface IRuleTarget
Synopsis
Methods
| Bind(IRuleRef, string?) | Returns the rule target specification. |
Methods
Bind(IRuleRef, string?)
Returns the rule target specification.
IRuleTargetConfig Bind(IRuleRef rule, string? id = null)
Parameters
- rule IRuleRef
The EventBridge Rule that would trigger this target.
- id string
The id of the target that will be attached to the rule.
Returns
Remarks
NOTE: Do not use the various inputXxx options. They can be set in a call to addTarget.