Interface IRuleTarget
An abstract target for EventRules.
Namespace: Amazon.CDK.AWS.Events
Assembly: Amazon.CDK.AWS.Events.dll
Syntax (csharp)
public interface IRuleTarget
Syntax (vb)
Public Interface IRuleTarget
Synopsis
Methods
Bind(IRule, String) | Returns the rule target specification. |
Methods
Bind(IRule, String)
Returns the rule target specification.
IRuleTargetConfig Bind(IRule rule, string id = null)
Parameters
- rule IRule
The EventBridge Rule that would trigger this target.
- id System.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
.