@awboost/cfn-resource-types 0.1.76 → 0.1.77
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.
|
@@ -5,10 +5,24 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
|
|
|
5
5
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbus.html}
|
|
6
6
|
*/
|
|
7
7
|
export type EventsEventBusProperties = {
|
|
8
|
+
/**
|
|
9
|
+
* Dead Letter Queue for the event bus.
|
|
10
|
+
*/
|
|
11
|
+
DeadLetterConfig?: {
|
|
12
|
+
Arn?: string;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* The description of the event bus.
|
|
16
|
+
*/
|
|
17
|
+
Description?: string;
|
|
8
18
|
/**
|
|
9
19
|
* If you are creating a partner event bus, this specifies the partner event source that the new event bus will be matched with.
|
|
10
20
|
*/
|
|
11
21
|
EventSourceName?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Kms Key Identifier used to encrypt events at rest in the event bus.
|
|
24
|
+
*/
|
|
25
|
+
KmsKeyIdentifier?: string;
|
|
12
26
|
/**
|
|
13
27
|
* The name of the event bus.
|
|
14
28
|
*/
|
|
@@ -3,13 +3,13 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
|
|
|
3
3
|
/**
|
|
4
4
|
* 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.
|
|
5
5
|
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.
|
|
6
|
-
+
|
|
7
|
-
+
|
|
8
|
-
+
|
|
9
|
-
+
|
|
10
|
-
+
|
|
11
|
-
+
|
|
12
|
-
+
|
|
6
|
+
+ [Configuring a Dynamo DB stream as an event source](https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-dynamodb-eventsourcemapping)
|
|
7
|
+
+ [Configuring a Kinesis stream as an event source](https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis-eventsourcemapping)
|
|
8
|
+
+ [Configuring an SQS queue as an event source](https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-eventsource)
|
|
9
|
+
+ [Configuring an MQ broker as an event source](https://docs.aws.amazon.com/lambda/latest/dg/with-mq.html#services-mq-eventsourcemapping)
|
|
10
|
+
+ [Configuring MSK as an event source](https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html)
|
|
11
|
+
+ [Configuring Self-Managed Apache Kafka as an event source](https://docs.aws.amazon.com/lambda/latest/dg/kafka-smaa.html)
|
|
12
|
+
+ [Configuring Amazon DocumentDB as an event source](https://docs.aws.amazon.com/lambda/latest/dg/with-documentdb.html)
|
|
13
13
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html}
|
|
14
14
|
*/
|
|
15
15
|
export type LambdaEventSourceMappingProperties = {
|
|
@@ -57,7 +57,7 @@ export type LambdaEventSourceMappingProperties = {
|
|
|
57
57
|
+ *Amazon DocumentDB* – The ARN of the DocumentDB change stream.
|
|
58
58
|
* @minLength `12`
|
|
59
59
|
* @maxLength `1024`
|
|
60
|
-
* @pattern `arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\-])+:([a-z]{2}(-gov)?(-iso(
|
|
60
|
+
* @pattern `arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\-])+:([a-z]{2}(-gov)?(-iso)?(-isob)?-[a-z]+-\d{1})?:(\d{12})?:(.*)`
|
|
61
61
|
*/
|
|
62
62
|
EventSourceArn?: string;
|
|
63
63
|
/**
|
|
@@ -75,7 +75,7 @@ export type LambdaEventSourceMappingProperties = {
|
|
|
75
75
|
The length constraint applies only to the full ARN. If you specify only the function name, it's limited to 64 characters in length.
|
|
76
76
|
* @minLength `1`
|
|
77
77
|
* @maxLength `140`
|
|
78
|
-
* @pattern `(arn:(aws[a-zA-Z-]*)?:lambda:)?([a-z]{2}(-gov)?(-iso(
|
|
78
|
+
* @pattern `(arn:(aws[a-zA-Z-]*)?:lambda:)?([a-z]{2}(-gov)?(-iso)?(-isob)?-[a-z]+-\d{1}:)?(\d{12}:)?(function:)?([a-zA-Z0-9-_]+)(:(\$LATEST|[a-zA-Z0-9-_]+))?`
|
|
79
79
|
*/
|
|
80
80
|
FunctionName: string;
|
|
81
81
|
/**
|
|
@@ -137,9 +137,9 @@ export type LambdaEventSourceMappingProperties = {
|
|
|
137
137
|
SourceAccessConfigurations?: SourceAccessConfiguration[];
|
|
138
138
|
/**
|
|
139
139
|
* The position in a stream from which to start reading. Required for Amazon Kinesis and Amazon DynamoDB.
|
|
140
|
-
+
|
|
141
|
-
+
|
|
142
|
-
+
|
|
140
|
+
+ *LATEST* - Read only new records.
|
|
141
|
+
+ *TRIM_HORIZON* - Process all available records.
|
|
142
|
+
+ *AT_TIMESTAMP* - Specify a time from which to start reading records.
|
|
143
143
|
* @minLength `6`
|
|
144
144
|
* @maxLength `12`
|
|
145
145
|
* @pattern `(LATEST|TRIM_HORIZON|AT_TIMESTAMP)+`
|
|
@@ -275,7 +275,7 @@ export type OnFailure = {
|
|
|
275
275
|
To retain records of failed invocations from [self-managed Kafka](https://docs.aws.amazon.com/lambda/latest/dg/with-kafka.html#services-smaa-onfailure-destination) or [Amazon MSK](https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-onfailure-destination), you can configure an Amazon SNS topic, Amazon SQS queue, or Amazon S3 bucket as the destination.
|
|
276
276
|
* @minLength `12`
|
|
277
277
|
* @maxLength `1024`
|
|
278
|
-
* @pattern `arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\-])+:([a-z]{2}(-gov)?(-iso(
|
|
278
|
+
* @pattern `arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\-])+:([a-z]{2}(-gov)?(-iso)?(-isob)?-[a-z]+-\d{1})?:(\d{12})?:(.*)`
|
|
279
279
|
*/
|
|
280
280
|
Destination?: string;
|
|
281
281
|
};
|
|
@@ -347,13 +347,13 @@ export type SourceAccessConfiguration = {
|
|
|
347
347
|
/**
|
|
348
348
|
* 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.
|
|
349
349
|
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.
|
|
350
|
-
+
|
|
351
|
-
+
|
|
352
|
-
+
|
|
353
|
-
+
|
|
354
|
-
+
|
|
355
|
-
+
|
|
356
|
-
+
|
|
350
|
+
+ [Configuring a Dynamo DB stream as an event source](https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-dynamodb-eventsourcemapping)
|
|
351
|
+
+ [Configuring a Kinesis stream as an event source](https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis-eventsourcemapping)
|
|
352
|
+
+ [Configuring an SQS queue as an event source](https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-eventsource)
|
|
353
|
+
+ [Configuring an MQ broker as an event source](https://docs.aws.amazon.com/lambda/latest/dg/with-mq.html#services-mq-eventsourcemapping)
|
|
354
|
+
+ [Configuring MSK as an event source](https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html)
|
|
355
|
+
+ [Configuring Self-Managed Apache Kafka as an event source](https://docs.aws.amazon.com/lambda/latest/dg/kafka-smaa.html)
|
|
356
|
+
+ [Configuring Amazon DocumentDB as an event source](https://docs.aws.amazon.com/lambda/latest/dg/with-documentdb.html)
|
|
357
357
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html}
|
|
358
358
|
*/
|
|
359
359
|
export declare class LambdaEventSourceMapping extends $Resource<"AWS::Lambda::EventSourceMapping", LambdaEventSourceMappingProperties, LambdaEventSourceMappingAttributes> {
|
|
@@ -2,13 +2,13 @@ import { Resource as $Resource } from "@awboost/cfn-template-builder/template/re
|
|
|
2
2
|
/**
|
|
3
3
|
* 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.
|
|
4
4
|
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.
|
|
5
|
-
+
|
|
6
|
-
+
|
|
7
|
-
+
|
|
8
|
-
+
|
|
9
|
-
+
|
|
10
|
-
+
|
|
11
|
-
+
|
|
5
|
+
+ [Configuring a Dynamo DB stream as an event source](https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-dynamodb-eventsourcemapping)
|
|
6
|
+
+ [Configuring a Kinesis stream as an event source](https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis-eventsourcemapping)
|
|
7
|
+
+ [Configuring an SQS queue as an event source](https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-eventsource)
|
|
8
|
+
+ [Configuring an MQ broker as an event source](https://docs.aws.amazon.com/lambda/latest/dg/with-mq.html#services-mq-eventsourcemapping)
|
|
9
|
+
+ [Configuring MSK as an event source](https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html)
|
|
10
|
+
+ [Configuring Self-Managed Apache Kafka as an event source](https://docs.aws.amazon.com/lambda/latest/dg/kafka-smaa.html)
|
|
11
|
+
+ [Configuring Amazon DocumentDB as an event source](https://docs.aws.amazon.com/lambda/latest/dg/with-documentdb.html)
|
|
12
12
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html}
|
|
13
13
|
*/
|
|
14
14
|
export class LambdaEventSourceMapping extends $Resource {
|