@Stability(value=Experimental) @Internal public static final class SelfManagedKafkaEventSourceProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements SelfManagedKafkaEventSourceProps
SelfManagedKafkaEventSourcePropssoftware.amazon.jsii.JsiiObject.InitializationModeSelfManagedKafkaEventSourceProps.Builder, SelfManagedKafkaEventSourceProps.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(SelfManagedKafkaEventSourceProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
SelfManagedKafkaEventSourceProps.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
AuthenticationMethod |
getAuthenticationMethod()
(experimental) The authentication method for your Kafka cluster.
|
Number |
getBatchSize()
(experimental) The largest number of records that AWS Lambda will retrieve from your event source at the time of invoking your function.
|
Boolean |
getBisectBatchOnError()
(experimental) If the function returns an error, split the batch in two and retry.
|
List<String> |
getBootstrapServers()
(experimental) The list of host and port pairs that are the addresses of the Kafka brokers in a "bootstrap" Kafka cluster that a Kafka client connects to initially to bootstrap itself.
|
Boolean |
getEnabled()
(experimental) If the stream event source mapping should be enabled.
|
Duration |
getMaxBatchingWindow()
(experimental) The maximum amount of time to gather records before invoking the function.
|
Duration |
getMaxRecordAge()
(experimental) The maximum age of a record that Lambda sends to a function for processing.
|
IEventSourceDlq |
getOnFailure()
(experimental) An Amazon SQS queue or Amazon SNS topic destination for discarded records.
|
Number |
getParallelizationFactor()
(experimental) The number of batches to process from each shard concurrently.
|
Boolean |
getReportBatchItemFailures()
(experimental) Allow functions to return partially successful responses for a batch of records.
|
Number |
getRetryAttempts()
(experimental) Maximum number of retry attempts Valid Range: * Minimum value of 0 * Maximum value of 10000.
|
ISecret |
getSecret()
(experimental) 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.
|
ISecurityGroup |
getSecurityGroup()
(experimental) If your Kafka brokers are only reachable via VPC, provide the security group here.
|
StartingPosition |
getStartingPosition()
(experimental) Where to begin consuming the stream.
|
String |
getTopic()
(experimental) The Kafka topic to subscribe to.
|
Duration |
getTumblingWindow()
(experimental) The size of the tumbling windows to group records sent to DynamoDB or Kinesis Valid Range: 0 - 15 minutes.
|
IVpc |
getVpc()
(experimental) If your Kafka brokers are only reachable via VPC provide the VPC here.
|
SubnetSelection |
getVpcSubnets()
(experimental) If your Kafka brokers are only reachable via VPC, provide the subnets selection here.
|
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(SelfManagedKafkaEventSourceProps.Builder builder)
SelfManagedKafkaEventSourceProps.Builder.public final List<String> getBootstrapServers()
SelfManagedKafkaEventSourceProps
They are in the format abc.xyz.com:xxxx.
getBootstrapServers in interface SelfManagedKafkaEventSourcePropspublic final AuthenticationMethod getAuthenticationMethod()
SelfManagedKafkaEventSourcePropsDefault: AuthenticationMethod.SASL_SCRAM_512_AUTH
getAuthenticationMethod in interface SelfManagedKafkaEventSourcePropspublic final ISecurityGroup getSecurityGroup()
SelfManagedKafkaEventSourcePropsDefault: - none, required if setting vpc
getSecurityGroup in interface SelfManagedKafkaEventSourcePropspublic final IVpc getVpc()
SelfManagedKafkaEventSourcePropsDefault: none
getVpc in interface SelfManagedKafkaEventSourcePropspublic final SubnetSelection getVpcSubnets()
SelfManagedKafkaEventSourcePropsDefault: - none, required if setting vpc
getVpcSubnets in interface SelfManagedKafkaEventSourcePropspublic final String getTopic()
KafkaEventSourcePropsgetTopic in interface KafkaEventSourcePropspublic final ISecret getSecret()
KafkaEventSourcePropsDefault: none
getSecret in interface KafkaEventSourcePropspublic final StartingPosition getStartingPosition()
StreamEventSourcePropsgetStartingPosition in interface StreamEventSourcePropspublic final Number getBatchSize()
StreamEventSourcePropsYour function receives an event with all the retrieved records.
Valid Range:
Default: 100
getBatchSize in interface StreamEventSourcePropspublic final Boolean getBisectBatchOnError()
StreamEventSourcePropsDefault: false
getBisectBatchOnError in interface StreamEventSourcePropspublic final Boolean getEnabled()
StreamEventSourcePropsDefault: true
getEnabled in interface StreamEventSourcePropspublic final Duration getMaxBatchingWindow()
StreamEventSourcePropsMaximum of Duration.minutes(5)
Default: Duration.seconds(0)
getMaxBatchingWindow in interface StreamEventSourcePropspublic final Duration getMaxRecordAge()
StreamEventSourcePropsValid Range:
Default: - the retention period configured on the stream
getMaxRecordAge in interface StreamEventSourcePropspublic final IEventSourceDlq getOnFailure()
StreamEventSourcePropsDefault: discarded records are ignored
getOnFailure in interface StreamEventSourcePropspublic final Number getParallelizationFactor()
StreamEventSourcePropsValid Range:
Default: 1
getParallelizationFactor in interface StreamEventSourcePropspublic final Boolean getReportBatchItemFailures()
StreamEventSourcePropsDefault: false
getReportBatchItemFailures in interface StreamEventSourcePropshttps://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-ddb-batchfailurereportingpublic final Number getRetryAttempts()
StreamEventSourcePropsDefault: - retry until the record expires
getRetryAttempts in interface StreamEventSourcePropspublic final Duration getTumblingWindow()
StreamEventSourcePropsDefault: - None
getTumblingWindow in interface StreamEventSourceProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.