@Stability(value=Stable) @Internal public static final class KafkaEventSourceProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements KafkaEventSourceProps
KafkaEventSourcePropssoftware.amazon.jsii.JsiiObject.InitializationModeKafkaEventSourceProps.Builder, KafkaEventSourceProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(KafkaEventSourceProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
KafkaEventSourceProps.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Number |
getBatchSize()
The largest number of records that AWS Lambda will retrieve from your event source at the time of invoking your function.
|
Boolean |
getEnabled()
If the stream event source mapping should be enabled.
|
Duration |
getMaxBatchingWindow()
The maximum amount of time to gather records before invoking the function.
|
ISecret |
getSecret()
The secret with the Kafka credentials, see https://docs.aws.amazon.com/msk/latest/developerguide/msk-password.html for details This field is required if your Kafka brokers are accessed over the Internet.
|
StartingPosition |
getStartingPosition()
Where to begin consuming the stream.
|
String |
getTopic()
The Kafka topic to subscribe to.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(KafkaEventSourceProps.Builder builder)
KafkaEventSourceProps.Builder.public final String getTopic()
KafkaEventSourcePropsgetTopic in interface KafkaEventSourcePropspublic final ISecret getSecret()
KafkaEventSourcePropsDefault: none
getSecret in interface KafkaEventSourcePropspublic final StartingPosition getStartingPosition()
BaseStreamEventSourcePropsgetStartingPosition in interface BaseStreamEventSourcePropspublic final Number getBatchSize()
BaseStreamEventSourcePropsYour function receives an event with all the retrieved records.
Valid Range:
Default: 100
getBatchSize in interface BaseStreamEventSourcePropspublic final Boolean getEnabled()
BaseStreamEventSourcePropsDefault: true
getEnabled in interface BaseStreamEventSourcePropspublic final Duration getMaxBatchingWindow()
BaseStreamEventSourcePropsMaximum of Duration.minutes(5)
Default: Duration.seconds(0)
getMaxBatchingWindow in interface BaseStreamEventSourceProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.