@awboost/cfn-resource-types 0.1.75 → 0.1.76

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.
@@ -7,6 +7,7 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
7
7
  export type BudgetsBudgetProperties = {
8
8
  Budget: BudgetData;
9
9
  NotificationsWithSubscribers?: NotificationWithSubscribers[];
10
+ ResourceTags?: ResourceTag[];
10
11
  };
11
12
  /**
12
13
  * Attribute type definition for `AWS::Budgets::Budget`.
@@ -80,6 +81,14 @@ export type NotificationWithSubscribers = {
80
81
  Notification: Notification;
81
82
  Subscribers: Subscriber[];
82
83
  };
84
+ /**
85
+ * Type definition for `AWS::Budgets::Budget.ResourceTag`.
86
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budget-resourcetag.html}
87
+ */
88
+ export type ResourceTag = {
89
+ Key: string;
90
+ Value?: string;
91
+ };
83
92
  /**
84
93
  * Type definition for `AWS::Budgets::Budget.Spend`.
85
94
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budget-spend.html}
@@ -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
- + [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)
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)?(-isob)?-[a-z]+-\d{1})?:(\d{12})?:(.*)`
60
+ * @pattern `arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\-])+:([a-z]{2}(-gov)?(-iso([a-z])?)?-[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)?(-isob)?-[a-z]+-\d{1}:)?(\d{12}:)?(function:)?([a-zA-Z0-9-_]+)(:(\$LATEST|[a-zA-Z0-9-_]+))?`
78
+ * @pattern `(arn:(aws[a-zA-Z-]*)?:lambda:)?([a-z]{2}(-gov)?(-iso([a-z])?)?-[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
- + *LATEST* - Read only new records.
141
- + *TRIM_HORIZON* - Process all available records.
142
- + *AT_TIMESTAMP* - Specify a time from which to start reading records.
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)?(-isob)?-[a-z]+-\d{1})?:(\d{12})?:(.*)`
278
+ * @pattern `arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\-])+:([a-z]{2}(-gov)?(-iso([a-z])?)?-[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
- + [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)
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
- + [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)
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 {
@@ -0,0 +1,29 @@
1
+ import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
+ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-builder/template";
3
+ /**
4
+ * Resource Type definition for AWS::Neptune::EventSubscription
5
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-eventsubscription.html}
6
+ */
7
+ export type NeptuneEventSubscriptionProperties = {
8
+ Enabled?: boolean;
9
+ EventCategories?: string[];
10
+ SnsTopicArn?: string;
11
+ SourceIds?: string[];
12
+ SourceType?: string;
13
+ };
14
+ /**
15
+ * Attribute type definition for `AWS::Neptune::EventSubscription`.
16
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-eventsubscription.html#aws-resource-neptune-eventsubscription-return-values}
17
+ */
18
+ export type NeptuneEventSubscriptionAttributes = {
19
+ Id: string;
20
+ };
21
+ /**
22
+ * Resource Type definition for AWS::Neptune::EventSubscription
23
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-eventsubscription.html}
24
+ */
25
+ export declare class NeptuneEventSubscription extends $Resource<"AWS::Neptune::EventSubscription", NeptuneEventSubscriptionProperties, NeptuneEventSubscriptionAttributes> {
26
+ static readonly Type = "AWS::Neptune::EventSubscription";
27
+ constructor(logicalId: string, properties: NeptuneEventSubscriptionProperties, options?: $ResourceOptions);
28
+ }
29
+ //# sourceMappingURL=AWS-Neptune-EventSubscription.d.ts.map
@@ -0,0 +1,12 @@
1
+ import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
+ /**
3
+ * Resource Type definition for AWS::Neptune::EventSubscription
4
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-eventsubscription.html}
5
+ */
6
+ export class NeptuneEventSubscription extends $Resource {
7
+ static Type = "AWS::Neptune::EventSubscription";
8
+ constructor(logicalId, properties, options) {
9
+ super(logicalId, NeptuneEventSubscription.Type, properties, options);
10
+ }
11
+ }
12
+ //# sourceMappingURL=AWS-Neptune-EventSubscription.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awboost/cfn-resource-types",
3
- "version": "0.1.75",
3
+ "version": "0.1.76",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },