@Stability(value=Stable) @Internal public static final class EventSourceMappingOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements EventSourceMappingOptions
EventSourceMappingOptionssoftware.amazon.jsii.JsiiObject.InitializationModeEventSourceMappingOptions.Builder, EventSourceMappingOptions.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(EventSourceMappingOptions.Builder builder)
Constructor that initializes the object based on literal property values passed by the
EventSourceMappingOptions.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| 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 |
getBisectBatchOnError()
If the function returns an error, split the batch in two and retry.
|
Boolean |
getEnabled()
Set to false to disable the event source upon creation.
|
String |
getEventSourceArn()
The Amazon Resource Name (ARN) of the event source.
|
List<Map<String,Object>> |
getFilters()
Add filter criteria to Event Source.
|
List<String> |
getKafkaBootstrapServers()
A list of host and port pairs that are the addresses of the Kafka brokers in a self managed "bootstrap" Kafka cluster that a Kafka client connects to initially to bootstrap itself.
|
String |
getKafkaConsumerGroupId()
The identifier for the Kafka consumer group to join.
|
String |
getKafkaTopic()
The name of the Kafka topic.
|
Duration |
getMaxBatchingWindow()
The maximum amount of time to gather records before invoking the function.
|
Duration |
getMaxRecordAge()
The maximum age of a record that Lambda sends to a function for processing.
|
IEventSourceDlq |
getOnFailure()
An Amazon SQS queue or Amazon SNS topic destination for discarded records.
|
Number |
getParallelizationFactor()
The number of batches to process from each shard concurrently.
|
Boolean |
getReportBatchItemFailures()
Allow functions to return partially successful responses for a batch of records.
|
Number |
getRetryAttempts()
The maximum number of times to retry when the function returns an error.
|
List<SourceAccessConfiguration> |
getSourceAccessConfigurations()
Specific settings like the authentication protocol or the VPC components to secure access to your event source.
|
StartingPosition |
getStartingPosition()
The position in the DynamoDB, Kinesis or MSK stream where AWS Lambda should start reading.
|
Number |
getStartingPositionTimestamp()
The time from which to start reading, in Unix time seconds.
|
Duration |
getTumblingWindow()
The size of the tumbling windows to group records sent to DynamoDB or Kinesis.
|
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(EventSourceMappingOptions.Builder builder)
EventSourceMappingOptions.Builder.public final Number getBatchSize()
EventSourceMappingOptionsYour function receives an event with all the retrieved records.
Valid Range: Minimum value of 1. Maximum value of 10000.
Default: - Amazon Kinesis, Amazon DynamoDB, and Amazon MSK is 100 records. The default for Amazon SQS is 10 messages. For standard SQS queues, the maximum is 10,000. For FIFO SQS queues, the maximum is 10.
getBatchSize in interface EventSourceMappingOptionspublic final Boolean getBisectBatchOnError()
EventSourceMappingOptionsDefault: false
getBisectBatchOnError in interface EventSourceMappingOptionspublic final Boolean getEnabled()
EventSourceMappingOptionsDefault: true
getEnabled in interface EventSourceMappingOptionspublic final String getEventSourceArn()
EventSourceMappingOptionsAny record added to this stream can invoke the Lambda function.
Default: - not set if using a self managed Kafka cluster, throws an error otherwise
getEventSourceArn in interface EventSourceMappingOptionspublic final List<Map<String,Object>> getFilters()
EventSourceMappingOptionsDefault: - none
getFilters in interface EventSourceMappingOptionspublic final List<String> getKafkaBootstrapServers()
EventSourceMappingOptions
They are in the format abc.example.com:9096.
Default: - none
getKafkaBootstrapServers in interface EventSourceMappingOptionspublic final String getKafkaConsumerGroupId()
EventSourceMappingOptionsThe consumer group ID must be unique among all your Kafka event sources. After creating a Kafka event source mapping with the consumer group ID specified, you cannot update this value. The value must have a lenght between 1 and 200 and full the pattern '[a-zA-Z0-9-/:_+=.@-]'. For more information, see Customizable consumer group ID.
Default: - none
public final String getKafkaTopic()
EventSourceMappingOptionsDefault: - no topic
getKafkaTopic in interface EventSourceMappingOptionspublic final Duration getMaxBatchingWindow()
EventSourceMappingOptionsMaximum of Duration.minutes(5)
Default: Duration.seconds(0)
getMaxBatchingWindow in interface EventSourceMappingOptionspublic final Duration getMaxRecordAge()
EventSourceMappingOptionsValid Range:
Default: - infinite or until the record expires.
getMaxRecordAge in interface EventSourceMappingOptionspublic final IEventSourceDlq getOnFailure()
EventSourceMappingOptionsDefault: discarded records are ignored
getOnFailure in interface EventSourceMappingOptionspublic final Number getParallelizationFactor()
EventSourceMappingOptionsValid Range:
Default: 1
getParallelizationFactor in interface EventSourceMappingOptionspublic final Boolean getReportBatchItemFailures()
EventSourceMappingOptionsDefault: false
getReportBatchItemFailures in interface EventSourceMappingOptionspublic final Number getRetryAttempts()
EventSourceMappingOptions
Set to undefined if you want lambda to keep retrying infinitely or until
the record expires.
Valid Range:
Default: - infinite or until the record expires.
getRetryAttempts in interface EventSourceMappingOptionspublic final List<SourceAccessConfiguration> getSourceAccessConfigurations()
EventSourceMappingOptionsDefault: - none
public final StartingPosition getStartingPosition()
EventSourceMappingOptionsDefault: - no starting position
public final Number getStartingPositionTimestamp()
EventSourceMappingOptionsDefault: - no timestamp
getStartingPositionTimestamp in interface EventSourceMappingOptionspublic final Duration getTumblingWindow()
EventSourceMappingOptionsDefault: - None
getTumblingWindow in interface EventSourceMappingOptions@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.