Class BaseStreamEventSourceProps.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.lambda.eventsources.BaseStreamEventSourceProps.Jsii$Proxy
- All Implemented Interfaces:
BaseStreamEventSourceProps
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
BaseStreamEventSourceProps
@Stability(Stable)
@Internal
public static final class BaseStreamEventSourceProps.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements BaseStreamEventSourceProps
An implementation for
BaseStreamEventSourceProps
-
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.BaseStreamEventSourceProps
BaseStreamEventSourceProps.Builder, BaseStreamEventSourceProps.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theBaseStreamEventSourceProps.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 stream event source mapping should be enabled.final Duration
The maximum amount of time to gather records before invoking the function.final ProvisionedPollerConfig
Configuration for provisioned pollers that read from the event source.final StartingPosition
Where to begin consuming the stream.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 theBaseStreamEventSourceProps.Builder
.
-
-
Method Details
-
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:
-
getProvisionedPollerConfig
Description copied from interface:BaseStreamEventSourceProps
Configuration 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:
getProvisionedPollerConfig
in interfaceBaseStreamEventSourceProps
-
$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()
-