AWS::Lambda::EventSourceMapping SchemaRegistryConfig - AWS CloudFormation

This is the new AWS CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

AWS::Lambda::EventSourceMapping SchemaRegistryConfig

Specific configuration settings for a Kafka schema registry.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

Properties

AccessConfigs

An array of access configuration objects that tell Lambda how to authenticate with your schema registry.

Required: No

Type: Array of SchemaRegistryAccessConfig

Maximum: 2

Update requires: No interruption

EventRecordFormat

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.

Required: No

Type: String

Allowed values: JSON | SOURCE

Update requires: No interruption

SchemaRegistryURI

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.

Required: No

Type: String

Pattern: [a-zA-Z0-9-/*:_+=.@-]*

Minimum: 1

Maximum: 10000

Update requires: No interruption

SchemaValidationConfigs

An array of schema validation configuration objects, which tell Lambda the message attributes you want to validate and filter using your schema registry.

Required: No

Type: Array of SchemaValidationConfig

Minimum: 1

Maximum: 2

Update requires: No interruption