@awboost/cfn-resource-types 0.1.76 → 0.1.78
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.
- package/lib/AWS-Connect-RoutingProfile.d.ts +0 -1
- package/lib/AWS-DynamoDB-Table.d.ts +15 -4
- package/lib/AWS-Lambda-EventSourceMapping.d.ts +20 -20
- package/lib/AWS-Lambda-EventSourceMapping.js +7 -7
- package/lib/AWS-RDS-DBInstance.d.ts +7 -5
- package/lib/AWS-VpcLattice-Listener.d.ts +1 -1
- package/lib/AWS-VpcLattice-TargetGroup.d.ts +1 -1
- package/package.json +1 -1
|
@@ -58,6 +58,9 @@ export type DynamoDBTableProperties = {
|
|
|
58
58
|
* Local secondary indexes to be created on the table. You can create up to 5 local secondary indexes. Each index is scoped to a given hash key value. The size of each hash key can be up to 10 gigabytes.
|
|
59
59
|
*/
|
|
60
60
|
LocalSecondaryIndexes?: LocalSecondaryIndex[];
|
|
61
|
+
/**
|
|
62
|
+
* Sets the maximum number of read and write units for the specified on-demand table. If you use this property, you must specify ``MaxReadRequestUnits``, ``MaxWriteRequestUnits``, or both.
|
|
63
|
+
*/
|
|
61
64
|
OnDemandThroughput?: OnDemandThroughput;
|
|
62
65
|
/**
|
|
63
66
|
* The settings used to enable point in time recovery.
|
|
@@ -176,6 +179,9 @@ export type GlobalSecondaryIndex = {
|
|
|
176
179
|
The sort key of an item is also known as its *range attribute*. The term "range attribute" derives from the way DynamoDB stores items with the same partition key physically close together, in sorted order by the sort key value.
|
|
177
180
|
*/
|
|
178
181
|
KeySchema: KeySchema[];
|
|
182
|
+
/**
|
|
183
|
+
* The maximum number of read and write units for the specified global secondary index. If you use this parameter, you must specify ``MaxReadRequestUnits``, ``MaxWriteRequestUnits``, or both.
|
|
184
|
+
*/
|
|
179
185
|
OnDemandThroughput?: OnDemandThroughput;
|
|
180
186
|
/**
|
|
181
187
|
* Represents attributes that are copied (projected) from the table into the global secondary index. These are in addition to the primary key attributes and index key attributes, which are automatically projected.
|
|
@@ -285,16 +291,21 @@ export type LocalSecondaryIndex = {
|
|
|
285
291
|
};
|
|
286
292
|
/**
|
|
287
293
|
* Type definition for `AWS::DynamoDB::Table.OnDemandThroughput`.
|
|
294
|
+
* Sets the maximum number of read and write units for the specified on-demand table. If you use this property, you must specify ``MaxReadRequestUnits``, ``MaxWriteRequestUnits``, or both.
|
|
288
295
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-ondemandthroughput.html}
|
|
289
296
|
*/
|
|
290
297
|
export type OnDemandThroughput = {
|
|
291
298
|
/**
|
|
292
|
-
|
|
293
|
-
|
|
299
|
+
* Maximum number of read request units for the specified table.
|
|
300
|
+
To specify a maximum ``OnDemandThroughput`` on your table, set the value of ``MaxReadRequestUnits`` as greater than or equal to 1. To remove the maximum ``OnDemandThroughput`` that is currently set on your table, set the value of ``MaxReadRequestUnits`` to -1.
|
|
301
|
+
* @min `1`
|
|
302
|
+
*/
|
|
294
303
|
MaxReadRequestUnits?: number;
|
|
295
304
|
/**
|
|
296
|
-
|
|
297
|
-
|
|
305
|
+
* Maximum number of write request units for the specified table.
|
|
306
|
+
To specify a maximum ``OnDemandThroughput`` on your table, set the value of ``MaxWriteRequestUnits`` as greater than or equal to 1. To remove the maximum ``OnDemandThroughput`` that is currently set on your table, set the value of ``MaxWriteRequestUnits`` to -1.
|
|
307
|
+
* @min `1`
|
|
308
|
+
*/
|
|
298
309
|
MaxWriteRequestUnits?: number;
|
|
299
310
|
};
|
|
300
311
|
/**
|
|
@@ -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 {
|
|
@@ -90,6 +90,9 @@ export type RDSDBInstanceProperties = {
|
|
|
90
90
|
* A value that indicates whether minor engine upgrades are applied automatically to the DB instance during the maintenance window. By default, minor engine upgrades are applied automatically.
|
|
91
91
|
*/
|
|
92
92
|
AutoMinorVersionUpgrade?: boolean;
|
|
93
|
+
/**
|
|
94
|
+
* The AWS KMS key identifier for encryption of the replicated automated backups. The KMS key ID is the Amazon Resource Name (ARN) for the KMS encryption key in the destination AWS-Region, for example, ``arn:aws:kms:us-east-1:123456789012:key/AKIAIOSFODNN7EXAMPLE``.
|
|
95
|
+
*/
|
|
93
96
|
AutomaticBackupReplicationKmsKeyId?: string;
|
|
94
97
|
/**
|
|
95
98
|
* The destination region for the backup replication of the DB instance. For more info, see [Replicating automated backups to another Region](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_ReplicateBackups.html) in the *Amazon RDS User Guide*.
|
|
@@ -385,7 +388,7 @@ export type RDSDBInstanceProperties = {
|
|
|
385
388
|
/**
|
|
386
389
|
* The name of the database engine to use for this DB instance. Not every database engine is available in every AWS Region.
|
|
387
390
|
This property is required when creating a DB instance.
|
|
388
|
-
You can
|
|
391
|
+
You can convert an Oracle database from the non-CDB architecture to the container database (CDB) architecture by updating the ``Engine`` value in your templates from ``oracle-ee`` to ``oracle-ee-cdb`` or from ``oracle-se2`` to ``oracle-se2-cdb``. Converting to the CDB architecture requires an interruption.
|
|
389
392
|
Valid Values:
|
|
390
393
|
+ ``aurora-mysql`` (for Aurora MySQL DB instances)
|
|
391
394
|
+ ``aurora-postgresql`` (for Aurora PostgreSQL DB instances)
|
|
@@ -442,7 +445,7 @@ export type RDSDBInstanceProperties = {
|
|
|
442
445
|
* The ARN of the AWS KMS key that's used to encrypt the DB instance, such as ``arn:aws:kms:us-east-1:012345678910:key/abcd1234-a123-456a-a12b-a123b4cd56ef``. If you enable the StorageEncrypted property but don't specify this property, AWS CloudFormation uses the default KMS key. If you specify this property, you must set the StorageEncrypted property to true.
|
|
443
446
|
If you specify the ``SourceDBInstanceIdentifier`` property, the value is inherited from the source DB instance if the read replica is created in the same region.
|
|
444
447
|
If you create an encrypted read replica in a different AWS Region, then you must specify a KMS key for the destination AWS Region. KMS encryption keys are specific to the region that they're created in, and you can't use encryption keys from one region in another region.
|
|
445
|
-
If you specify the ``
|
|
448
|
+
If you specify the ``DBSnapshotIdentifier`` property, don't specify this property. The ``StorageEncrypted`` property value is inherited from the snapshot. If the DB instance is encrypted, the specified ``KmsKeyId`` property is also inherited from the snapshot.
|
|
446
449
|
If you specify ``DBSecurityGroups``, AWS CloudFormation ignores this property. To specify both a security group and this property, you must use a VPC security group. For more information about Amazon RDS and VPC, see [Using Amazon RDS with Amazon VPC](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.html) in the *Amazon RDS User Guide*.
|
|
447
450
|
*Amazon Aurora*
|
|
448
451
|
Not applicable. The KMS key identifier is managed by the DB cluster.
|
|
@@ -707,8 +710,7 @@ export type RDSDBInstanceProperties = {
|
|
|
707
710
|
* A value that indicates whether the DB instance is encrypted. By default, it isn't encrypted.
|
|
708
711
|
If you specify the ``KmsKeyId`` property, then you must enable encryption.
|
|
709
712
|
If you specify the ``SourceDBInstanceIdentifier`` property, don't specify this property. The value is inherited from the source DB instance, and if the DB instance is encrypted, the specified ``KmsKeyId`` property is used.
|
|
710
|
-
If you specify
|
|
711
|
-
If you specify the ``DBSnapshotIdentifier`` and the specified snapshot isn't encrypted, you can use this property to specify that the restored DB instance is encrypted. Specify the ``KmsKeyId`` property for the KMS key to use for encryption. If you don't want the restored DB instance to be encrypted, then don't set this property or set it to ``false``.
|
|
713
|
+
If you specify ``DBSnapshotIdentifier`` property, don't specify this property. The value is inherited from the snapshot.
|
|
712
714
|
*Amazon Aurora*
|
|
713
715
|
Not applicable. The encryption for DB instances is managed by the DB cluster.
|
|
714
716
|
*/
|
|
@@ -733,7 +735,7 @@ export type RDSDBInstanceProperties = {
|
|
|
733
735
|
TdeCredentialArn?: string;
|
|
734
736
|
TdeCredentialPassword?: string;
|
|
735
737
|
/**
|
|
736
|
-
* The time zone of the DB instance. The time zone parameter is currently supported only by [
|
|
738
|
+
* The time zone of the DB instance. The time zone parameter is currently supported only by [RDS for Db2](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/db2-time-zone) and [RDS for SQL Server](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SQLServer.html#SQLServer.Concepts.General.TimeZone).
|
|
737
739
|
*/
|
|
738
740
|
Timezone?: string;
|
|
739
741
|
/**
|