class KinesisStreamSource
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.KinesisFirehose.KinesisStreamSource |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awskinesisfirehose#KinesisStreamSource |
Java | software.amazon.awscdk.services.kinesisfirehose.KinesisStreamSource |
Python | aws_cdk.aws_kinesisfirehose.KinesisStreamSource |
TypeScript (source) | aws-cdk-lib » aws_kinesisfirehose » KinesisStreamSource |
Implements
ISource
An Amazon Data Firehose delivery stream source.
Example
declare const destination: firehose.IDestination;
const sourceStream = new kinesis.Stream(this, 'Source Stream');
new firehose.DeliveryStream(this, 'Delivery Stream', {
source: new firehose.KinesisStreamSource(sourceStream),
destination: destination,
});
Initializer
new KinesisStreamSource(stream: IStream)
Parameters
- stream
IStream
Creates a new KinesisStreamSource.
Methods
| Name | Description |
|---|---|
| grant | Grant read permissions for this source resource and its contents to an IAM principal (the delivery stream). |
grantRead(grantee)
public grantRead(grantee: IGrantable): Grant
Parameters
- grantee
IGrantable
Returns
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.

.NET
Go
Java
Python
TypeScript (