KinesisStreamSource

class aws_cdk.aws_kinesisfirehose_alpha.KinesisStreamSource(stream)

Bases: object

(experimental) A Kinesis Data Firehose delivery stream source.

Stability:

experimental

ExampleMetadata:

infused

Example:

# destination: firehose.IDestination

source_stream = kinesis.Stream(self, "Source Stream")

firehose.DeliveryStream(self, "Delivery Stream",
    source=firehose.KinesisStreamSource(source_stream),
    destination=destination
)

(experimental) Creates a new KinesisStreamSource.

Parameters:

stream (IStream) –

Stability:

experimental

Methods

grant_read(grantee)

(experimental) Grant read permissions for this source resource and its contents to an IAM principal (the delivery stream).

If an encryption key is used, permission to use the key to decrypt the contents of the stream will also be granted.

Parameters:

grantee (IGrantable) –

Stability:

experimental

Return type:

Grant