Class KafkaEventSourceProps.Jsii$Proxy
- All Implemented Interfaces:
BaseStreamEventSourceProps,KafkaEventSourceProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
KafkaEventSourceProps
KafkaEventSourceProps-
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.KafkaEventSourceProps
KafkaEventSourceProps.Builder, KafkaEventSourceProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(KafkaEventSourceProps.Builder builder) Constructor that initializes the object based on literal property values passed by theKafkaEventSourceProps.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 StringThe identifier for the Kafka consumer group to join.final BooleanIf the stream event source mapping should be enabled.final IKeyAdd Customer managed KMS key to encrypt Filter Criteria.Add filter criteria to Event Source.final DurationThe maximum amount of time to gather records before invoking the function.final IEventSourceDlqAdd an on Failure Destination for this Kafka event.final ProvisionedPollerConfigConfiguration for provisioned pollers that read from the event source.final ISchemaRegistrySpecific configuration settings for a Kafka schema registry.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 NumberThe time from which to start reading, in Unix time seconds.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 theKafkaEventSourceProps.Builder.
-
-
Method Details
-
getTopic
Description copied from interface:KafkaEventSourcePropsThe Kafka topic to subscribe to.- Specified by:
getTopicin interfaceKafkaEventSourceProps
-
getConsumerGroupId
Description copied from interface:KafkaEventSourcePropsThe identifier for the Kafka consumer group to join.The consumer group ID must be unique among all your Kafka event sources. After creating a Kafka event source mapping with the consumer group ID specified, you cannot update this value. The value must have a length between 1 and 200 and full the pattern '[a-zA-Z0-9-/:_+=.@-]'.
Default: - none
- Specified by:
getConsumerGroupIdin interfaceKafkaEventSourceProps- See Also:
-
getFilterEncryption
Description copied from interface:KafkaEventSourcePropsAdd Customer managed KMS key to encrypt Filter Criteria.Default: - none
- Specified by:
getFilterEncryptionin interfaceKafkaEventSourceProps- See Also:
-
getFilters
Description copied from interface:KafkaEventSourcePropsAdd filter criteria to Event Source.Default: - none
- Specified by:
getFiltersin interfaceKafkaEventSourceProps- See Also:
-
getOnFailure
Description copied from interface:KafkaEventSourcePropsAdd an on Failure Destination for this Kafka event.SNS/SQS/S3 are supported
Default: - discarded records are ignored
- Specified by:
getOnFailurein interfaceKafkaEventSourceProps
-
getSchemaRegistryConfig
Description copied from interface:KafkaEventSourcePropsSpecific configuration settings for a Kafka schema registry.Default: - none
- Specified by:
getSchemaRegistryConfigin 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
-
getStartingPositionTimestamp
Description copied from interface:KafkaEventSourcePropsThe time from which to start reading, in Unix time seconds.Default: - no timestamp
- Specified by:
getStartingPositionTimestampin 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 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()
-