Interface CfnDeliveryStream.MSKSourceConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDeliveryStream.MSKSourceConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnDeliveryStream
@Stability(Stable)
public static interface CfnDeliveryStream.MSKSourceConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
The configuration for the Amazon MSK cluster to be used as the source for a delivery stream.
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.kinesisfirehose.*;
MSKSourceConfigurationProperty mSKSourceConfigurationProperty = MSKSourceConfigurationProperty.builder()
.authenticationConfiguration(AuthenticationConfigurationProperty.builder()
.connectivity("connectivity")
.roleArn("roleArn")
.build())
.mskClusterArn("mskClusterArn")
.topicName("topicName")
// the properties below are optional
.readFromTimestamp("readFromTimestamp")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDeliveryStream.MSKSourceConfigurationPropertystatic final classAn implementation forCfnDeliveryStream.MSKSourceConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The authentication configuration of the Amazon MSK cluster.The ARN of the Amazon MSK cluster.default StringThe start date and time in UTC for the offset position within your MSK topic from where Firehose begins to read.The topic name within the Amazon MSK cluster.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAuthenticationConfiguration
The authentication configuration of the Amazon MSK cluster.Returns union: either
IResolvableorCfnDeliveryStream.AuthenticationConfigurationProperty- See Also:
-
getMskClusterArn
The ARN of the Amazon MSK cluster.- See Also:
-
getTopicName
The topic name within the Amazon MSK cluster.- See Also:
-
getReadFromTimestamp
The start date and time in UTC for the offset position within your MSK topic from where Firehose begins to read.By default, this is set to timestamp when Firehose becomes Active.
If you want to create a Firehose stream with Earliest start position from SDK or CLI, you need to set the
ReadFromTimestampparameter to Epoch (1970-01-01T00:00:00Z).- See Also:
-
builder
-