Class KinesisEventSourceProps.Jsii$Proxy
- All Implemented Interfaces:
BaseStreamEventSourceProps
,KinesisEventSourceProps
,StreamEventSourceProps
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
KinesisEventSourceProps
KinesisEventSourceProps
-
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.eventsources.KinesisEventSourceProps
KinesisEventSourceProps.Builder, KinesisEventSourceProps.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theKinesisEventSourceProps.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
If the stream event source mapping should be enabled.final IKey
Add Customer managed KMS key to encrypt Filter Criteria.Add filter criteria option.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
Maximum number of retry attempts Valid Range: * Minimum value of 0 * Maximum value of 10000.final StartingPosition
Where to begin consuming the stream.final Number
The time from which to start reading, in Unix time seconds.final Duration
The size of the tumbling windows to group records sent to DynamoDB or Kinesis Valid Range: 0 - 15 minutes.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 theKinesisEventSourceProps.Builder
.
-
-
Method Details
-
getStartingPositionTimestamp
Description copied from interface:KinesisEventSourceProps
The time from which to start reading, in Unix time seconds.Default: - no timestamp
- Specified by:
getStartingPositionTimestamp
in interfaceKinesisEventSourceProps
-
getBisectBatchOnError
Description copied from interface:StreamEventSourceProps
If the function returns an error, split the batch in two and retry.Default: false
- Specified by:
getBisectBatchOnError
in interfaceStreamEventSourceProps
-
getFilterEncryption
Description copied from interface:StreamEventSourceProps
Add Customer managed KMS key to encrypt Filter Criteria.Default: - none
- Specified by:
getFilterEncryption
in interfaceStreamEventSourceProps
- See Also:
-
getFilters
Description copied from interface:StreamEventSourceProps
Add filter criteria option.Default: - None
- Specified by:
getFilters
in interfaceStreamEventSourceProps
-
getMaxRecordAge
Description copied from interface:StreamEventSourceProps
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
The default value is -1, which sets the maximum age to infinite. When the value is set to infinite, Lambda never discards old records. Record are valid until it expires in the event source.
Default: -1
- Specified by:
getMaxRecordAge
in interfaceStreamEventSourceProps
-
getOnFailure
Description copied from interface:StreamEventSourceProps
An Amazon SQS queue or Amazon SNS topic destination for discarded records.Default: - discarded records are ignored
- Specified by:
getOnFailure
in interfaceStreamEventSourceProps
-
getParallelizationFactor
Description copied from interface:StreamEventSourceProps
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 interfaceStreamEventSourceProps
-
getReportBatchItemFailures
Description copied from interface:StreamEventSourceProps
Allow functions to return partially successful responses for a batch of records.Default: false
- Specified by:
getReportBatchItemFailures
in interfaceStreamEventSourceProps
- See Also:
-
getRetryAttempts
Description copied from interface:StreamEventSourceProps
Maximum number of retry attempts Valid Range: * Minimum value of 0 * Maximum value of 10000.The default value is -1, which sets the maximum number of retries to infinite. When MaximumRetryAttempts is infinite, Lambda retries failed records until the record expires in the event source.
Default: -1
- Specified by:
getRetryAttempts
in interfaceStreamEventSourceProps
-
getTumblingWindow
Description copied from interface:StreamEventSourceProps
The size of the tumbling windows to group records sent to DynamoDB or Kinesis Valid Range: 0 - 15 minutes.Default: - None
- Specified by:
getTumblingWindow
in interfaceStreamEventSourceProps
-
getStartingPosition
Description copied from interface:BaseStreamEventSourceProps
Where to begin consuming the stream.- Specified by:
getStartingPosition
in interfaceBaseStreamEventSourceProps
-
getBatchSize
Description copied from interface:BaseStreamEventSourceProps
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:
- 1000 for
DynamoEventSource
- 10000 for
KinesisEventSource
,ManagedKafkaEventSource
andSelfManagedKafkaEventSource
- 1000 for
Default: 100
- Specified by:
getBatchSize
in interfaceBaseStreamEventSourceProps
-
getEnabled
Description copied from interface:BaseStreamEventSourceProps
If the stream event source mapping should be enabled.Default: true
- Specified by:
getEnabled
in interfaceBaseStreamEventSourceProps
-
getMaxBatchingWindow
Description copied from interface:BaseStreamEventSourceProps
The maximum amount of time to gather records before invoking the function.Maximum of Duration.minutes(5).
Default: - Duration.seconds(0) for Kinesis, DynamoDB, and SQS event sources, Duration.millis(500) for MSK, self-managed Kafka, and Amazon MQ.
- Specified by:
getMaxBatchingWindow
in interfaceBaseStreamEventSourceProps
- 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()
-