Interface IRuleTarget

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
IRuleTarget.Jsii$Default
All Known Implementing Classes:
ApiDestination, ApiGateway, AwsApi, BatchJob, CloudWatchLogGroup, CodeBuildProject, CodePipeline, EcsTask, EventBus, IRuleTarget.Jsii$Proxy, KinesisFirehoseStream, KinesisStream, LambdaFunction, SfnStateMachine, SnsTopic, SqsQueue

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:37.049Z") @Stability(Stable) public interface IRuleTarget extends software.amazon.jsii.JsiiSerializable
An abstract target for EventRules.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Internal default implementation for IRuleTarget.
    static final class 
    A proxy class which represents a concrete javascript instance of this type.
  • Method Summary

    Modifier and Type
    Method
    Description
    bind(IRule rule)
    Returns the rule target specification.
    bind(IRule rule, String id)
    Returns the rule target specification.

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Method Details

    • bind

      @Stability(Stable) @NotNull RuleTargetConfig bind(@NotNull IRule rule, @Nullable String id)
      Returns the rule target specification.

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

      Parameters:
      rule - The EventBridge Rule that would trigger this target. This parameter is required.
      id - The id of the target that will be attached to the rule.
    • bind

      @Stability(Stable) @NotNull RuleTargetConfig bind(@NotNull IRule rule)
      Returns the rule target specification.

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

      Parameters:
      rule - The EventBridge Rule that would trigger this target. This parameter is required.