Interface CfnEventSourceMapping.SchemaRegistryConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEventSourceMapping.SchemaRegistryConfigProperty.Jsii$Proxy
- Enclosing class:
CfnEventSourceMapping
@Stability(Stable)
public static interface CfnEventSourceMapping.SchemaRegistryConfigProperty
extends software.amazon.jsii.JsiiSerializable
Specific configuration settings for a Kafka schema registry.
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.*; SchemaRegistryConfigProperty schemaRegistryConfigProperty = 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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnEventSourceMapping.SchemaRegistryConfigProperty
static final class
An implementation forCfnEventSourceMapping.SchemaRegistryConfigProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
An array of access configuration objects that tell Lambda how to authenticate with your schema registry.default String
The record format that Lambda delivers to your function after schema validation.default String
The URI for your schema registry.default Object
An array of schema validation configuration objects, which tell Lambda the message attributes you want to validate and filter using your schema registry.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAccessConfigs
An array of access configuration objects that tell Lambda how to authenticate with your schema registry.- See Also:
-
getEventRecordFormat
The record format that Lambda delivers to your function after schema validation.- Choose
JSON
to have Lambda deliver the record to your function as a standard JSON object. - Choose
SOURCE
to have Lambda deliver the record to your function in its original source format. Lambda removes all schema metadata, such as the schema ID, before sending the record to your function.
- See Also:
- Choose
-
getSchemaRegistryUri
The URI for your schema registry. The correct URI format depends on the type of schema registry you're using.- For AWS Glue schema registries, use the ARN of the registry.
- For Confluent schema registries, use the URL of the registry.
- See Also:
-
getSchemaValidationConfigs
An array of schema validation configuration objects, which tell Lambda the message attributes you want to validate and filter using your schema registry.- See Also:
-
builder
-