Interface CfnChannel.StreamConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnChannel.StreamConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnChannel
@Stability(Stable)
public static interface CfnChannel.StreamConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
The configuration of a Kinesis stream that the channel reads from.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.kinesis.*;
StreamConfigurationProperty streamConfigurationProperty = StreamConfigurationProperty.builder()
.recordConfiguration(RecordConfigurationProperty.builder()
.recordFormatType("recordFormatType")
// the properties below are optional
.gsrSchemaArn("gsrSchemaArn")
.build())
.streamArn("streamArn")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnChannel.StreamConfigurationPropertystatic final classAn implementation forCfnChannel.StreamConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The configuration that describes how records on the source stream are encoded.The Amazon resource name (ARN) of the Kinesis data stream that the channel reads from.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getRecordConfiguration
The configuration that describes how records on the source stream are encoded.Returns union: either
IResolvableorCfnChannel.RecordConfigurationProperty- See Also:
-
getStreamArn
The Amazon resource name (ARN) of the Kinesis data stream that the channel reads from.- See Also:
-
builder
-