@Stability(value=Stable) @Internal public static final class CfnEventSourceMappingProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnEventSourceMappingProps
CfnEventSourceMappingPropssoftware.amazon.jsii.JsiiObject.InitializationModeCfnEventSourceMappingProps.Builder, CfnEventSourceMappingProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnEventSourceMappingProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnEventSourceMappingProps.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Object |
getAmazonManagedKafkaEventSourceConfig()
Specific configuration settings for an Amazon Managed Streaming for Apache Kafka (Amazon MSK) event source.
|
Number |
getBatchSize()
The maximum number of records in each batch that Lambda pulls from your stream or queue and sends to your function.
|
Object |
getBisectBatchOnFunctionError()
(Kinesis and DynamoDB Streams only) If the function returns an error, split the batch in two and retry.
|
Object |
getDestinationConfig()
(Kinesis and DynamoDB Streams only) An Amazon SQS queue or Amazon SNS topic destination for discarded records.
|
Object |
getDocumentDbEventSourceConfig()
Specific configuration settings for a DocumentDB event source.
|
Object |
getEnabled()
When true, the event source mapping is active.
|
String |
getEventSourceArn()
The Amazon Resource Name (ARN) of the event source.
|
Object |
getFilterCriteria()
An object that defines the filter criteria that determine whether Lambda should process an event.
|
String |
getFunctionName()
The name of the Lambda function.
|
List<String> |
getFunctionResponseTypes()
(Streams and SQS) A list of current response type enums applied to the event source mapping.
|
Number |
getMaximumBatchingWindowInSeconds()
The maximum amount of time, in seconds, that Lambda spends gathering records before invoking the function.
|
Number |
getMaximumRecordAgeInSeconds()
(Kinesis and DynamoDB Streams only) Discard records older than the specified age.
|
Number |
getMaximumRetryAttempts()
(Kinesis and DynamoDB Streams only) Discard records after the specified number of retries.
|
Number |
getParallelizationFactor()
(Kinesis and DynamoDB Streams only) The number of batches to process concurrently from each shard.
|
List<String> |
getQueues()
(Amazon MQ) The name of the Amazon MQ broker destination queue to consume.
|
Object |
getScalingConfig()
(Amazon SQS only) The scaling configuration for the event source.
|
Object |
getSelfManagedEventSource()
The self-managed Apache Kafka cluster for your event source.
|
Object |
getSelfManagedKafkaEventSourceConfig()
Specific configuration settings for a self-managed Apache Kafka event source.
|
Object |
getSourceAccessConfigurations()
An array of the authentication protocol, VPC components, or virtual host to secure and define your event source.
|
String |
getStartingPosition()
The position in a stream from which to start reading.
|
Number |
getStartingPositionTimestamp()
With `StartingPosition` set to `AT_TIMESTAMP` , the time from which to start reading, in Unix time seconds.
|
List<String> |
getTopics()
The name of the Kafka topic.
|
Number |
getTumblingWindowInSeconds()
(Kinesis and DynamoDB Streams only) The duration in seconds of a processing window for DynamoDB and Kinesis Streams event sources.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnEventSourceMappingProps.Builder builder)
CfnEventSourceMappingProps.Builder.public final String getFunctionName()
CfnEventSourceMappingProps
Name formats - Function name – MyFunction .
arn:aws:lambda:us-west-2:123456789012:function:MyFunction .arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD .123456789012:function:MyFunction .The length constraint applies only to the full ARN. If you specify only the function name, it's limited to 64 characters in length.
getFunctionName in interface CfnEventSourceMappingPropspublic final Object getAmazonManagedKafkaEventSourceConfig()
CfnEventSourceMappingPropsgetAmazonManagedKafkaEventSourceConfig in interface CfnEventSourceMappingPropspublic final Number getBatchSize()
CfnEventSourceMappingPropsLambda passes all of the records in the batch to the function in a single call, up to the payload limit for synchronous invocation (6 MB).
getBatchSize in interface CfnEventSourceMappingPropspublic final Object getBisectBatchOnFunctionError()
CfnEventSourceMappingPropsThe default value is false.
getBisectBatchOnFunctionError in interface CfnEventSourceMappingPropspublic final Object getDestinationConfig()
CfnEventSourceMappingPropsgetDestinationConfig in interface CfnEventSourceMappingPropspublic final Object getDocumentDbEventSourceConfig()
CfnEventSourceMappingPropsgetDocumentDbEventSourceConfig in interface CfnEventSourceMappingPropspublic final Object getEnabled()
CfnEventSourceMappingPropsDefault: True
getEnabled in interface CfnEventSourceMappingPropspublic final String getEventSourceArn()
CfnEventSourceMappingProps
getEventSourceArn in interface CfnEventSourceMappingPropspublic final Object getFilterCriteria()
CfnEventSourceMappingPropsFor more information, see Lambda event filtering .
getFilterCriteria in interface CfnEventSourceMappingPropspublic final List<String> getFunctionResponseTypes()
CfnEventSourceMappingProps
Valid Values: ReportBatchItemFailures
getFunctionResponseTypes in interface CfnEventSourceMappingPropspublic final Number getMaximumBatchingWindowInSeconds()
CfnEventSourceMappingPropsDefault ( Kinesis , DynamoDB , Amazon SQS event sources) : 0
Default ( Amazon MSK , Kafka, Amazon MQ , Amazon DocumentDB event sources) : 500 ms
Related setting: For Amazon SQS event sources, when you set BatchSize to a value greater than 10, you must set MaximumBatchingWindowInSeconds to at least 1.
getMaximumBatchingWindowInSeconds in interface CfnEventSourceMappingPropspublic final Number getMaximumRecordAgeInSeconds()
CfnEventSourceMappingPropsThe default value is -1, which sets the maximum age to infinite. When the value is set to infinite, Lambda never discards old records.
The minimum valid value for maximum record age is 60s. Although values less than 60 and greater than -1 fall within the parameter's absolute range, they are not allowed
getMaximumRecordAgeInSeconds in interface CfnEventSourceMappingPropspublic final Number getMaximumRetryAttempts()
CfnEventSourceMappingPropsThe 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.
getMaximumRetryAttempts in interface CfnEventSourceMappingPropspublic final Number getParallelizationFactor()
CfnEventSourceMappingPropsThe default value is 1.
getParallelizationFactor in interface CfnEventSourceMappingPropspublic final List<String> getQueues()
CfnEventSourceMappingPropsgetQueues in interface CfnEventSourceMappingPropspublic final Object getScalingConfig()
CfnEventSourceMappingPropsFor more information, see Configuring maximum concurrency for Amazon SQS event sources .
getScalingConfig in interface CfnEventSourceMappingPropspublic final Object getSelfManagedEventSource()
CfnEventSourceMappingPropsgetSelfManagedEventSource in interface CfnEventSourceMappingPropspublic final Object getSelfManagedKafkaEventSourceConfig()
CfnEventSourceMappingPropsgetSelfManagedKafkaEventSourceConfig in interface CfnEventSourceMappingPropspublic final Object getSourceAccessConfigurations()
CfnEventSourceMappingPropsgetSourceAccessConfigurations in interface CfnEventSourceMappingPropspublic final String getStartingPosition()
CfnEventSourceMappingProps
getStartingPosition in interface CfnEventSourceMappingPropspublic final Number getStartingPositionTimestamp()
CfnEventSourceMappingPropsgetStartingPositionTimestamp in interface CfnEventSourceMappingPropspublic final List<String> getTopics()
CfnEventSourceMappingPropsgetTopics in interface CfnEventSourceMappingPropspublic final Number getTumblingWindowInSeconds()
CfnEventSourceMappingPropsA value of 0 seconds indicates no tumbling window.
getTumblingWindowInSeconds in interface CfnEventSourceMappingProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2023. All rights reserved.