KinesisFirehoseStream

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

Bases: object

Customize the Firehose Stream Event Target.

ExampleMetadata

fixture=_generated

Example:

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

# cfn_delivery_stream is of type CfnDeliveryStream
# rule_target_input is of type 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

Methods

bind(_rule, _id=None)

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]) –

Return type

RuleTargetConfig