Package | Description |
---|---|
software.amazon.awssdk.services.lambda |
|
software.amazon.awssdk.services.lambda.model |
Modifier and Type | Method and Description |
---|---|
default CreateEventSourceMappingResponse |
LambdaClient.createEventSourceMapping(Consumer<CreateEventSourceMappingRequest.Builder> createEventSourceMappingRequest)
Creates a mapping between an event source and an Lambda function.
|
default CompletableFuture<CreateEventSourceMappingResponse> |
LambdaAsyncClient.createEventSourceMapping(Consumer<CreateEventSourceMappingRequest.Builder> createEventSourceMappingRequest)
Creates a mapping between an event source and an Lambda function.
|
Modifier and Type | Method and Description |
---|---|
CreateEventSourceMappingRequest.Builder |
CreateEventSourceMappingRequest.Builder.amazonManagedKafkaEventSourceConfig(AmazonManagedKafkaEventSourceConfig amazonManagedKafkaEventSourceConfig)
Specific configuration settings for an Amazon Managed Streaming for Apache Kafka (Amazon MSK) event source.
|
default CreateEventSourceMappingRequest.Builder |
CreateEventSourceMappingRequest.Builder.amazonManagedKafkaEventSourceConfig(Consumer<AmazonManagedKafkaEventSourceConfig.Builder> amazonManagedKafkaEventSourceConfig)
Specific configuration settings for an Amazon Managed Streaming for Apache Kafka (Amazon MSK) event source.
|
CreateEventSourceMappingRequest.Builder |
CreateEventSourceMappingRequest.Builder.batchSize(Integer batchSize)
The maximum number of records in each batch that Lambda pulls from your stream or queue and sends to your
function.
|
CreateEventSourceMappingRequest.Builder |
CreateEventSourceMappingRequest.Builder.bisectBatchOnFunctionError(Boolean bisectBatchOnFunctionError)
(Streams only) If the function returns an error, split the batch in two and retry.
|
static CreateEventSourceMappingRequest.Builder |
CreateEventSourceMappingRequest.builder() |
default CreateEventSourceMappingRequest.Builder |
CreateEventSourceMappingRequest.Builder.destinationConfig(Consumer<DestinationConfig.Builder> destinationConfig)
(Streams only) An Amazon SQS queue or Amazon SNS topic destination for discarded records.
|
CreateEventSourceMappingRequest.Builder |
CreateEventSourceMappingRequest.Builder.destinationConfig(DestinationConfig destinationConfig)
(Streams only) An Amazon SQS queue or Amazon SNS topic destination for discarded records.
|
CreateEventSourceMappingRequest.Builder |
CreateEventSourceMappingRequest.Builder.enabled(Boolean enabled)
When true, the event source mapping is active.
|
CreateEventSourceMappingRequest.Builder |
CreateEventSourceMappingRequest.Builder.eventSourceArn(String eventSourceArn)
The Amazon Resource Name (ARN) of the event source.
|
default CreateEventSourceMappingRequest.Builder |
CreateEventSourceMappingRequest.Builder.filterCriteria(Consumer<FilterCriteria.Builder> filterCriteria)
(Streams and Amazon SQS) An object that defines the filter criteria that determine whether Lambda should
process an event.
|
CreateEventSourceMappingRequest.Builder |
CreateEventSourceMappingRequest.Builder.filterCriteria(FilterCriteria filterCriteria)
(Streams and Amazon SQS) An object that defines the filter criteria that determine whether Lambda should
process an event.
|
CreateEventSourceMappingRequest.Builder |
CreateEventSourceMappingRequest.Builder.functionName(String functionName)
The name of the Lambda function.
|
CreateEventSourceMappingRequest.Builder |
CreateEventSourceMappingRequest.Builder.functionResponseTypes(Collection<FunctionResponseType> functionResponseTypes)
(Streams and Amazon SQS) A list of current response type enums applied to the event source mapping.
|
CreateEventSourceMappingRequest.Builder |
CreateEventSourceMappingRequest.Builder.functionResponseTypes(FunctionResponseType... functionResponseTypes)
(Streams and Amazon SQS) A list of current response type enums applied to the event source mapping.
|
CreateEventSourceMappingRequest.Builder |
CreateEventSourceMappingRequest.Builder.functionResponseTypesWithStrings(Collection<String> functionResponseTypes)
(Streams and Amazon SQS) A list of current response type enums applied to the event source mapping.
|
CreateEventSourceMappingRequest.Builder |
CreateEventSourceMappingRequest.Builder.functionResponseTypesWithStrings(String... functionResponseTypes)
(Streams and Amazon SQS) A list of current response type enums applied to the event source mapping.
|
CreateEventSourceMappingRequest.Builder |
CreateEventSourceMappingRequest.Builder.maximumBatchingWindowInSeconds(Integer maximumBatchingWindowInSeconds)
(Streams and Amazon SQS standard queues) The maximum amount of time, in seconds, that Lambda spends gathering
records before invoking the function.
|
CreateEventSourceMappingRequest.Builder |
CreateEventSourceMappingRequest.Builder.maximumRecordAgeInSeconds(Integer maximumRecordAgeInSeconds)
(Streams only) Discard records older than the specified age.
|
CreateEventSourceMappingRequest.Builder |
CreateEventSourceMappingRequest.Builder.maximumRetryAttempts(Integer maximumRetryAttempts)
(Streams only) Discard records after the specified number of retries.
|
CreateEventSourceMappingRequest.Builder |
CreateEventSourceMappingRequest.Builder.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateEventSourceMappingRequest.Builder |
CreateEventSourceMappingRequest.Builder.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateEventSourceMappingRequest.Builder |
CreateEventSourceMappingRequest.Builder.parallelizationFactor(Integer parallelizationFactor)
(Streams only) The number of batches to process from each shard concurrently.
|
CreateEventSourceMappingRequest.Builder |
CreateEventSourceMappingRequest.Builder.queues(Collection<String> queues)
(MQ) The name of the Amazon MQ broker destination queue to consume.
|
CreateEventSourceMappingRequest.Builder |
CreateEventSourceMappingRequest.Builder.queues(String... queues)
(MQ) The name of the Amazon MQ broker destination queue to consume.
|
default CreateEventSourceMappingRequest.Builder |
CreateEventSourceMappingRequest.Builder.selfManagedEventSource(Consumer<SelfManagedEventSource.Builder> selfManagedEventSource)
The self-managed Apache Kafka cluster to receive records from.
|
CreateEventSourceMappingRequest.Builder |
CreateEventSourceMappingRequest.Builder.selfManagedEventSource(SelfManagedEventSource selfManagedEventSource)
The self-managed Apache Kafka cluster to receive records from.
|
default CreateEventSourceMappingRequest.Builder |
CreateEventSourceMappingRequest.Builder.selfManagedKafkaEventSourceConfig(Consumer<SelfManagedKafkaEventSourceConfig.Builder> selfManagedKafkaEventSourceConfig)
Specific configuration settings for a self-managed Apache Kafka event source.
|
CreateEventSourceMappingRequest.Builder |
CreateEventSourceMappingRequest.Builder.selfManagedKafkaEventSourceConfig(SelfManagedKafkaEventSourceConfig selfManagedKafkaEventSourceConfig)
Specific configuration settings for a self-managed Apache Kafka event source.
|
CreateEventSourceMappingRequest.Builder |
CreateEventSourceMappingRequest.Builder.sourceAccessConfigurations(Collection<SourceAccessConfiguration> sourceAccessConfigurations)
An array of authentication protocols or VPC components required to secure your event source.
|
CreateEventSourceMappingRequest.Builder |
CreateEventSourceMappingRequest.Builder.sourceAccessConfigurations(Consumer<SourceAccessConfiguration.Builder>... sourceAccessConfigurations)
An array of authentication protocols or VPC components required to secure your event source.
|
CreateEventSourceMappingRequest.Builder |
CreateEventSourceMappingRequest.Builder.sourceAccessConfigurations(SourceAccessConfiguration... sourceAccessConfigurations)
An array of authentication protocols or VPC components required to secure your event source.
|
CreateEventSourceMappingRequest.Builder |
CreateEventSourceMappingRequest.Builder.startingPosition(EventSourcePosition startingPosition)
The position in a stream from which to start reading.
|
CreateEventSourceMappingRequest.Builder |
CreateEventSourceMappingRequest.Builder.startingPosition(String startingPosition)
The position in a stream from which to start reading.
|
CreateEventSourceMappingRequest.Builder |
CreateEventSourceMappingRequest.Builder.startingPositionTimestamp(Instant startingPositionTimestamp)
With
StartingPosition set to AT_TIMESTAMP , the time from which to start reading. |
CreateEventSourceMappingRequest.Builder |
CreateEventSourceMappingRequest.toBuilder() |
CreateEventSourceMappingRequest.Builder |
CreateEventSourceMappingRequest.Builder.topics(Collection<String> topics)
The name of the Kafka topic.
|
CreateEventSourceMappingRequest.Builder |
CreateEventSourceMappingRequest.Builder.topics(String... topics)
The name of the Kafka topic.
|
CreateEventSourceMappingRequest.Builder |
CreateEventSourceMappingRequest.Builder.tumblingWindowInSeconds(Integer tumblingWindowInSeconds)
(Streams only) The duration in seconds of a processing window.
|
Modifier and Type | Method and Description |
---|---|
static Class<? extends CreateEventSourceMappingRequest.Builder> |
CreateEventSourceMappingRequest.serializableBuilderClass() |
Copyright © 2022. All rights reserved.