Class DynamoEventSourceProps.Jsii$Proxy
- All Implemented Interfaces:
BaseStreamEventSourceProps,DynamoEventSourceProps,StreamEventSourceProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
DynamoEventSourceProps
DynamoEventSourceProps-
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.DynamoEventSourceProps
DynamoEventSourceProps.Builder, DynamoEventSourceProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(DynamoEventSourceProps.Builder builder) Constructor that initializes the object based on literal property values passed by theDynamoEventSourceProps.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 IKeyAdd Customer managed KMS key to encrypt Filter Criteria.Add filter criteria option.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 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 NumberMaximum number of retry attempts.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 theDynamoEventSourceProps.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
-
getFilterEncryption
Description copied from interface:StreamEventSourcePropsAdd Customer managed KMS key to encrypt Filter Criteria.Default: - none
- Specified by:
getFilterEncryptionin interfaceStreamEventSourceProps- See Also:
-
getFilters
Description copied from interface:StreamEventSourcePropsAdd filter criteria option.Default: - None
- Specified by:
getFiltersin 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
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:
getMaxRecordAgein interfaceStreamEventSourceProps
-
getMetricsConfig
Description copied from interface:StreamEventSourcePropsConfiguration 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 interfaceStreamEventSourceProps
-
getOnFailure
Description copied from interface:StreamEventSourcePropsAn Amazon S3, 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
- Specified by:
getReportBatchItemFailuresin interfaceStreamEventSourceProps- See Also:
-
getRetryAttempts
Description copied from interface:StreamEventSourcePropsMaximum number of retry attempts.Set to -1 for infinite retries (until the record expires in the event source).
Valid Range: -1 (infinite) or 0 to 10000
Default: -1 (infinite retries)
- 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 for
KinesisEventSource,ManagedKafkaEventSourceandSelfManagedKafkaEventSource
- 1000 for
Default: 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) for Kinesis, DynamoDB, and SQS event sources, Duration.millis(500) for MSK, self-managed Kafka, and Amazon MQ.
- Specified by:
getMaxBatchingWindowin interfaceBaseStreamEventSourceProps- See Also:
-
getProvisionedPollerConfig
Description copied from interface:BaseStreamEventSourcePropsConfiguration 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 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()
-