Interface IRuleTarget

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

@Generated(value="jsii-pacmak/1.101.0 (build b95fe5d)", date="2024-07-12T19:34:02.246Z") @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.