Class EventSourceMappingOptions.Jsii$Proxy
- All Implemented Interfaces:
EventSourceMappingOptions
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- EventSourceMappingOptions
EventSourceMappingOptions
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.lambda.EventSourceMappingOptions
EventSourceMappingOptions.Builder, EventSourceMappingOptions.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theEventSourceMappingOptions.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final Number
The largest number of records that AWS Lambda will retrieve from your event source at the time of invoking your function.final Boolean
If the function returns an error, split the batch in two and retry.final Boolean
Set to false to disable the event source upon creation.final String
The Amazon Resource Name (ARN) of the event source.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.final String
The name of the Kafka topic.final Duration
The maximum amount of time to gather records before invoking the function.final Duration
The maximum age of a record that Lambda sends to a function for processing.final IEventSourceDlq
An Amazon SQS queue or Amazon SNS topic destination for discarded records.final Number
The number of batches to process from each shard concurrently.final Boolean
Allow functions to return partially successful responses for a batch of records.final Number
The maximum number of times to retry when the function returns an error.final List<SourceAccessConfiguration>
Specific settings like the authentication protocol or the VPC components to secure access to your event source.final StartingPosition
The position in the DynamoDB, Kinesis or MSK stream where AWS Lambda should start reading.final Duration
The size of the tumbling windows to group records sent to DynamoDB or Kinesis.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theEventSourceMappingOptions.Builder
.
-
-
Method Details
-
getBatchSize
Description copied from interface:EventSourceMappingOptions
The largest number of records that AWS Lambda will retrieve from your event source at the time of invoking your function.Your 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.
- Specified by:
getBatchSize
in interfaceEventSourceMappingOptions
-
getBisectBatchOnError
Description copied from interface:EventSourceMappingOptions
If the function returns an error, split the batch in two and retry.Default: false
- Specified by:
getBisectBatchOnError
in interfaceEventSourceMappingOptions
-
getEnabled
Description copied from interface:EventSourceMappingOptions
Set to false to disable the event source upon creation.Default: true
- Specified by:
getEnabled
in interfaceEventSourceMappingOptions
-
getEventSourceArn
Description copied from interface:EventSourceMappingOptions
The Amazon Resource Name (ARN) of the event source.Any record added to this stream can invoke the Lambda function.
Default: - not set if using a self managed Kafka cluster, throws an error otherwise
- Specified by:
getEventSourceArn
in interfaceEventSourceMappingOptions
-
getKafkaBootstrapServers
Description copied from interface:EventSourceMappingOptions
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.They are in the format
abc.example.com:9096
.Default: - none
- Specified by:
getKafkaBootstrapServers
in interfaceEventSourceMappingOptions
-
getKafkaTopic
Description copied from interface:EventSourceMappingOptions
The name of the Kafka topic.Default: - no topic
- Specified by:
getKafkaTopic
in interfaceEventSourceMappingOptions
-
getMaxBatchingWindow
Description copied from interface:EventSourceMappingOptions
The maximum amount of time to gather records before invoking the function.Maximum of Duration.minutes(5)
Default: Duration.seconds(0)
- Specified by:
getMaxBatchingWindow
in interfaceEventSourceMappingOptions
-
getMaxRecordAge
Description copied from interface:EventSourceMappingOptions
The maximum age of a record that Lambda sends to a function for processing.Valid Range:
- Minimum value of 60 seconds
- Maximum value of 7 days
Default: - infinite or until the record expires.
- Specified by:
getMaxRecordAge
in interfaceEventSourceMappingOptions
-
getOnFailure
Description copied from interface:EventSourceMappingOptions
An Amazon SQS queue or Amazon SNS topic destination for discarded records.Default: discarded records are ignored
- Specified by:
getOnFailure
in interfaceEventSourceMappingOptions
-
getParallelizationFactor
Description copied from interface:EventSourceMappingOptions
The number of batches to process from each shard concurrently.Valid Range:
- Minimum value of 1
- Maximum value of 10
Default: 1
- Specified by:
getParallelizationFactor
in interfaceEventSourceMappingOptions
-
getReportBatchItemFailures
Description copied from interface:EventSourceMappingOptions
Allow functions to return partially successful responses for a batch of records.Default: false
- Specified by:
getReportBatchItemFailures
in interfaceEventSourceMappingOptions
- See Also:
-
getRetryAttempts
Description copied from interface:EventSourceMappingOptions
The maximum number of times to retry when the function returns an error.Set to
undefined
if you want lambda to keep retrying infinitely or until the record expires.Valid Range:
- Minimum value of 0
- Maximum value of 10000
Default: - infinite or until the record expires.
- Specified by:
getRetryAttempts
in interfaceEventSourceMappingOptions
-
getSourceAccessConfigurations
Description copied from interface:EventSourceMappingOptions
Specific settings like the authentication protocol or the VPC components to secure access to your event source.Default: - none
-
getStartingPosition
Description copied from interface:EventSourceMappingOptions
The position in the DynamoDB, Kinesis or MSK stream where AWS Lambda should start reading.Default: - Required for Amazon Kinesis, Amazon DynamoDB, and Amazon MSK Streams sources.
-
getTumblingWindow
Description copied from interface:EventSourceMappingOptions
The size of the tumbling windows to group records sent to DynamoDB or Kinesis.Default: - None
- Specified by:
getTumblingWindow
in interfaceEventSourceMappingOptions
- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-