Class KinesisStreamSource
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.kinesisfirehose.KinesisStreamSource
- All Implemented Interfaces:
ISource,software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-13T16:10:08.254Z")
@Stability(Stable)
public class KinesisStreamSource
extends software.amazon.jsii.JsiiObject
implements ISource
An Amazon Data Firehose delivery stream source.
Example:
IDestination destination;
Stream sourceStream = new Stream(this, "Source Stream");
DeliveryStream.Builder.create(this, "Delivery Stream")
.source(new KinesisStreamSource(sourceStream))
.destination(destination)
.build();
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.kinesisfirehose.ISource
ISource.Jsii$Default, ISource.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionKinesisStreamSource(IStream stream) Creates a new KinesisStreamSource.protectedKinesisStreamSource(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedKinesisStreamSource(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptiongrantRead(IGrantable grantee) Grant read permissions for this source resource and its contents to an IAM principal (the delivery stream).Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
KinesisStreamSource
protected KinesisStreamSource(software.amazon.jsii.JsiiObjectRef objRef) -
KinesisStreamSource
protected KinesisStreamSource(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
KinesisStreamSource
Creates a new KinesisStreamSource.- Parameters:
stream- This parameter is required.
-
-
Method Details
-
grantRead
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.
-