Interface CfnEventSourceMapping.SelfManagedKafkaEventSourceConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEventSourceMapping.SelfManagedKafkaEventSourceConfigProperty.Jsii$Proxy
- Enclosing class:
CfnEventSourceMapping
@Stability(Stable)
public static interface CfnEventSourceMapping.SelfManagedKafkaEventSourceConfigProperty
extends software.amazon.jsii.JsiiSerializable
Specific configuration settings for a self-managed Apache Kafka event source.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.lambda.*;
SelfManagedKafkaEventSourceConfigProperty selfManagedKafkaEventSourceConfigProperty = SelfManagedKafkaEventSourceConfigProperty.builder()
.consumerGroupId("consumerGroupId")
.schemaRegistryConfig(SchemaRegistryConfigProperty.builder()
.accessConfigs(List.of(SchemaRegistryAccessConfigProperty.builder()
.type("type")
.uri("uri")
.build()))
.eventRecordFormat("eventRecordFormat")
.schemaRegistryUri("schemaRegistryUri")
.schemaValidationConfigs(List.of(SchemaValidationConfigProperty.builder()
.attribute("attribute")
.build()))
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnEventSourceMapping.SelfManagedKafkaEventSourceConfigProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getConsumerGroupId
The 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. For more information, see Customizable consumer group ID .
- See Also:
-
getSchemaRegistryConfig
Specific configuration settings for a Kafka schema registry.- See Also:
-
builder
@Stability(Stable) static CfnEventSourceMapping.SelfManagedKafkaEventSourceConfigProperty.Builder builder()
-