Class StreamEventSourceProps.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.lambda.eventsources.StreamEventSourceProps.Jsii$Proxy
- All Implemented Interfaces:
BaseStreamEventSourceProps,StreamEventSourceProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- StreamEventSourceProps
@Stability(Stable)
@Internal
public static final class StreamEventSourceProps.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements StreamEventSourceProps
An implementation for
StreamEventSourceProps-
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.eventsources.StreamEventSourceProps
StreamEventSourceProps.Builder, StreamEventSourceProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(StreamEventSourceProps.Builder builder) Constructor that initializes the object based on literal property values passed by theStreamEventSourceProps.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 BooleanIf the stream event source mapping should be enabled.final DurationThe maximum amount of time to gather records before invoking the function.final DurationThe maximum age of a record that Lambda sends to a function for processing.final IEventSourceDlqAn Amazon SQS queue or Amazon SNS topic destination for discarded records.final NumberThe number of batches to process from each shard concurrently.final BooleanAllow functions to return partially successful responses for a batch of records.final NumberMaximum number of retry attempts Valid Range: * Minimum value of 0 * Maximum value of 10000.final StartingPositionWhere to begin consuming the stream.final DurationThe size of the tumbling windows to group records sent to DynamoDB or Kinesis Valid Range: 0 - 15 minutes.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 theStreamEventSourceProps.Builder.
-
-
Method Details
-
getBisectBatchOnError
Description copied from interface:StreamEventSourcePropsIf the function returns an error, split the batch in two and retry.Default: false
- Specified by:
getBisectBatchOnErrorin interfaceStreamEventSourceProps
-
getMaxRecordAge
Description copied from interface:StreamEventSourcePropsThe 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: - the retention period configured on the stream
- Specified by:
getMaxRecordAgein interfaceStreamEventSourceProps
-
getOnFailure
Description copied from interface:StreamEventSourcePropsAn Amazon SQS queue or Amazon SNS topic destination for discarded records.Default: - discarded records are ignored
- Specified by:
getOnFailurein interfaceStreamEventSourceProps
-
getParallelizationFactor
Description copied from interface:StreamEventSourcePropsThe number of batches to process from each shard concurrently.Valid Range:
- Minimum value of 1
- Maximum value of 10
Default: 1
- Specified by:
getParallelizationFactorin interfaceStreamEventSourceProps
-
getReportBatchItemFailures
Description copied from interface:StreamEventSourcePropsAllow functions to return partially successful responses for a batch of records.Default: false
-
getRetryAttempts
Description copied from interface:StreamEventSourcePropsMaximum number of retry attempts Valid Range: * Minimum value of 0 * Maximum value of 10000.Default: - retry until the record expires
- Specified by:
getRetryAttemptsin interfaceStreamEventSourceProps
-
getTumblingWindow
Description copied from interface:StreamEventSourcePropsThe size of the tumbling windows to group records sent to DynamoDB or Kinesis Valid Range: 0 - 15 minutes.Default: - None
- Specified by:
getTumblingWindowin interfaceStreamEventSourceProps
-
getStartingPosition
Description copied from interface:BaseStreamEventSourcePropsWhere to begin consuming the stream.- Specified by:
getStartingPositionin interfaceBaseStreamEventSourceProps
-
getBatchSize
Description copied from interface:BaseStreamEventSourcePropsThe 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 forKinesisEventSource,ManagedKafkaEventSourceandSelfManagedKafkaEventSourceDefault: 100
- Specified by:
getBatchSizein interfaceBaseStreamEventSourceProps
-
getEnabled
Description copied from interface:BaseStreamEventSourcePropsIf the stream event source mapping should be enabled.Default: true
- Specified by:
getEnabledin interfaceBaseStreamEventSourceProps
-
getMaxBatchingWindow
Description copied from interface:BaseStreamEventSourcePropsThe maximum amount of time to gather records before invoking the function.Maximum of Duration.minutes(5)
Default: Duration.seconds(0)
- Specified by:
getMaxBatchingWindowin interfaceBaseStreamEventSourceProps
-
$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()
-