@awboost/cfn-resource-types 0.1.409 → 0.1.410
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -214,6 +214,9 @@ export type AmazonManagedKafkaEventSourceConfig = {
|
|
|
214
214
|
* @pattern `[a-zA-Z0-9-\/*:_+=.@-]*`
|
|
215
215
|
*/
|
|
216
216
|
ConsumerGroupId?: string;
|
|
217
|
+
/**
|
|
218
|
+
* Specific configuration settings for a Kafka schema registry.
|
|
219
|
+
*/
|
|
217
220
|
SchemaRegistryConfig?: SchemaRegistryConfig;
|
|
218
221
|
};
|
|
219
222
|
/**
|
|
@@ -353,11 +356,18 @@ export type ScalingConfig = {
|
|
|
353
356
|
};
|
|
354
357
|
/**
|
|
355
358
|
* Type definition for `AWS::Lambda::EventSourceMapping.SchemaRegistryAccessConfig`.
|
|
359
|
+
* Specific access configuration settings that tell Lambda how to authenticate with your schema registry.
|
|
360
|
+
If you're working with an GLU schema registry, don't provide authentication details in this object. Instead, ensure that your execution role has the required permissions for Lambda to access your cluster.
|
|
361
|
+
If you're working with a Confluent schema registry, choose the authentication method in the ``Type`` field, and provide the ASMlong secret ARN in the ``URI`` field.
|
|
356
362
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-schemaregistryaccessconfig.html}
|
|
357
363
|
*/
|
|
358
364
|
export type SchemaRegistryAccessConfig = {
|
|
365
|
+
/**
|
|
366
|
+
* The type of authentication Lambda uses to access your schema registry.
|
|
367
|
+
*/
|
|
359
368
|
Type?: "BASIC_AUTH" | "CLIENT_CERTIFICATE_TLS_AUTH" | "SERVER_ROOT_CA_CERTIFICATE";
|
|
360
369
|
/**
|
|
370
|
+
* The URI of the secret (Secrets Manager secret ARN) to authenticate with your schema registry.
|
|
361
371
|
* @minLength `1`
|
|
362
372
|
* @maxLength `10000`
|
|
363
373
|
* @pattern `arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\-])+:([a-z]{2}(-gov)?(-iso([a-z])?)?-[a-z]+-\d{1})?:(\d{12})?:(.*)`
|
|
@@ -366,21 +376,32 @@ export type SchemaRegistryAccessConfig = {
|
|
|
366
376
|
};
|
|
367
377
|
/**
|
|
368
378
|
* Type definition for `AWS::Lambda::EventSourceMapping.SchemaRegistryConfig`.
|
|
379
|
+
* Specific configuration settings for a Kafka schema registry.
|
|
369
380
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-schemaregistryconfig.html}
|
|
370
381
|
*/
|
|
371
382
|
export type SchemaRegistryConfig = {
|
|
372
383
|
/**
|
|
384
|
+
* An array of access configuration objects that tell Lambda how to authenticate with your schema registry.
|
|
373
385
|
* @maxLength `2`
|
|
374
386
|
*/
|
|
375
387
|
AccessConfigs?: SchemaRegistryAccessConfig[];
|
|
388
|
+
/**
|
|
389
|
+
* The record format that Lambda delivers to your function after schema validation.
|
|
390
|
+
+ Choose ``JSON`` to have Lambda deliver the record to your function as a standard JSON object.
|
|
391
|
+
+ 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.
|
|
392
|
+
*/
|
|
376
393
|
EventRecordFormat?: "JSON" | "SOURCE";
|
|
377
394
|
/**
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
395
|
+
* The URI for your schema registry. The correct URI format depends on the type of schema registry you're using.
|
|
396
|
+
+ For GLU schema registries, use the ARN of the registry.
|
|
397
|
+
+ For Confluent schema registries, use the URL of the registry.
|
|
398
|
+
* @minLength `1`
|
|
399
|
+
* @maxLength `10000`
|
|
400
|
+
* @pattern `[a-zA-Z0-9-/*:_+=.@-]*`
|
|
401
|
+
*/
|
|
382
402
|
SchemaRegistryURI?: string;
|
|
383
403
|
/**
|
|
404
|
+
* An array of schema validation configuration objects, which tell Lambda the message attributes you want to validate and filter using your schema registry.
|
|
384
405
|
* @minLength `1`
|
|
385
406
|
* @maxLength `2`
|
|
386
407
|
*/
|
|
@@ -388,9 +409,13 @@ export type SchemaRegistryConfig = {
|
|
|
388
409
|
};
|
|
389
410
|
/**
|
|
390
411
|
* Type definition for `AWS::Lambda::EventSourceMapping.SchemaValidationConfig`.
|
|
412
|
+
* Specific schema validation configuration settings that tell Lambda the message attributes you want to validate and filter using your schema registry.
|
|
391
413
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-schemavalidationconfig.html}
|
|
392
414
|
*/
|
|
393
415
|
export type SchemaValidationConfig = {
|
|
416
|
+
/**
|
|
417
|
+
* The attributes you want your schema registry to validate and filter for. If you selected ``JSON`` as the ``EventRecordFormat``, Lambda also deserializes the selected message attributes.
|
|
418
|
+
*/
|
|
394
419
|
Attribute?: "KEY" | "VALUE";
|
|
395
420
|
};
|
|
396
421
|
/**
|
|
@@ -417,6 +442,9 @@ export type SelfManagedKafkaEventSourceConfig = {
|
|
|
417
442
|
* @pattern `[a-zA-Z0-9-\/*:_+=.@-]*`
|
|
418
443
|
*/
|
|
419
444
|
ConsumerGroupId?: string;
|
|
445
|
+
/**
|
|
446
|
+
* Specific configuration settings for a Kafka schema registry.
|
|
447
|
+
*/
|
|
420
448
|
SchemaRegistryConfig?: SchemaRegistryConfig;
|
|
421
449
|
};
|
|
422
450
|
/**
|