class KinesisStreamSource
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.KinesisFirehose.Alpha.KinesisStreamSource |
![]() | github.com/aws/aws-cdk-go/awscdkkinesisfirehosealpha/v2#KinesisStreamSource |
![]() | software.amazon.awscdk.services.kinesisfirehose.alpha.KinesisStreamSource |
![]() | aws_cdk.aws_kinesisfirehose_alpha.KinesisStreamSource |
![]() | @aws-cdk/aws-kinesisfirehose-alpha » KinesisStreamSource |
⚠️ Deprecated: undefined
Implements
ISource
A Kinesis 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)
⚠️ Deprecated: undefined
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
⚠️ Deprecated: undefined
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.