Class ManagedKafkaEventSourceProps.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.lambda.eventsources.ManagedKafkaEventSourceProps.Jsii$Proxy
- All Implemented Interfaces:
BaseStreamEventSourceProps,KafkaEventSourceProps,ManagedKafkaEventSourceProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- ManagedKafkaEventSourceProps
@Stability(Stable)
@Internal
public static final class ManagedKafkaEventSourceProps.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements ManagedKafkaEventSourceProps
An implementation for
ManagedKafkaEventSourceProps-
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.ManagedKafkaEventSourceProps
ManagedKafkaEventSourceProps.Builder, ManagedKafkaEventSourceProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theManagedKafkaEventSourceProps.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 StringAn MSK cluster construct.final BooleanIf the stream event source mapping should be enabled.final DurationThe maximum amount of time to gather records before invoking the function.final ISecretThe secret with the Kafka credentials, see https://docs.aws.amazon.com/msk/latest/developerguide/msk-password.html for details This field is required if your Kafka brokers are accessed over the Internet.final StartingPositionWhere to begin consuming the stream.final StringgetTopic()The Kafka topic to subscribe to.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 theManagedKafkaEventSourceProps.Builder.
-
-
Method Details
-
getClusterArn
Description copied from interface:ManagedKafkaEventSourcePropsAn MSK cluster construct.- Specified by:
getClusterArnin interfaceManagedKafkaEventSourceProps
-
getTopic
Description copied from interface:KafkaEventSourcePropsThe Kafka topic to subscribe to.- Specified by:
getTopicin interfaceKafkaEventSourceProps
-
getSecret
Description copied from interface:KafkaEventSourcePropsThe secret with the Kafka credentials, see https://docs.aws.amazon.com/msk/latest/developerguide/msk-password.html for details This field is required if your Kafka brokers are accessed over the Internet.Default: none
- Specified by:
getSecretin interfaceKafkaEventSourceProps
-
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 forKinesisEventSource,ManagedKafkaEventSourceandSelfManagedKafkaEventSourceDefault: 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)
- Specified by:
getMaxBatchingWindowin 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()
-