class KinesisStreamSource
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.KinesisFirehose.KinesisStreamSource |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awskinesisfirehose#KinesisStreamSource |
![]() | software.amazon.awscdk.services.kinesisfirehose.KinesisStreamSource |
![]() | aws_cdk.aws_kinesisfirehose.KinesisStreamSource |
![]() | 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.