@awboost/cfn-resource-types 0.1.351 → 0.1.352
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.
|
@@ -19,13 +19,13 @@ export type LambdaEventSourceMappingProperties = {
|
|
|
19
19
|
AmazonManagedKafkaEventSourceConfig?: AmazonManagedKafkaEventSourceConfig;
|
|
20
20
|
/**
|
|
21
21
|
* The maximum number of records in each batch that Lambda pulls from your stream or queue and sends to your function. Lambda passes all of the records in the batch to the function in a single call, up to the payload limit for synchronous invocation (6 MB).
|
|
22
|
-
+
|
|
23
|
-
+
|
|
24
|
-
+
|
|
25
|
-
+
|
|
26
|
-
+
|
|
27
|
-
+
|
|
28
|
-
+
|
|
22
|
+
+ *Amazon Kinesis* – Default 100. Max 10,000.
|
|
23
|
+
+ *Amazon DynamoDB Streams* – Default 100. Max 10,000.
|
|
24
|
+
+ *Amazon Simple Queue Service* – Default 10. For standard queues the max is 10,000. For FIFO queues the max is 10.
|
|
25
|
+
+ *Amazon Managed Streaming for Apache Kafka* – Default 100. Max 10,000.
|
|
26
|
+
+ *Self-managed Apache Kafka* – Default 100. Max 10,000.
|
|
27
|
+
+ *Amazon MQ (ActiveMQ and RabbitMQ)* – Default 100. Max 10,000.
|
|
28
|
+
+ *DocumentDB* – Default 100. Max 10,000.
|
|
29
29
|
* @min `1`
|
|
30
30
|
* @max `10000`
|
|
31
31
|
*/
|
|
@@ -50,12 +50,12 @@ export type LambdaEventSourceMappingProperties = {
|
|
|
50
50
|
Enabled?: boolean;
|
|
51
51
|
/**
|
|
52
52
|
* The Amazon Resource Name (ARN) of the event source.
|
|
53
|
-
+
|
|
54
|
-
+
|
|
55
|
-
+
|
|
56
|
-
+
|
|
57
|
-
+
|
|
58
|
-
+
|
|
53
|
+
+ *Amazon Kinesis* – The ARN of the data stream or a stream consumer.
|
|
54
|
+
+ *Amazon DynamoDB Streams* – The ARN of the stream.
|
|
55
|
+
+ *Amazon Simple Queue Service* – The ARN of the queue.
|
|
56
|
+
+ *Amazon Managed Streaming for Apache Kafka* – The ARN of the cluster or the ARN of the VPC connection (for [cross-account event source mappings](https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#msk-multi-vpc)).
|
|
57
|
+
+ *Amazon MQ* – The ARN of the broker.
|
|
58
|
+
+ *Amazon DocumentDB* – The ARN of the DocumentDB change stream.
|
|
59
59
|
* @minLength `12`
|
|
60
60
|
* @maxLength `1024`
|
|
61
61
|
* @pattern `arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\-])+:([a-z]{2}(-gov)?(-iso([a-z])?)?-[a-z]+-\d{1})?:(\d{12})?:(.*)`
|
|
@@ -68,10 +68,10 @@ export type LambdaEventSourceMappingProperties = {
|
|
|
68
68
|
/**
|
|
69
69
|
* The name or ARN of the Lambda function.
|
|
70
70
|
**Name formats**
|
|
71
|
-
+
|
|
72
|
-
+
|
|
73
|
-
+
|
|
74
|
-
+
|
|
71
|
+
+ *Function name* – ``MyFunction``.
|
|
72
|
+
+ *Function ARN* – ``arn:aws:lambda:us-west-2:123456789012:function:MyFunction``.
|
|
73
|
+
+ *Version or Alias ARN* – ``arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD``.
|
|
74
|
+
+ *Partial ARN* – ``123456789012:function:MyFunction``.
|
|
75
75
|
|
|
76
76
|
The length constraint applies only to the full ARN. If you specify only the function name, it's limited to 64 characters in length.
|
|
77
77
|
* @minLength `1`
|
|
@@ -153,9 +153,9 @@ export type LambdaEventSourceMappingProperties = {
|
|
|
153
153
|
SourceAccessConfigurations?: SourceAccessConfiguration[];
|
|
154
154
|
/**
|
|
155
155
|
* The position in a stream from which to start reading. Required for Amazon Kinesis and Amazon DynamoDB.
|
|
156
|
-
+
|
|
157
|
-
+
|
|
158
|
-
+
|
|
156
|
+
+ *LATEST* - Read only new records.
|
|
157
|
+
+ *TRIM_HORIZON* - Process all available records.
|
|
158
|
+
+ *AT_TIMESTAMP* - Specify a time from which to start reading records.
|
|
159
159
|
* @minLength `6`
|
|
160
160
|
* @maxLength `12`
|
|
161
161
|
* @pattern `(LATEST|TRIM_HORIZON|AT_TIMESTAMP)+`
|
|
@@ -214,6 +214,7 @@ export type AmazonManagedKafkaEventSourceConfig = {
|
|
|
214
214
|
* @pattern `[a-zA-Z0-9-\/*:_+=.@-]*`
|
|
215
215
|
*/
|
|
216
216
|
ConsumerGroupId?: string;
|
|
217
|
+
SchemaRegistryConfig?: SchemaRegistryConfig;
|
|
217
218
|
};
|
|
218
219
|
/**
|
|
219
220
|
* Type definition for `AWS::Lambda::EventSourceMapping.DestinationConfig`.
|
|
@@ -304,7 +305,7 @@ export type MetricsConfig = {
|
|
|
304
305
|
};
|
|
305
306
|
/**
|
|
306
307
|
* Type definition for `AWS::Lambda::EventSourceMapping.OnFailure`.
|
|
307
|
-
* A destination for events that failed processing.
|
|
308
|
+
* A destination for events that failed processing. See [Capturing records of Lambda asynchronous invocations](https://docs.aws.amazon.com/lambda/latest/dg/invocation-async-retain-records.html) for more information.
|
|
308
309
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-onfailure.html}
|
|
309
310
|
*/
|
|
310
311
|
export type OnFailure = {
|
|
@@ -350,6 +351,61 @@ export type ScalingConfig = {
|
|
|
350
351
|
*/
|
|
351
352
|
MaximumConcurrency?: number;
|
|
352
353
|
};
|
|
354
|
+
/**
|
|
355
|
+
* Type definition for `AWS::Lambda::EventSourceMapping.SchemaRegistryAccessConfig`.
|
|
356
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-schemaregistryaccessconfig.html}
|
|
357
|
+
*/
|
|
358
|
+
export type SchemaRegistryAccessConfig = {
|
|
359
|
+
/**
|
|
360
|
+
* The type of authentication Lambda uses to access your schema registry.
|
|
361
|
+
*/
|
|
362
|
+
Type?: "BASIC_AUTH" | "CLIENT_CERTIFICATE_TLS_AUTH" | "SERVER_ROOT_CA_CERTIFICATE";
|
|
363
|
+
/**
|
|
364
|
+
* The URI of the secret (Secrets Manager secret ARN) to authenticate with your schema registry.
|
|
365
|
+
* @minLength `1`
|
|
366
|
+
* @maxLength `10000`
|
|
367
|
+
* @pattern `arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\-])+:([a-z]{2}(-gov)?(-iso([a-z])?)?-[a-z]+-\d{1})?:(\d{12})?:(.*)`
|
|
368
|
+
*/
|
|
369
|
+
URI?: string;
|
|
370
|
+
};
|
|
371
|
+
/**
|
|
372
|
+
* Type definition for `AWS::Lambda::EventSourceMapping.SchemaRegistryConfig`.
|
|
373
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-schemaregistryconfig.html}
|
|
374
|
+
*/
|
|
375
|
+
export type SchemaRegistryConfig = {
|
|
376
|
+
/**
|
|
377
|
+
* An array of access configuration objects that tell Lambda how to authenticate with your schema registry.
|
|
378
|
+
* @maxLength `2`
|
|
379
|
+
*/
|
|
380
|
+
AccessConfigs?: SchemaRegistryAccessConfig[];
|
|
381
|
+
/**
|
|
382
|
+
* The record format that Lambda delivers to your function after schema validation.
|
|
383
|
+
*/
|
|
384
|
+
EventRecordFormat?: "JSON" | "SOURCE";
|
|
385
|
+
/**
|
|
386
|
+
* The URI for your schema registry. The correct URI format depends on the type of schema registry you're using.
|
|
387
|
+
* @minLength `1`
|
|
388
|
+
* @maxLength `10000`
|
|
389
|
+
* @pattern `[a-zA-Z0-9-/*:_+=.@-]*`
|
|
390
|
+
*/
|
|
391
|
+
SchemaRegistryURI?: string;
|
|
392
|
+
/**
|
|
393
|
+
* An array of schema validation configuration objects, which tell Lambda the message attributes you want to validate and filter using your schema registry.
|
|
394
|
+
* @minLength `1`
|
|
395
|
+
* @maxLength `2`
|
|
396
|
+
*/
|
|
397
|
+
SchemaValidationConfigs?: SchemaValidationConfig[];
|
|
398
|
+
};
|
|
399
|
+
/**
|
|
400
|
+
* Type definition for `AWS::Lambda::EventSourceMapping.SchemaValidationConfig`.
|
|
401
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-schemavalidationconfig.html}
|
|
402
|
+
*/
|
|
403
|
+
export type SchemaValidationConfig = {
|
|
404
|
+
/**
|
|
405
|
+
* The attribute you want your schema registry to validate and filter for.
|
|
406
|
+
*/
|
|
407
|
+
Attribute?: "KEY" | "VALUE";
|
|
408
|
+
};
|
|
353
409
|
/**
|
|
354
410
|
* Type definition for `AWS::Lambda::EventSourceMapping.SelfManagedEventSource`.
|
|
355
411
|
* The self-managed Apache Kafka cluster for your event source.
|
|
@@ -368,12 +424,13 @@ export type SelfManagedEventSource = {
|
|
|
368
424
|
*/
|
|
369
425
|
export type SelfManagedKafkaEventSourceConfig = {
|
|
370
426
|
/**
|
|
371
|
-
* 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](https://docs.aws.amazon.com/lambda/latest/dg/with-
|
|
427
|
+
* 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](https://docs.aws.amazon.com/lambda/latest/dg/with-kafka-process.html#services-smaa-topic-add).
|
|
372
428
|
* @minLength `1`
|
|
373
429
|
* @maxLength `200`
|
|
374
430
|
* @pattern `[a-zA-Z0-9-\/*:_+=.@-]*`
|
|
375
431
|
*/
|
|
376
432
|
ConsumerGroupId?: string;
|
|
433
|
+
SchemaRegistryConfig?: SchemaRegistryConfig;
|
|
377
434
|
};
|
|
378
435
|
/**
|
|
379
436
|
* Type definition for `AWS::Lambda::EventSourceMapping.SourceAccessConfiguration`.
|
|
@@ -383,15 +440,15 @@ export type SelfManagedKafkaEventSourceConfig = {
|
|
|
383
440
|
export type SourceAccessConfiguration = {
|
|
384
441
|
/**
|
|
385
442
|
* The type of authentication protocol, VPC components, or virtual host for your event source. For example: ``"Type":"SASL_SCRAM_512_AUTH"``.
|
|
386
|
-
+
|
|
387
|
-
+
|
|
388
|
-
+
|
|
389
|
-
+
|
|
390
|
-
+
|
|
391
|
-
+
|
|
392
|
-
+
|
|
393
|
-
+
|
|
394
|
-
+
|
|
443
|
+
+ ``BASIC_AUTH`` – (Amazon MQ) The ASMlong secret that stores your broker credentials.
|
|
444
|
+
+ ``BASIC_AUTH`` – (Self-managed Apache Kafka) The Secrets Manager ARN of your secret key used for SASL/PLAIN authentication of your Apache Kafka brokers.
|
|
445
|
+
+ ``VPC_SUBNET`` – (Self-managed Apache Kafka) The subnets associated with your VPC. Lambda connects to these subnets to fetch data from your self-managed Apache Kafka cluster.
|
|
446
|
+
+ ``VPC_SECURITY_GROUP`` – (Self-managed Apache Kafka) The VPC security group used to manage access to your self-managed Apache Kafka brokers.
|
|
447
|
+
+ ``SASL_SCRAM_256_AUTH`` – (Self-managed Apache Kafka) The Secrets Manager ARN of your secret key used for SASL SCRAM-256 authentication of your self-managed Apache Kafka brokers.
|
|
448
|
+
+ ``SASL_SCRAM_512_AUTH`` – (Amazon MSK, Self-managed Apache Kafka) The Secrets Manager ARN of your secret key used for SASL SCRAM-512 authentication of your self-managed Apache Kafka brokers.
|
|
449
|
+
+ ``VIRTUAL_HOST`` –- (RabbitMQ) The name of the virtual host in your RabbitMQ broker. Lambda uses this RabbitMQ host as the event source. This property cannot be specified in an UpdateEventSourceMapping API call.
|
|
450
|
+
+ ``CLIENT_CERTIFICATE_TLS_AUTH`` – (Amazon MSK, self-managed Apache Kafka) The Secrets Manager ARN of your secret key containing the certificate chain (X.509 PEM), private key (PKCS#8 PEM), and private key password (optional) used for mutual TLS authentication of your MSK/Apache Kafka brokers.
|
|
451
|
+
+ ``SERVER_ROOT_CA_CERTIFICATE`` – (Self-managed Apache Kafka) The Secrets Manager ARN of your secret key containing the root CA certificate (X.509 PEM) used for TLS encryption of your Apache Kafka brokers.
|
|
395
452
|
*/
|
|
396
453
|
Type?: "BASIC_AUTH" | "VPC_SUBNET" | "VPC_SECURITY_GROUP" | "SASL_SCRAM_512_AUTH" | "SASL_SCRAM_256_AUTH" | "VIRTUAL_HOST" | "CLIENT_CERTIFICATE_TLS_AUTH" | "SERVER_ROOT_CA_CERTIFICATE";
|
|
397
454
|
/**
|
|
@@ -6,70 +6,22 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
|
|
|
6
6
|
*/
|
|
7
7
|
export type OpsWorksCMServerProperties = {
|
|
8
8
|
AssociatePublicIpAddress?: boolean;
|
|
9
|
-
/**
|
|
10
|
-
* @maxLength `79`
|
|
11
|
-
* @pattern `[a-zA-Z][a-zA-Z0-9\-\.\:]*`
|
|
12
|
-
*/
|
|
13
9
|
BackupId?: string;
|
|
14
10
|
BackupRetentionCount?: number;
|
|
15
|
-
/**
|
|
16
|
-
* @maxLength `2097152`
|
|
17
|
-
* @pattern `(?s)\s*-----BEGIN CERTIFICATE-----.+-----END CERTIFICATE-----\s*`
|
|
18
|
-
*/
|
|
19
11
|
CustomCertificate?: string;
|
|
20
|
-
/**
|
|
21
|
-
* @maxLength `253`
|
|
22
|
-
* @pattern `^(((?!-)[A-Za-z0-9-]{0,62}[A-Za-z0-9])\.)+((?!-)[A-Za-z0-9-]{1,62}[A-Za-z0-9])$`
|
|
23
|
-
*/
|
|
24
12
|
CustomDomain?: string;
|
|
25
|
-
/**
|
|
26
|
-
* @maxLength `4096`
|
|
27
|
-
* @pattern `(?ms)\s*^-----BEGIN (?-s:.*)PRIVATE KEY-----$.*?^-----END (?-s:.*)PRIVATE KEY-----$\s*`
|
|
28
|
-
*/
|
|
29
13
|
CustomPrivateKey?: string;
|
|
30
14
|
DisableAutomatedBackup?: boolean;
|
|
31
|
-
/**
|
|
32
|
-
* @maxLength `10000`
|
|
33
|
-
*/
|
|
34
15
|
Engine?: string;
|
|
35
16
|
EngineAttributes?: EngineAttribute[];
|
|
36
|
-
/**
|
|
37
|
-
* @maxLength `10000`
|
|
38
|
-
*/
|
|
39
17
|
EngineModel?: string;
|
|
40
|
-
/**
|
|
41
|
-
* @maxLength `10000`
|
|
42
|
-
*/
|
|
43
18
|
EngineVersion?: string;
|
|
44
|
-
/**
|
|
45
|
-
* @maxLength `10000`
|
|
46
|
-
* @pattern `arn:aws:iam::[0-9]{12}:instance-profile/.*`
|
|
47
|
-
*/
|
|
48
19
|
InstanceProfileArn: string;
|
|
49
|
-
/**
|
|
50
|
-
* @maxLength `10000`
|
|
51
|
-
*/
|
|
52
20
|
InstanceType: string;
|
|
53
|
-
/**
|
|
54
|
-
* @maxLength `10000`
|
|
55
|
-
* @pattern `.*`
|
|
56
|
-
*/
|
|
57
21
|
KeyPair?: string;
|
|
58
|
-
/**
|
|
59
|
-
* @maxLength `10000`
|
|
60
|
-
* @pattern `^((Mon|Tue|Wed|Thu|Fri|Sat|Sun):)?([0-1][0-9]|2[0-3]):[0-5][0-9]$`
|
|
61
|
-
*/
|
|
62
22
|
PreferredBackupWindow?: string;
|
|
63
|
-
/**
|
|
64
|
-
* @maxLength `10000`
|
|
65
|
-
* @pattern `^((Mon|Tue|Wed|Thu|Fri|Sat|Sun):)?([0-1][0-9]|2[0-3]):[0-5][0-9]$`
|
|
66
|
-
*/
|
|
67
23
|
PreferredMaintenanceWindow?: string;
|
|
68
24
|
SecurityGroupIds?: string[];
|
|
69
|
-
/**
|
|
70
|
-
* @maxLength `10000`
|
|
71
|
-
* @pattern `arn:aws:iam::[0-9]{12}:role/.*`
|
|
72
|
-
*/
|
|
73
25
|
ServiceRoleArn: string;
|
|
74
26
|
SubnetIds?: string[];
|
|
75
27
|
Tags?: Tag[];
|
|
@@ -79,19 +31,9 @@ export type OpsWorksCMServerProperties = {
|
|
|
79
31
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworkscm-server.html#aws-resource-opsworkscm-server-return-values}
|
|
80
32
|
*/
|
|
81
33
|
export type OpsWorksCMServerAttributes = {
|
|
82
|
-
/**
|
|
83
|
-
* @maxLength `10000`
|
|
84
|
-
*/
|
|
85
34
|
Arn: string;
|
|
86
|
-
/**
|
|
87
|
-
* @maxLength `10000`
|
|
88
|
-
*/
|
|
89
35
|
Endpoint: string;
|
|
90
|
-
|
|
91
|
-
* @minLength `1`
|
|
92
|
-
* @maxLength `40`
|
|
93
|
-
* @pattern `[a-zA-Z][a-zA-Z0-9\-]*`
|
|
94
|
-
*/
|
|
36
|
+
Id: string;
|
|
95
37
|
ServerName: string;
|
|
96
38
|
};
|
|
97
39
|
/**
|
|
@@ -99,15 +41,7 @@ export type OpsWorksCMServerAttributes = {
|
|
|
99
41
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworkscm-server-engineattribute.html}
|
|
100
42
|
*/
|
|
101
43
|
export type EngineAttribute = {
|
|
102
|
-
/**
|
|
103
|
-
* @maxLength `10000`
|
|
104
|
-
* @pattern `(?s).*`
|
|
105
|
-
*/
|
|
106
44
|
Name?: string;
|
|
107
|
-
/**
|
|
108
|
-
* @maxLength `10000`
|
|
109
|
-
* @pattern `(?s).*`
|
|
110
|
-
*/
|
|
111
45
|
Value?: string;
|
|
112
46
|
};
|
|
113
47
|
/**
|
|
@@ -115,17 +49,7 @@ export type EngineAttribute = {
|
|
|
115
49
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworkscm-server-tag.html}
|
|
116
50
|
*/
|
|
117
51
|
export type Tag = {
|
|
118
|
-
/**
|
|
119
|
-
* @minLength `1`
|
|
120
|
-
* @maxLength `128`
|
|
121
|
-
* @pattern `^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$`
|
|
122
|
-
*/
|
|
123
52
|
Key: string;
|
|
124
|
-
/**
|
|
125
|
-
* @minLength `0`
|
|
126
|
-
* @maxLength `256`
|
|
127
|
-
* @pattern `^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$`
|
|
128
|
-
*/
|
|
129
53
|
Value: string;
|
|
130
54
|
};
|
|
131
55
|
/**
|