@Stability(value=Stable) @Internal public static final class SelfManagedKafkaEventSourceProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements SelfManagedKafkaEventSourceProps
SelfManagedKafkaEventSourcePropssoftware.amazon.jsii.JsiiObject.InitializationModeSelfManagedKafkaEventSourceProps.Builder, SelfManagedKafkaEventSourceProps.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.
|
protected |
Jsii$Proxy(SelfManagedKafkaEventSourceProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
SelfManagedKafkaEventSourceProps.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
AuthenticationMethod |
getAuthenticationMethod()
The authentication method for your Kafka cluster.
|
Number |
getBatchSize()
The largest number of records that AWS Lambda will retrieve from your event source at the time of invoking your function.
|
List<String> |
getBootstrapServers()
The list of host and port pairs that are the addresses of the Kafka brokers in a "bootstrap" Kafka cluster that a Kafka client connects to initially to bootstrap itself.
|
String |
getConsumerGroupId()
The identifier for the Kafka consumer group to join.
|
Boolean |
getEnabled()
If the stream event source mapping should be enabled.
|
Duration |
getMaxBatchingWindow()
The maximum amount of time to gather records before invoking the function.
|
ISecret |
getRootCACertificate()
The secret with the root CA certificate used by your Kafka brokers for TLS encryption This field is required if your Kafka brokers use certificates signed by a private CA.
|
ISecret |
getSecret()
The 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.
|
ISecurityGroup |
getSecurityGroup()
If your Kafka brokers are only reachable via VPC, provide the security group here.
|
StartingPosition |
getStartingPosition()
Where to begin consuming the stream.
|
String |
getTopic()
The Kafka topic to subscribe to.
|
IVpc |
getVpc()
If your Kafka brokers are only reachable via VPC provide the VPC here.
|
SubnetSelection |
getVpcSubnets()
If your Kafka brokers are only reachable via VPC, provide the subnets selection here.
|
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(SelfManagedKafkaEventSourceProps.Builder builder)
SelfManagedKafkaEventSourceProps.Builder.public final List<String> getBootstrapServers()
SelfManagedKafkaEventSourceProps
They are in the format abc.xyz.com:xxxx.
getBootstrapServers in interface SelfManagedKafkaEventSourcePropspublic final AuthenticationMethod getAuthenticationMethod()
SelfManagedKafkaEventSourcePropsDefault: AuthenticationMethod.SASL_SCRAM_512_AUTH
getAuthenticationMethod in interface SelfManagedKafkaEventSourcePropspublic final ISecret getRootCACertificate()
SelfManagedKafkaEventSourcePropsDefault: - none
getRootCACertificate in interface SelfManagedKafkaEventSourcePropspublic final ISecurityGroup getSecurityGroup()
SelfManagedKafkaEventSourcePropsDefault: - none, required if setting vpc
getSecurityGroup in interface SelfManagedKafkaEventSourcePropspublic final IVpc getVpc()
SelfManagedKafkaEventSourcePropsDefault: none
getVpc in interface SelfManagedKafkaEventSourcePropspublic final SubnetSelection getVpcSubnets()
SelfManagedKafkaEventSourcePropsDefault: - none, required if setting vpc
getVpcSubnets in interface SelfManagedKafkaEventSourcePropspublic final String getTopic()
KafkaEventSourcePropsgetTopic in interface KafkaEventSourcePropspublic final String getConsumerGroupId()
KafkaEventSourcePropsThe 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 lenght between 1 and 200 and full the pattern '[a-zA-Z0-9-/:_+=.@-]'.
Default: - none
getConsumerGroupId in interface KafkaEventSourcePropspublic final ISecret getSecret()
KafkaEventSourcePropsDefault: none
getSecret in interface KafkaEventSourcePropspublic final StartingPosition getStartingPosition()
BaseStreamEventSourcePropsgetStartingPosition in interface BaseStreamEventSourcePropspublic final Number getBatchSize()
BaseStreamEventSourcePropsYour function receives an event with all the retrieved records.
Valid Range:
Default: 100
getBatchSize in interface BaseStreamEventSourcePropspublic final Boolean getEnabled()
BaseStreamEventSourcePropsDefault: true
getEnabled in interface BaseStreamEventSourcePropspublic final Duration getMaxBatchingWindow()
BaseStreamEventSourcePropsMaximum 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.
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.