@awboost/cfn-resource-types 0.1.143 → 0.1.144
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.
|
@@ -79,11 +79,12 @@ export type LambdaEventSourceMappingProperties = {
|
|
|
79
79
|
*/
|
|
80
80
|
FunctionName: string;
|
|
81
81
|
/**
|
|
82
|
-
* (Streams and SQS) A list of current response type enums applied to the event source mapping.
|
|
82
|
+
* (Kinesis, DynamoDB Streams, and SQS) A list of current response type enums applied to the event source mapping.
|
|
83
83
|
Valid Values: ``ReportBatchItemFailures``
|
|
84
84
|
*/
|
|
85
85
|
FunctionResponseTypes?: "ReportBatchItemFailures"[];
|
|
86
86
|
/**
|
|
87
|
+
* The ARN of the KMSlong (KMS) customer managed key that Lambda uses to encrypt your function's [filter criteria](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html#filtering-basics).
|
|
87
88
|
* @minLength `12`
|
|
88
89
|
* @maxLength `2048`
|
|
89
90
|
* @pattern `(arn:(aws[a-zA-Z-]*)?:[a-z0-9-.]+:.*)|()`
|
|
@@ -155,6 +156,7 @@ export type LambdaEventSourceMappingProperties = {
|
|
|
155
156
|
* With ``StartingPosition`` set to ``AT_TIMESTAMP``, the time from which to start reading, in Unix time seconds. ``StartingPositionTimestamp`` cannot be in the future.
|
|
156
157
|
*/
|
|
157
158
|
StartingPositionTimestamp?: number;
|
|
159
|
+
Tags?: Tag[];
|
|
158
160
|
/**
|
|
159
161
|
* The name of the Kafka topic.
|
|
160
162
|
* @minLength `1`
|
|
@@ -173,6 +175,12 @@ export type LambdaEventSourceMappingProperties = {
|
|
|
173
175
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#aws-resource-lambda-eventsourcemapping-return-values}
|
|
174
176
|
*/
|
|
175
177
|
export type LambdaEventSourceMappingAttributes = {
|
|
178
|
+
/**
|
|
179
|
+
* @minLength `85`
|
|
180
|
+
* @maxLength `120`
|
|
181
|
+
* @pattern `arn:(aws[a-zA-Z-]*)?:lambda:[a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\d{1}:\d{12}:event-source-mapping:[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}`
|
|
182
|
+
*/
|
|
183
|
+
EventSourceMappingArn: string;
|
|
176
184
|
/**
|
|
177
185
|
* @minLength `36`
|
|
178
186
|
* @maxLength `36`
|
|
@@ -350,6 +358,24 @@ export type SourceAccessConfiguration = {
|
|
|
350
358
|
*/
|
|
351
359
|
URI?: string;
|
|
352
360
|
};
|
|
361
|
+
/**
|
|
362
|
+
* Type definition for `AWS::Lambda::EventSourceMapping.Tag`.
|
|
363
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-tag.html}
|
|
364
|
+
*/
|
|
365
|
+
export type Tag = {
|
|
366
|
+
/**
|
|
367
|
+
* The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
|
|
368
|
+
* @minLength `1`
|
|
369
|
+
* @maxLength `128`
|
|
370
|
+
*/
|
|
371
|
+
Key: string;
|
|
372
|
+
/**
|
|
373
|
+
* The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
|
|
374
|
+
* @minLength `0`
|
|
375
|
+
* @maxLength `256`
|
|
376
|
+
*/
|
|
377
|
+
Value?: string;
|
|
378
|
+
};
|
|
353
379
|
/**
|
|
354
380
|
* The ``AWS::Lambda::EventSourceMapping`` resource creates a mapping between an event source and an LAMlong function. LAM reads items from the event source and triggers the function.
|
|
355
381
|
For details about each event source type, see the following topics. In particular, each of the topics describes the required and optional parameters for the specific event source.
|