Skip to content

Commit 2c16c53

Browse files
committed
Update the documentation to include schema_registry_config
1 parent 4cd3c70 commit 2c16c53

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

website/docs/r/lambda_event_source_mapping.html.markdown

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,7 @@ The following arguments are optional:
234234
### amazon_managed_kafka_event_source_config Configuration Block
235235

236236
* `consumer_group_id` - (Optional) Kafka consumer group ID between 1 and 200 characters for use when creating this event source mapping. If one is not specified, this value will be automatically generated. See [AmazonManagedKafkaEventSourceConfig Syntax](https://docs.aws.amazon.com/lambda/latest/dg/API_AmazonManagedKafkaEventSourceConfig.html).
237+
* `schema_registry_config` - (Optional) Block for a Kafka schema registry setting. [See below](#schema_registry_config-configuration-block).
237238

238239
### destination_config Configuration Block
239240

@@ -277,12 +278,23 @@ The following arguments are optional:
277278
### self_managed_kafka_event_source_config Configuration Block
278279

279280
* `consumer_group_id` - (Optional) Kafka consumer group ID between 1 and 200 characters for use when creating this event source mapping. If one is not specified, this value will be automatically generated. See [SelfManagedKafkaEventSourceConfig Syntax](https://docs.aws.amazon.com/lambda/latest/dg/API_SelfManagedKafkaEventSourceConfig.html).
281+
* `schema_registry_config` - (Optional) Block for a Kafka schema registry setting. [See below](#schema_registry_config-configuration-block).
280282

281283
### source_access_configuration Configuration Block
282284

283285
* `type` - (Required) Type of authentication protocol, VPC components, or virtual host for your event source. For valid values, refer to the [AWS documentation](https://docs.aws.amazon.com/lambda/latest/api/API_SourceAccessConfiguration.html).
284286
* `uri` - (Required) URI for this configuration. For type `VPC_SUBNET` the value should be `subnet:subnet_id` where `subnet_id` is the value you would find in an aws_subnet resource's id attribute. For type `VPC_SECURITY_GROUP` the value should be `security_group:security_group_id` where `security_group_id` is the value you would find in an aws_security_group resource's id attribute.
285287

288+
### schema_registry_config Configuration Block
289+
290+
* `access_config` - (Optional) Configuration block for authentication Lambda uses to access the schema registry.
291+
* `type` - (Optional) Authentication type Lambda uses to access the schema registry.
292+
* `uri` - (Optional) URI of the secret (Secrets Manager secret ARN) used to authenticate with the schema registry.
293+
* `event_record_format` - (Optional) Record format that Lambda delivers to the function after schema validation. Valid values: `JSON`, `SOURCE`.
294+
* `schema_registry_uri` - (Optional) URI of the schema registry. For AWS Glue schema registries, use the ARN of the registry. For Confluent schema registries, use the registry URL.
295+
* `schema_validation_config` - (Optional) Repeatable block that defines schema validation settings. These specify the message attributes that Lambda should validate and filter using the schema registry.
296+
* `attribute` - (Optional) Message attribute to validate. Valid values: `KEY`, `VALUE`.
297+
286298
## Attribute Reference
287299

288300
This resource exports the following attributes in addition to the arguments above:

0 commit comments

Comments
 (0)