@awboost/cfn-resource-types 0.1.323 → 0.1.325
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-ApiGateway-DomainNameV2.d.ts +1 -0
- package/lib/AWS-AppSync-Resolver.d.ts +8 -8
- package/lib/AWS-Cassandra-Keyspace.d.ts +1 -1
- package/lib/AWS-Cognito-UserPoolClient.d.ts +13 -0
- package/lib/AWS-EC2-NatGateway.d.ts +2 -2
- package/lib/AWS-ECS-TaskDefinition.d.ts +2 -10
- package/lib/AWS-Lambda-Permission.d.ts +3 -3
- package/lib/AWS-RDS-DBCluster.d.ts +10 -10
- package/lib/AWS-RDS-DBCluster.js +1 -1
- package/lib/AWS-RDS-DBInstance.d.ts +15 -11
- package/lib/AWS-RDS-DBInstance.js +1 -1
- package/lib/AWS-RDS-DBParameterGroup.d.ts +1 -1
- package/lib/AWS-SSMGuiConnect-Preferences.d.ts +45 -22
- package/lib/AWS-SSMGuiConnect-Preferences.js +1 -1
- package/lib/AWS-SecretsManager-Secret.d.ts +1 -1
- package/lib/AWS-VerifiedPermissions-PolicyStore.d.ts +12 -0
- package/package.json +1 -1
|
@@ -28,6 +28,7 @@ export type ApiGatewayDomainNameV2Attributes = {
|
|
|
28
28
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-domainnamev2-endpointconfiguration.html}
|
|
29
29
|
*/
|
|
30
30
|
export type EndpointConfiguration = {
|
|
31
|
+
IpAddressType?: string;
|
|
31
32
|
Types?: string[];
|
|
32
33
|
};
|
|
33
34
|
/**
|
|
@@ -33,8 +33,8 @@ export type AppSyncResolverProperties = {
|
|
|
33
33
|
FieldName: string;
|
|
34
34
|
/**
|
|
35
35
|
* The resolver type.
|
|
36
|
-
+
|
|
37
|
-
+
|
|
36
|
+
+ *UNIT*: A UNIT resolver type. A UNIT resolver is the default resolver type. You can use a UNIT resolver to run a GraphQL query against a single data source.
|
|
37
|
+
+ *PIPELINE*: A PIPELINE resolver type. You can use a PIPELINE resolver to invoke a series of ``Function`` objects in a serial manner. You can use a pipeline resolver to run a GraphQL query against multiple data sources.
|
|
38
38
|
*/
|
|
39
39
|
Kind?: string;
|
|
40
40
|
/**
|
|
@@ -132,7 +132,7 @@ export type LambdaConflictHandlerConfig = {
|
|
|
132
132
|
/**
|
|
133
133
|
* Type definition for `AWS::AppSync::Resolver.PipelineConfig`.
|
|
134
134
|
* Use the ``PipelineConfig`` property type to specify ``PipelineConfig`` for an APSYlong resolver.
|
|
135
|
-
|
|
135
|
+
``PipelineConfig`` is a property of the [AWS::AppSync::Resolver](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-resolver.html) resource.
|
|
136
136
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-resolver-pipelineconfig.html}
|
|
137
137
|
*/
|
|
138
138
|
export type PipelineConfig = {
|
|
@@ -150,15 +150,15 @@ export type PipelineConfig = {
|
|
|
150
150
|
export type SyncConfig = {
|
|
151
151
|
/**
|
|
152
152
|
* The Conflict Detection strategy to use.
|
|
153
|
-
+
|
|
154
|
-
+
|
|
153
|
+
+ *VERSION*: Detect conflicts based on object versions for this resolver.
|
|
154
|
+
+ *NONE*: Do not detect conflicts when invoking this resolver.
|
|
155
155
|
*/
|
|
156
156
|
ConflictDetection: string;
|
|
157
157
|
/**
|
|
158
158
|
* The Conflict Resolution strategy to perform in the event of a conflict.
|
|
159
|
-
+
|
|
160
|
-
+
|
|
161
|
-
+
|
|
159
|
+
+ *OPTIMISTIC_CONCURRENCY*: Resolve conflicts by rejecting mutations when versions don't match the latest version at the server.
|
|
160
|
+
+ *AUTOMERGE*: Resolve conflicts with the Automerge conflict resolution strategy.
|
|
161
|
+
+ *LAMBDA*: Resolve conflicts with an LAMlong function supplied in the ``LambdaConflictHandlerConfig``.
|
|
162
162
|
*/
|
|
163
163
|
ConflictHandler?: string;
|
|
164
164
|
/**
|
|
@@ -28,7 +28,7 @@ export type CassandraKeyspaceProperties = {
|
|
|
28
28
|
export type ReplicationSpecification = {
|
|
29
29
|
/**
|
|
30
30
|
* @minLength `2`
|
|
31
|
-
* @maxLength `
|
|
31
|
+
* @maxLength `17`
|
|
32
32
|
*/
|
|
33
33
|
RegionList?: ("af-south-1" | "ap-northeast-1" | "ap-northeast-2" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | "ca-central-1" | "eu-central-1" | "eu-north-1" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "sa-east-1" | "us-east-1" | "us-east-2" | "us-west-1" | "us-west-2")[];
|
|
34
34
|
ReplicationStrategy?: "SINGLE_REGION" | "MULTI_REGION";
|
|
@@ -38,6 +38,7 @@ export type CognitoUserPoolClientProperties = {
|
|
|
38
38
|
LogoutURLs?: string[];
|
|
39
39
|
PreventUserExistenceErrors?: string;
|
|
40
40
|
ReadAttributes?: string[];
|
|
41
|
+
RefreshTokenRotation?: RefreshTokenRotation;
|
|
41
42
|
/**
|
|
42
43
|
* @min `1`
|
|
43
44
|
* @max `315360000`
|
|
@@ -68,6 +69,18 @@ export type AnalyticsConfiguration = {
|
|
|
68
69
|
RoleArn?: string;
|
|
69
70
|
UserDataShared?: boolean;
|
|
70
71
|
};
|
|
72
|
+
/**
|
|
73
|
+
* Type definition for `AWS::Cognito::UserPoolClient.RefreshTokenRotation`.
|
|
74
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpoolclient-refreshtokenrotation.html}
|
|
75
|
+
*/
|
|
76
|
+
export type RefreshTokenRotation = {
|
|
77
|
+
Feature?: "ENABLED" | "DISABLED";
|
|
78
|
+
/**
|
|
79
|
+
* @min `0`
|
|
80
|
+
* @max `60`
|
|
81
|
+
*/
|
|
82
|
+
RetryGracePeriodSeconds?: number;
|
|
83
|
+
};
|
|
71
84
|
/**
|
|
72
85
|
* Type definition for `AWS::Cognito::UserPoolClient.TokenValidityUnits`.
|
|
73
86
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpoolclient-tokenvalidityunits.html}
|
|
@@ -31,13 +31,13 @@ export type EC2NatGatewayProperties = {
|
|
|
31
31
|
SecondaryAllocationIds?: string[];
|
|
32
32
|
/**
|
|
33
33
|
* [Private NAT gateway only] The number of secondary private IPv4 addresses you want to assign to the NAT gateway. For more information about secondary addresses, see [Create a NAT gateway](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-creating) in the *Amazon Virtual Private Cloud User Guide*.
|
|
34
|
-
|
|
34
|
+
``SecondaryPrivateIpAddressCount`` and ``SecondaryPrivateIpAddresses`` cannot be set at the same time.
|
|
35
35
|
* @min `1`
|
|
36
36
|
*/
|
|
37
37
|
SecondaryPrivateIpAddressCount?: number;
|
|
38
38
|
/**
|
|
39
39
|
* Secondary private IPv4 addresses. For more information about secondary addresses, see [Create a NAT gateway](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-creating) in the *Amazon Virtual Private Cloud User Guide*.
|
|
40
|
-
|
|
40
|
+
``SecondaryPrivateIpAddressCount`` and ``SecondaryPrivateIpAddresses`` cannot be set at the same time.
|
|
41
41
|
*/
|
|
42
42
|
SecondaryPrivateIpAddresses?: string[];
|
|
43
43
|
/**
|
|
@@ -16,16 +16,8 @@ export type ECSTaskDefinitionProperties = {
|
|
|
16
16
|
ContainerDefinitions?: ContainerDefinition[];
|
|
17
17
|
/**
|
|
18
18
|
* The number of ``cpu`` units used by the task. If you use the EC2 launch type, this field is optional. Any value can be used. If you use the Fargate launch type, this field is required. You must use one of the following values. The value that you choose determines your range of valid values for the ``memory`` parameter.
|
|
19
|
-
If you're using the EC2 launch type or the external launch type, this field is optional. Supported values are between ``128`` CPU units (``0.125`` vCPUs) and ``196608`` CPU units (``192`` vCPUs).
|
|
20
|
-
|
|
21
|
-
+ 512 (.5 vCPU) - Available ``memory`` values: 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB)
|
|
22
|
-
+ 1024 (1 vCPU) - Available ``memory`` values: 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB)
|
|
23
|
-
+ 2048 (2 vCPU) - Available ``memory`` values: 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB)
|
|
24
|
-
+ 4096 (4 vCPU) - Available ``memory`` values: 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB)
|
|
25
|
-
+ 8192 (8 vCPU) - Available ``memory`` values: 16 GB and 60 GB in 4 GB increments
|
|
26
|
-
This option requires Linux platform ``1.4.0`` or later.
|
|
27
|
-
+ 16384 (16vCPU) - Available ``memory`` values: 32GB and 120 GB in 8 GB increments
|
|
28
|
-
This option requires Linux platform ``1.4.0`` or later.
|
|
19
|
+
If you're using the EC2 launch type or the external launch type, this field is optional. Supported values are between ``128`` CPU units (``0.125`` vCPUs) and ``196608`` CPU units (``192`` vCPUs).
|
|
20
|
+
This field is required for Fargate. For information about the valid values, see [Task size](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#task_size) in the *Amazon Elastic Container Service Developer Guide*.
|
|
29
21
|
*/
|
|
30
22
|
Cpu?: string;
|
|
31
23
|
/**
|
|
@@ -25,9 +25,9 @@ export type LambdaPermissionProperties = {
|
|
|
25
25
|
/**
|
|
26
26
|
* The name or ARN of the Lambda function, version, or alias.
|
|
27
27
|
**Name formats**
|
|
28
|
-
+
|
|
29
|
-
+
|
|
30
|
-
+
|
|
28
|
+
+ *Function name* – ``my-function`` (name-only), ``my-function:v1`` (with alias).
|
|
29
|
+
+ *Function ARN* – ``arn:aws:lambda:us-west-2:123456789012:function:my-function``.
|
|
30
|
+
+ *Partial ARN* – ``123456789012:function:my-function``.
|
|
31
31
|
|
|
32
32
|
You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
|
|
33
33
|
* @minLength `1`
|
|
@@ -6,7 +6,7 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
|
|
|
6
6
|
For more information about creating a Multi-AZ DB cluster, see [Creating a Multi-AZ DB cluster](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/create-multi-az-db-cluster.html) in the *Amazon RDS User Guide*.
|
|
7
7
|
You can only create this resource in AWS Regions where Amazon Aurora or Multi-AZ DB clusters are supported.
|
|
8
8
|
*Updating DB clusters*
|
|
9
|
-
When properties labeled "*Update requires:*
|
|
9
|
+
When properties labeled "*Update requires:*[Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)" are updated, AWS CloudFormation first creates a replacement DB cluster, then changes references from other dependent resources to point to the replacement DB cluster, and finally deletes the old DB cluster.
|
|
10
10
|
We highly recommend that you take a snapshot of the database before updating the stack. If you don't, you lose the data when AWS CloudFormation replaces your DB cluster. To preserve your data, perform the following procedure:
|
|
11
11
|
1. Deactivate any applications that are using the DB cluster so that there's no activity on the DB instance.
|
|
12
12
|
1. Create a snapshot of the DB cluster. For more information, see [Creating a DB cluster snapshot](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_CreateSnapshotCluster.html).
|
|
@@ -334,7 +334,7 @@ export type RDSDBClusterProperties = {
|
|
|
334
334
|
Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters
|
|
335
335
|
Valid Values:
|
|
336
336
|
+ ``7``
|
|
337
|
-
+
|
|
337
|
+
+ *month* * 31, where *month* is a number of months from 1-23. Examples: ``93`` (3 months * 31), ``341`` (11 months * 31), ``589`` (19 months * 31)
|
|
338
338
|
+ ``731``
|
|
339
339
|
|
|
340
340
|
Default: ``7`` days
|
|
@@ -346,8 +346,8 @@ export type RDSDBClusterProperties = {
|
|
|
346
346
|
Default:
|
|
347
347
|
+ When ``EngineMode`` is ``provisioned``, ``3306`` (for both Aurora MySQL and Aurora PostgreSQL)
|
|
348
348
|
+ When ``EngineMode`` is ``serverless``:
|
|
349
|
-
+
|
|
350
|
-
+
|
|
349
|
+
+ ``3306`` when ``Engine`` is ``aurora`` or ``aurora-mysql``
|
|
350
|
+
+ ``5432`` when ``Engine`` is ``aurora-postgresql``
|
|
351
351
|
|
|
352
352
|
|
|
353
353
|
The ``No interruption`` on update behavior only applies to DB clusters. If you are updating a DB instance, see [Port](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html#cfn-rds-dbinstance-port) for the AWS::RDS::DBInstance resource.
|
|
@@ -410,8 +410,8 @@ export type RDSDBClusterProperties = {
|
|
|
410
410
|
RestoreToTime?: string;
|
|
411
411
|
/**
|
|
412
412
|
* The type of restore to be performed. You can specify one of the following values:
|
|
413
|
-
+
|
|
414
|
-
+
|
|
413
|
+
+ ``full-copy`` - The new DB cluster is restored as a full copy of the source DB cluster.
|
|
414
|
+
+ ``copy-on-write`` - The new DB cluster is restored as a clone of the source DB cluster.
|
|
415
415
|
|
|
416
416
|
If you don't specify a ``RestoreType`` value, then the new DB cluster is restored as a full copy of the source DB cluster.
|
|
417
417
|
Valid for: Aurora DB clusters and Multi-AZ DB clusters
|
|
@@ -441,7 +441,7 @@ export type RDSDBClusterProperties = {
|
|
|
441
441
|
+ ``RestoreType``
|
|
442
442
|
+ ``SourceDBClusterIdentifier``
|
|
443
443
|
+ ``SourceRegion``
|
|
444
|
-
+
|
|
444
|
+
+ ``StorageEncrypted`` (for an encrypted snapshot)
|
|
445
445
|
+ ``UseLatestRestorableTime``
|
|
446
446
|
|
|
447
447
|
Constraints:
|
|
@@ -620,8 +620,8 @@ export type ScalingConfiguration = {
|
|
|
620
620
|
SecondsUntilAutoPause?: number;
|
|
621
621
|
/**
|
|
622
622
|
* The action to take when the timeout is reached, either ``ForceApplyCapacityChange`` or ``RollbackCapacityChange``.
|
|
623
|
-
|
|
624
|
-
|
|
623
|
+
``ForceApplyCapacityChange`` sets the capacity to the specified value as soon as possible.
|
|
624
|
+
``RollbackCapacityChange``, the default, ignores the capacity change if a scaling point isn't found in the timeout period.
|
|
625
625
|
If you specify ``ForceApplyCapacityChange``, connections that prevent Aurora Serverless v1 from finding a scaling point might be dropped.
|
|
626
626
|
For more information, see [Autoscaling for Aurora Serverless v1](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.how-it-works.html#aurora-serverless.how-it-works.auto-scaling) in the *Amazon Aurora User Guide*.
|
|
627
627
|
*/
|
|
@@ -678,7 +678,7 @@ export type Tag = {
|
|
|
678
678
|
For more information about creating a Multi-AZ DB cluster, see [Creating a Multi-AZ DB cluster](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/create-multi-az-db-cluster.html) in the *Amazon RDS User Guide*.
|
|
679
679
|
You can only create this resource in AWS Regions where Amazon Aurora or Multi-AZ DB clusters are supported.
|
|
680
680
|
*Updating DB clusters*
|
|
681
|
-
When properties labeled "*Update requires:*
|
|
681
|
+
When properties labeled "*Update requires:*[Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)" are updated, AWS CloudFormation first creates a replacement DB cluster, then changes references from other dependent resources to point to the replacement DB cluster, and finally deletes the old DB cluster.
|
|
682
682
|
We highly recommend that you take a snapshot of the database before updating the stack. If you don't, you lose the data when AWS CloudFormation replaces your DB cluster. To preserve your data, perform the following procedure:
|
|
683
683
|
1. Deactivate any applications that are using the DB cluster so that there's no activity on the DB instance.
|
|
684
684
|
1. Create a snapshot of the DB cluster. For more information, see [Creating a DB cluster snapshot](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_CreateSnapshotCluster.html).
|
package/lib/AWS-RDS-DBCluster.js
CHANGED
|
@@ -5,7 +5,7 @@ import { Resource as $Resource } from "@awboost/cfn-template-builder/template/re
|
|
|
5
5
|
For more information about creating a Multi-AZ DB cluster, see [Creating a Multi-AZ DB cluster](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/create-multi-az-db-cluster.html) in the *Amazon RDS User Guide*.
|
|
6
6
|
You can only create this resource in AWS Regions where Amazon Aurora or Multi-AZ DB clusters are supported.
|
|
7
7
|
*Updating DB clusters*
|
|
8
|
-
When properties labeled "*Update requires:*
|
|
8
|
+
When properties labeled "*Update requires:*[Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)" are updated, AWS CloudFormation first creates a replacement DB cluster, then changes references from other dependent resources to point to the replacement DB cluster, and finally deletes the old DB cluster.
|
|
9
9
|
We highly recommend that you take a snapshot of the database before updating the stack. If you don't, you lose the data when AWS CloudFormation replaces your DB cluster. To preserve your data, perform the following procedure:
|
|
10
10
|
1. Deactivate any applications that are using the DB cluster so that there's no activity on the DB instance.
|
|
11
11
|
1. Create a snapshot of the DB cluster. For more information, see [Creating a DB cluster snapshot](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_CreateSnapshotCluster.html).
|
|
@@ -7,7 +7,7 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
|
|
|
7
7
|
If you import an existing DB instance, and the template configuration doesn't match the actual configuration of the DB instance, AWS CloudFormation applies the changes in the template during the import operation.
|
|
8
8
|
If a DB instance is deleted or replaced during an update, AWS CloudFormation deletes all automated snapshots. However, it retains manual DB snapshots. During an update that requires replacement, you can apply a stack policy to prevent DB instances from being replaced. For more information, see [Prevent Updates to Stack Resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/protect-stack-resources.html).
|
|
9
9
|
*Updating DB instances*
|
|
10
|
-
When properties labeled "*Update requires:*
|
|
10
|
+
When properties labeled "*Update requires:*[Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)" are updated, AWS CloudFormation first creates a replacement DB instance, then changes references from other dependent resources to point to the replacement DB instance, and finally deletes the old DB instance.
|
|
11
11
|
We highly recommend that you take a snapshot of the database before updating the stack. If you don't, you lose the data when AWS CloudFormation replaces your DB instance. To preserve your data, perform the following procedure:
|
|
12
12
|
1. Deactivate any applications that are using the DB instance so that there's no activity on the DB instance.
|
|
13
13
|
1. Create a snapshot of the DB instance. For more information, see [Creating a DB Snapshot](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_CreateSnapshot.html).
|
|
@@ -291,7 +291,7 @@ export type RDSDBInstanceProperties = {
|
|
|
291
291
|
+ ``PromotionTier``
|
|
292
292
|
+ ``SourceDBInstanceIdentifier``
|
|
293
293
|
+ ``SourceRegion``
|
|
294
|
-
+
|
|
294
|
+
+ ``StorageEncrypted`` (for an unencrypted snapshot)
|
|
295
295
|
+ ``Timezone``
|
|
296
296
|
|
|
297
297
|
*Amazon Aurora*
|
|
@@ -309,6 +309,10 @@ export type RDSDBInstanceProperties = {
|
|
|
309
309
|
* The Oracle system identifier (SID), which is the name of the Oracle database instance that manages your database files. In this context, the term "Oracle database instance" refers exclusively to the system global area (SGA) and Oracle background processes. If you don't specify a SID, the value defaults to ``RDSCDB``. The Oracle SID is also the name of your CDB.
|
|
310
310
|
*/
|
|
311
311
|
DBSystemId?: string;
|
|
312
|
+
/**
|
|
313
|
+
* The mode of Database Insights to enable for the DB instance.
|
|
314
|
+
Aurora DB instances inherit this value from the DB cluster, so you can't change this value.
|
|
315
|
+
*/
|
|
312
316
|
DatabaseInsightsMode?: string;
|
|
313
317
|
/**
|
|
314
318
|
* Indicates whether the DB instance has a dedicated log volume (DLV) enabled.
|
|
@@ -402,13 +406,13 @@ export type RDSDBInstanceProperties = {
|
|
|
402
406
|
This property is required when creating a DB instance.
|
|
403
407
|
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.
|
|
404
408
|
Valid Values:
|
|
405
|
-
+
|
|
406
|
-
+
|
|
407
|
-
+
|
|
408
|
-
+
|
|
409
|
-
+
|
|
410
|
-
+
|
|
411
|
-
+
|
|
409
|
+
+ ``aurora-mysql`` (for Aurora MySQL DB instances)
|
|
410
|
+
+ ``aurora-postgresql`` (for Aurora PostgreSQL DB instances)
|
|
411
|
+
+ ``custom-oracle-ee`` (for RDS Custom for Oracle DB instances)
|
|
412
|
+
+ ``custom-oracle-ee-cdb`` (for RDS Custom for Oracle DB instances)
|
|
413
|
+
+ ``custom-sqlserver-ee`` (for RDS Custom for SQL Server DB instances)
|
|
414
|
+
+ ``custom-sqlserver-se`` (for RDS Custom for SQL Server DB instances)
|
|
415
|
+
+ ``custom-sqlserver-web`` (for RDS Custom for SQL Server DB instances)
|
|
412
416
|
+ ``db2-ae``
|
|
413
417
|
+ ``db2-se``
|
|
414
418
|
+ ``mariadb``
|
|
@@ -624,7 +628,7 @@ export type RDSDBInstanceProperties = {
|
|
|
624
628
|
This setting doesn't apply to RDS Custom DB instances.
|
|
625
629
|
Valid Values:
|
|
626
630
|
+ ``7``
|
|
627
|
-
+
|
|
631
|
+
+ *month* * 31, where *month* is a number of months from 1-23. Examples: ``93`` (3 months * 31), ``341`` (11 months * 31), ``589`` (19 months * 31)
|
|
628
632
|
+ ``731``
|
|
629
633
|
|
|
630
634
|
Default: ``7`` days
|
|
@@ -920,7 +924,7 @@ export type Tag = {
|
|
|
920
924
|
If you import an existing DB instance, and the template configuration doesn't match the actual configuration of the DB instance, AWS CloudFormation applies the changes in the template during the import operation.
|
|
921
925
|
If a DB instance is deleted or replaced during an update, AWS CloudFormation deletes all automated snapshots. However, it retains manual DB snapshots. During an update that requires replacement, you can apply a stack policy to prevent DB instances from being replaced. For more information, see [Prevent Updates to Stack Resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/protect-stack-resources.html).
|
|
922
926
|
*Updating DB instances*
|
|
923
|
-
When properties labeled "*Update requires:*
|
|
927
|
+
When properties labeled "*Update requires:*[Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)" are updated, AWS CloudFormation first creates a replacement DB instance, then changes references from other dependent resources to point to the replacement DB instance, and finally deletes the old DB instance.
|
|
924
928
|
We highly recommend that you take a snapshot of the database before updating the stack. If you don't, you lose the data when AWS CloudFormation replaces your DB instance. To preserve your data, perform the following procedure:
|
|
925
929
|
1. Deactivate any applications that are using the DB instance so that there's no activity on the DB instance.
|
|
926
930
|
1. Create a snapshot of the DB instance. For more information, see [Creating a DB Snapshot](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_CreateSnapshot.html).
|
|
@@ -6,7 +6,7 @@ import { Resource as $Resource } from "@awboost/cfn-template-builder/template/re
|
|
|
6
6
|
If you import an existing DB instance, and the template configuration doesn't match the actual configuration of the DB instance, AWS CloudFormation applies the changes in the template during the import operation.
|
|
7
7
|
If a DB instance is deleted or replaced during an update, AWS CloudFormation deletes all automated snapshots. However, it retains manual DB snapshots. During an update that requires replacement, you can apply a stack policy to prevent DB instances from being replaced. For more information, see [Prevent Updates to Stack Resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/protect-stack-resources.html).
|
|
8
8
|
*Updating DB instances*
|
|
9
|
-
When properties labeled "*Update requires:*
|
|
9
|
+
When properties labeled "*Update requires:*[Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)" are updated, AWS CloudFormation first creates a replacement DB instance, then changes references from other dependent resources to point to the replacement DB instance, and finally deletes the old DB instance.
|
|
10
10
|
We highly recommend that you take a snapshot of the database before updating the stack. If you don't, you lose the data when AWS CloudFormation replaces your DB instance. To preserve your data, perform the following procedure:
|
|
11
11
|
1. Deactivate any applications that are using the DB instance so that there's no activity on the DB instance.
|
|
12
12
|
1. Create a snapshot of the DB instance. For more information, see [Creating a DB Snapshot](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_CreateSnapshot.html).
|
|
@@ -52,7 +52,7 @@ export type RDSDBParameterGroupProperties = {
|
|
|
52
52
|
/**
|
|
53
53
|
* A mapping of parameter names and values for the parameter update. You must specify at least one parameter name and value.
|
|
54
54
|
For more information about parameter groups, see [Working with parameter groups](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithParamGroups.html) in the *Amazon RDS User Guide*, or [Working with parameter groups](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_WorkingWithParamGroups.html) in the *Amazon Aurora User Guide*.
|
|
55
|
-
|
|
55
|
+
AWS CloudFormation doesn't support specifying an apply method for each individual parameter. The default apply method for each parameter is used.
|
|
56
56
|
*/
|
|
57
57
|
Parameters?: Record<string, any>;
|
|
58
58
|
/**
|
|
@@ -1,46 +1,69 @@
|
|
|
1
1
|
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
2
|
import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-builder/template";
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Definition of AWS::SSMGuiConnect::Preferences Resource Type
|
|
5
5
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmguiconnect-preferences.html}
|
|
6
6
|
*/
|
|
7
7
|
export type SSMGuiConnectPreferencesProperties = {
|
|
8
|
-
|
|
8
|
+
/**
|
|
9
|
+
* The set of preferences used for recording RDP connections in the requesting AWS account and AWS Region. This includes details such as which S3 bucket recordings are stored in.
|
|
10
|
+
*/
|
|
11
|
+
ConnectionRecordingPreferences?: {
|
|
12
|
+
/**
|
|
13
|
+
* The ARN of a AWS KMS key that is used to encrypt data while it is being processed by the service. This key must exist in the same AWS Region as the node you start an RDP connection to.
|
|
14
|
+
* @minLength `1`
|
|
15
|
+
* @maxLength `2048`
|
|
16
|
+
*/
|
|
17
|
+
KMSKeyArn: string;
|
|
18
|
+
/**
|
|
19
|
+
* Determines where recordings of RDP connections are stored.
|
|
20
|
+
*/
|
|
21
|
+
RecordingDestinations: RecordingDestinations;
|
|
22
|
+
};
|
|
9
23
|
};
|
|
10
24
|
/**
|
|
11
25
|
* Attribute type definition for `AWS::SSMGuiConnect::Preferences`.
|
|
12
26
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmguiconnect-preferences.html#aws-resource-ssmguiconnect-preferences-return-values}
|
|
13
27
|
*/
|
|
14
28
|
export type SSMGuiConnectPreferencesAttributes = {
|
|
29
|
+
/**
|
|
30
|
+
* The AWS Account Id that the preference is associated with, used as the unique identifier for this resource.
|
|
31
|
+
* @pattern `\d{12}`
|
|
32
|
+
*/
|
|
15
33
|
AccountId: string;
|
|
16
|
-
Id: string;
|
|
17
34
|
};
|
|
18
35
|
/**
|
|
19
|
-
* Type definition for `AWS::SSMGuiConnect::Preferences.
|
|
20
|
-
*
|
|
36
|
+
* Type definition for `AWS::SSMGuiConnect::Preferences.RecordingDestinations`.
|
|
37
|
+
* Determines where recordings of RDP connections are stored.
|
|
38
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmguiconnect-preferences-recordingdestinations.html}
|
|
21
39
|
*/
|
|
22
|
-
export type
|
|
23
|
-
|
|
24
|
-
|
|
40
|
+
export type RecordingDestinations = {
|
|
41
|
+
/**
|
|
42
|
+
* The S3 bucket where RDP connection recordings are stored.
|
|
43
|
+
* @minLength `1`
|
|
44
|
+
* @maxLength `1`
|
|
45
|
+
*/
|
|
46
|
+
S3Buckets: S3Bucket[];
|
|
25
47
|
};
|
|
26
48
|
/**
|
|
27
|
-
* Type definition for `AWS::SSMGuiConnect::Preferences.
|
|
28
|
-
*
|
|
49
|
+
* Type definition for `AWS::SSMGuiConnect::Preferences.S3Bucket`.
|
|
50
|
+
* The S3 bucket where RDP connection recordings are stored.
|
|
51
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmguiconnect-preferences-s3bucket.html}
|
|
29
52
|
*/
|
|
30
|
-
export type
|
|
31
|
-
|
|
32
|
-
|
|
53
|
+
export type S3Bucket = {
|
|
54
|
+
/**
|
|
55
|
+
* The name of the S3 bucket where RDP connection recordings are stored.
|
|
56
|
+
* @pattern `(?=^.{3,63}$)(?!^(\d+\.)+\d+$)(^(([a-z0-9]|[a-z0-9][a-z0-9\-]*[a-z0-9])\.)*([a-z0-9]|[a-z0-9][a-z0-9\-]*[a-z0-9])$)`
|
|
57
|
+
*/
|
|
58
|
+
BucketName: string;
|
|
59
|
+
/**
|
|
60
|
+
* The AWS account number that owns the S3 bucket.
|
|
61
|
+
* @pattern `^[0-9]{12}$`
|
|
62
|
+
*/
|
|
63
|
+
BucketOwner: string;
|
|
33
64
|
};
|
|
34
65
|
/**
|
|
35
|
-
*
|
|
36
|
-
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmguiconnect-preferences-idleconnectiontimeout.html}
|
|
37
|
-
*/
|
|
38
|
-
export type IdleConnectionTimeout = {
|
|
39
|
-
Type?: string;
|
|
40
|
-
Value: number;
|
|
41
|
-
};
|
|
42
|
-
/**
|
|
43
|
-
* Resource Type definition for AWS::SSMGuiConnect::Preferences
|
|
66
|
+
* Definition of AWS::SSMGuiConnect::Preferences Resource Type
|
|
44
67
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmguiconnect-preferences.html}
|
|
45
68
|
*/
|
|
46
69
|
export declare class SSMGuiConnectPreferences extends $Resource<"AWS::SSMGuiConnect::Preferences", SSMGuiConnectPreferencesProperties, SSMGuiConnectPreferencesAttributes> {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Definition of AWS::SSMGuiConnect::Preferences Resource Type
|
|
4
4
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmguiconnect-preferences.html}
|
|
5
5
|
*/
|
|
6
6
|
export class SSMGuiConnectPreferences extends $Resource {
|
|
@@ -68,7 +68,7 @@ export type SecretsManagerSecretAttributes = {
|
|
|
68
68
|
/**
|
|
69
69
|
* Type definition for `AWS::SecretsManager::Secret.GenerateSecretString`.
|
|
70
70
|
* Generates a random password. We recommend that you specify the maximum length and include every character type that the system you are generating a password for can support.
|
|
71
|
-
*Required permissions
|
|
71
|
+
*Required permissions:*``secretsmanager:GetRandomPassword``. For more information, see [IAM policy actions for Secrets Manager](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awssecretsmanager.html#awssecretsmanager-actions-as-permissions) and [Authentication and access control in Secrets Manager](https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html).
|
|
72
72
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-secretsmanager-secret-generatesecretstring.html}
|
|
73
73
|
*/
|
|
74
74
|
export type GenerateSecretString = {
|
|
@@ -12,6 +12,10 @@ export type VerifiedPermissionsPolicyStoreProperties = {
|
|
|
12
12
|
*/
|
|
13
13
|
Description?: string;
|
|
14
14
|
Schema?: SchemaDefinition;
|
|
15
|
+
/**
|
|
16
|
+
* The tags to add to the policy store
|
|
17
|
+
*/
|
|
18
|
+
Tags?: Tag[];
|
|
15
19
|
ValidationSettings: ValidationSettings;
|
|
16
20
|
};
|
|
17
21
|
/**
|
|
@@ -39,6 +43,14 @@ export type VerifiedPermissionsPolicyStoreAttributes = {
|
|
|
39
43
|
export type SchemaDefinition = {
|
|
40
44
|
CedarJson?: string;
|
|
41
45
|
};
|
|
46
|
+
/**
|
|
47
|
+
* Type definition for `AWS::VerifiedPermissions::PolicyStore.Tag`.
|
|
48
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-verifiedpermissions-policystore-tag.html}
|
|
49
|
+
*/
|
|
50
|
+
export type Tag = {
|
|
51
|
+
Key: string;
|
|
52
|
+
Value: string;
|
|
53
|
+
};
|
|
42
54
|
/**
|
|
43
55
|
* Type definition for `AWS::VerifiedPermissions::PolicyStore.ValidationMode`.
|
|
44
56
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-verifiedpermissions-policystore-validationmode.html}
|