Class KinesisFirehoseStreamV2

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.events.targets.KinesisFirehoseStreamV2
All Implemented Interfaces:
IRuleTarget, software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)", date="2024-10-05T03:43:43.736Z") @Stability(Stable) public class KinesisFirehoseStreamV2 extends software.amazon.jsii.JsiiObject implements IRuleTarget
Customize the Firehose Stream Event Target V2 to support L2 Kinesis Delivery Stream instead of L1 Cfn Kinesis Delivery Stream.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.events.*;
 import software.amazon.awscdk.services.events.targets.*;
 IDeliveryStream deliveryStream;
 RuleTargetInput ruleTargetInput;
 KinesisFirehoseStreamV2 kinesisFirehoseStreamV2 = KinesisFirehoseStreamV2.Builder.create(deliveryStream)
         .message(ruleTargetInput)
         .build();
 
  • Constructor Details

    • KinesisFirehoseStreamV2

      protected KinesisFirehoseStreamV2(software.amazon.jsii.JsiiObjectRef objRef)
    • KinesisFirehoseStreamV2

      protected KinesisFirehoseStreamV2(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • KinesisFirehoseStreamV2

      @Stability(Stable) public KinesisFirehoseStreamV2(@NotNull IDeliveryStream stream, @Nullable KinesisFirehoseStreamProps props)
      Parameters:
      stream - This parameter is required.
      props -
    • KinesisFirehoseStreamV2

      @Stability(Stable) public KinesisFirehoseStreamV2(@NotNull IDeliveryStream stream)
      Parameters:
      stream - This parameter is required.
  • Method Details

    • bind

      @Stability(Stable) @NotNull public RuleTargetConfig bind(@NotNull IRule _rule, @Nullable String _id)
      Returns a RuleTarget that can be used to trigger this Firehose Stream as a result from a Event Bridge event.

      Specified by:
      bind in interface IRuleTarget
      Parameters:
      _rule - This parameter is required.
      _id -
    • bind

      @Stability(Stable) @NotNull public RuleTargetConfig bind(@NotNull IRule _rule)
      Returns a RuleTarget that can be used to trigger this Firehose Stream as a result from a Event Bridge event.

      Specified by:
      bind in interface IRuleTarget
      Parameters:
      _rule - This parameter is required.