KinesisFirehoseStream

class aws_cdk.aws_events_targets.KinesisFirehoseStream(stream, *, message=None)

Bases: object

(deprecated) Customize the Firehose Stream Event Target.

Deprecated:

Use KinesisFirehoseStreamV2

Stability:

deprecated

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_events as events
from aws_cdk import aws_events_targets as events_targets
from aws_cdk import aws_kinesisfirehose as kinesisfirehose

# cfn_delivery_stream: kinesisfirehose.CfnDeliveryStream
# rule_target_input: events.RuleTargetInput

kinesis_firehose_stream = events_targets.KinesisFirehoseStream(cfn_delivery_stream,
    message=rule_target_input
)
Parameters:
  • stream (CfnDeliveryStream) –

  • message (Optional[RuleTargetInput]) – The message to send to the stream. Must be a valid JSON text passed to the target stream. Default: - the entire Event Bridge event

Stability:

deprecated

Methods

bind(_rule, _id=None)

(deprecated) Returns a RuleTarget that can be used to trigger this Firehose Stream as a result from a Event Bridge event.

Parameters:
  • _rule (IRule) –

  • _id (Optional[str]) –

Stability:

deprecated

Return type:

RuleTargetConfig