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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.lambda.EventSourceMappingOptions
EventSourceMappingOptions.Builder, EventSourceMappingOptions.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theEventSourceMappingOptions.Builder.protectedJsii$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.JsonNodefinal booleanfinal NumberThe largest number of records that AWS Lambda will retrieve from your event source at the time of invoking your function.final BooleanIf the function returns an error, split the batch in two and retry.final BooleanSet to false to disable the event source upon creation.final StringThe Amazon Resource Name (ARN) of the event source.final IKeyAdd Customer managed KMS key to encrypt Filter Criteria.Add filter criteria to 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 StringThe identifier for the Kafka consumer group to join.final StringThe name of the Kafka topic.final DurationThe maximum amount of time to gather records before invoking the function.final NumberThe maximum concurrency setting limits the number of concurrent instances of the function that an Amazon SQS event source can invoke.final DurationThe maximum age of a record that Lambda sends to a function for processing.final MetricsConfigConfiguration for enhanced monitoring metrics collection When specified, enables collection of additional metrics for the stream event source.final IEventSourceDlqAn Amazon S3, Amazon SQS queue or Amazon SNS topic destination for discarded records.final NumberThe number of batches to process from each shard concurrently.final ProvisionedPollerConfigConfiguration for provisioned pollers that read from the event source.final BooleanAllow functions to return partially successful responses for a batch of records.final NumberThe maximum number of times to retry when the function returns an error.final ISchemaRegistrySpecific configuration settings for a Kafka schema registry.final List<SourceAccessConfiguration> Specific settings like the authentication protocol or the VPC components to secure access to your event source.final StartingPositionThe position in the DynamoDB, Kinesis or MSK stream where AWS Lambda should start reading.final NumberThe time from which to start reading, in Unix time seconds.final BooleanCheck if support S3 onfailure destination(OFD).final DurationThe size of the tumbling windows to group records sent to DynamoDB or Kinesis.final inthashCode()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:EventSourceMappingOptionsThe 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:
getBatchSizein interfaceEventSourceMappingOptions
-
getBisectBatchOnError
Description copied from interface:EventSourceMappingOptionsIf the function returns an error, split the batch in two and retry.Default: false
- Specified by:
getBisectBatchOnErrorin interfaceEventSourceMappingOptions
-
getEnabled
Description copied from interface:EventSourceMappingOptionsSet to false to disable the event source upon creation.Default: true
- Specified by:
getEnabledin interfaceEventSourceMappingOptions
-
getEventSourceArn
Description copied from interface:EventSourceMappingOptionsThe 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:
getEventSourceArnin interfaceEventSourceMappingOptions
-
getFilterEncryption
Description copied from interface:EventSourceMappingOptionsAdd Customer managed KMS key to encrypt Filter Criteria.Default: - none
- Specified by:
getFilterEncryptionin interfaceEventSourceMappingOptions- See Also:
-
getFilters
Description copied from interface:EventSourceMappingOptionsAdd filter criteria to Event Source.Default: - none
- Specified by:
getFiltersin interfaceEventSourceMappingOptions- See Also:
-
getKafkaBootstrapServers
Description copied from interface:EventSourceMappingOptionsA 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:
getKafkaBootstrapServersin interfaceEventSourceMappingOptions
-
getKafkaConsumerGroupId
Description copied from interface:EventSourceMappingOptionsThe identifier for the Kafka consumer group to join.The 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 length between 1 and 200 and full the pattern '[a-zA-Z0-9-/:_+=.@-]'. For more information, see Customizable consumer group ID.
Default: - none
- Specified by:
getKafkaConsumerGroupIdin interfaceEventSourceMappingOptions- See Also:
-
getKafkaTopic
Description copied from interface:EventSourceMappingOptionsThe name of the Kafka topic.Default: - no topic
- Specified by:
getKafkaTopicin interfaceEventSourceMappingOptions
-
getMaxBatchingWindow
Description copied from interface:EventSourceMappingOptionsThe maximum amount of time to gather records before invoking the function.Maximum of Duration.minutes(5)
Default: Duration.seconds(0)
- Specified by:
getMaxBatchingWindowin interfaceEventSourceMappingOptions
-
getMaxConcurrency
Description copied from interface:EventSourceMappingOptionsThe maximum concurrency setting limits the number of concurrent instances of the function that an Amazon SQS event source can invoke.Default: - No specific limit.
- Specified by:
getMaxConcurrencyin interfaceEventSourceMappingOptions- See Also:
-
getMaxRecordAge
Description copied from interface:EventSourceMappingOptionsThe 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:
getMaxRecordAgein interfaceEventSourceMappingOptions
-
getMetricsConfig
Description copied from interface:EventSourceMappingOptionsConfiguration for enhanced monitoring metrics collection When specified, enables collection of additional metrics for the stream event source.Default: - Enhanced monitoring is disabled
- Specified by:
getMetricsConfigin interfaceEventSourceMappingOptions
-
getOnFailure
Description copied from interface:EventSourceMappingOptionsAn Amazon S3, Amazon SQS queue or Amazon SNS topic destination for discarded records.Default: discarded records are ignored
- Specified by:
getOnFailurein interfaceEventSourceMappingOptions
-
getParallelizationFactor
Description copied from interface:EventSourceMappingOptionsThe number of batches to process from each shard concurrently.Valid Range:
- Minimum value of 1
- Maximum value of 10
Default: 1
- Specified by:
getParallelizationFactorin interfaceEventSourceMappingOptions
-
getProvisionedPollerConfig
Description copied from interface:EventSourceMappingOptionsConfiguration for provisioned pollers that read from the event source.When specified, allows control over the minimum and maximum number of pollers that can be provisioned to process events from the source.
Default: - no provisioned pollers
- Specified by:
getProvisionedPollerConfigin interfaceEventSourceMappingOptions
-
getReportBatchItemFailures
Description copied from interface:EventSourceMappingOptionsAllow functions to return partially successful responses for a batch of records.Default: false
- Specified by:
getReportBatchItemFailuresin interfaceEventSourceMappingOptions- See Also:
-
getRetryAttempts
Description copied from interface:EventSourceMappingOptionsThe maximum number of times to retry when the function returns an error.Set to
undefinedif 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:
getRetryAttemptsin interfaceEventSourceMappingOptions
-
getSchemaRegistryConfig
Description copied from interface:EventSourceMappingOptionsSpecific configuration settings for a Kafka schema registry.Default: - none
- Specified by:
getSchemaRegistryConfigin interfaceEventSourceMappingOptions
-
getSourceAccessConfigurations
Description copied from interface:EventSourceMappingOptionsSpecific settings like the authentication protocol or the VPC components to secure access to your event source.Default: - none
- Specified by:
getSourceAccessConfigurationsin interfaceEventSourceMappingOptions- See Also:
-
getStartingPosition
Description copied from interface:EventSourceMappingOptionsThe position in the DynamoDB, Kinesis or MSK stream where AWS Lambda should start reading.Default: - no starting position
- Specified by:
getStartingPositionin interfaceEventSourceMappingOptions- See Also:
-
getStartingPositionTimestamp
Description copied from interface:EventSourceMappingOptionsThe time from which to start reading, in Unix time seconds.Default: - no timestamp
- Specified by:
getStartingPositionTimestampin interfaceEventSourceMappingOptions
-
getSupportS3OnFailureDestination
Description copied from interface:EventSourceMappingOptionsCheck if support S3 onfailure destination(OFD).Kinesis, DynamoDB, MSK and self managed kafka event support S3 OFD
Default: false
- Specified by:
getSupportS3OnFailureDestinationin interfaceEventSourceMappingOptions
-
getTumblingWindow
Description copied from interface:EventSourceMappingOptionsThe size of the tumbling windows to group records sent to DynamoDB or Kinesis.Default: - None
- Specified by:
getTumblingWindowin interfaceEventSourceMappingOptions- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-