public static final class CfnEventSourceMappingProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnEventSourceMappingProps
CfnEventSourceMappingProps
CfnEventSourceMappingProps.Builder, CfnEventSourceMappingProps.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
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(java.lang.Object o) |
java.lang.Object |
getAmazonManagedKafkaEventSourceConfig()
Specific configuration settings for an Amazon Managed Streaming for Apache Kafka (Amazon MSK) event source.
|
java.lang.Number |
getBatchSize()
The maximum number of records in each batch that Lambda pulls from your stream or queue and sends to your function.
|
java.lang.Object |
getBisectBatchOnFunctionError()
(Kinesis and DynamoDB Streams only) If the function returns an error, split the batch in two and retry.
|
java.lang.Object |
getDestinationConfig()
(Kinesis and DynamoDB Streams only) An Amazon SQS queue or Amazon SNS topic destination for discarded records.
|
java.lang.Object |
getDocumentDbEventSourceConfig()
Specific configuration settings for a DocumentDB event source.
|
java.lang.Object |
getEnabled()
When true, the event source mapping is active.
|
java.lang.String |
getEventSourceArn()
The Amazon Resource Name (ARN) of the event source.
|
java.lang.Object |
getFilterCriteria()
An object that defines the filter criteria that determine whether Lambda should process an event.
|
java.lang.String |
getFunctionName()
The name of the Lambda function.
|
java.util.List<java.lang.String> |
getFunctionResponseTypes()
(Streams and SQS) A list of current response type enums applied to the event source mapping.
|
java.lang.Number |
getMaximumBatchingWindowInSeconds()
The maximum amount of time, in seconds, that Lambda spends gathering records before invoking the function.
|
java.lang.Number |
getMaximumRecordAgeInSeconds()
(Kinesis and DynamoDB Streams only) Discard records older than the specified age.
|
java.lang.Number |
getMaximumRetryAttempts()
(Kinesis and DynamoDB Streams only) Discard records after the specified number of retries.
|
java.lang.Number |
getParallelizationFactor()
(Kinesis and DynamoDB Streams only) The number of batches to process concurrently from each shard.
|
java.util.List<java.lang.String> |
getQueues()
(Amazon MQ) The name of the Amazon MQ broker destination queue to consume.
|
java.lang.Object |
getScalingConfig()
( Amazon Simple Queue Service only) The scaling configuration for the event source.
|
java.lang.Object |
getSelfManagedEventSource()
The self-managed Apache Kafka cluster for your event source.
|
java.lang.Object |
getSelfManagedKafkaEventSourceConfig()
Specific configuration settings for a self-managed Apache Kafka event source.
|
java.lang.Object |
getSourceAccessConfigurations()
An array of the authentication protocol, VPC components, or virtual host to secure and define your event source.
|
java.lang.String |
getStartingPosition()
The position in a stream from which to start reading.
|
java.lang.Number |
getStartingPositionTimestamp()
With `StartingPosition` set to `AT_TIMESTAMP` , the time from which to start reading, in Unix time seconds.
|
java.util.List<java.lang.String> |
getTopics()
The name of the Kafka topic.
|
java.lang.Number |
getTumblingWindowInSeconds()
(Kinesis and DynamoDB Streams only) The duration in seconds of a processing window for DynamoDB and Kinesis Streams event sources.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.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 CfnEventSourceMappingProps
public final java.lang.Object getAmazonManagedKafkaEventSourceConfig()
CfnEventSourceMappingProps
getAmazonManagedKafkaEventSourceConfig
in interface CfnEventSourceMappingProps
public final java.lang.Number getBatchSize()
CfnEventSourceMappingProps
Lambda 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 CfnEventSourceMappingProps
public final java.lang.Object getBisectBatchOnFunctionError()
CfnEventSourceMappingProps
The default value is false.
getBisectBatchOnFunctionError
in interface CfnEventSourceMappingProps
public final java.lang.Object getDestinationConfig()
CfnEventSourceMappingProps
getDestinationConfig
in interface CfnEventSourceMappingProps
public final java.lang.Object getDocumentDbEventSourceConfig()
CfnEventSourceMappingProps
getDocumentDbEventSourceConfig
in interface CfnEventSourceMappingProps
public final java.lang.Object getEnabled()
CfnEventSourceMappingProps
Default: True
getEnabled
in interface CfnEventSourceMappingProps
public final java.lang.String getEventSourceArn()
CfnEventSourceMappingProps
getEventSourceArn
in interface CfnEventSourceMappingProps
public final java.lang.Object getFilterCriteria()
CfnEventSourceMappingProps
For more information, see Lambda event filtering .
getFilterCriteria
in interface CfnEventSourceMappingProps
public final java.util.List<java.lang.String> getFunctionResponseTypes()
CfnEventSourceMappingProps
Valid Values: ReportBatchItemFailures
getFunctionResponseTypes
in interface CfnEventSourceMappingProps
public final java.lang.Number getMaximumBatchingWindowInSeconds()
CfnEventSourceMappingProps
Default ( 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 CfnEventSourceMappingProps
public final java.lang.Number getMaximumRecordAgeInSeconds()
CfnEventSourceMappingProps
The 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 CfnEventSourceMappingProps
public final java.lang.Number getMaximumRetryAttempts()
CfnEventSourceMappingProps
The 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 CfnEventSourceMappingProps
public final java.lang.Number getParallelizationFactor()
CfnEventSourceMappingProps
The default value is 1.
getParallelizationFactor
in interface CfnEventSourceMappingProps
public final java.util.List<java.lang.String> getQueues()
CfnEventSourceMappingProps
getQueues
in interface CfnEventSourceMappingProps
public final java.lang.Object getScalingConfig()
CfnEventSourceMappingProps
For more information, see Configuring maximum concurrency for Amazon SQS event sources .
getScalingConfig
in interface CfnEventSourceMappingProps
public final java.lang.Object getSelfManagedEventSource()
CfnEventSourceMappingProps
getSelfManagedEventSource
in interface CfnEventSourceMappingProps
public final java.lang.Object getSelfManagedKafkaEventSourceConfig()
CfnEventSourceMappingProps
getSelfManagedKafkaEventSourceConfig
in interface CfnEventSourceMappingProps
public final java.lang.Object getSourceAccessConfigurations()
CfnEventSourceMappingProps
getSourceAccessConfigurations
in interface CfnEventSourceMappingProps
public final java.lang.String getStartingPosition()
CfnEventSourceMappingProps
getStartingPosition
in interface CfnEventSourceMappingProps
public final java.lang.Number getStartingPositionTimestamp()
CfnEventSourceMappingProps
getStartingPositionTimestamp
in interface CfnEventSourceMappingProps
public final java.util.List<java.lang.String> getTopics()
CfnEventSourceMappingProps
getTopics
in interface CfnEventSourceMappingProps
public final java.lang.Number getTumblingWindowInSeconds()
CfnEventSourceMappingProps
A value of 0 seconds indicates no tumbling window.
getTumblingWindowInSeconds
in interface CfnEventSourceMappingProps
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()