@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()
`AWS::Lambda::EventSourceMapping.AmazonManagedKafkaEventSourceConfig`.
|
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()
(Streams only) If the function returns an error, split the batch in two and retry.
|
Object |
getDestinationConfig()
(Streams only) An Amazon SQS queue or Amazon SNS topic destination for discarded records.
|
Object |
getEnabled()
When true, the event source mapping is active.
|
String |
getEventSourceArn()
The Amazon Resource Name (ARN) of the event source.
|
Object |
getFilterCriteria()
(Streams and Amazon SQS) 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()
(Streams only) Discard records older than the specified age.
|
Number |
getMaximumRetryAttempts()
(Streams only) Discard records after the specified number of retries.
|
Number |
getParallelizationFactor()
(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 |
getSelfManagedEventSource()
The self-managed Apache Kafka cluster for your event source.
|
Object |
getSelfManagedKafkaEventSourceConfig()
`AWS::Lambda::EventSourceMapping.SelfManagedKafkaEventSourceConfig`.
|
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()
(Streams only) The duration in seconds of a processing window.
|
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 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 event sources) : 500 ms
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.
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 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()
CfnEventSourceMappingPropsThe range is between 1 second up to 900 seconds.
getTumblingWindowInSeconds in interface CfnEventSourceMappingProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.