aws-cdk-lib 2.179.0__py3-none-any.whl → 2.181.0__py3-none-any.whl
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.
Potentially problematic release.
This version of aws-cdk-lib might be problematic. Click here for more details.
- aws_cdk/__init__.py +92 -34
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.179.0.jsii.tgz → aws-cdk-lib@2.181.0.jsii.tgz} +0 -0
- aws_cdk/aws_acmpca/__init__.py +48 -1
- aws_cdk/aws_apigateway/__init__.py +6 -6
- aws_cdk/aws_appsync/__init__.py +4 -3
- aws_cdk/aws_backup/__init__.py +89 -0
- aws_cdk/aws_batch/__init__.py +89 -50
- aws_cdk/aws_bedrock/__init__.py +1265 -62
- aws_cdk/aws_chatbot/__init__.py +80 -53
- aws_cdk/aws_cloudformation/__init__.py +40 -8
- aws_cdk/aws_cloudfront/__init__.py +1046 -155
- aws_cdk/aws_cloudfront_origins/__init__.py +1338 -144
- aws_cdk/aws_cloudtrail/__init__.py +4 -8
- aws_cdk/aws_cloudwatch/__init__.py +1 -1
- aws_cdk/aws_codebuild/__init__.py +2 -2
- aws_cdk/aws_codepipeline/__init__.py +24 -0
- aws_cdk/aws_codepipeline_actions/__init__.py +28 -1
- aws_cdk/aws_codestar/__init__.py +2 -1
- aws_cdk/aws_cognito/__init__.py +100 -13
- aws_cdk/aws_config/__init__.py +3 -3
- aws_cdk/aws_connect/__init__.py +257 -0
- aws_cdk/aws_datasync/__init__.py +279 -50
- aws_cdk/aws_deadline/__init__.py +683 -6
- aws_cdk/aws_directoryservice/__init__.py +9 -4
- aws_cdk/aws_dlm/__init__.py +2 -2
- aws_cdk/aws_dms/__init__.py +3 -3
- aws_cdk/aws_dynamodb/__init__.py +4 -58
- aws_cdk/aws_ec2/__init__.py +377 -121
- aws_cdk/aws_ecs/__init__.py +37 -46
- aws_cdk/aws_efs/__init__.py +1 -1
- aws_cdk/aws_eks/__init__.py +19 -13
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +13 -27
- aws_cdk/aws_emrcontainers/__init__.py +44 -1
- aws_cdk/aws_events/__init__.py +8 -11
- aws_cdk/aws_fms/__init__.py +5 -5
- aws_cdk/aws_fsx/__init__.py +5 -4
- aws_cdk/aws_glue/__init__.py +161 -0
- aws_cdk/aws_groundstation/__init__.py +23 -1
- aws_cdk/aws_iam/__init__.py +12 -12
- aws_cdk/aws_iot/__init__.py +7 -0
- aws_cdk/aws_ivs/__init__.py +17 -8
- aws_cdk/aws_kinesis/__init__.py +689 -35
- aws_cdk/aws_lambda/__init__.py +10 -15
- aws_cdk/aws_lambda_event_sources/__init__.py +175 -2
- aws_cdk/aws_medialive/__init__.py +314 -4
- aws_cdk/aws_mediapackagev2/__init__.py +228 -0
- aws_cdk/aws_networkfirewall/__init__.py +3 -3
- aws_cdk/aws_opensearchserverless/__init__.py +31 -8
- aws_cdk/aws_organizations/__init__.py +3 -3
- aws_cdk/aws_pcaconnectorscep/__init__.py +1 -1
- aws_cdk/aws_rds/__init__.py +456 -100
- aws_cdk/aws_s3/__init__.py +278 -0
- aws_cdk/aws_s3objectlambda/__init__.py +2 -2
- aws_cdk/aws_ses/__init__.py +228 -8
- aws_cdk/aws_ssm/__init__.py +9 -10
- aws_cdk/aws_stepfunctions/__init__.py +345 -70
- aws_cdk/aws_stepfunctions_tasks/__init__.py +142 -142
- aws_cdk/aws_supportapp/__init__.py +7 -7
- aws_cdk/aws_transfer/__init__.py +829 -4
- aws_cdk/aws_wafv2/__init__.py +17 -9
- aws_cdk/aws_wisdom/__init__.py +149 -4
- aws_cdk/custom_resources/__init__.py +23 -26
- aws_cdk/cx_api/__init__.py +16 -0
- {aws_cdk_lib-2.179.0.dist-info → aws_cdk_lib-2.181.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.179.0.dist-info → aws_cdk_lib-2.181.0.dist-info}/RECORD +70 -70
- {aws_cdk_lib-2.179.0.dist-info → aws_cdk_lib-2.181.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.179.0.dist-info → aws_cdk_lib-2.181.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.179.0.dist-info → aws_cdk_lib-2.181.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.179.0.dist-info → aws_cdk_lib-2.181.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_rds/__init__.py
CHANGED
|
@@ -355,7 +355,7 @@ DB instance to a status of `incompatible-parameters`. While the DB instance has
|
|
|
355
355
|
the incompatible-parameters status, some operations are blocked. For example,
|
|
356
356
|
you can't upgrade the engine version.
|
|
357
357
|
|
|
358
|
-
|
|
358
|
+
### CA certificate
|
|
359
359
|
|
|
360
360
|
Use the `caCertificate` property to specify the [CA certificates](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL-certificate-rotation.html)
|
|
361
361
|
to use for a cluster instances:
|
|
@@ -377,6 +377,35 @@ cluster = rds.DatabaseCluster(self, "Database",
|
|
|
377
377
|
)
|
|
378
378
|
```
|
|
379
379
|
|
|
380
|
+
### Scheduling modifications
|
|
381
|
+
|
|
382
|
+
To schedule modifications to database instances in the next scheduled maintenance window, specify `applyImmediately` to `false` in the instance props:
|
|
383
|
+
|
|
384
|
+
```python
|
|
385
|
+
# vpc: ec2.Vpc
|
|
386
|
+
|
|
387
|
+
rds.DatabaseCluster(self, "Database",
|
|
388
|
+
engine=rds.DatabaseClusterEngine.aurora_mysql(version=rds.AuroraMysqlEngineVersion.VER_3_01_0),
|
|
389
|
+
writer=rds.ClusterInstance.provisioned("writer",
|
|
390
|
+
apply_immediately=False
|
|
391
|
+
),
|
|
392
|
+
readers=[
|
|
393
|
+
rds.ClusterInstance.serverless_v2("reader",
|
|
394
|
+
apply_immediately=False
|
|
395
|
+
)
|
|
396
|
+
],
|
|
397
|
+
vpc=vpc
|
|
398
|
+
)
|
|
399
|
+
```
|
|
400
|
+
|
|
401
|
+
Until RDS applies the changes, the DB instance remains in a drift state.
|
|
402
|
+
As a result, the configuration doesn't fully reflect the requested modifications and temporarily diverges from the intended state.
|
|
403
|
+
|
|
404
|
+
Currently, CloudFormation does not support to schedule modifications of the cluster configurations.
|
|
405
|
+
To apply changes of the cluster, such as engine version, in the next scheduled maintenance window, you should use `modify-db-cluster` CLI command or management console.
|
|
406
|
+
|
|
407
|
+
For details, see [Modifying an Amazon Aurora DB cluster](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Modifying.html).
|
|
408
|
+
|
|
380
409
|
### Migrating from instanceProps
|
|
381
410
|
|
|
382
411
|
Creating instances in a `DatabaseCluster` using `instanceProps` & `instances` is
|
|
@@ -756,6 +785,25 @@ rds.DatabaseInstance(self, "Instance",
|
|
|
756
785
|
)
|
|
757
786
|
```
|
|
758
787
|
|
|
788
|
+
### Scheduling modifications
|
|
789
|
+
|
|
790
|
+
To schedule modifications in the next scheduled maintenance window, specify `applyImmediately` to `false`:
|
|
791
|
+
|
|
792
|
+
```python
|
|
793
|
+
# vpc: ec2.Vpc
|
|
794
|
+
|
|
795
|
+
rds.DatabaseInstance(self, "Instance",
|
|
796
|
+
engine=rds.DatabaseInstanceEngine.mysql(version=rds.MysqlEngineVersion.VER_8_0_39),
|
|
797
|
+
vpc=vpc,
|
|
798
|
+
apply_immediately=False
|
|
799
|
+
)
|
|
800
|
+
```
|
|
801
|
+
|
|
802
|
+
Until RDS applies the changes, the DB instance remains in a drift state.
|
|
803
|
+
As a result, the configuration doesn't fully reflect the requested modifications and temporarily diverges from the intended state.
|
|
804
|
+
|
|
805
|
+
For details, see [Using the schedule modifications setting](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_ModifyInstance.ApplyImmediately.html).
|
|
806
|
+
|
|
759
807
|
## Setting Public Accessibility
|
|
760
808
|
|
|
761
809
|
You can set public accessibility for the `DatabaseInstance` or the `ClusterInstance` using the `publiclyAccessible` property.
|
|
@@ -2246,11 +2294,14 @@ class AuroraMysqlEngineVersion(
|
|
|
2246
2294
|
|
|
2247
2295
|
cluster = rds.DatabaseCluster(self, "Database",
|
|
2248
2296
|
engine=rds.DatabaseClusterEngine.aurora_mysql(version=rds.AuroraMysqlEngineVersion.VER_3_01_0),
|
|
2249
|
-
writer=rds.ClusterInstance.provisioned("
|
|
2250
|
-
|
|
2297
|
+
writer=rds.ClusterInstance.provisioned("writer",
|
|
2298
|
+
ca_certificate=rds.CaCertificate.RDS_CA_RSA2048_G1
|
|
2251
2299
|
),
|
|
2252
|
-
readers=[
|
|
2253
|
-
|
|
2300
|
+
readers=[
|
|
2301
|
+
rds.ClusterInstance.serverless_v2("reader",
|
|
2302
|
+
ca_certificate=rds.CaCertificate.of("custom-ca")
|
|
2303
|
+
)
|
|
2304
|
+
],
|
|
2254
2305
|
vpc=vpc
|
|
2255
2306
|
)
|
|
2256
2307
|
'''
|
|
@@ -2981,6 +3032,12 @@ class AuroraMysqlEngineVersion(
|
|
|
2981
3032
|
'''Version "8.0.mysql_aurora.3.08.0".'''
|
|
2982
3033
|
return typing.cast("AuroraMysqlEngineVersion", jsii.sget(cls, "VER_3_08_0"))
|
|
2983
3034
|
|
|
3035
|
+
@jsii.python.classproperty
|
|
3036
|
+
@jsii.member(jsii_name="VER_3_08_1")
|
|
3037
|
+
def VER_3_08_1(cls) -> "AuroraMysqlEngineVersion":
|
|
3038
|
+
'''Version "8.0.mysql_aurora.3.08.1".'''
|
|
3039
|
+
return typing.cast("AuroraMysqlEngineVersion", jsii.sget(cls, "VER_3_08_1"))
|
|
3040
|
+
|
|
2984
3041
|
@jsii.python.classproperty
|
|
2985
3042
|
@jsii.member(jsii_name="VER_5_7_12")
|
|
2986
3043
|
def VER_5_7_12(cls) -> "AuroraMysqlEngineVersion":
|
|
@@ -8686,6 +8743,7 @@ class CfnDBInstance(
|
|
|
8686
8743
|
cfn_dBInstance = rds.CfnDBInstance(self, "MyCfnDBInstance",
|
|
8687
8744
|
allocated_storage="allocatedStorage",
|
|
8688
8745
|
allow_major_version_upgrade=False,
|
|
8746
|
+
apply_immediately=False,
|
|
8689
8747
|
associated_roles=[rds.CfnDBInstance.DBInstanceRoleProperty(
|
|
8690
8748
|
feature_name="featureName",
|
|
8691
8749
|
role_arn="roleArn"
|
|
@@ -8792,6 +8850,7 @@ class CfnDBInstance(
|
|
|
8792
8850
|
*,
|
|
8793
8851
|
allocated_storage: typing.Optional[builtins.str] = None,
|
|
8794
8852
|
allow_major_version_upgrade: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
8853
|
+
apply_immediately: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
8795
8854
|
associated_roles: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDBInstance.DBInstanceRoleProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
8796
8855
|
automatic_backup_replication_kms_key_id: typing.Optional[builtins.str] = None,
|
|
8797
8856
|
automatic_backup_replication_region: typing.Optional[builtins.str] = None,
|
|
@@ -8875,6 +8934,7 @@ class CfnDBInstance(
|
|
|
8875
8934
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
8876
8935
|
:param allocated_storage: The amount of storage in gibibytes (GiB) to be initially allocated for the database instance. .. epigraph:: If any value is set in the ``Iops`` parameter, ``AllocatedStorage`` must be at least 100 GiB, which corresponds to the minimum Iops value of 1,000. If you increase the ``Iops`` value (in 1,000 IOPS increments), then you must also increase the ``AllocatedStorage`` value (in 100-GiB increments). *Amazon Aurora* Not applicable. Aurora cluster volumes automatically grow as the amount of data in your database increases, though you are only charged for the space that you use in an Aurora cluster volume. *Db2* Constraints to the amount of storage for each storage type are the following: - General Purpose (SSD) storage (gp3): Must be an integer from 20 to 64000. - Provisioned IOPS storage (io1): Must be an integer from 100 to 64000. *MySQL* Constraints to the amount of storage for each storage type are the following: - General Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536. - Provisioned IOPS storage (io1): Must be an integer from 100 to 65536. - Magnetic storage (standard): Must be an integer from 5 to 3072. *MariaDB* Constraints to the amount of storage for each storage type are the following: - General Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536. - Provisioned IOPS storage (io1): Must be an integer from 100 to 65536. - Magnetic storage (standard): Must be an integer from 5 to 3072. *PostgreSQL* Constraints to the amount of storage for each storage type are the following: - General Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536. - Provisioned IOPS storage (io1): Must be an integer from 100 to 65536. - Magnetic storage (standard): Must be an integer from 5 to 3072. *Oracle* Constraints to the amount of storage for each storage type are the following: - General Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536. - Provisioned IOPS storage (io1): Must be an integer from 100 to 65536. - Magnetic storage (standard): Must be an integer from 10 to 3072. *SQL Server* Constraints to the amount of storage for each storage type are the following: - General Purpose (SSD) storage (gp2): - Enterprise and Standard editions: Must be an integer from 20 to 16384. - Web and Express editions: Must be an integer from 20 to 16384. - Provisioned IOPS storage (io1): - Enterprise and Standard editions: Must be an integer from 20 to 16384. - Web and Express editions: Must be an integer from 20 to 16384. - Magnetic storage (standard): - Enterprise and Standard editions: Must be an integer from 20 to 1024. - Web and Express editions: Must be an integer from 20 to 1024.
|
|
8877
8936
|
:param allow_major_version_upgrade: A value that indicates whether major version upgrades are allowed. Changing this parameter doesn't result in an outage and the change is asynchronously applied as soon as possible. Constraints: Major version upgrades must be allowed when specifying a value for the ``EngineVersion`` parameter that is a different major version than the DB instance's current version.
|
|
8937
|
+
:param apply_immediately: Specifies whether changes to the DB instance and any pending modifications are applied immediately, regardless of the ``PreferredMaintenanceWindow`` setting. If set to ``false`` , changes are applied during the next maintenance window. Until RDS applies the changes, the DB instance remains in a drift state. As a result, the configuration doesn't fully reflect the requested modifications and temporarily diverges from the intended state. In addition to the settings described in `Modifying a DB instance <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Overview.DBInstance.Modifying.html>`_ , this property also determines whether the DB instance reboots when a static parameter is modified in the associated DB parameter group. Default: ``true``
|
|
8878
8938
|
:param associated_roles: The AWS Identity and Access Management (IAM) roles associated with the DB instance. *Amazon Aurora* Not applicable. The associated roles are managed by the DB cluster.
|
|
8879
8939
|
:param automatic_backup_replication_kms_key_id: 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`` .
|
|
8880
8940
|
:param automatic_backup_replication_region: The AWS Region associated with the automated backup.
|
|
@@ -8944,7 +9004,7 @@ class CfnDBInstance(
|
|
|
8944
9004
|
:param source_region: The ID of the region that contains the source DB instance for the read replica.
|
|
8945
9005
|
:param storage_encrypted: A value that indicates whether the DB instance is encrypted. By default, it isn't encrypted. If you specify the ``KmsKeyId`` property, then you must enable encryption. If you specify the ``SourceDBInstanceIdentifier`` or ``SourceDbiResourceId`` 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. If you specify the ``SourceDBInstanceAutomatedBackupsArn`` property, don't specify this property. The value is inherited from the source DB instance automated backup. If you specify ``DBSnapshotIdentifier`` property, don't specify this property. The value is inherited from the snapshot. *Amazon Aurora* Not applicable. The encryption for DB instances is managed by the DB cluster.
|
|
8946
9006
|
:param storage_throughput: Specifies the storage throughput value, in mebibyte per second (MiBps), for the DB instance. This setting applies only to the ``gp3`` storage type. This setting doesn't apply to RDS Custom or Amazon Aurora.
|
|
8947
|
-
:param storage_type: The storage type to associate with the DB instance. If you specify ``io1`` , ``io2`` , or ``gp3`` , you must also include a value for the ``Iops`` parameter. This setting doesn't apply to Amazon Aurora DB instances. Storage is managed by the DB cluster. Valid Values: ``gp2 | gp3 | io1 | io2 | standard`` Default: ``io1`` , if the ``Iops`` parameter is specified. Otherwise, ``
|
|
9007
|
+
:param storage_type: The storage type to associate with the DB instance. If you specify ``io1`` , ``io2`` , or ``gp3`` , you must also include a value for the ``Iops`` parameter. This setting doesn't apply to Amazon Aurora DB instances. Storage is managed by the DB cluster. Valid Values: ``gp2 | gp3 | io1 | io2 | standard`` Default: ``io1`` , if the ``Iops`` parameter is specified. Otherwise, ``gp3`` .
|
|
8948
9008
|
:param tags: Tags to assign to the DB instance.
|
|
8949
9009
|
:param tde_credential_arn:
|
|
8950
9010
|
:param tde_credential_password:
|
|
@@ -8960,6 +9020,7 @@ class CfnDBInstance(
|
|
|
8960
9020
|
props = CfnDBInstanceProps(
|
|
8961
9021
|
allocated_storage=allocated_storage,
|
|
8962
9022
|
allow_major_version_upgrade=allow_major_version_upgrade,
|
|
9023
|
+
apply_immediately=apply_immediately,
|
|
8963
9024
|
associated_roles=associated_roles,
|
|
8964
9025
|
automatic_backup_replication_kms_key_id=automatic_backup_replication_kms_key_id,
|
|
8965
9026
|
automatic_backup_replication_region=automatic_backup_replication_region,
|
|
@@ -9215,6 +9276,24 @@ class CfnDBInstance(
|
|
|
9215
9276
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
9216
9277
|
jsii.set(self, "allowMajorVersionUpgrade", value) # pyright: ignore[reportArgumentType]
|
|
9217
9278
|
|
|
9279
|
+
@builtins.property
|
|
9280
|
+
@jsii.member(jsii_name="applyImmediately")
|
|
9281
|
+
def apply_immediately(
|
|
9282
|
+
self,
|
|
9283
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
9284
|
+
'''Specifies whether changes to the DB instance and any pending modifications are applied immediately, regardless of the ``PreferredMaintenanceWindow`` setting.'''
|
|
9285
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], jsii.get(self, "applyImmediately"))
|
|
9286
|
+
|
|
9287
|
+
@apply_immediately.setter
|
|
9288
|
+
def apply_immediately(
|
|
9289
|
+
self,
|
|
9290
|
+
value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
|
|
9291
|
+
) -> None:
|
|
9292
|
+
if __debug__:
|
|
9293
|
+
type_hints = typing.get_type_hints(_typecheckingstub__541ae79271b3863f62364d17706d85a7c492cd2e7587446eabdb62da45fc95fe)
|
|
9294
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
9295
|
+
jsii.set(self, "applyImmediately", value) # pyright: ignore[reportArgumentType]
|
|
9296
|
+
|
|
9218
9297
|
@builtins.property
|
|
9219
9298
|
@jsii.member(jsii_name="associatedRoles")
|
|
9220
9299
|
def associated_roles(
|
|
@@ -10758,6 +10837,7 @@ class CfnDBInstance(
|
|
|
10758
10837
|
name_mapping={
|
|
10759
10838
|
"allocated_storage": "allocatedStorage",
|
|
10760
10839
|
"allow_major_version_upgrade": "allowMajorVersionUpgrade",
|
|
10840
|
+
"apply_immediately": "applyImmediately",
|
|
10761
10841
|
"associated_roles": "associatedRoles",
|
|
10762
10842
|
"automatic_backup_replication_kms_key_id": "automaticBackupReplicationKmsKeyId",
|
|
10763
10843
|
"automatic_backup_replication_region": "automaticBackupReplicationRegion",
|
|
@@ -10843,6 +10923,7 @@ class CfnDBInstanceProps:
|
|
|
10843
10923
|
*,
|
|
10844
10924
|
allocated_storage: typing.Optional[builtins.str] = None,
|
|
10845
10925
|
allow_major_version_upgrade: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
10926
|
+
apply_immediately: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
10846
10927
|
associated_roles: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDBInstance.DBInstanceRoleProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
10847
10928
|
automatic_backup_replication_kms_key_id: typing.Optional[builtins.str] = None,
|
|
10848
10929
|
automatic_backup_replication_region: typing.Optional[builtins.str] = None,
|
|
@@ -10925,6 +11006,7 @@ class CfnDBInstanceProps:
|
|
|
10925
11006
|
|
|
10926
11007
|
:param allocated_storage: The amount of storage in gibibytes (GiB) to be initially allocated for the database instance. .. epigraph:: If any value is set in the ``Iops`` parameter, ``AllocatedStorage`` must be at least 100 GiB, which corresponds to the minimum Iops value of 1,000. If you increase the ``Iops`` value (in 1,000 IOPS increments), then you must also increase the ``AllocatedStorage`` value (in 100-GiB increments). *Amazon Aurora* Not applicable. Aurora cluster volumes automatically grow as the amount of data in your database increases, though you are only charged for the space that you use in an Aurora cluster volume. *Db2* Constraints to the amount of storage for each storage type are the following: - General Purpose (SSD) storage (gp3): Must be an integer from 20 to 64000. - Provisioned IOPS storage (io1): Must be an integer from 100 to 64000. *MySQL* Constraints to the amount of storage for each storage type are the following: - General Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536. - Provisioned IOPS storage (io1): Must be an integer from 100 to 65536. - Magnetic storage (standard): Must be an integer from 5 to 3072. *MariaDB* Constraints to the amount of storage for each storage type are the following: - General Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536. - Provisioned IOPS storage (io1): Must be an integer from 100 to 65536. - Magnetic storage (standard): Must be an integer from 5 to 3072. *PostgreSQL* Constraints to the amount of storage for each storage type are the following: - General Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536. - Provisioned IOPS storage (io1): Must be an integer from 100 to 65536. - Magnetic storage (standard): Must be an integer from 5 to 3072. *Oracle* Constraints to the amount of storage for each storage type are the following: - General Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536. - Provisioned IOPS storage (io1): Must be an integer from 100 to 65536. - Magnetic storage (standard): Must be an integer from 10 to 3072. *SQL Server* Constraints to the amount of storage for each storage type are the following: - General Purpose (SSD) storage (gp2): - Enterprise and Standard editions: Must be an integer from 20 to 16384. - Web and Express editions: Must be an integer from 20 to 16384. - Provisioned IOPS storage (io1): - Enterprise and Standard editions: Must be an integer from 20 to 16384. - Web and Express editions: Must be an integer from 20 to 16384. - Magnetic storage (standard): - Enterprise and Standard editions: Must be an integer from 20 to 1024. - Web and Express editions: Must be an integer from 20 to 1024.
|
|
10927
11008
|
:param allow_major_version_upgrade: A value that indicates whether major version upgrades are allowed. Changing this parameter doesn't result in an outage and the change is asynchronously applied as soon as possible. Constraints: Major version upgrades must be allowed when specifying a value for the ``EngineVersion`` parameter that is a different major version than the DB instance's current version.
|
|
11009
|
+
:param apply_immediately: Specifies whether changes to the DB instance and any pending modifications are applied immediately, regardless of the ``PreferredMaintenanceWindow`` setting. If set to ``false`` , changes are applied during the next maintenance window. Until RDS applies the changes, the DB instance remains in a drift state. As a result, the configuration doesn't fully reflect the requested modifications and temporarily diverges from the intended state. In addition to the settings described in `Modifying a DB instance <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Overview.DBInstance.Modifying.html>`_ , this property also determines whether the DB instance reboots when a static parameter is modified in the associated DB parameter group. Default: ``true``
|
|
10928
11010
|
:param associated_roles: The AWS Identity and Access Management (IAM) roles associated with the DB instance. *Amazon Aurora* Not applicable. The associated roles are managed by the DB cluster.
|
|
10929
11011
|
:param automatic_backup_replication_kms_key_id: 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`` .
|
|
10930
11012
|
:param automatic_backup_replication_region: The AWS Region associated with the automated backup.
|
|
@@ -10994,7 +11076,7 @@ class CfnDBInstanceProps:
|
|
|
10994
11076
|
:param source_region: The ID of the region that contains the source DB instance for the read replica.
|
|
10995
11077
|
:param storage_encrypted: A value that indicates whether the DB instance is encrypted. By default, it isn't encrypted. If you specify the ``KmsKeyId`` property, then you must enable encryption. If you specify the ``SourceDBInstanceIdentifier`` or ``SourceDbiResourceId`` 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. If you specify the ``SourceDBInstanceAutomatedBackupsArn`` property, don't specify this property. The value is inherited from the source DB instance automated backup. If you specify ``DBSnapshotIdentifier`` property, don't specify this property. The value is inherited from the snapshot. *Amazon Aurora* Not applicable. The encryption for DB instances is managed by the DB cluster.
|
|
10996
11078
|
:param storage_throughput: Specifies the storage throughput value, in mebibyte per second (MiBps), for the DB instance. This setting applies only to the ``gp3`` storage type. This setting doesn't apply to RDS Custom or Amazon Aurora.
|
|
10997
|
-
:param storage_type: The storage type to associate with the DB instance. If you specify ``io1`` , ``io2`` , or ``gp3`` , you must also include a value for the ``Iops`` parameter. This setting doesn't apply to Amazon Aurora DB instances. Storage is managed by the DB cluster. Valid Values: ``gp2 | gp3 | io1 | io2 | standard`` Default: ``io1`` , if the ``Iops`` parameter is specified. Otherwise, ``
|
|
11079
|
+
:param storage_type: The storage type to associate with the DB instance. If you specify ``io1`` , ``io2`` , or ``gp3`` , you must also include a value for the ``Iops`` parameter. This setting doesn't apply to Amazon Aurora DB instances. Storage is managed by the DB cluster. Valid Values: ``gp2 | gp3 | io1 | io2 | standard`` Default: ``io1`` , if the ``Iops`` parameter is specified. Otherwise, ``gp3`` .
|
|
10998
11080
|
:param tags: Tags to assign to the DB instance.
|
|
10999
11081
|
:param tde_credential_arn:
|
|
11000
11082
|
:param tde_credential_password:
|
|
@@ -11015,6 +11097,7 @@ class CfnDBInstanceProps:
|
|
|
11015
11097
|
cfn_dBInstance_props = rds.CfnDBInstanceProps(
|
|
11016
11098
|
allocated_storage="allocatedStorage",
|
|
11017
11099
|
allow_major_version_upgrade=False,
|
|
11100
|
+
apply_immediately=False,
|
|
11018
11101
|
associated_roles=[rds.CfnDBInstance.DBInstanceRoleProperty(
|
|
11019
11102
|
feature_name="featureName",
|
|
11020
11103
|
role_arn="roleArn"
|
|
@@ -11117,6 +11200,7 @@ class CfnDBInstanceProps:
|
|
|
11117
11200
|
type_hints = typing.get_type_hints(_typecheckingstub__3bddb1be0bd1f1699e3a084c5859d94d8879ff15011f2f2eaac29ec16f6eaebc)
|
|
11118
11201
|
check_type(argname="argument allocated_storage", value=allocated_storage, expected_type=type_hints["allocated_storage"])
|
|
11119
11202
|
check_type(argname="argument allow_major_version_upgrade", value=allow_major_version_upgrade, expected_type=type_hints["allow_major_version_upgrade"])
|
|
11203
|
+
check_type(argname="argument apply_immediately", value=apply_immediately, expected_type=type_hints["apply_immediately"])
|
|
11120
11204
|
check_type(argname="argument associated_roles", value=associated_roles, expected_type=type_hints["associated_roles"])
|
|
11121
11205
|
check_type(argname="argument automatic_backup_replication_kms_key_id", value=automatic_backup_replication_kms_key_id, expected_type=type_hints["automatic_backup_replication_kms_key_id"])
|
|
11122
11206
|
check_type(argname="argument automatic_backup_replication_region", value=automatic_backup_replication_region, expected_type=type_hints["automatic_backup_replication_region"])
|
|
@@ -11199,6 +11283,8 @@ class CfnDBInstanceProps:
|
|
|
11199
11283
|
self._values["allocated_storage"] = allocated_storage
|
|
11200
11284
|
if allow_major_version_upgrade is not None:
|
|
11201
11285
|
self._values["allow_major_version_upgrade"] = allow_major_version_upgrade
|
|
11286
|
+
if apply_immediately is not None:
|
|
11287
|
+
self._values["apply_immediately"] = apply_immediately
|
|
11202
11288
|
if associated_roles is not None:
|
|
11203
11289
|
self._values["associated_roles"] = associated_roles
|
|
11204
11290
|
if automatic_backup_replication_kms_key_id is not None:
|
|
@@ -11439,6 +11525,23 @@ class CfnDBInstanceProps:
|
|
|
11439
11525
|
result = self._values.get("allow_major_version_upgrade")
|
|
11440
11526
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
11441
11527
|
|
|
11528
|
+
@builtins.property
|
|
11529
|
+
def apply_immediately(
|
|
11530
|
+
self,
|
|
11531
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
11532
|
+
'''Specifies whether changes to the DB instance and any pending modifications are applied immediately, regardless of the ``PreferredMaintenanceWindow`` setting.
|
|
11533
|
+
|
|
11534
|
+
If set to ``false`` , changes are applied during the next maintenance window. Until RDS applies the changes, the DB instance remains in a drift state. As a result, the configuration doesn't fully reflect the requested modifications and temporarily diverges from the intended state.
|
|
11535
|
+
|
|
11536
|
+
In addition to the settings described in `Modifying a DB instance <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Overview.DBInstance.Modifying.html>`_ , this property also determines whether the DB instance reboots when a static parameter is modified in the associated DB parameter group.
|
|
11537
|
+
|
|
11538
|
+
Default: ``true``
|
|
11539
|
+
|
|
11540
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-applyimmediately
|
|
11541
|
+
'''
|
|
11542
|
+
result = self._values.get("apply_immediately")
|
|
11543
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
11544
|
+
|
|
11442
11545
|
@builtins.property
|
|
11443
11546
|
def associated_roles(
|
|
11444
11547
|
self,
|
|
@@ -12797,7 +12900,7 @@ class CfnDBInstanceProps:
|
|
|
12797
12900
|
|
|
12798
12901
|
Valid Values: ``gp2 | gp3 | io1 | io2 | standard``
|
|
12799
12902
|
|
|
12800
|
-
Default: ``io1`` , if the ``Iops`` parameter is specified. Otherwise, ``
|
|
12903
|
+
Default: ``io1`` , if the ``Iops`` parameter is specified. Otherwise, ``gp3`` .
|
|
12801
12904
|
|
|
12802
12905
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-storagetype
|
|
12803
12906
|
'''
|
|
@@ -12976,7 +13079,7 @@ class CfnDBParameterGroup(
|
|
|
12976
13079
|
:param description: Provides the customer-specified description for this DB parameter group.
|
|
12977
13080
|
:param family: The DB parameter group family name. A DB parameter group can be associated with one and only one DB parameter group family, and can be applied only to a DB instance running a database engine and engine version compatible with that DB parameter group family. To list all of the available parameter group families for a DB engine, use the following command: ``aws rds describe-db-engine-versions --query "DBEngineVersions[].DBParameterGroupFamily" --engine <engine>`` For example, to list all of the available parameter group families for the MySQL DB engine, use the following command: ``aws rds describe-db-engine-versions --query "DBEngineVersions[].DBParameterGroupFamily" --engine mysql`` .. epigraph:: The output contains duplicates. The following are the valid DB engine values: - ``aurora-mysql`` - ``aurora-postgresql`` - ``db2-ae`` - ``db2-se`` - ``mysql`` - ``oracle-ee`` - ``oracle-ee-cdb`` - ``oracle-se2`` - ``oracle-se2-cdb`` - ``postgres`` - ``sqlserver-ee`` - ``sqlserver-se`` - ``sqlserver-ex`` - ``sqlserver-web``
|
|
12978
13081
|
:param db_parameter_group_name: The name of the DB parameter group. Constraints: - Must be 1 to 255 letters, numbers, or hyphens. - First character must be a letter - Can't end with a hyphen or contain two consecutive hyphens If you don't specify a value for ``DBParameterGroupName`` property, a name is automatically created for the DB parameter group. .. epigraph:: This value is stored as a lowercase string.
|
|
12979
|
-
:param parameters:
|
|
13082
|
+
:param parameters: A mapping of parameter names and values for the parameter update. You must specify at least one parameter name and value. 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* . .. epigraph:: AWS CloudFormation doesn't support specifying an apply method for each individual parameter. The default apply method for each parameter is used.
|
|
12980
13083
|
:param tags: Tags to assign to the DB parameter group.
|
|
12981
13084
|
'''
|
|
12982
13085
|
if __debug__:
|
|
@@ -13085,7 +13188,7 @@ class CfnDBParameterGroup(
|
|
|
13085
13188
|
@builtins.property
|
|
13086
13189
|
@jsii.member(jsii_name="parameters")
|
|
13087
13190
|
def parameters(self) -> typing.Any:
|
|
13088
|
-
'''
|
|
13191
|
+
'''A mapping of parameter names and values for the parameter update.'''
|
|
13089
13192
|
return typing.cast(typing.Any, jsii.get(self, "parameters"))
|
|
13090
13193
|
|
|
13091
13194
|
@parameters.setter
|
|
@@ -13135,7 +13238,7 @@ class CfnDBParameterGroupProps:
|
|
|
13135
13238
|
:param description: Provides the customer-specified description for this DB parameter group.
|
|
13136
13239
|
:param family: The DB parameter group family name. A DB parameter group can be associated with one and only one DB parameter group family, and can be applied only to a DB instance running a database engine and engine version compatible with that DB parameter group family. To list all of the available parameter group families for a DB engine, use the following command: ``aws rds describe-db-engine-versions --query "DBEngineVersions[].DBParameterGroupFamily" --engine <engine>`` For example, to list all of the available parameter group families for the MySQL DB engine, use the following command: ``aws rds describe-db-engine-versions --query "DBEngineVersions[].DBParameterGroupFamily" --engine mysql`` .. epigraph:: The output contains duplicates. The following are the valid DB engine values: - ``aurora-mysql`` - ``aurora-postgresql`` - ``db2-ae`` - ``db2-se`` - ``mysql`` - ``oracle-ee`` - ``oracle-ee-cdb`` - ``oracle-se2`` - ``oracle-se2-cdb`` - ``postgres`` - ``sqlserver-ee`` - ``sqlserver-se`` - ``sqlserver-ex`` - ``sqlserver-web``
|
|
13137
13240
|
:param db_parameter_group_name: The name of the DB parameter group. Constraints: - Must be 1 to 255 letters, numbers, or hyphens. - First character must be a letter - Can't end with a hyphen or contain two consecutive hyphens If you don't specify a value for ``DBParameterGroupName`` property, a name is automatically created for the DB parameter group. .. epigraph:: This value is stored as a lowercase string.
|
|
13138
|
-
:param parameters:
|
|
13241
|
+
:param parameters: A mapping of parameter names and values for the parameter update. You must specify at least one parameter name and value. 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* . .. epigraph:: AWS CloudFormation doesn't support specifying an apply method for each individual parameter. The default apply method for each parameter is used.
|
|
13139
13242
|
:param tags: Tags to assign to the DB parameter group.
|
|
13140
13243
|
|
|
13141
13244
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbparametergroup.html
|
|
@@ -13252,7 +13355,7 @@ class CfnDBParameterGroupProps:
|
|
|
13252
13355
|
|
|
13253
13356
|
@builtins.property
|
|
13254
13357
|
def parameters(self) -> typing.Any:
|
|
13255
|
-
'''
|
|
13358
|
+
'''A mapping of parameter names and values for the parameter update.
|
|
13256
13359
|
|
|
13257
13360
|
You must specify at least one parameter name and value.
|
|
13258
13361
|
|
|
@@ -16894,9 +16997,6 @@ class CfnGlobalCluster(
|
|
|
16894
16997
|
engine_lifecycle_support="engineLifecycleSupport",
|
|
16895
16998
|
engine_version="engineVersion",
|
|
16896
16999
|
global_cluster_identifier="globalClusterIdentifier",
|
|
16897
|
-
global_endpoint=rds.CfnGlobalCluster.GlobalEndpointProperty(
|
|
16898
|
-
address="address"
|
|
16899
|
-
),
|
|
16900
17000
|
source_db_cluster_identifier="sourceDbClusterIdentifier",
|
|
16901
17001
|
storage_encrypted=False,
|
|
16902
17002
|
tags=[CfnTag(
|
|
@@ -16916,7 +17016,6 @@ class CfnGlobalCluster(
|
|
|
16916
17016
|
engine_lifecycle_support: typing.Optional[builtins.str] = None,
|
|
16917
17017
|
engine_version: typing.Optional[builtins.str] = None,
|
|
16918
17018
|
global_cluster_identifier: typing.Optional[builtins.str] = None,
|
|
16919
|
-
global_endpoint: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnGlobalCluster.GlobalEndpointProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
16920
17019
|
source_db_cluster_identifier: typing.Optional[builtins.str] = None,
|
|
16921
17020
|
storage_encrypted: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
16922
17021
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -16929,7 +17028,6 @@ class CfnGlobalCluster(
|
|
|
16929
17028
|
:param engine_lifecycle_support: The life cycle type for this global database cluster. .. epigraph:: By default, this value is set to ``open-source-rds-extended-support`` , which enrolls your global cluster into Amazon RDS Extended Support. At the end of standard support, you can avoid charges for Extended Support by setting the value to ``open-source-rds-extended-support-disabled`` . In this case, creating the global cluster will fail if the DB major version is past its end of standard support date. This setting only applies to Aurora PostgreSQL-based global databases. You can use this setting to enroll your global cluster into Amazon RDS Extended Support. With RDS Extended Support, you can run the selected major engine version on your global cluster past the end of standard support for that engine version. For more information, see `Using Amazon RDS Extended Support <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/extended-support.html>`_ in the *Amazon Aurora User Guide* . Valid Values: ``open-source-rds-extended-support | open-source-rds-extended-support-disabled`` Default: ``open-source-rds-extended-support``
|
|
16930
17029
|
:param engine_version: The engine version to use for this global database cluster. Constraints: - Can't be specified if ``SourceDBClusterIdentifier`` is specified. In this case, Amazon Aurora uses the engine version of the source DB cluster.
|
|
16931
17030
|
:param global_cluster_identifier: The cluster identifier for this global database cluster. This parameter is stored as a lowercase string.
|
|
16932
|
-
:param global_endpoint: The writer endpoint for the new global database cluster. This endpoint always points to the writer DB instance in the current primary cluster.
|
|
16933
17031
|
:param source_db_cluster_identifier: The Amazon Resource Name (ARN) to use as the primary cluster of the global database. If you provide a value for this parameter, don't specify values for the following settings because Amazon Aurora uses the values from the specified source DB cluster: - ``DatabaseName`` - ``Engine`` - ``EngineVersion`` - ``StorageEncrypted``
|
|
16934
17032
|
:param storage_encrypted: Specifies whether to enable storage encryption for the new global database cluster. Constraints: - Can't be specified if ``SourceDBClusterIdentifier`` is specified. In this case, Amazon Aurora uses the setting from the source DB cluster.
|
|
16935
17033
|
:param tags: Metadata assigned to an Amazon RDS resource consisting of a key-value pair. For more information, see `Tagging Amazon RDS resources <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html>`_ in the *Amazon RDS User Guide* or `Tagging Amazon Aurora and Amazon RDS resources <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html>`_ in the *Amazon Aurora User Guide* .
|
|
@@ -16944,7 +17042,6 @@ class CfnGlobalCluster(
|
|
|
16944
17042
|
engine_lifecycle_support=engine_lifecycle_support,
|
|
16945
17043
|
engine_version=engine_version,
|
|
16946
17044
|
global_cluster_identifier=global_cluster_identifier,
|
|
16947
|
-
global_endpoint=global_endpoint,
|
|
16948
17045
|
source_db_cluster_identifier=source_db_cluster_identifier,
|
|
16949
17046
|
storage_encrypted=storage_encrypted,
|
|
16950
17047
|
tags=tags,
|
|
@@ -16982,6 +17079,14 @@ class CfnGlobalCluster(
|
|
|
16982
17079
|
'''The CloudFormation resource type name for this resource class.'''
|
|
16983
17080
|
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
16984
17081
|
|
|
17082
|
+
@builtins.property
|
|
17083
|
+
@jsii.member(jsii_name="attrGlobalEndpoint")
|
|
17084
|
+
def attr_global_endpoint(self) -> _IResolvable_da3f097b:
|
|
17085
|
+
'''
|
|
17086
|
+
:cloudformationAttribute: GlobalEndpoint
|
|
17087
|
+
'''
|
|
17088
|
+
return typing.cast(_IResolvable_da3f097b, jsii.get(self, "attrGlobalEndpoint"))
|
|
17089
|
+
|
|
16985
17090
|
@builtins.property
|
|
16986
17091
|
@jsii.member(jsii_name="cdkTagManager")
|
|
16987
17092
|
def cdk_tag_manager(self) -> _TagManager_0a598cb3:
|
|
@@ -17063,24 +17168,6 @@ class CfnGlobalCluster(
|
|
|
17063
17168
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
17064
17169
|
jsii.set(self, "globalClusterIdentifier", value) # pyright: ignore[reportArgumentType]
|
|
17065
17170
|
|
|
17066
|
-
@builtins.property
|
|
17067
|
-
@jsii.member(jsii_name="globalEndpoint")
|
|
17068
|
-
def global_endpoint(
|
|
17069
|
-
self,
|
|
17070
|
-
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnGlobalCluster.GlobalEndpointProperty"]]:
|
|
17071
|
-
'''The writer endpoint for the new global database cluster.'''
|
|
17072
|
-
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnGlobalCluster.GlobalEndpointProperty"]], jsii.get(self, "globalEndpoint"))
|
|
17073
|
-
|
|
17074
|
-
@global_endpoint.setter
|
|
17075
|
-
def global_endpoint(
|
|
17076
|
-
self,
|
|
17077
|
-
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnGlobalCluster.GlobalEndpointProperty"]],
|
|
17078
|
-
) -> None:
|
|
17079
|
-
if __debug__:
|
|
17080
|
-
type_hints = typing.get_type_hints(_typecheckingstub__7b1b1a8e034b0a4e155f1c4e96d4c9dd770043cd6a95e96f303770a5dff27e85)
|
|
17081
|
-
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
17082
|
-
jsii.set(self, "globalEndpoint", value) # pyright: ignore[reportArgumentType]
|
|
17083
|
-
|
|
17084
17171
|
@builtins.property
|
|
17085
17172
|
@jsii.member(jsii_name="sourceDbClusterIdentifier")
|
|
17086
17173
|
def source_db_cluster_identifier(self) -> typing.Optional[builtins.str]:
|
|
@@ -17193,7 +17280,6 @@ class CfnGlobalCluster(
|
|
|
17193
17280
|
"engine_lifecycle_support": "engineLifecycleSupport",
|
|
17194
17281
|
"engine_version": "engineVersion",
|
|
17195
17282
|
"global_cluster_identifier": "globalClusterIdentifier",
|
|
17196
|
-
"global_endpoint": "globalEndpoint",
|
|
17197
17283
|
"source_db_cluster_identifier": "sourceDbClusterIdentifier",
|
|
17198
17284
|
"storage_encrypted": "storageEncrypted",
|
|
17199
17285
|
"tags": "tags",
|
|
@@ -17208,7 +17294,6 @@ class CfnGlobalClusterProps:
|
|
|
17208
17294
|
engine_lifecycle_support: typing.Optional[builtins.str] = None,
|
|
17209
17295
|
engine_version: typing.Optional[builtins.str] = None,
|
|
17210
17296
|
global_cluster_identifier: typing.Optional[builtins.str] = None,
|
|
17211
|
-
global_endpoint: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalCluster.GlobalEndpointProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
17212
17297
|
source_db_cluster_identifier: typing.Optional[builtins.str] = None,
|
|
17213
17298
|
storage_encrypted: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
17214
17299
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -17220,7 +17305,6 @@ class CfnGlobalClusterProps:
|
|
|
17220
17305
|
:param engine_lifecycle_support: The life cycle type for this global database cluster. .. epigraph:: By default, this value is set to ``open-source-rds-extended-support`` , which enrolls your global cluster into Amazon RDS Extended Support. At the end of standard support, you can avoid charges for Extended Support by setting the value to ``open-source-rds-extended-support-disabled`` . In this case, creating the global cluster will fail if the DB major version is past its end of standard support date. This setting only applies to Aurora PostgreSQL-based global databases. You can use this setting to enroll your global cluster into Amazon RDS Extended Support. With RDS Extended Support, you can run the selected major engine version on your global cluster past the end of standard support for that engine version. For more information, see `Using Amazon RDS Extended Support <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/extended-support.html>`_ in the *Amazon Aurora User Guide* . Valid Values: ``open-source-rds-extended-support | open-source-rds-extended-support-disabled`` Default: ``open-source-rds-extended-support``
|
|
17221
17306
|
:param engine_version: The engine version to use for this global database cluster. Constraints: - Can't be specified if ``SourceDBClusterIdentifier`` is specified. In this case, Amazon Aurora uses the engine version of the source DB cluster.
|
|
17222
17307
|
:param global_cluster_identifier: The cluster identifier for this global database cluster. This parameter is stored as a lowercase string.
|
|
17223
|
-
:param global_endpoint: The writer endpoint for the new global database cluster. This endpoint always points to the writer DB instance in the current primary cluster.
|
|
17224
17308
|
:param source_db_cluster_identifier: The Amazon Resource Name (ARN) to use as the primary cluster of the global database. If you provide a value for this parameter, don't specify values for the following settings because Amazon Aurora uses the values from the specified source DB cluster: - ``DatabaseName`` - ``Engine`` - ``EngineVersion`` - ``StorageEncrypted``
|
|
17225
17309
|
:param storage_encrypted: Specifies whether to enable storage encryption for the new global database cluster. Constraints: - Can't be specified if ``SourceDBClusterIdentifier`` is specified. In this case, Amazon Aurora uses the setting from the source DB cluster.
|
|
17226
17310
|
:param tags: Metadata assigned to an Amazon RDS resource consisting of a key-value pair. For more information, see `Tagging Amazon RDS resources <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html>`_ in the *Amazon RDS User Guide* or `Tagging Amazon Aurora and Amazon RDS resources <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html>`_ in the *Amazon Aurora User Guide* .
|
|
@@ -17240,9 +17324,6 @@ class CfnGlobalClusterProps:
|
|
|
17240
17324
|
engine_lifecycle_support="engineLifecycleSupport",
|
|
17241
17325
|
engine_version="engineVersion",
|
|
17242
17326
|
global_cluster_identifier="globalClusterIdentifier",
|
|
17243
|
-
global_endpoint=rds.CfnGlobalCluster.GlobalEndpointProperty(
|
|
17244
|
-
address="address"
|
|
17245
|
-
),
|
|
17246
17327
|
source_db_cluster_identifier="sourceDbClusterIdentifier",
|
|
17247
17328
|
storage_encrypted=False,
|
|
17248
17329
|
tags=[CfnTag(
|
|
@@ -17258,7 +17339,6 @@ class CfnGlobalClusterProps:
|
|
|
17258
17339
|
check_type(argname="argument engine_lifecycle_support", value=engine_lifecycle_support, expected_type=type_hints["engine_lifecycle_support"])
|
|
17259
17340
|
check_type(argname="argument engine_version", value=engine_version, expected_type=type_hints["engine_version"])
|
|
17260
17341
|
check_type(argname="argument global_cluster_identifier", value=global_cluster_identifier, expected_type=type_hints["global_cluster_identifier"])
|
|
17261
|
-
check_type(argname="argument global_endpoint", value=global_endpoint, expected_type=type_hints["global_endpoint"])
|
|
17262
17342
|
check_type(argname="argument source_db_cluster_identifier", value=source_db_cluster_identifier, expected_type=type_hints["source_db_cluster_identifier"])
|
|
17263
17343
|
check_type(argname="argument storage_encrypted", value=storage_encrypted, expected_type=type_hints["storage_encrypted"])
|
|
17264
17344
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
@@ -17273,8 +17353,6 @@ class CfnGlobalClusterProps:
|
|
|
17273
17353
|
self._values["engine_version"] = engine_version
|
|
17274
17354
|
if global_cluster_identifier is not None:
|
|
17275
17355
|
self._values["global_cluster_identifier"] = global_cluster_identifier
|
|
17276
|
-
if global_endpoint is not None:
|
|
17277
|
-
self._values["global_endpoint"] = global_endpoint
|
|
17278
17356
|
if source_db_cluster_identifier is not None:
|
|
17279
17357
|
self._values["source_db_cluster_identifier"] = source_db_cluster_identifier
|
|
17280
17358
|
if storage_encrypted is not None:
|
|
@@ -17355,19 +17433,6 @@ class CfnGlobalClusterProps:
|
|
|
17355
17433
|
result = self._values.get("global_cluster_identifier")
|
|
17356
17434
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
17357
17435
|
|
|
17358
|
-
@builtins.property
|
|
17359
|
-
def global_endpoint(
|
|
17360
|
-
self,
|
|
17361
|
-
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnGlobalCluster.GlobalEndpointProperty]]:
|
|
17362
|
-
'''The writer endpoint for the new global database cluster.
|
|
17363
|
-
|
|
17364
|
-
This endpoint always points to the writer DB instance in the current primary cluster.
|
|
17365
|
-
|
|
17366
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-globalcluster.html#cfn-rds-globalcluster-globalendpoint
|
|
17367
|
-
'''
|
|
17368
|
-
result = self._values.get("global_endpoint")
|
|
17369
|
-
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnGlobalCluster.GlobalEndpointProperty]], result)
|
|
17370
|
-
|
|
17371
17436
|
@builtins.property
|
|
17372
17437
|
def source_db_cluster_identifier(self) -> typing.Optional[builtins.str]:
|
|
17373
17438
|
'''The Amazon Resource Name (ARN) to use as the primary cluster of the global database.
|
|
@@ -18906,6 +18971,7 @@ class ClusterInstanceBindOptions:
|
|
|
18906
18971
|
jsii_struct_bases=[],
|
|
18907
18972
|
name_mapping={
|
|
18908
18973
|
"allow_major_version_upgrade": "allowMajorVersionUpgrade",
|
|
18974
|
+
"apply_immediately": "applyImmediately",
|
|
18909
18975
|
"auto_minor_version_upgrade": "autoMinorVersionUpgrade",
|
|
18910
18976
|
"ca_certificate": "caCertificate",
|
|
18911
18977
|
"enable_performance_insights": "enablePerformanceInsights",
|
|
@@ -18924,6 +18990,7 @@ class ClusterInstanceOptions:
|
|
|
18924
18990
|
self,
|
|
18925
18991
|
*,
|
|
18926
18992
|
allow_major_version_upgrade: typing.Optional[builtins.bool] = None,
|
|
18993
|
+
apply_immediately: typing.Optional[builtins.bool] = None,
|
|
18927
18994
|
auto_minor_version_upgrade: typing.Optional[builtins.bool] = None,
|
|
18928
18995
|
ca_certificate: typing.Optional[CaCertificate] = None,
|
|
18929
18996
|
enable_performance_insights: typing.Optional[builtins.bool] = None,
|
|
@@ -18939,6 +19006,7 @@ class ClusterInstanceOptions:
|
|
|
18939
19006
|
'''Common options for creating a cluster instance.
|
|
18940
19007
|
|
|
18941
19008
|
:param allow_major_version_upgrade: Whether to allow upgrade of major version for the DB instance. Default: - false
|
|
19009
|
+
:param apply_immediately: Specifies whether changes to the DB instance and any pending modifications are applied immediately, regardless of the ``preferredMaintenanceWindow`` setting. If set to ``false``, changes are applied during the next maintenance window. Until RDS applies the changes, the DB instance remains in a drift state. As a result, the configuration doesn't fully reflect the requested modifications and temporarily diverges from the intended state. This property also determines whether the DB instance reboots when a static parameter is modified in the associated DB parameter group. Default: - Changes will be applied immediately
|
|
18942
19010
|
:param auto_minor_version_upgrade: Whether to enable automatic upgrade of minor version for the DB instance. Default: - true
|
|
18943
19011
|
:param ca_certificate: The identifier of the CA certificate for this DB cluster's instances. Specifying or updating this property triggers a reboot. For RDS DB engines: Default: - RDS will choose a certificate authority
|
|
18944
19012
|
:param enable_performance_insights: Whether to enable Performance Insights for the DB instance. Default: - false, unless ``performanceInsightRetention`` or ``performanceInsightEncryptionKey`` is set.
|
|
@@ -18966,6 +19034,7 @@ class ClusterInstanceOptions:
|
|
|
18966
19034
|
|
|
18967
19035
|
cluster_instance_options = rds.ClusterInstanceOptions(
|
|
18968
19036
|
allow_major_version_upgrade=False,
|
|
19037
|
+
apply_immediately=False,
|
|
18969
19038
|
auto_minor_version_upgrade=False,
|
|
18970
19039
|
ca_certificate=ca_certificate,
|
|
18971
19040
|
enable_performance_insights=False,
|
|
@@ -18984,6 +19053,7 @@ class ClusterInstanceOptions:
|
|
|
18984
19053
|
if __debug__:
|
|
18985
19054
|
type_hints = typing.get_type_hints(_typecheckingstub__8cdde1ea7f85160803079277e8fcc0af34768579c1b17b771033b3c6374858ac)
|
|
18986
19055
|
check_type(argname="argument allow_major_version_upgrade", value=allow_major_version_upgrade, expected_type=type_hints["allow_major_version_upgrade"])
|
|
19056
|
+
check_type(argname="argument apply_immediately", value=apply_immediately, expected_type=type_hints["apply_immediately"])
|
|
18987
19057
|
check_type(argname="argument auto_minor_version_upgrade", value=auto_minor_version_upgrade, expected_type=type_hints["auto_minor_version_upgrade"])
|
|
18988
19058
|
check_type(argname="argument ca_certificate", value=ca_certificate, expected_type=type_hints["ca_certificate"])
|
|
18989
19059
|
check_type(argname="argument enable_performance_insights", value=enable_performance_insights, expected_type=type_hints["enable_performance_insights"])
|
|
@@ -18998,6 +19068,8 @@ class ClusterInstanceOptions:
|
|
|
18998
19068
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
18999
19069
|
if allow_major_version_upgrade is not None:
|
|
19000
19070
|
self._values["allow_major_version_upgrade"] = allow_major_version_upgrade
|
|
19071
|
+
if apply_immediately is not None:
|
|
19072
|
+
self._values["apply_immediately"] = apply_immediately
|
|
19001
19073
|
if auto_minor_version_upgrade is not None:
|
|
19002
19074
|
self._values["auto_minor_version_upgrade"] = auto_minor_version_upgrade
|
|
19003
19075
|
if ca_certificate is not None:
|
|
@@ -19030,6 +19102,24 @@ class ClusterInstanceOptions:
|
|
|
19030
19102
|
result = self._values.get("allow_major_version_upgrade")
|
|
19031
19103
|
return typing.cast(typing.Optional[builtins.bool], result)
|
|
19032
19104
|
|
|
19105
|
+
@builtins.property
|
|
19106
|
+
def apply_immediately(self) -> typing.Optional[builtins.bool]:
|
|
19107
|
+
'''Specifies whether changes to the DB instance and any pending modifications are applied immediately, regardless of the ``preferredMaintenanceWindow`` setting.
|
|
19108
|
+
|
|
19109
|
+
If set to ``false``, changes are applied during the next maintenance window.
|
|
19110
|
+
|
|
19111
|
+
Until RDS applies the changes, the DB instance remains in a drift state.
|
|
19112
|
+
As a result, the configuration doesn't fully reflect the requested modifications and temporarily diverges from the intended state.
|
|
19113
|
+
|
|
19114
|
+
This property also determines whether the DB instance reboots when a static parameter is modified in the associated DB parameter group.
|
|
19115
|
+
|
|
19116
|
+
:default: - Changes will be applied immediately
|
|
19117
|
+
|
|
19118
|
+
:see: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Modifying.html
|
|
19119
|
+
'''
|
|
19120
|
+
result = self._values.get("apply_immediately")
|
|
19121
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
19122
|
+
|
|
19033
19123
|
@builtins.property
|
|
19034
19124
|
def auto_minor_version_upgrade(self) -> typing.Optional[builtins.bool]:
|
|
19035
19125
|
'''Whether to enable automatic upgrade of minor version for the DB instance.
|
|
@@ -19214,6 +19304,7 @@ class ClusterInstanceOptions:
|
|
|
19214
19304
|
jsii_struct_bases=[ClusterInstanceOptions],
|
|
19215
19305
|
name_mapping={
|
|
19216
19306
|
"allow_major_version_upgrade": "allowMajorVersionUpgrade",
|
|
19307
|
+
"apply_immediately": "applyImmediately",
|
|
19217
19308
|
"auto_minor_version_upgrade": "autoMinorVersionUpgrade",
|
|
19218
19309
|
"ca_certificate": "caCertificate",
|
|
19219
19310
|
"enable_performance_insights": "enablePerformanceInsights",
|
|
@@ -19234,6 +19325,7 @@ class ClusterInstanceProps(ClusterInstanceOptions):
|
|
|
19234
19325
|
self,
|
|
19235
19326
|
*,
|
|
19236
19327
|
allow_major_version_upgrade: typing.Optional[builtins.bool] = None,
|
|
19328
|
+
apply_immediately: typing.Optional[builtins.bool] = None,
|
|
19237
19329
|
auto_minor_version_upgrade: typing.Optional[builtins.bool] = None,
|
|
19238
19330
|
ca_certificate: typing.Optional[CaCertificate] = None,
|
|
19239
19331
|
enable_performance_insights: typing.Optional[builtins.bool] = None,
|
|
@@ -19251,6 +19343,7 @@ class ClusterInstanceProps(ClusterInstanceOptions):
|
|
|
19251
19343
|
'''Common options for creating cluster instances (both serverless and provisioned).
|
|
19252
19344
|
|
|
19253
19345
|
:param allow_major_version_upgrade: Whether to allow upgrade of major version for the DB instance. Default: - false
|
|
19346
|
+
:param apply_immediately: Specifies whether changes to the DB instance and any pending modifications are applied immediately, regardless of the ``preferredMaintenanceWindow`` setting. If set to ``false``, changes are applied during the next maintenance window. Until RDS applies the changes, the DB instance remains in a drift state. As a result, the configuration doesn't fully reflect the requested modifications and temporarily diverges from the intended state. This property also determines whether the DB instance reboots when a static parameter is modified in the associated DB parameter group. Default: - Changes will be applied immediately
|
|
19254
19347
|
:param auto_minor_version_upgrade: Whether to enable automatic upgrade of minor version for the DB instance. Default: - true
|
|
19255
19348
|
:param ca_certificate: The identifier of the CA certificate for this DB cluster's instances. Specifying or updating this property triggers a reboot. For RDS DB engines: Default: - RDS will choose a certificate authority
|
|
19256
19349
|
:param enable_performance_insights: Whether to enable Performance Insights for the DB instance. Default: - false, unless ``performanceInsightRetention`` or ``performanceInsightEncryptionKey`` is set.
|
|
@@ -19284,6 +19377,7 @@ class ClusterInstanceProps(ClusterInstanceOptions):
|
|
|
19284
19377
|
|
|
19285
19378
|
# the properties below are optional
|
|
19286
19379
|
allow_major_version_upgrade=False,
|
|
19380
|
+
apply_immediately=False,
|
|
19287
19381
|
auto_minor_version_upgrade=False,
|
|
19288
19382
|
ca_certificate=ca_certificate,
|
|
19289
19383
|
enable_performance_insights=False,
|
|
@@ -19303,6 +19397,7 @@ class ClusterInstanceProps(ClusterInstanceOptions):
|
|
|
19303
19397
|
if __debug__:
|
|
19304
19398
|
type_hints = typing.get_type_hints(_typecheckingstub__431d59239caf38b9912bfae3130d40eeb8bdb18e013240bac43c980158561c00)
|
|
19305
19399
|
check_type(argname="argument allow_major_version_upgrade", value=allow_major_version_upgrade, expected_type=type_hints["allow_major_version_upgrade"])
|
|
19400
|
+
check_type(argname="argument apply_immediately", value=apply_immediately, expected_type=type_hints["apply_immediately"])
|
|
19306
19401
|
check_type(argname="argument auto_minor_version_upgrade", value=auto_minor_version_upgrade, expected_type=type_hints["auto_minor_version_upgrade"])
|
|
19307
19402
|
check_type(argname="argument ca_certificate", value=ca_certificate, expected_type=type_hints["ca_certificate"])
|
|
19308
19403
|
check_type(argname="argument enable_performance_insights", value=enable_performance_insights, expected_type=type_hints["enable_performance_insights"])
|
|
@@ -19321,6 +19416,8 @@ class ClusterInstanceProps(ClusterInstanceOptions):
|
|
|
19321
19416
|
}
|
|
19322
19417
|
if allow_major_version_upgrade is not None:
|
|
19323
19418
|
self._values["allow_major_version_upgrade"] = allow_major_version_upgrade
|
|
19419
|
+
if apply_immediately is not None:
|
|
19420
|
+
self._values["apply_immediately"] = apply_immediately
|
|
19324
19421
|
if auto_minor_version_upgrade is not None:
|
|
19325
19422
|
self._values["auto_minor_version_upgrade"] = auto_minor_version_upgrade
|
|
19326
19423
|
if ca_certificate is not None:
|
|
@@ -19355,6 +19452,24 @@ class ClusterInstanceProps(ClusterInstanceOptions):
|
|
|
19355
19452
|
result = self._values.get("allow_major_version_upgrade")
|
|
19356
19453
|
return typing.cast(typing.Optional[builtins.bool], result)
|
|
19357
19454
|
|
|
19455
|
+
@builtins.property
|
|
19456
|
+
def apply_immediately(self) -> typing.Optional[builtins.bool]:
|
|
19457
|
+
'''Specifies whether changes to the DB instance and any pending modifications are applied immediately, regardless of the ``preferredMaintenanceWindow`` setting.
|
|
19458
|
+
|
|
19459
|
+
If set to ``false``, changes are applied during the next maintenance window.
|
|
19460
|
+
|
|
19461
|
+
Until RDS applies the changes, the DB instance remains in a drift state.
|
|
19462
|
+
As a result, the configuration doesn't fully reflect the requested modifications and temporarily diverges from the intended state.
|
|
19463
|
+
|
|
19464
|
+
This property also determines whether the DB instance reboots when a static parameter is modified in the associated DB parameter group.
|
|
19465
|
+
|
|
19466
|
+
:default: - Changes will be applied immediately
|
|
19467
|
+
|
|
19468
|
+
:see: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Modifying.html
|
|
19469
|
+
'''
|
|
19470
|
+
result = self._values.get("apply_immediately")
|
|
19471
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
19472
|
+
|
|
19358
19473
|
@builtins.property
|
|
19359
19474
|
def auto_minor_version_upgrade(self) -> typing.Optional[builtins.bool]:
|
|
19360
19475
|
'''Whether to enable automatic upgrade of minor version for the DB instance.
|
|
@@ -23173,6 +23288,7 @@ class DatabaseInstanceEngine(
|
|
|
23173
23288
|
jsii_struct_bases=[],
|
|
23174
23289
|
name_mapping={
|
|
23175
23290
|
"vpc": "vpc",
|
|
23291
|
+
"apply_immediately": "applyImmediately",
|
|
23176
23292
|
"auto_minor_version_upgrade": "autoMinorVersionUpgrade",
|
|
23177
23293
|
"availability_zone": "availabilityZone",
|
|
23178
23294
|
"backup_retention": "backupRetention",
|
|
@@ -23220,6 +23336,7 @@ class DatabaseInstanceNewProps:
|
|
|
23220
23336
|
self,
|
|
23221
23337
|
*,
|
|
23222
23338
|
vpc: _IVpc_f30d5663,
|
|
23339
|
+
apply_immediately: typing.Optional[builtins.bool] = None,
|
|
23223
23340
|
auto_minor_version_upgrade: typing.Optional[builtins.bool] = None,
|
|
23224
23341
|
availability_zone: typing.Optional[builtins.str] = None,
|
|
23225
23342
|
backup_retention: typing.Optional[_Duration_4839e8c3] = None,
|
|
@@ -23264,6 +23381,7 @@ class DatabaseInstanceNewProps:
|
|
|
23264
23381
|
'''Construction properties for a DatabaseInstanceNew.
|
|
23265
23382
|
|
|
23266
23383
|
:param vpc: The VPC network where the DB subnet group should be created.
|
|
23384
|
+
:param apply_immediately: Specifies whether changes to the DB instance and any pending modifications are applied immediately, regardless of the ``preferredMaintenanceWindow`` setting. If set to ``false``, changes are applied during the next maintenance window. Until RDS applies the changes, the DB instance remains in a drift state. As a result, the configuration doesn't fully reflect the requested modifications and temporarily diverges from the intended state. This property also determines whether the DB instance reboots when a static parameter is modified in the associated DB parameter group. Default: - Changes will be applied immediately
|
|
23267
23385
|
:param auto_minor_version_upgrade: Indicates that minor engine upgrades are applied automatically to the DB instance during the maintenance window. Default: true
|
|
23268
23386
|
:param availability_zone: The name of the Availability Zone where the DB instance will be located. Default: - no preference
|
|
23269
23387
|
:param backup_retention: The number of days during which automatic DB snapshots are retained. Set to zero to disable backups. When creating a read replica, you must enable automatic backups on the source database instance by setting the backup retention to a value other than zero. Default: - Duration.days(1) for source instances, disabled for read replicas
|
|
@@ -23335,6 +23453,7 @@ class DatabaseInstanceNewProps:
|
|
|
23335
23453
|
vpc=vpc,
|
|
23336
23454
|
|
|
23337
23455
|
# the properties below are optional
|
|
23456
|
+
apply_immediately=False,
|
|
23338
23457
|
auto_minor_version_upgrade=False,
|
|
23339
23458
|
availability_zone="availabilityZone",
|
|
23340
23459
|
backup_retention=cdk.Duration.minutes(30),
|
|
@@ -23394,6 +23513,7 @@ class DatabaseInstanceNewProps:
|
|
|
23394
23513
|
if __debug__:
|
|
23395
23514
|
type_hints = typing.get_type_hints(_typecheckingstub__d110b1cb0043ae6adf59fc0d1bcb136b4655ac973cfbff361a0a3e2fe97c39f8)
|
|
23396
23515
|
check_type(argname="argument vpc", value=vpc, expected_type=type_hints["vpc"])
|
|
23516
|
+
check_type(argname="argument apply_immediately", value=apply_immediately, expected_type=type_hints["apply_immediately"])
|
|
23397
23517
|
check_type(argname="argument auto_minor_version_upgrade", value=auto_minor_version_upgrade, expected_type=type_hints["auto_minor_version_upgrade"])
|
|
23398
23518
|
check_type(argname="argument availability_zone", value=availability_zone, expected_type=type_hints["availability_zone"])
|
|
23399
23519
|
check_type(argname="argument backup_retention", value=backup_retention, expected_type=type_hints["backup_retention"])
|
|
@@ -23437,6 +23557,8 @@ class DatabaseInstanceNewProps:
|
|
|
23437
23557
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
23438
23558
|
"vpc": vpc,
|
|
23439
23559
|
}
|
|
23560
|
+
if apply_immediately is not None:
|
|
23561
|
+
self._values["apply_immediately"] = apply_immediately
|
|
23440
23562
|
if auto_minor_version_upgrade is not None:
|
|
23441
23563
|
self._values["auto_minor_version_upgrade"] = auto_minor_version_upgrade
|
|
23442
23564
|
if availability_zone is not None:
|
|
@@ -23525,6 +23647,24 @@ class DatabaseInstanceNewProps:
|
|
|
23525
23647
|
assert result is not None, "Required property 'vpc' is missing"
|
|
23526
23648
|
return typing.cast(_IVpc_f30d5663, result)
|
|
23527
23649
|
|
|
23650
|
+
@builtins.property
|
|
23651
|
+
def apply_immediately(self) -> typing.Optional[builtins.bool]:
|
|
23652
|
+
'''Specifies whether changes to the DB instance and any pending modifications are applied immediately, regardless of the ``preferredMaintenanceWindow`` setting.
|
|
23653
|
+
|
|
23654
|
+
If set to ``false``, changes are applied during the next maintenance window.
|
|
23655
|
+
|
|
23656
|
+
Until RDS applies the changes, the DB instance remains in a drift state.
|
|
23657
|
+
As a result, the configuration doesn't fully reflect the requested modifications and temporarily diverges from the intended state.
|
|
23658
|
+
|
|
23659
|
+
This property also determines whether the DB instance reboots when a static parameter is modified in the associated DB parameter group.
|
|
23660
|
+
|
|
23661
|
+
:default: - Changes will be applied immediately
|
|
23662
|
+
|
|
23663
|
+
:see: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Overview.DBInstance.Modifying.html
|
|
23664
|
+
'''
|
|
23665
|
+
result = self._values.get("apply_immediately")
|
|
23666
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
23667
|
+
|
|
23528
23668
|
@builtins.property
|
|
23529
23669
|
def auto_minor_version_upgrade(self) -> typing.Optional[builtins.bool]:
|
|
23530
23670
|
'''Indicates that minor engine upgrades are applied automatically to the DB instance during the maintenance window.
|
|
@@ -24000,6 +24140,7 @@ class DatabaseInstanceNewProps:
|
|
|
24000
24140
|
jsii_struct_bases=[DatabaseInstanceNewProps],
|
|
24001
24141
|
name_mapping={
|
|
24002
24142
|
"vpc": "vpc",
|
|
24143
|
+
"apply_immediately": "applyImmediately",
|
|
24003
24144
|
"auto_minor_version_upgrade": "autoMinorVersionUpgrade",
|
|
24004
24145
|
"availability_zone": "availabilityZone",
|
|
24005
24146
|
"backup_retention": "backupRetention",
|
|
@@ -24052,6 +24193,7 @@ class DatabaseInstanceReadReplicaProps(DatabaseInstanceNewProps):
|
|
|
24052
24193
|
self,
|
|
24053
24194
|
*,
|
|
24054
24195
|
vpc: _IVpc_f30d5663,
|
|
24196
|
+
apply_immediately: typing.Optional[builtins.bool] = None,
|
|
24055
24197
|
auto_minor_version_upgrade: typing.Optional[builtins.bool] = None,
|
|
24056
24198
|
availability_zone: typing.Optional[builtins.str] = None,
|
|
24057
24199
|
backup_retention: typing.Optional[_Duration_4839e8c3] = None,
|
|
@@ -24101,6 +24243,7 @@ class DatabaseInstanceReadReplicaProps(DatabaseInstanceNewProps):
|
|
|
24101
24243
|
'''Construction properties for a DatabaseInstanceReadReplica.
|
|
24102
24244
|
|
|
24103
24245
|
:param vpc: The VPC network where the DB subnet group should be created.
|
|
24246
|
+
:param apply_immediately: Specifies whether changes to the DB instance and any pending modifications are applied immediately, regardless of the ``preferredMaintenanceWindow`` setting. If set to ``false``, changes are applied during the next maintenance window. Until RDS applies the changes, the DB instance remains in a drift state. As a result, the configuration doesn't fully reflect the requested modifications and temporarily diverges from the intended state. This property also determines whether the DB instance reboots when a static parameter is modified in the associated DB parameter group. Default: - Changes will be applied immediately
|
|
24104
24247
|
:param auto_minor_version_upgrade: Indicates that minor engine upgrades are applied automatically to the DB instance during the maintenance window. Default: true
|
|
24105
24248
|
:param availability_zone: The name of the Availability Zone where the DB instance will be located. Default: - no preference
|
|
24106
24249
|
:param backup_retention: The number of days during which automatic DB snapshots are retained. Set to zero to disable backups. When creating a read replica, you must enable automatic backups on the source database instance by setting the backup retention to a value other than zero. Default: - Duration.days(1) for source instances, disabled for read replicas
|
|
@@ -24175,6 +24318,7 @@ class DatabaseInstanceReadReplicaProps(DatabaseInstanceNewProps):
|
|
|
24175
24318
|
if __debug__:
|
|
24176
24319
|
type_hints = typing.get_type_hints(_typecheckingstub__5508238388ee4afc86f97d5f22fa50578f8a1bdeed9ade8d0210c955bf30718e)
|
|
24177
24320
|
check_type(argname="argument vpc", value=vpc, expected_type=type_hints["vpc"])
|
|
24321
|
+
check_type(argname="argument apply_immediately", value=apply_immediately, expected_type=type_hints["apply_immediately"])
|
|
24178
24322
|
check_type(argname="argument auto_minor_version_upgrade", value=auto_minor_version_upgrade, expected_type=type_hints["auto_minor_version_upgrade"])
|
|
24179
24323
|
check_type(argname="argument availability_zone", value=availability_zone, expected_type=type_hints["availability_zone"])
|
|
24180
24324
|
check_type(argname="argument backup_retention", value=backup_retention, expected_type=type_hints["backup_retention"])
|
|
@@ -24225,6 +24369,8 @@ class DatabaseInstanceReadReplicaProps(DatabaseInstanceNewProps):
|
|
|
24225
24369
|
"instance_type": instance_type,
|
|
24226
24370
|
"source_database_instance": source_database_instance,
|
|
24227
24371
|
}
|
|
24372
|
+
if apply_immediately is not None:
|
|
24373
|
+
self._values["apply_immediately"] = apply_immediately
|
|
24228
24374
|
if auto_minor_version_upgrade is not None:
|
|
24229
24375
|
self._values["auto_minor_version_upgrade"] = auto_minor_version_upgrade
|
|
24230
24376
|
if availability_zone is not None:
|
|
@@ -24319,6 +24465,24 @@ class DatabaseInstanceReadReplicaProps(DatabaseInstanceNewProps):
|
|
|
24319
24465
|
assert result is not None, "Required property 'vpc' is missing"
|
|
24320
24466
|
return typing.cast(_IVpc_f30d5663, result)
|
|
24321
24467
|
|
|
24468
|
+
@builtins.property
|
|
24469
|
+
def apply_immediately(self) -> typing.Optional[builtins.bool]:
|
|
24470
|
+
'''Specifies whether changes to the DB instance and any pending modifications are applied immediately, regardless of the ``preferredMaintenanceWindow`` setting.
|
|
24471
|
+
|
|
24472
|
+
If set to ``false``, changes are applied during the next maintenance window.
|
|
24473
|
+
|
|
24474
|
+
Until RDS applies the changes, the DB instance remains in a drift state.
|
|
24475
|
+
As a result, the configuration doesn't fully reflect the requested modifications and temporarily diverges from the intended state.
|
|
24476
|
+
|
|
24477
|
+
This property also determines whether the DB instance reboots when a static parameter is modified in the associated DB parameter group.
|
|
24478
|
+
|
|
24479
|
+
:default: - Changes will be applied immediately
|
|
24480
|
+
|
|
24481
|
+
:see: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Overview.DBInstance.Modifying.html
|
|
24482
|
+
'''
|
|
24483
|
+
result = self._values.get("apply_immediately")
|
|
24484
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
24485
|
+
|
|
24322
24486
|
@builtins.property
|
|
24323
24487
|
def auto_minor_version_upgrade(self) -> typing.Optional[builtins.bool]:
|
|
24324
24488
|
'''Indicates that minor engine upgrades are applied automatically to the DB instance during the maintenance window.
|
|
@@ -24839,6 +25003,7 @@ class DatabaseInstanceReadReplicaProps(DatabaseInstanceNewProps):
|
|
|
24839
25003
|
jsii_struct_bases=[DatabaseInstanceNewProps],
|
|
24840
25004
|
name_mapping={
|
|
24841
25005
|
"vpc": "vpc",
|
|
25006
|
+
"apply_immediately": "applyImmediately",
|
|
24842
25007
|
"auto_minor_version_upgrade": "autoMinorVersionUpgrade",
|
|
24843
25008
|
"availability_zone": "availabilityZone",
|
|
24844
25009
|
"backup_retention": "backupRetention",
|
|
@@ -24894,6 +25059,7 @@ class DatabaseInstanceSourceProps(DatabaseInstanceNewProps):
|
|
|
24894
25059
|
self,
|
|
24895
25060
|
*,
|
|
24896
25061
|
vpc: _IVpc_f30d5663,
|
|
25062
|
+
apply_immediately: typing.Optional[builtins.bool] = None,
|
|
24897
25063
|
auto_minor_version_upgrade: typing.Optional[builtins.bool] = None,
|
|
24898
25064
|
availability_zone: typing.Optional[builtins.str] = None,
|
|
24899
25065
|
backup_retention: typing.Optional[_Duration_4839e8c3] = None,
|
|
@@ -24946,6 +25112,7 @@ class DatabaseInstanceSourceProps(DatabaseInstanceNewProps):
|
|
|
24946
25112
|
'''Construction properties for a DatabaseInstanceSource.
|
|
24947
25113
|
|
|
24948
25114
|
:param vpc: The VPC network where the DB subnet group should be created.
|
|
25115
|
+
:param apply_immediately: Specifies whether changes to the DB instance and any pending modifications are applied immediately, regardless of the ``preferredMaintenanceWindow`` setting. If set to ``false``, changes are applied during the next maintenance window. Until RDS applies the changes, the DB instance remains in a drift state. As a result, the configuration doesn't fully reflect the requested modifications and temporarily diverges from the intended state. This property also determines whether the DB instance reboots when a static parameter is modified in the associated DB parameter group. Default: - Changes will be applied immediately
|
|
24949
25116
|
:param auto_minor_version_upgrade: Indicates that minor engine upgrades are applied automatically to the DB instance during the maintenance window. Default: true
|
|
24950
25117
|
:param availability_zone: The name of the Availability Zone where the DB instance will be located. Default: - no preference
|
|
24951
25118
|
:param backup_retention: The number of days during which automatic DB snapshots are retained. Set to zero to disable backups. When creating a read replica, you must enable automatic backups on the source database instance by setting the backup retention to a value other than zero. Default: - Duration.days(1) for source instances, disabled for read replicas
|
|
@@ -25030,6 +25197,7 @@ class DatabaseInstanceSourceProps(DatabaseInstanceNewProps):
|
|
|
25030
25197
|
# the properties below are optional
|
|
25031
25198
|
allocated_storage=123,
|
|
25032
25199
|
allow_major_version_upgrade=False,
|
|
25200
|
+
apply_immediately=False,
|
|
25033
25201
|
auto_minor_version_upgrade=False,
|
|
25034
25202
|
availability_zone="availabilityZone",
|
|
25035
25203
|
backup_retention=cdk.Duration.minutes(30),
|
|
@@ -25096,6 +25264,7 @@ class DatabaseInstanceSourceProps(DatabaseInstanceNewProps):
|
|
|
25096
25264
|
if __debug__:
|
|
25097
25265
|
type_hints = typing.get_type_hints(_typecheckingstub__77d3b41152c4c7a3436d76bad0d83368717917e66a0f0cd849998fcd400f483c)
|
|
25098
25266
|
check_type(argname="argument vpc", value=vpc, expected_type=type_hints["vpc"])
|
|
25267
|
+
check_type(argname="argument apply_immediately", value=apply_immediately, expected_type=type_hints["apply_immediately"])
|
|
25099
25268
|
check_type(argname="argument auto_minor_version_upgrade", value=auto_minor_version_upgrade, expected_type=type_hints["auto_minor_version_upgrade"])
|
|
25100
25269
|
check_type(argname="argument availability_zone", value=availability_zone, expected_type=type_hints["availability_zone"])
|
|
25101
25270
|
check_type(argname="argument backup_retention", value=backup_retention, expected_type=type_hints["backup_retention"])
|
|
@@ -25148,6 +25317,8 @@ class DatabaseInstanceSourceProps(DatabaseInstanceNewProps):
|
|
|
25148
25317
|
"vpc": vpc,
|
|
25149
25318
|
"engine": engine,
|
|
25150
25319
|
}
|
|
25320
|
+
if apply_immediately is not None:
|
|
25321
|
+
self._values["apply_immediately"] = apply_immediately
|
|
25151
25322
|
if auto_minor_version_upgrade is not None:
|
|
25152
25323
|
self._values["auto_minor_version_upgrade"] = auto_minor_version_upgrade
|
|
25153
25324
|
if availability_zone is not None:
|
|
@@ -25250,6 +25421,24 @@ class DatabaseInstanceSourceProps(DatabaseInstanceNewProps):
|
|
|
25250
25421
|
assert result is not None, "Required property 'vpc' is missing"
|
|
25251
25422
|
return typing.cast(_IVpc_f30d5663, result)
|
|
25252
25423
|
|
|
25424
|
+
@builtins.property
|
|
25425
|
+
def apply_immediately(self) -> typing.Optional[builtins.bool]:
|
|
25426
|
+
'''Specifies whether changes to the DB instance and any pending modifications are applied immediately, regardless of the ``preferredMaintenanceWindow`` setting.
|
|
25427
|
+
|
|
25428
|
+
If set to ``false``, changes are applied during the next maintenance window.
|
|
25429
|
+
|
|
25430
|
+
Until RDS applies the changes, the DB instance remains in a drift state.
|
|
25431
|
+
As a result, the configuration doesn't fully reflect the requested modifications and temporarily diverges from the intended state.
|
|
25432
|
+
|
|
25433
|
+
This property also determines whether the DB instance reboots when a static parameter is modified in the associated DB parameter group.
|
|
25434
|
+
|
|
25435
|
+
:default: - Changes will be applied immediately
|
|
25436
|
+
|
|
25437
|
+
:see: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Overview.DBInstance.Modifying.html
|
|
25438
|
+
'''
|
|
25439
|
+
result = self._values.get("apply_immediately")
|
|
25440
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
25441
|
+
|
|
25253
25442
|
@builtins.property
|
|
25254
25443
|
def auto_minor_version_upgrade(self) -> typing.Optional[builtins.bool]:
|
|
25255
25444
|
'''Indicates that minor engine upgrades are applied automatically to the DB instance during the maintenance window.
|
|
@@ -31826,21 +32015,15 @@ class MySqlInstanceEngineProps:
|
|
|
31826
32015
|
Example::
|
|
31827
32016
|
|
|
31828
32017
|
# vpc: ec2.Vpc
|
|
32018
|
+
# kms_key: kms.Key
|
|
31829
32019
|
|
|
31830
|
-
|
|
31831
|
-
iops_instance = rds.DatabaseInstance(self, "IopsInstance",
|
|
31832
|
-
engine=rds.DatabaseInstanceEngine.mysql(version=rds.MysqlEngineVersion.VER_8_0_39),
|
|
31833
|
-
vpc=vpc,
|
|
31834
|
-
storage_type=rds.StorageType.IO1,
|
|
31835
|
-
iops=5000
|
|
31836
|
-
)
|
|
31837
|
-
|
|
31838
|
-
gp3_instance = rds.DatabaseInstance(self, "Gp3Instance",
|
|
32020
|
+
instance = rds.DatabaseInstance(self, "Instance",
|
|
31839
32021
|
engine=rds.DatabaseInstanceEngine.mysql(version=rds.MysqlEngineVersion.VER_8_0_39),
|
|
32022
|
+
instance_type=ec2.InstanceType.of(ec2.InstanceClass.R7G, ec2.InstanceSize.LARGE),
|
|
31840
32023
|
vpc=vpc,
|
|
31841
|
-
|
|
31842
|
-
|
|
31843
|
-
|
|
32024
|
+
enable_performance_insights=True,
|
|
32025
|
+
performance_insight_retention=rds.PerformanceInsightRetention.LONG_TERM,
|
|
32026
|
+
performance_insight_encryption_key=kms_key
|
|
31844
32027
|
)
|
|
31845
32028
|
'''
|
|
31846
32029
|
if __debug__:
|
|
@@ -31880,21 +32063,15 @@ class MysqlEngineVersion(
|
|
|
31880
32063
|
Example::
|
|
31881
32064
|
|
|
31882
32065
|
# vpc: ec2.Vpc
|
|
32066
|
+
# kms_key: kms.Key
|
|
31883
32067
|
|
|
31884
|
-
|
|
31885
|
-
iops_instance = rds.DatabaseInstance(self, "IopsInstance",
|
|
31886
|
-
engine=rds.DatabaseInstanceEngine.mysql(version=rds.MysqlEngineVersion.VER_8_0_39),
|
|
31887
|
-
vpc=vpc,
|
|
31888
|
-
storage_type=rds.StorageType.IO1,
|
|
31889
|
-
iops=5000
|
|
31890
|
-
)
|
|
31891
|
-
|
|
31892
|
-
gp3_instance = rds.DatabaseInstance(self, "Gp3Instance",
|
|
32068
|
+
instance = rds.DatabaseInstance(self, "Instance",
|
|
31893
32069
|
engine=rds.DatabaseInstanceEngine.mysql(version=rds.MysqlEngineVersion.VER_8_0_39),
|
|
32070
|
+
instance_type=ec2.InstanceType.of(ec2.InstanceClass.R7G, ec2.InstanceSize.LARGE),
|
|
31894
32071
|
vpc=vpc,
|
|
31895
|
-
|
|
31896
|
-
|
|
31897
|
-
|
|
32072
|
+
enable_performance_insights=True,
|
|
32073
|
+
performance_insight_retention=rds.PerformanceInsightRetention.LONG_TERM,
|
|
32074
|
+
performance_insight_encryption_key=kms_key
|
|
31898
32075
|
)
|
|
31899
32076
|
'''
|
|
31900
32077
|
|
|
@@ -35513,6 +35690,12 @@ class PostgresEngineVersion(
|
|
|
35513
35690
|
'''Version "13.18".'''
|
|
35514
35691
|
return typing.cast("PostgresEngineVersion", jsii.sget(cls, "VER_13_18"))
|
|
35515
35692
|
|
|
35693
|
+
@jsii.python.classproperty
|
|
35694
|
+
@jsii.member(jsii_name="VER_13_19")
|
|
35695
|
+
def VER_13_19(cls) -> "PostgresEngineVersion":
|
|
35696
|
+
'''Version "13.19".'''
|
|
35697
|
+
return typing.cast("PostgresEngineVersion", jsii.sget(cls, "VER_13_19"))
|
|
35698
|
+
|
|
35516
35699
|
@jsii.python.classproperty
|
|
35517
35700
|
@jsii.member(jsii_name="VER_13_2")
|
|
35518
35701
|
def VER_13_2(cls) -> "PostgresEngineVersion":
|
|
@@ -35524,6 +35707,12 @@ class PostgresEngineVersion(
|
|
|
35524
35707
|
'''
|
|
35525
35708
|
return typing.cast("PostgresEngineVersion", jsii.sget(cls, "VER_13_2"))
|
|
35526
35709
|
|
|
35710
|
+
@jsii.python.classproperty
|
|
35711
|
+
@jsii.member(jsii_name="VER_13_20")
|
|
35712
|
+
def VER_13_20(cls) -> "PostgresEngineVersion":
|
|
35713
|
+
'''Version "13.20".'''
|
|
35714
|
+
return typing.cast("PostgresEngineVersion", jsii.sget(cls, "VER_13_20"))
|
|
35715
|
+
|
|
35527
35716
|
@jsii.python.classproperty
|
|
35528
35717
|
@jsii.member(jsii_name="VER_13_3")
|
|
35529
35718
|
def VER_13_3(cls) -> "PostgresEngineVersion":
|
|
@@ -35654,6 +35843,18 @@ class PostgresEngineVersion(
|
|
|
35654
35843
|
'''Version "14.15".'''
|
|
35655
35844
|
return typing.cast("PostgresEngineVersion", jsii.sget(cls, "VER_14_15"))
|
|
35656
35845
|
|
|
35846
|
+
@jsii.python.classproperty
|
|
35847
|
+
@jsii.member(jsii_name="VER_14_16")
|
|
35848
|
+
def VER_14_16(cls) -> "PostgresEngineVersion":
|
|
35849
|
+
'''Version "14.16".'''
|
|
35850
|
+
return typing.cast("PostgresEngineVersion", jsii.sget(cls, "VER_14_16"))
|
|
35851
|
+
|
|
35852
|
+
@jsii.python.classproperty
|
|
35853
|
+
@jsii.member(jsii_name="VER_14_17")
|
|
35854
|
+
def VER_14_17(cls) -> "PostgresEngineVersion":
|
|
35855
|
+
'''Version "14.17".'''
|
|
35856
|
+
return typing.cast("PostgresEngineVersion", jsii.sget(cls, "VER_14_17"))
|
|
35857
|
+
|
|
35657
35858
|
@jsii.python.classproperty
|
|
35658
35859
|
@jsii.member(jsii_name="VER_14_2")
|
|
35659
35860
|
def VER_14_2(cls) -> "PostgresEngineVersion":
|
|
@@ -35749,6 +35950,18 @@ class PostgresEngineVersion(
|
|
|
35749
35950
|
'''Version "15.10".'''
|
|
35750
35951
|
return typing.cast("PostgresEngineVersion", jsii.sget(cls, "VER_15_10"))
|
|
35751
35952
|
|
|
35953
|
+
@jsii.python.classproperty
|
|
35954
|
+
@jsii.member(jsii_name="VER_15_11")
|
|
35955
|
+
def VER_15_11(cls) -> "PostgresEngineVersion":
|
|
35956
|
+
'''Version "15.11".'''
|
|
35957
|
+
return typing.cast("PostgresEngineVersion", jsii.sget(cls, "VER_15_11"))
|
|
35958
|
+
|
|
35959
|
+
@jsii.python.classproperty
|
|
35960
|
+
@jsii.member(jsii_name="VER_15_12")
|
|
35961
|
+
def VER_15_12(cls) -> "PostgresEngineVersion":
|
|
35962
|
+
'''Version "15.12".'''
|
|
35963
|
+
return typing.cast("PostgresEngineVersion", jsii.sget(cls, "VER_15_12"))
|
|
35964
|
+
|
|
35752
35965
|
@jsii.python.classproperty
|
|
35753
35966
|
@jsii.member(jsii_name="VER_15_2")
|
|
35754
35967
|
def VER_15_2(cls) -> "PostgresEngineVersion":
|
|
@@ -35849,6 +36062,18 @@ class PostgresEngineVersion(
|
|
|
35849
36062
|
'''Version "16.6".'''
|
|
35850
36063
|
return typing.cast("PostgresEngineVersion", jsii.sget(cls, "VER_16_6"))
|
|
35851
36064
|
|
|
36065
|
+
@jsii.python.classproperty
|
|
36066
|
+
@jsii.member(jsii_name="VER_16_7")
|
|
36067
|
+
def VER_16_7(cls) -> "PostgresEngineVersion":
|
|
36068
|
+
'''Version "16.7".'''
|
|
36069
|
+
return typing.cast("PostgresEngineVersion", jsii.sget(cls, "VER_16_7"))
|
|
36070
|
+
|
|
36071
|
+
@jsii.python.classproperty
|
|
36072
|
+
@jsii.member(jsii_name="VER_16_8")
|
|
36073
|
+
def VER_16_8(cls) -> "PostgresEngineVersion":
|
|
36074
|
+
'''Version "16.8".'''
|
|
36075
|
+
return typing.cast("PostgresEngineVersion", jsii.sget(cls, "VER_16_8"))
|
|
36076
|
+
|
|
35852
36077
|
@jsii.python.classproperty
|
|
35853
36078
|
@jsii.member(jsii_name="VER_17")
|
|
35854
36079
|
def VER_17(cls) -> "PostgresEngineVersion":
|
|
@@ -35867,6 +36092,18 @@ class PostgresEngineVersion(
|
|
|
35867
36092
|
'''Version "17.2".'''
|
|
35868
36093
|
return typing.cast("PostgresEngineVersion", jsii.sget(cls, "VER_17_2"))
|
|
35869
36094
|
|
|
36095
|
+
@jsii.python.classproperty
|
|
36096
|
+
@jsii.member(jsii_name="VER_17_3")
|
|
36097
|
+
def VER_17_3(cls) -> "PostgresEngineVersion":
|
|
36098
|
+
'''Version "17.3".'''
|
|
36099
|
+
return typing.cast("PostgresEngineVersion", jsii.sget(cls, "VER_17_3"))
|
|
36100
|
+
|
|
36101
|
+
@jsii.python.classproperty
|
|
36102
|
+
@jsii.member(jsii_name="VER_17_4")
|
|
36103
|
+
def VER_17_4(cls) -> "PostgresEngineVersion":
|
|
36104
|
+
'''Version "17.4".'''
|
|
36105
|
+
return typing.cast("PostgresEngineVersion", jsii.sget(cls, "VER_17_4"))
|
|
36106
|
+
|
|
35870
36107
|
@jsii.python.classproperty
|
|
35871
36108
|
@jsii.member(jsii_name="VER_9_6_24")
|
|
35872
36109
|
def VER_9_6_24(cls) -> "PostgresEngineVersion":
|
|
@@ -36025,6 +36262,7 @@ class ProcessorFeatures:
|
|
|
36025
36262
|
jsii_struct_bases=[ClusterInstanceOptions],
|
|
36026
36263
|
name_mapping={
|
|
36027
36264
|
"allow_major_version_upgrade": "allowMajorVersionUpgrade",
|
|
36265
|
+
"apply_immediately": "applyImmediately",
|
|
36028
36266
|
"auto_minor_version_upgrade": "autoMinorVersionUpgrade",
|
|
36029
36267
|
"ca_certificate": "caCertificate",
|
|
36030
36268
|
"enable_performance_insights": "enablePerformanceInsights",
|
|
@@ -36045,6 +36283,7 @@ class ProvisionedClusterInstanceProps(ClusterInstanceOptions):
|
|
|
36045
36283
|
self,
|
|
36046
36284
|
*,
|
|
36047
36285
|
allow_major_version_upgrade: typing.Optional[builtins.bool] = None,
|
|
36286
|
+
apply_immediately: typing.Optional[builtins.bool] = None,
|
|
36048
36287
|
auto_minor_version_upgrade: typing.Optional[builtins.bool] = None,
|
|
36049
36288
|
ca_certificate: typing.Optional[CaCertificate] = None,
|
|
36050
36289
|
enable_performance_insights: typing.Optional[builtins.bool] = None,
|
|
@@ -36062,6 +36301,7 @@ class ProvisionedClusterInstanceProps(ClusterInstanceOptions):
|
|
|
36062
36301
|
'''Options for creating a provisioned instance.
|
|
36063
36302
|
|
|
36064
36303
|
:param allow_major_version_upgrade: Whether to allow upgrade of major version for the DB instance. Default: - false
|
|
36304
|
+
:param apply_immediately: Specifies whether changes to the DB instance and any pending modifications are applied immediately, regardless of the ``preferredMaintenanceWindow`` setting. If set to ``false``, changes are applied during the next maintenance window. Until RDS applies the changes, the DB instance remains in a drift state. As a result, the configuration doesn't fully reflect the requested modifications and temporarily diverges from the intended state. This property also determines whether the DB instance reboots when a static parameter is modified in the associated DB parameter group. Default: - Changes will be applied immediately
|
|
36065
36305
|
:param auto_minor_version_upgrade: Whether to enable automatic upgrade of minor version for the DB instance. Default: - true
|
|
36066
36306
|
:param ca_certificate: The identifier of the CA certificate for this DB cluster's instances. Specifying or updating this property triggers a reboot. For RDS DB engines: Default: - RDS will choose a certificate authority
|
|
36067
36307
|
:param enable_performance_insights: Whether to enable Performance Insights for the DB instance. Default: - false, unless ``performanceInsightRetention`` or ``performanceInsightEncryptionKey`` is set.
|
|
@@ -36084,23 +36324,18 @@ class ProvisionedClusterInstanceProps(ClusterInstanceOptions):
|
|
|
36084
36324
|
|
|
36085
36325
|
cluster = rds.DatabaseCluster(self, "Database",
|
|
36086
36326
|
engine=rds.DatabaseClusterEngine.aurora_mysql(version=rds.AuroraMysqlEngineVersion.VER_3_01_0),
|
|
36087
|
-
writer=rds.ClusterInstance.provisioned("
|
|
36088
|
-
instance_type=ec2.InstanceType.of(ec2.InstanceClass.
|
|
36327
|
+
writer=rds.ClusterInstance.provisioned("Instance",
|
|
36328
|
+
instance_type=ec2.InstanceType.of(ec2.InstanceClass.BURSTABLE3, ec2.InstanceSize.SMALL)
|
|
36089
36329
|
),
|
|
36090
|
-
|
|
36091
|
-
|
|
36092
|
-
readers=[
|
|
36093
|
-
# will be put in promotion tier 1 and will scale with the writer
|
|
36094
|
-
rds.ClusterInstance.serverless_v2("reader1", scale_with_writer=True),
|
|
36095
|
-
# will be put in promotion tier 2 and will not scale with the writer
|
|
36096
|
-
rds.ClusterInstance.serverless_v2("reader2")
|
|
36097
|
-
],
|
|
36330
|
+
readers=[rds.ClusterInstance.provisioned("reader")],
|
|
36331
|
+
instance_update_behaviour=rds.InstanceUpdateBehaviour.ROLLING, # Optional - defaults to rds.InstanceUpdateBehaviour.BULK
|
|
36098
36332
|
vpc=vpc
|
|
36099
36333
|
)
|
|
36100
36334
|
'''
|
|
36101
36335
|
if __debug__:
|
|
36102
36336
|
type_hints = typing.get_type_hints(_typecheckingstub__0d5c78a39da629a585066921d3ee78da795285acdbebe6935198fc9293af7e90)
|
|
36103
36337
|
check_type(argname="argument allow_major_version_upgrade", value=allow_major_version_upgrade, expected_type=type_hints["allow_major_version_upgrade"])
|
|
36338
|
+
check_type(argname="argument apply_immediately", value=apply_immediately, expected_type=type_hints["apply_immediately"])
|
|
36104
36339
|
check_type(argname="argument auto_minor_version_upgrade", value=auto_minor_version_upgrade, expected_type=type_hints["auto_minor_version_upgrade"])
|
|
36105
36340
|
check_type(argname="argument ca_certificate", value=ca_certificate, expected_type=type_hints["ca_certificate"])
|
|
36106
36341
|
check_type(argname="argument enable_performance_insights", value=enable_performance_insights, expected_type=type_hints["enable_performance_insights"])
|
|
@@ -36117,6 +36352,8 @@ class ProvisionedClusterInstanceProps(ClusterInstanceOptions):
|
|
|
36117
36352
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
36118
36353
|
if allow_major_version_upgrade is not None:
|
|
36119
36354
|
self._values["allow_major_version_upgrade"] = allow_major_version_upgrade
|
|
36355
|
+
if apply_immediately is not None:
|
|
36356
|
+
self._values["apply_immediately"] = apply_immediately
|
|
36120
36357
|
if auto_minor_version_upgrade is not None:
|
|
36121
36358
|
self._values["auto_minor_version_upgrade"] = auto_minor_version_upgrade
|
|
36122
36359
|
if ca_certificate is not None:
|
|
@@ -36153,6 +36390,24 @@ class ProvisionedClusterInstanceProps(ClusterInstanceOptions):
|
|
|
36153
36390
|
result = self._values.get("allow_major_version_upgrade")
|
|
36154
36391
|
return typing.cast(typing.Optional[builtins.bool], result)
|
|
36155
36392
|
|
|
36393
|
+
@builtins.property
|
|
36394
|
+
def apply_immediately(self) -> typing.Optional[builtins.bool]:
|
|
36395
|
+
'''Specifies whether changes to the DB instance and any pending modifications are applied immediately, regardless of the ``preferredMaintenanceWindow`` setting.
|
|
36396
|
+
|
|
36397
|
+
If set to ``false``, changes are applied during the next maintenance window.
|
|
36398
|
+
|
|
36399
|
+
Until RDS applies the changes, the DB instance remains in a drift state.
|
|
36400
|
+
As a result, the configuration doesn't fully reflect the requested modifications and temporarily diverges from the intended state.
|
|
36401
|
+
|
|
36402
|
+
This property also determines whether the DB instance reboots when a static parameter is modified in the associated DB parameter group.
|
|
36403
|
+
|
|
36404
|
+
:default: - Changes will be applied immediately
|
|
36405
|
+
|
|
36406
|
+
:see: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Modifying.html
|
|
36407
|
+
'''
|
|
36408
|
+
result = self._values.get("apply_immediately")
|
|
36409
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
36410
|
+
|
|
36156
36411
|
@builtins.property
|
|
36157
36412
|
def auto_minor_version_upgrade(self) -> typing.Optional[builtins.bool]:
|
|
36158
36413
|
'''Whether to enable automatic upgrade of minor version for the DB instance.
|
|
@@ -38254,6 +38509,7 @@ class ServerlessScalingOptions:
|
|
|
38254
38509
|
jsii_struct_bases=[ClusterInstanceOptions],
|
|
38255
38510
|
name_mapping={
|
|
38256
38511
|
"allow_major_version_upgrade": "allowMajorVersionUpgrade",
|
|
38512
|
+
"apply_immediately": "applyImmediately",
|
|
38257
38513
|
"auto_minor_version_upgrade": "autoMinorVersionUpgrade",
|
|
38258
38514
|
"ca_certificate": "caCertificate",
|
|
38259
38515
|
"enable_performance_insights": "enablePerformanceInsights",
|
|
@@ -38273,6 +38529,7 @@ class ServerlessV2ClusterInstanceProps(ClusterInstanceOptions):
|
|
|
38273
38529
|
self,
|
|
38274
38530
|
*,
|
|
38275
38531
|
allow_major_version_upgrade: typing.Optional[builtins.bool] = None,
|
|
38532
|
+
apply_immediately: typing.Optional[builtins.bool] = None,
|
|
38276
38533
|
auto_minor_version_upgrade: typing.Optional[builtins.bool] = None,
|
|
38277
38534
|
ca_certificate: typing.Optional[CaCertificate] = None,
|
|
38278
38535
|
enable_performance_insights: typing.Optional[builtins.bool] = None,
|
|
@@ -38289,6 +38546,7 @@ class ServerlessV2ClusterInstanceProps(ClusterInstanceOptions):
|
|
|
38289
38546
|
'''Options for creating a serverless v2 instance.
|
|
38290
38547
|
|
|
38291
38548
|
:param allow_major_version_upgrade: Whether to allow upgrade of major version for the DB instance. Default: - false
|
|
38549
|
+
:param apply_immediately: Specifies whether changes to the DB instance and any pending modifications are applied immediately, regardless of the ``preferredMaintenanceWindow`` setting. If set to ``false``, changes are applied during the next maintenance window. Until RDS applies the changes, the DB instance remains in a drift state. As a result, the configuration doesn't fully reflect the requested modifications and temporarily diverges from the intended state. This property also determines whether the DB instance reboots when a static parameter is modified in the associated DB parameter group. Default: - Changes will be applied immediately
|
|
38292
38550
|
:param auto_minor_version_upgrade: Whether to enable automatic upgrade of minor version for the DB instance. Default: - true
|
|
38293
38551
|
:param ca_certificate: The identifier of the CA certificate for this DB cluster's instances. Specifying or updating this property triggers a reboot. For RDS DB engines: Default: - RDS will choose a certificate authority
|
|
38294
38552
|
:param enable_performance_insights: Whether to enable Performance Insights for the DB instance. Default: - false, unless ``performanceInsightRetention`` or ``performanceInsightEncryptionKey`` is set.
|
|
@@ -38324,6 +38582,7 @@ class ServerlessV2ClusterInstanceProps(ClusterInstanceOptions):
|
|
|
38324
38582
|
if __debug__:
|
|
38325
38583
|
type_hints = typing.get_type_hints(_typecheckingstub__c8fd71a155386e8ce12e74b8c5684dfdd43d26e347ef8bbb979e8a2c34f7b38e)
|
|
38326
38584
|
check_type(argname="argument allow_major_version_upgrade", value=allow_major_version_upgrade, expected_type=type_hints["allow_major_version_upgrade"])
|
|
38585
|
+
check_type(argname="argument apply_immediately", value=apply_immediately, expected_type=type_hints["apply_immediately"])
|
|
38327
38586
|
check_type(argname="argument auto_minor_version_upgrade", value=auto_minor_version_upgrade, expected_type=type_hints["auto_minor_version_upgrade"])
|
|
38328
38587
|
check_type(argname="argument ca_certificate", value=ca_certificate, expected_type=type_hints["ca_certificate"])
|
|
38329
38588
|
check_type(argname="argument enable_performance_insights", value=enable_performance_insights, expected_type=type_hints["enable_performance_insights"])
|
|
@@ -38339,6 +38598,8 @@ class ServerlessV2ClusterInstanceProps(ClusterInstanceOptions):
|
|
|
38339
38598
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
38340
38599
|
if allow_major_version_upgrade is not None:
|
|
38341
38600
|
self._values["allow_major_version_upgrade"] = allow_major_version_upgrade
|
|
38601
|
+
if apply_immediately is not None:
|
|
38602
|
+
self._values["apply_immediately"] = apply_immediately
|
|
38342
38603
|
if auto_minor_version_upgrade is not None:
|
|
38343
38604
|
self._values["auto_minor_version_upgrade"] = auto_minor_version_upgrade
|
|
38344
38605
|
if ca_certificate is not None:
|
|
@@ -38373,6 +38634,24 @@ class ServerlessV2ClusterInstanceProps(ClusterInstanceOptions):
|
|
|
38373
38634
|
result = self._values.get("allow_major_version_upgrade")
|
|
38374
38635
|
return typing.cast(typing.Optional[builtins.bool], result)
|
|
38375
38636
|
|
|
38637
|
+
@builtins.property
|
|
38638
|
+
def apply_immediately(self) -> typing.Optional[builtins.bool]:
|
|
38639
|
+
'''Specifies whether changes to the DB instance and any pending modifications are applied immediately, regardless of the ``preferredMaintenanceWindow`` setting.
|
|
38640
|
+
|
|
38641
|
+
If set to ``false``, changes are applied during the next maintenance window.
|
|
38642
|
+
|
|
38643
|
+
Until RDS applies the changes, the DB instance remains in a drift state.
|
|
38644
|
+
As a result, the configuration doesn't fully reflect the requested modifications and temporarily diverges from the intended state.
|
|
38645
|
+
|
|
38646
|
+
This property also determines whether the DB instance reboots when a static parameter is modified in the associated DB parameter group.
|
|
38647
|
+
|
|
38648
|
+
:default: - Changes will be applied immediately
|
|
38649
|
+
|
|
38650
|
+
:see: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Modifying.html
|
|
38651
|
+
'''
|
|
38652
|
+
result = self._values.get("apply_immediately")
|
|
38653
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
38654
|
+
|
|
38376
38655
|
@builtins.property
|
|
38377
38656
|
def auto_minor_version_upgrade(self) -> typing.Optional[builtins.bool]:
|
|
38378
38657
|
'''Whether to enable automatic upgrade of minor version for the DB instance.
|
|
@@ -40395,6 +40674,7 @@ class ClusterInstance(
|
|
|
40395
40674
|
instance_type: typing.Optional[_InstanceType_f64915b9] = None,
|
|
40396
40675
|
promotion_tier: typing.Optional[jsii.Number] = None,
|
|
40397
40676
|
allow_major_version_upgrade: typing.Optional[builtins.bool] = None,
|
|
40677
|
+
apply_immediately: typing.Optional[builtins.bool] = None,
|
|
40398
40678
|
auto_minor_version_upgrade: typing.Optional[builtins.bool] = None,
|
|
40399
40679
|
ca_certificate: typing.Optional[CaCertificate] = None,
|
|
40400
40680
|
enable_performance_insights: typing.Optional[builtins.bool] = None,
|
|
@@ -40413,6 +40693,7 @@ class ClusterInstance(
|
|
|
40413
40693
|
:param instance_type: The cluster instance type. Default: db.t3.medium
|
|
40414
40694
|
:param promotion_tier: The promotion tier of the cluster instance. Can be between 0-15 For provisioned instances this just determines the failover priority. If multiple instances have the same priority then one will be picked at random Default: 2
|
|
40415
40695
|
:param allow_major_version_upgrade: Whether to allow upgrade of major version for the DB instance. Default: - false
|
|
40696
|
+
:param apply_immediately: Specifies whether changes to the DB instance and any pending modifications are applied immediately, regardless of the ``preferredMaintenanceWindow`` setting. If set to ``false``, changes are applied during the next maintenance window. Until RDS applies the changes, the DB instance remains in a drift state. As a result, the configuration doesn't fully reflect the requested modifications and temporarily diverges from the intended state. This property also determines whether the DB instance reboots when a static parameter is modified in the associated DB parameter group. Default: - Changes will be applied immediately
|
|
40416
40697
|
:param auto_minor_version_upgrade: Whether to enable automatic upgrade of minor version for the DB instance. Default: - true
|
|
40417
40698
|
:param ca_certificate: The identifier of the CA certificate for this DB cluster's instances. Specifying or updating this property triggers a reboot. For RDS DB engines: Default: - RDS will choose a certificate authority
|
|
40418
40699
|
:param enable_performance_insights: Whether to enable Performance Insights for the DB instance. Default: - false, unless ``performanceInsightRetention`` or ``performanceInsightEncryptionKey`` is set.
|
|
@@ -40438,6 +40719,7 @@ class ClusterInstance(
|
|
|
40438
40719
|
instance_type=instance_type,
|
|
40439
40720
|
promotion_tier=promotion_tier,
|
|
40440
40721
|
allow_major_version_upgrade=allow_major_version_upgrade,
|
|
40722
|
+
apply_immediately=apply_immediately,
|
|
40441
40723
|
auto_minor_version_upgrade=auto_minor_version_upgrade,
|
|
40442
40724
|
ca_certificate=ca_certificate,
|
|
40443
40725
|
enable_performance_insights=enable_performance_insights,
|
|
@@ -40461,6 +40743,7 @@ class ClusterInstance(
|
|
|
40461
40743
|
*,
|
|
40462
40744
|
scale_with_writer: typing.Optional[builtins.bool] = None,
|
|
40463
40745
|
allow_major_version_upgrade: typing.Optional[builtins.bool] = None,
|
|
40746
|
+
apply_immediately: typing.Optional[builtins.bool] = None,
|
|
40464
40747
|
auto_minor_version_upgrade: typing.Optional[builtins.bool] = None,
|
|
40465
40748
|
ca_certificate: typing.Optional[CaCertificate] = None,
|
|
40466
40749
|
enable_performance_insights: typing.Optional[builtins.bool] = None,
|
|
@@ -40478,6 +40761,7 @@ class ClusterInstance(
|
|
|
40478
40761
|
:param id: -
|
|
40479
40762
|
:param scale_with_writer: Only applicable to reader instances. If this is true then the instance will be placed in promotion tier 1, otherwise it will be placed in promotion tier 2. For serverless v2 instances this means: - true: The serverless v2 reader will scale to match the writer instance (provisioned or serverless) - false: The serverless v2 reader will scale with the read workload on the instance Default: false
|
|
40480
40763
|
:param allow_major_version_upgrade: Whether to allow upgrade of major version for the DB instance. Default: - false
|
|
40764
|
+
:param apply_immediately: Specifies whether changes to the DB instance and any pending modifications are applied immediately, regardless of the ``preferredMaintenanceWindow`` setting. If set to ``false``, changes are applied during the next maintenance window. Until RDS applies the changes, the DB instance remains in a drift state. As a result, the configuration doesn't fully reflect the requested modifications and temporarily diverges from the intended state. This property also determines whether the DB instance reboots when a static parameter is modified in the associated DB parameter group. Default: - Changes will be applied immediately
|
|
40481
40765
|
:param auto_minor_version_upgrade: Whether to enable automatic upgrade of minor version for the DB instance. Default: - true
|
|
40482
40766
|
:param ca_certificate: The identifier of the CA certificate for this DB cluster's instances. Specifying or updating this property triggers a reboot. For RDS DB engines: Default: - RDS will choose a certificate authority
|
|
40483
40767
|
:param enable_performance_insights: Whether to enable Performance Insights for the DB instance. Default: - false, unless ``performanceInsightRetention`` or ``performanceInsightEncryptionKey`` is set.
|
|
@@ -40502,6 +40786,7 @@ class ClusterInstance(
|
|
|
40502
40786
|
props = ServerlessV2ClusterInstanceProps(
|
|
40503
40787
|
scale_with_writer=scale_with_writer,
|
|
40504
40788
|
allow_major_version_upgrade=allow_major_version_upgrade,
|
|
40789
|
+
apply_immediately=apply_immediately,
|
|
40505
40790
|
auto_minor_version_upgrade=auto_minor_version_upgrade,
|
|
40506
40791
|
ca_certificate=ca_certificate,
|
|
40507
40792
|
enable_performance_insights=enable_performance_insights,
|
|
@@ -42815,6 +43100,7 @@ class DatabaseInstanceFromSnapshot(
|
|
|
42815
43100
|
parameters: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
42816
43101
|
timezone: typing.Optional[builtins.str] = None,
|
|
42817
43102
|
vpc: _IVpc_f30d5663,
|
|
43103
|
+
apply_immediately: typing.Optional[builtins.bool] = None,
|
|
42818
43104
|
auto_minor_version_upgrade: typing.Optional[builtins.bool] = None,
|
|
42819
43105
|
availability_zone: typing.Optional[builtins.str] = None,
|
|
42820
43106
|
backup_retention: typing.Optional[_Duration_4839e8c3] = None,
|
|
@@ -42870,6 +43156,7 @@ class DatabaseInstanceFromSnapshot(
|
|
|
42870
43156
|
:param parameters: The parameters in the DBParameterGroup to create automatically. You can only specify parameterGroup or parameters but not both. You need to use a versioned engine to auto-generate a DBParameterGroup. Default: - None
|
|
42871
43157
|
:param timezone: The time zone of the instance. This is currently supported only by Microsoft Sql Server. Default: - RDS default timezone
|
|
42872
43158
|
:param vpc: The VPC network where the DB subnet group should be created.
|
|
43159
|
+
:param apply_immediately: Specifies whether changes to the DB instance and any pending modifications are applied immediately, regardless of the ``preferredMaintenanceWindow`` setting. If set to ``false``, changes are applied during the next maintenance window. Until RDS applies the changes, the DB instance remains in a drift state. As a result, the configuration doesn't fully reflect the requested modifications and temporarily diverges from the intended state. This property also determines whether the DB instance reboots when a static parameter is modified in the associated DB parameter group. Default: - Changes will be applied immediately
|
|
42873
43160
|
:param auto_minor_version_upgrade: Indicates that minor engine upgrades are applied automatically to the DB instance during the maintenance window. Default: true
|
|
42874
43161
|
:param availability_zone: The name of the Availability Zone where the DB instance will be located. Default: - no preference
|
|
42875
43162
|
:param backup_retention: The number of days during which automatic DB snapshots are retained. Set to zero to disable backups. When creating a read replica, you must enable automatic backups on the source database instance by setting the backup retention to a value other than zero. Default: - Duration.days(1) for source instances, disabled for read replicas
|
|
@@ -42927,6 +43214,7 @@ class DatabaseInstanceFromSnapshot(
|
|
|
42927
43214
|
parameters=parameters,
|
|
42928
43215
|
timezone=timezone,
|
|
42929
43216
|
vpc=vpc,
|
|
43217
|
+
apply_immediately=apply_immediately,
|
|
42930
43218
|
auto_minor_version_upgrade=auto_minor_version_upgrade,
|
|
42931
43219
|
availability_zone=availability_zone,
|
|
42932
43220
|
backup_retention=backup_retention,
|
|
@@ -43172,6 +43460,7 @@ class DatabaseInstanceFromSnapshot(
|
|
|
43172
43460
|
jsii_struct_bases=[DatabaseInstanceSourceProps],
|
|
43173
43461
|
name_mapping={
|
|
43174
43462
|
"vpc": "vpc",
|
|
43463
|
+
"apply_immediately": "applyImmediately",
|
|
43175
43464
|
"auto_minor_version_upgrade": "autoMinorVersionUpgrade",
|
|
43176
43465
|
"availability_zone": "availabilityZone",
|
|
43177
43466
|
"backup_retention": "backupRetention",
|
|
@@ -43229,6 +43518,7 @@ class DatabaseInstanceFromSnapshotProps(DatabaseInstanceSourceProps):
|
|
|
43229
43518
|
self,
|
|
43230
43519
|
*,
|
|
43231
43520
|
vpc: _IVpc_f30d5663,
|
|
43521
|
+
apply_immediately: typing.Optional[builtins.bool] = None,
|
|
43232
43522
|
auto_minor_version_upgrade: typing.Optional[builtins.bool] = None,
|
|
43233
43523
|
availability_zone: typing.Optional[builtins.str] = None,
|
|
43234
43524
|
backup_retention: typing.Optional[_Duration_4839e8c3] = None,
|
|
@@ -43283,6 +43573,7 @@ class DatabaseInstanceFromSnapshotProps(DatabaseInstanceSourceProps):
|
|
|
43283
43573
|
'''Construction properties for a DatabaseInstanceFromSnapshot.
|
|
43284
43574
|
|
|
43285
43575
|
:param vpc: The VPC network where the DB subnet group should be created.
|
|
43576
|
+
:param apply_immediately: Specifies whether changes to the DB instance and any pending modifications are applied immediately, regardless of the ``preferredMaintenanceWindow`` setting. If set to ``false``, changes are applied during the next maintenance window. Until RDS applies the changes, the DB instance remains in a drift state. As a result, the configuration doesn't fully reflect the requested modifications and temporarily diverges from the intended state. This property also determines whether the DB instance reboots when a static parameter is modified in the associated DB parameter group. Default: - Changes will be applied immediately
|
|
43286
43577
|
:param auto_minor_version_upgrade: Indicates that minor engine upgrades are applied automatically to the DB instance during the maintenance window. Default: true
|
|
43287
43578
|
:param availability_zone: The name of the Availability Zone where the DB instance will be located. Default: - no preference
|
|
43288
43579
|
:param backup_retention: The number of days during which automatic DB snapshots are retained. Set to zero to disable backups. When creating a read replica, you must enable automatic backups on the source database instance by setting the backup retention to a value other than zero. Default: - Duration.days(1) for source instances, disabled for read replicas
|
|
@@ -43362,6 +43653,7 @@ class DatabaseInstanceFromSnapshotProps(DatabaseInstanceSourceProps):
|
|
|
43362
43653
|
if __debug__:
|
|
43363
43654
|
type_hints = typing.get_type_hints(_typecheckingstub__f06d86058a0a7538eb7dbf55de032c8cf05f7fa7b4ab5d5c1d47f761783eaed2)
|
|
43364
43655
|
check_type(argname="argument vpc", value=vpc, expected_type=type_hints["vpc"])
|
|
43656
|
+
check_type(argname="argument apply_immediately", value=apply_immediately, expected_type=type_hints["apply_immediately"])
|
|
43365
43657
|
check_type(argname="argument auto_minor_version_upgrade", value=auto_minor_version_upgrade, expected_type=type_hints["auto_minor_version_upgrade"])
|
|
43366
43658
|
check_type(argname="argument availability_zone", value=availability_zone, expected_type=type_hints["availability_zone"])
|
|
43367
43659
|
check_type(argname="argument backup_retention", value=backup_retention, expected_type=type_hints["backup_retention"])
|
|
@@ -43417,6 +43709,8 @@ class DatabaseInstanceFromSnapshotProps(DatabaseInstanceSourceProps):
|
|
|
43417
43709
|
"engine": engine,
|
|
43418
43710
|
"snapshot_identifier": snapshot_identifier,
|
|
43419
43711
|
}
|
|
43712
|
+
if apply_immediately is not None:
|
|
43713
|
+
self._values["apply_immediately"] = apply_immediately
|
|
43420
43714
|
if auto_minor_version_upgrade is not None:
|
|
43421
43715
|
self._values["auto_minor_version_upgrade"] = auto_minor_version_upgrade
|
|
43422
43716
|
if availability_zone is not None:
|
|
@@ -43521,6 +43815,24 @@ class DatabaseInstanceFromSnapshotProps(DatabaseInstanceSourceProps):
|
|
|
43521
43815
|
assert result is not None, "Required property 'vpc' is missing"
|
|
43522
43816
|
return typing.cast(_IVpc_f30d5663, result)
|
|
43523
43817
|
|
|
43818
|
+
@builtins.property
|
|
43819
|
+
def apply_immediately(self) -> typing.Optional[builtins.bool]:
|
|
43820
|
+
'''Specifies whether changes to the DB instance and any pending modifications are applied immediately, regardless of the ``preferredMaintenanceWindow`` setting.
|
|
43821
|
+
|
|
43822
|
+
If set to ``false``, changes are applied during the next maintenance window.
|
|
43823
|
+
|
|
43824
|
+
Until RDS applies the changes, the DB instance remains in a drift state.
|
|
43825
|
+
As a result, the configuration doesn't fully reflect the requested modifications and temporarily diverges from the intended state.
|
|
43826
|
+
|
|
43827
|
+
This property also determines whether the DB instance reboots when a static parameter is modified in the associated DB parameter group.
|
|
43828
|
+
|
|
43829
|
+
:default: - Changes will be applied immediately
|
|
43830
|
+
|
|
43831
|
+
:see: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Overview.DBInstance.Modifying.html
|
|
43832
|
+
'''
|
|
43833
|
+
result = self._values.get("apply_immediately")
|
|
43834
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
43835
|
+
|
|
43524
43836
|
@builtins.property
|
|
43525
43837
|
def auto_minor_version_upgrade(self) -> typing.Optional[builtins.bool]:
|
|
43526
43838
|
'''Indicates that minor engine upgrades are applied automatically to the DB instance during the maintenance window.
|
|
@@ -44094,6 +44406,7 @@ class DatabaseInstanceFromSnapshotProps(DatabaseInstanceSourceProps):
|
|
|
44094
44406
|
jsii_struct_bases=[DatabaseInstanceSourceProps],
|
|
44095
44407
|
name_mapping={
|
|
44096
44408
|
"vpc": "vpc",
|
|
44409
|
+
"apply_immediately": "applyImmediately",
|
|
44097
44410
|
"auto_minor_version_upgrade": "autoMinorVersionUpgrade",
|
|
44098
44411
|
"availability_zone": "availabilityZone",
|
|
44099
44412
|
"backup_retention": "backupRetention",
|
|
@@ -44153,6 +44466,7 @@ class DatabaseInstanceProps(DatabaseInstanceSourceProps):
|
|
|
44153
44466
|
self,
|
|
44154
44467
|
*,
|
|
44155
44468
|
vpc: _IVpc_f30d5663,
|
|
44469
|
+
apply_immediately: typing.Optional[builtins.bool] = None,
|
|
44156
44470
|
auto_minor_version_upgrade: typing.Optional[builtins.bool] = None,
|
|
44157
44471
|
availability_zone: typing.Optional[builtins.str] = None,
|
|
44158
44472
|
backup_retention: typing.Optional[_Duration_4839e8c3] = None,
|
|
@@ -44209,6 +44523,7 @@ class DatabaseInstanceProps(DatabaseInstanceSourceProps):
|
|
|
44209
44523
|
'''Construction properties for a DatabaseInstance.
|
|
44210
44524
|
|
|
44211
44525
|
:param vpc: The VPC network where the DB subnet group should be created.
|
|
44526
|
+
:param apply_immediately: Specifies whether changes to the DB instance and any pending modifications are applied immediately, regardless of the ``preferredMaintenanceWindow`` setting. If set to ``false``, changes are applied during the next maintenance window. Until RDS applies the changes, the DB instance remains in a drift state. As a result, the configuration doesn't fully reflect the requested modifications and temporarily diverges from the intended state. This property also determines whether the DB instance reboots when a static parameter is modified in the associated DB parameter group. Default: - Changes will be applied immediately
|
|
44212
44527
|
:param auto_minor_version_upgrade: Indicates that minor engine upgrades are applied automatically to the DB instance during the maintenance window. Default: true
|
|
44213
44528
|
:param availability_zone: The name of the Availability Zone where the DB instance will be located. Default: - no preference
|
|
44214
44529
|
:param backup_retention: The number of days during which automatic DB snapshots are retained. Set to zero to disable backups. When creating a read replica, you must enable automatic backups on the source database instance by setting the backup retention to a value other than zero. Default: - Duration.days(1) for source instances, disabled for read replicas
|
|
@@ -44291,6 +44606,7 @@ class DatabaseInstanceProps(DatabaseInstanceSourceProps):
|
|
|
44291
44606
|
if __debug__:
|
|
44292
44607
|
type_hints = typing.get_type_hints(_typecheckingstub__23675ebe667ec40ba6afd82bf8b65d901cc9a4bfc79be222b108037d5e22396d)
|
|
44293
44608
|
check_type(argname="argument vpc", value=vpc, expected_type=type_hints["vpc"])
|
|
44609
|
+
check_type(argname="argument apply_immediately", value=apply_immediately, expected_type=type_hints["apply_immediately"])
|
|
44294
44610
|
check_type(argname="argument auto_minor_version_upgrade", value=auto_minor_version_upgrade, expected_type=type_hints["auto_minor_version_upgrade"])
|
|
44295
44611
|
check_type(argname="argument availability_zone", value=availability_zone, expected_type=type_hints["availability_zone"])
|
|
44296
44612
|
check_type(argname="argument backup_retention", value=backup_retention, expected_type=type_hints["backup_retention"])
|
|
@@ -44347,6 +44663,8 @@ class DatabaseInstanceProps(DatabaseInstanceSourceProps):
|
|
|
44347
44663
|
"vpc": vpc,
|
|
44348
44664
|
"engine": engine,
|
|
44349
44665
|
}
|
|
44666
|
+
if apply_immediately is not None:
|
|
44667
|
+
self._values["apply_immediately"] = apply_immediately
|
|
44350
44668
|
if auto_minor_version_upgrade is not None:
|
|
44351
44669
|
self._values["auto_minor_version_upgrade"] = auto_minor_version_upgrade
|
|
44352
44670
|
if availability_zone is not None:
|
|
@@ -44457,6 +44775,24 @@ class DatabaseInstanceProps(DatabaseInstanceSourceProps):
|
|
|
44457
44775
|
assert result is not None, "Required property 'vpc' is missing"
|
|
44458
44776
|
return typing.cast(_IVpc_f30d5663, result)
|
|
44459
44777
|
|
|
44778
|
+
@builtins.property
|
|
44779
|
+
def apply_immediately(self) -> typing.Optional[builtins.bool]:
|
|
44780
|
+
'''Specifies whether changes to the DB instance and any pending modifications are applied immediately, regardless of the ``preferredMaintenanceWindow`` setting.
|
|
44781
|
+
|
|
44782
|
+
If set to ``false``, changes are applied during the next maintenance window.
|
|
44783
|
+
|
|
44784
|
+
Until RDS applies the changes, the DB instance remains in a drift state.
|
|
44785
|
+
As a result, the configuration doesn't fully reflect the requested modifications and temporarily diverges from the intended state.
|
|
44786
|
+
|
|
44787
|
+
This property also determines whether the DB instance reboots when a static parameter is modified in the associated DB parameter group.
|
|
44788
|
+
|
|
44789
|
+
:default: - Changes will be applied immediately
|
|
44790
|
+
|
|
44791
|
+
:see: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Overview.DBInstance.Modifying.html
|
|
44792
|
+
'''
|
|
44793
|
+
result = self._values.get("apply_immediately")
|
|
44794
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
44795
|
+
|
|
44460
44796
|
@builtins.property
|
|
44461
44797
|
def auto_minor_version_upgrade(self) -> typing.Optional[builtins.bool]:
|
|
44462
44798
|
'''Indicates that minor engine upgrades are applied automatically to the DB instance during the maintenance window.
|
|
@@ -45080,6 +45416,7 @@ class DatabaseInstanceReadReplica(
|
|
|
45080
45416
|
storage_encrypted: typing.Optional[builtins.bool] = None,
|
|
45081
45417
|
storage_encryption_key: typing.Optional[_IKey_5f11635f] = None,
|
|
45082
45418
|
vpc: _IVpc_f30d5663,
|
|
45419
|
+
apply_immediately: typing.Optional[builtins.bool] = None,
|
|
45083
45420
|
auto_minor_version_upgrade: typing.Optional[builtins.bool] = None,
|
|
45084
45421
|
availability_zone: typing.Optional[builtins.str] = None,
|
|
45085
45422
|
backup_retention: typing.Optional[_Duration_4839e8c3] = None,
|
|
@@ -45130,6 +45467,7 @@ class DatabaseInstanceReadReplica(
|
|
|
45130
45467
|
:param storage_encrypted: Indicates whether the DB instance is encrypted. Default: - true if storageEncryptionKey has been provided, false otherwise
|
|
45131
45468
|
:param storage_encryption_key: The KMS key that's used to encrypt the DB instance. Default: - default master key if storageEncrypted is true, no key otherwise
|
|
45132
45469
|
:param vpc: The VPC network where the DB subnet group should be created.
|
|
45470
|
+
:param apply_immediately: Specifies whether changes to the DB instance and any pending modifications are applied immediately, regardless of the ``preferredMaintenanceWindow`` setting. If set to ``false``, changes are applied during the next maintenance window. Until RDS applies the changes, the DB instance remains in a drift state. As a result, the configuration doesn't fully reflect the requested modifications and temporarily diverges from the intended state. This property also determines whether the DB instance reboots when a static parameter is modified in the associated DB parameter group. Default: - Changes will be applied immediately
|
|
45133
45471
|
:param auto_minor_version_upgrade: Indicates that minor engine upgrades are applied automatically to the DB instance during the maintenance window. Default: true
|
|
45134
45472
|
:param availability_zone: The name of the Availability Zone where the DB instance will be located. Default: - no preference
|
|
45135
45473
|
:param backup_retention: The number of days during which automatic DB snapshots are retained. Set to zero to disable backups. When creating a read replica, you must enable automatic backups on the source database instance by setting the backup retention to a value other than zero. Default: - Duration.days(1) for source instances, disabled for read replicas
|
|
@@ -45182,6 +45520,7 @@ class DatabaseInstanceReadReplica(
|
|
|
45182
45520
|
storage_encrypted=storage_encrypted,
|
|
45183
45521
|
storage_encryption_key=storage_encryption_key,
|
|
45184
45522
|
vpc=vpc,
|
|
45523
|
+
apply_immediately=apply_immediately,
|
|
45185
45524
|
auto_minor_version_upgrade=auto_minor_version_upgrade,
|
|
45186
45525
|
availability_zone=availability_zone,
|
|
45187
45526
|
backup_retention=backup_retention,
|
|
@@ -46283,6 +46622,7 @@ class DatabaseInstance(
|
|
|
46283
46622
|
parameters: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
46284
46623
|
timezone: typing.Optional[builtins.str] = None,
|
|
46285
46624
|
vpc: _IVpc_f30d5663,
|
|
46625
|
+
apply_immediately: typing.Optional[builtins.bool] = None,
|
|
46286
46626
|
auto_minor_version_upgrade: typing.Optional[builtins.bool] = None,
|
|
46287
46627
|
availability_zone: typing.Optional[builtins.str] = None,
|
|
46288
46628
|
backup_retention: typing.Optional[_Duration_4839e8c3] = None,
|
|
@@ -46340,6 +46680,7 @@ class DatabaseInstance(
|
|
|
46340
46680
|
:param parameters: The parameters in the DBParameterGroup to create automatically. You can only specify parameterGroup or parameters but not both. You need to use a versioned engine to auto-generate a DBParameterGroup. Default: - None
|
|
46341
46681
|
:param timezone: The time zone of the instance. This is currently supported only by Microsoft Sql Server. Default: - RDS default timezone
|
|
46342
46682
|
:param vpc: The VPC network where the DB subnet group should be created.
|
|
46683
|
+
:param apply_immediately: Specifies whether changes to the DB instance and any pending modifications are applied immediately, regardless of the ``preferredMaintenanceWindow`` setting. If set to ``false``, changes are applied during the next maintenance window. Until RDS applies the changes, the DB instance remains in a drift state. As a result, the configuration doesn't fully reflect the requested modifications and temporarily diverges from the intended state. This property also determines whether the DB instance reboots when a static parameter is modified in the associated DB parameter group. Default: - Changes will be applied immediately
|
|
46343
46684
|
:param auto_minor_version_upgrade: Indicates that minor engine upgrades are applied automatically to the DB instance during the maintenance window. Default: true
|
|
46344
46685
|
:param availability_zone: The name of the Availability Zone where the DB instance will be located. Default: - no preference
|
|
46345
46686
|
:param backup_retention: The number of days during which automatic DB snapshots are retained. Set to zero to disable backups. When creating a read replica, you must enable automatic backups on the source database instance by setting the backup retention to a value other than zero. Default: - Duration.days(1) for source instances, disabled for read replicas
|
|
@@ -46399,6 +46740,7 @@ class DatabaseInstance(
|
|
|
46399
46740
|
parameters=parameters,
|
|
46400
46741
|
timezone=timezone,
|
|
46401
46742
|
vpc=vpc,
|
|
46743
|
+
apply_immediately=apply_immediately,
|
|
46402
46744
|
auto_minor_version_upgrade=auto_minor_version_upgrade,
|
|
46403
46745
|
availability_zone=availability_zone,
|
|
46404
46746
|
backup_retention=backup_retention,
|
|
@@ -47599,6 +47941,7 @@ def _typecheckingstub__255b0779ca741853674876540bf77279f6293bea05de2cd18724d2b92
|
|
|
47599
47941
|
*,
|
|
47600
47942
|
allocated_storage: typing.Optional[builtins.str] = None,
|
|
47601
47943
|
allow_major_version_upgrade: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
47944
|
+
apply_immediately: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
47602
47945
|
associated_roles: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDBInstance.DBInstanceRoleProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
47603
47946
|
automatic_backup_replication_kms_key_id: typing.Optional[builtins.str] = None,
|
|
47604
47947
|
automatic_backup_replication_region: typing.Optional[builtins.str] = None,
|
|
@@ -47704,6 +48047,12 @@ def _typecheckingstub__57716fbcac28344145554895630d9e7d3ed16ff833d836025eba0e855
|
|
|
47704
48047
|
"""Type checking stubs"""
|
|
47705
48048
|
pass
|
|
47706
48049
|
|
|
48050
|
+
def _typecheckingstub__541ae79271b3863f62364d17706d85a7c492cd2e7587446eabdb62da45fc95fe(
|
|
48051
|
+
value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
|
|
48052
|
+
) -> None:
|
|
48053
|
+
"""Type checking stubs"""
|
|
48054
|
+
pass
|
|
48055
|
+
|
|
47707
48056
|
def _typecheckingstub__4ce8e79d061f4d460ac08196091e00285779b468080063faf9f5f8f7466a94f4(
|
|
47708
48057
|
value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnDBInstance.DBInstanceRoleProperty]]]],
|
|
47709
48058
|
) -> None:
|
|
@@ -48211,6 +48560,7 @@ def _typecheckingstub__3bddb1be0bd1f1699e3a084c5859d94d8879ff15011f2f2eaac29ec16
|
|
|
48211
48560
|
*,
|
|
48212
48561
|
allocated_storage: typing.Optional[builtins.str] = None,
|
|
48213
48562
|
allow_major_version_upgrade: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
48563
|
+
apply_immediately: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
48214
48564
|
associated_roles: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDBInstance.DBInstanceRoleProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
48215
48565
|
automatic_backup_replication_kms_key_id: typing.Optional[builtins.str] = None,
|
|
48216
48566
|
automatic_backup_replication_region: typing.Optional[builtins.str] = None,
|
|
@@ -49007,7 +49357,6 @@ def _typecheckingstub__1611fa62b935d4f304c9fd8befd7c639fa3cc4898c7c6d9f86feb2d66
|
|
|
49007
49357
|
engine_lifecycle_support: typing.Optional[builtins.str] = None,
|
|
49008
49358
|
engine_version: typing.Optional[builtins.str] = None,
|
|
49009
49359
|
global_cluster_identifier: typing.Optional[builtins.str] = None,
|
|
49010
|
-
global_endpoint: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalCluster.GlobalEndpointProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
49011
49360
|
source_db_cluster_identifier: typing.Optional[builtins.str] = None,
|
|
49012
49361
|
storage_encrypted: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
49013
49362
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -49057,12 +49406,6 @@ def _typecheckingstub__8c0878c8feb5b0667b16ebe0d996cc33dadb0920b96e5594e9cf1b8cc
|
|
|
49057
49406
|
"""Type checking stubs"""
|
|
49058
49407
|
pass
|
|
49059
49408
|
|
|
49060
|
-
def _typecheckingstub__7b1b1a8e034b0a4e155f1c4e96d4c9dd770043cd6a95e96f303770a5dff27e85(
|
|
49061
|
-
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnGlobalCluster.GlobalEndpointProperty]],
|
|
49062
|
-
) -> None:
|
|
49063
|
-
"""Type checking stubs"""
|
|
49064
|
-
pass
|
|
49065
|
-
|
|
49066
49409
|
def _typecheckingstub__2b8b99331248625e609d8c61fdd2aeead968468cd83f1da2306ce25de200e221(
|
|
49067
49410
|
value: typing.Optional[builtins.str],
|
|
49068
49411
|
) -> None:
|
|
@@ -49095,7 +49438,6 @@ def _typecheckingstub__ef2e57f0cb9427badb90bc7e1248f0f26bc8de21a104bb924da973366
|
|
|
49095
49438
|
engine_lifecycle_support: typing.Optional[builtins.str] = None,
|
|
49096
49439
|
engine_version: typing.Optional[builtins.str] = None,
|
|
49097
49440
|
global_cluster_identifier: typing.Optional[builtins.str] = None,
|
|
49098
|
-
global_endpoint: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalCluster.GlobalEndpointProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
49099
49441
|
source_db_cluster_identifier: typing.Optional[builtins.str] = None,
|
|
49100
49442
|
storage_encrypted: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
49101
49443
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -49327,6 +49669,7 @@ def _typecheckingstub__d8ef509fa2a856a5e04875e06fad6792daf0a14797f5d93ddc4c65225
|
|
|
49327
49669
|
def _typecheckingstub__8cdde1ea7f85160803079277e8fcc0af34768579c1b17b771033b3c6374858ac(
|
|
49328
49670
|
*,
|
|
49329
49671
|
allow_major_version_upgrade: typing.Optional[builtins.bool] = None,
|
|
49672
|
+
apply_immediately: typing.Optional[builtins.bool] = None,
|
|
49330
49673
|
auto_minor_version_upgrade: typing.Optional[builtins.bool] = None,
|
|
49331
49674
|
ca_certificate: typing.Optional[CaCertificate] = None,
|
|
49332
49675
|
enable_performance_insights: typing.Optional[builtins.bool] = None,
|
|
@@ -49345,6 +49688,7 @@ def _typecheckingstub__8cdde1ea7f85160803079277e8fcc0af34768579c1b17b771033b3c63
|
|
|
49345
49688
|
def _typecheckingstub__431d59239caf38b9912bfae3130d40eeb8bdb18e013240bac43c980158561c00(
|
|
49346
49689
|
*,
|
|
49347
49690
|
allow_major_version_upgrade: typing.Optional[builtins.bool] = None,
|
|
49691
|
+
apply_immediately: typing.Optional[builtins.bool] = None,
|
|
49348
49692
|
auto_minor_version_upgrade: typing.Optional[builtins.bool] = None,
|
|
49349
49693
|
ca_certificate: typing.Optional[CaCertificate] = None,
|
|
49350
49694
|
enable_performance_insights: typing.Optional[builtins.bool] = None,
|
|
@@ -49593,6 +49937,7 @@ def _typecheckingstub__c46002009ab88821e56f6612b8b65e2f4599174816135533fa2342791
|
|
|
49593
49937
|
def _typecheckingstub__d110b1cb0043ae6adf59fc0d1bcb136b4655ac973cfbff361a0a3e2fe97c39f8(
|
|
49594
49938
|
*,
|
|
49595
49939
|
vpc: _IVpc_f30d5663,
|
|
49940
|
+
apply_immediately: typing.Optional[builtins.bool] = None,
|
|
49596
49941
|
auto_minor_version_upgrade: typing.Optional[builtins.bool] = None,
|
|
49597
49942
|
availability_zone: typing.Optional[builtins.str] = None,
|
|
49598
49943
|
backup_retention: typing.Optional[_Duration_4839e8c3] = None,
|
|
@@ -49640,6 +49985,7 @@ def _typecheckingstub__d110b1cb0043ae6adf59fc0d1bcb136b4655ac973cfbff361a0a3e2fe
|
|
|
49640
49985
|
def _typecheckingstub__5508238388ee4afc86f97d5f22fa50578f8a1bdeed9ade8d0210c955bf30718e(
|
|
49641
49986
|
*,
|
|
49642
49987
|
vpc: _IVpc_f30d5663,
|
|
49988
|
+
apply_immediately: typing.Optional[builtins.bool] = None,
|
|
49643
49989
|
auto_minor_version_upgrade: typing.Optional[builtins.bool] = None,
|
|
49644
49990
|
availability_zone: typing.Optional[builtins.str] = None,
|
|
49645
49991
|
backup_retention: typing.Optional[_Duration_4839e8c3] = None,
|
|
@@ -49692,6 +50038,7 @@ def _typecheckingstub__5508238388ee4afc86f97d5f22fa50578f8a1bdeed9ade8d0210c955b
|
|
|
49692
50038
|
def _typecheckingstub__77d3b41152c4c7a3436d76bad0d83368717917e66a0f0cd849998fcd400f483c(
|
|
49693
50039
|
*,
|
|
49694
50040
|
vpc: _IVpc_f30d5663,
|
|
50041
|
+
apply_immediately: typing.Optional[builtins.bool] = None,
|
|
49695
50042
|
auto_minor_version_upgrade: typing.Optional[builtins.bool] = None,
|
|
49696
50043
|
availability_zone: typing.Optional[builtins.str] = None,
|
|
49697
50044
|
backup_retention: typing.Optional[_Duration_4839e8c3] = None,
|
|
@@ -50240,6 +50587,7 @@ def _typecheckingstub__cccb3b43a679627ad9a15217e0512c0119a6907edb0b630119fef187d
|
|
|
50240
50587
|
def _typecheckingstub__0d5c78a39da629a585066921d3ee78da795285acdbebe6935198fc9293af7e90(
|
|
50241
50588
|
*,
|
|
50242
50589
|
allow_major_version_upgrade: typing.Optional[builtins.bool] = None,
|
|
50590
|
+
apply_immediately: typing.Optional[builtins.bool] = None,
|
|
50243
50591
|
auto_minor_version_upgrade: typing.Optional[builtins.bool] = None,
|
|
50244
50592
|
ca_certificate: typing.Optional[CaCertificate] = None,
|
|
50245
50593
|
enable_performance_insights: typing.Optional[builtins.bool] = None,
|
|
@@ -50479,6 +50827,7 @@ def _typecheckingstub__9a1f89c0c65d19c59a39815eed12ef2c6e9e165d64a4cae0e66976870
|
|
|
50479
50827
|
def _typecheckingstub__c8fd71a155386e8ce12e74b8c5684dfdd43d26e347ef8bbb979e8a2c34f7b38e(
|
|
50480
50828
|
*,
|
|
50481
50829
|
allow_major_version_upgrade: typing.Optional[builtins.bool] = None,
|
|
50830
|
+
apply_immediately: typing.Optional[builtins.bool] = None,
|
|
50482
50831
|
auto_minor_version_upgrade: typing.Optional[builtins.bool] = None,
|
|
50483
50832
|
ca_certificate: typing.Optional[CaCertificate] = None,
|
|
50484
50833
|
enable_performance_insights: typing.Optional[builtins.bool] = None,
|
|
@@ -50615,6 +50964,7 @@ def _typecheckingstub__d0d2cd14a2c7ed00bfb6fd9860c31cd0b1af1bff8343258b1b4a8d847
|
|
|
50615
50964
|
instance_type: typing.Optional[_InstanceType_f64915b9] = None,
|
|
50616
50965
|
promotion_tier: typing.Optional[jsii.Number] = None,
|
|
50617
50966
|
allow_major_version_upgrade: typing.Optional[builtins.bool] = None,
|
|
50967
|
+
apply_immediately: typing.Optional[builtins.bool] = None,
|
|
50618
50968
|
auto_minor_version_upgrade: typing.Optional[builtins.bool] = None,
|
|
50619
50969
|
ca_certificate: typing.Optional[CaCertificate] = None,
|
|
50620
50970
|
enable_performance_insights: typing.Optional[builtins.bool] = None,
|
|
@@ -50635,6 +50985,7 @@ def _typecheckingstub__95714f22d2724c29931e2710712a92b10932588d2061fa1ceed93097e
|
|
|
50635
50985
|
*,
|
|
50636
50986
|
scale_with_writer: typing.Optional[builtins.bool] = None,
|
|
50637
50987
|
allow_major_version_upgrade: typing.Optional[builtins.bool] = None,
|
|
50988
|
+
apply_immediately: typing.Optional[builtins.bool] = None,
|
|
50638
50989
|
auto_minor_version_upgrade: typing.Optional[builtins.bool] = None,
|
|
50639
50990
|
ca_certificate: typing.Optional[CaCertificate] = None,
|
|
50640
50991
|
enable_performance_insights: typing.Optional[builtins.bool] = None,
|
|
@@ -50927,6 +51278,7 @@ def _typecheckingstub__dbf7e60a650d0a1bea1826814200716f46cd1f59eea36a42193653d7f
|
|
|
50927
51278
|
parameters: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
50928
51279
|
timezone: typing.Optional[builtins.str] = None,
|
|
50929
51280
|
vpc: _IVpc_f30d5663,
|
|
51281
|
+
apply_immediately: typing.Optional[builtins.bool] = None,
|
|
50930
51282
|
auto_minor_version_upgrade: typing.Optional[builtins.bool] = None,
|
|
50931
51283
|
availability_zone: typing.Optional[builtins.str] = None,
|
|
50932
51284
|
backup_retention: typing.Optional[_Duration_4839e8c3] = None,
|
|
@@ -51001,6 +51353,7 @@ def _typecheckingstub__461242b933d96c2475c414109a3d51cfd19b6d911ac2c0e37cb8b34f3
|
|
|
51001
51353
|
def _typecheckingstub__f06d86058a0a7538eb7dbf55de032c8cf05f7fa7b4ab5d5c1d47f761783eaed2(
|
|
51002
51354
|
*,
|
|
51003
51355
|
vpc: _IVpc_f30d5663,
|
|
51356
|
+
apply_immediately: typing.Optional[builtins.bool] = None,
|
|
51004
51357
|
auto_minor_version_upgrade: typing.Optional[builtins.bool] = None,
|
|
51005
51358
|
availability_zone: typing.Optional[builtins.str] = None,
|
|
51006
51359
|
backup_retention: typing.Optional[_Duration_4839e8c3] = None,
|
|
@@ -51058,6 +51411,7 @@ def _typecheckingstub__f06d86058a0a7538eb7dbf55de032c8cf05f7fa7b4ab5d5c1d47f7617
|
|
|
51058
51411
|
def _typecheckingstub__23675ebe667ec40ba6afd82bf8b65d901cc9a4bfc79be222b108037d5e22396d(
|
|
51059
51412
|
*,
|
|
51060
51413
|
vpc: _IVpc_f30d5663,
|
|
51414
|
+
apply_immediately: typing.Optional[builtins.bool] = None,
|
|
51061
51415
|
auto_minor_version_upgrade: typing.Optional[builtins.bool] = None,
|
|
51062
51416
|
availability_zone: typing.Optional[builtins.str] = None,
|
|
51063
51417
|
backup_retention: typing.Optional[_Duration_4839e8c3] = None,
|
|
@@ -51124,6 +51478,7 @@ def _typecheckingstub__b2082895d1c502ba05a38a32c44782a7480089cd804d396ed1b41ca4a
|
|
|
51124
51478
|
storage_encrypted: typing.Optional[builtins.bool] = None,
|
|
51125
51479
|
storage_encryption_key: typing.Optional[_IKey_5f11635f] = None,
|
|
51126
51480
|
vpc: _IVpc_f30d5663,
|
|
51481
|
+
apply_immediately: typing.Optional[builtins.bool] = None,
|
|
51127
51482
|
auto_minor_version_upgrade: typing.Optional[builtins.bool] = None,
|
|
51128
51483
|
availability_zone: typing.Optional[builtins.str] = None,
|
|
51129
51484
|
backup_retention: typing.Optional[_Duration_4839e8c3] = None,
|
|
@@ -51349,6 +51704,7 @@ def _typecheckingstub__cb12c4cf0f41b623c75db1c295b846314e730919538b3374019067232
|
|
|
51349
51704
|
parameters: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
51350
51705
|
timezone: typing.Optional[builtins.str] = None,
|
|
51351
51706
|
vpc: _IVpc_f30d5663,
|
|
51707
|
+
apply_immediately: typing.Optional[builtins.bool] = None,
|
|
51352
51708
|
auto_minor_version_upgrade: typing.Optional[builtins.bool] = None,
|
|
51353
51709
|
availability_zone: typing.Optional[builtins.str] = None,
|
|
51354
51710
|
backup_retention: typing.Optional[_Duration_4839e8c3] = None,
|