Show / Hide Table of Contents

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(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 string

The id of the target that will be attached to the rule.

Returns

IRuleTargetConfig

Remarks

NOTE: Do not use the various inputXxx options. They can be set in a call to addTarget.

Back to top Generated by DocFX