aws-cdk-lib 2.178.2__py3-none-any.whl → 2.180.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.

Files changed (70) hide show
  1. aws_cdk/__init__.py +83 -41
  2. aws_cdk/_jsii/__init__.py +1 -2
  3. aws_cdk/_jsii/{aws-cdk-lib@2.178.2.jsii.tgz → aws-cdk-lib@2.180.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_acmpca/__init__.py +47 -0
  5. aws_cdk/aws_apigateway/__init__.py +176 -35
  6. aws_cdk/aws_apigatewayv2/__init__.py +151 -32
  7. aws_cdk/aws_apigatewayv2_integrations/__init__.py +348 -0
  8. aws_cdk/aws_applicationautoscaling/__init__.py +8 -8
  9. aws_cdk/aws_appsync/__init__.py +10 -7
  10. aws_cdk/aws_backup/__init__.py +89 -0
  11. aws_cdk/aws_batch/__init__.py +89 -50
  12. aws_cdk/aws_bedrock/__init__.py +506 -62
  13. aws_cdk/aws_cloudfront/__init__.py +1037 -146
  14. aws_cdk/aws_cloudfront_origins/__init__.py +1338 -144
  15. aws_cdk/aws_cloudtrail/__init__.py +4 -8
  16. aws_cdk/aws_cloudwatch/__init__.py +1 -1
  17. aws_cdk/aws_codebuild/__init__.py +218 -2
  18. aws_cdk/aws_codepipeline/__init__.py +113 -28
  19. aws_cdk/aws_codepipeline_actions/__init__.py +554 -63
  20. aws_cdk/aws_codestar/__init__.py +2 -1
  21. aws_cdk/aws_cognito/__init__.py +676 -29
  22. aws_cdk/aws_connect/__init__.py +257 -0
  23. aws_cdk/aws_datasync/__init__.py +279 -50
  24. aws_cdk/aws_deadline/__init__.py +683 -6
  25. aws_cdk/aws_directoryservice/__init__.py +9 -4
  26. aws_cdk/aws_dlm/__init__.py +2 -2
  27. aws_cdk/aws_dms/__init__.py +3 -3
  28. aws_cdk/aws_dynamodb/__init__.py +0 -54
  29. aws_cdk/aws_ec2/__init__.py +402 -130
  30. aws_cdk/aws_ecs/__init__.py +28 -43
  31. aws_cdk/aws_efs/__init__.py +1 -1
  32. aws_cdk/aws_eks/__init__.py +560 -182
  33. aws_cdk/aws_elasticloadbalancingv2/__init__.py +112 -27
  34. aws_cdk/aws_emrcontainers/__init__.py +44 -1
  35. aws_cdk/aws_events/__init__.py +17 -26
  36. aws_cdk/aws_events_targets/__init__.py +303 -16
  37. aws_cdk/aws_fms/__init__.py +5 -5
  38. aws_cdk/aws_fsx/__init__.py +5 -4
  39. aws_cdk/aws_glue/__init__.py +161 -0
  40. aws_cdk/aws_groundstation/__init__.py +23 -1
  41. aws_cdk/aws_iam/__init__.py +15 -15
  42. aws_cdk/aws_iot/__init__.py +7 -0
  43. aws_cdk/aws_ivs/__init__.py +254 -77
  44. aws_cdk/aws_kinesis/__init__.py +689 -35
  45. aws_cdk/aws_lambda/__init__.py +10 -15
  46. aws_cdk/aws_lambda_event_sources/__init__.py +175 -2
  47. aws_cdk/aws_logs/__init__.py +62 -13
  48. aws_cdk/aws_medialive/__init__.py +314 -4
  49. aws_cdk/aws_opensearchserverless/__init__.py +19 -0
  50. aws_cdk/aws_pinpoint/__init__.py +14 -9
  51. aws_cdk/aws_rds/__init__.py +246 -82
  52. aws_cdk/aws_s3/__init__.py +287 -9
  53. aws_cdk/aws_s3objectlambda/__init__.py +2 -2
  54. aws_cdk/aws_ses/__init__.py +228 -8
  55. aws_cdk/aws_ssm/__init__.py +4 -5
  56. aws_cdk/aws_stepfunctions/__init__.py +301 -70
  57. aws_cdk/aws_stepfunctions_tasks/__init__.py +269 -163
  58. aws_cdk/aws_supportapp/__init__.py +7 -7
  59. aws_cdk/aws_transfer/__init__.py +820 -2
  60. aws_cdk/aws_wafv2/__init__.py +17 -9
  61. aws_cdk/custom_resources/__init__.py +23 -26
  62. aws_cdk/cx_api/__init__.py +16 -0
  63. aws_cdk/pipelines/__init__.py +2 -2
  64. {aws_cdk_lib-2.178.2.dist-info → aws_cdk_lib-2.180.0.dist-info}/METADATA +1 -2
  65. {aws_cdk_lib-2.178.2.dist-info → aws_cdk_lib-2.180.0.dist-info}/RECORD +69 -70
  66. aws_cdk/lambda_layer_kubectl/__init__.py +0 -107
  67. {aws_cdk_lib-2.178.2.dist-info → aws_cdk_lib-2.180.0.dist-info}/LICENSE +0 -0
  68. {aws_cdk_lib-2.178.2.dist-info → aws_cdk_lib-2.180.0.dist-info}/NOTICE +0 -0
  69. {aws_cdk_lib-2.178.2.dist-info → aws_cdk_lib-2.180.0.dist-info}/WHEEL +0 -0
  70. {aws_cdk_lib-2.178.2.dist-info → aws_cdk_lib-2.180.0.dist-info}/top_level.txt +0 -0
@@ -1602,6 +1602,34 @@ To see Amazon Aurora DB engines that support Performance Insights, see [Amazon A
1602
1602
 
1603
1603
  For more information about Performance Insights, see [Monitoring DB load with Performance Insights on Amazon RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.html).
1604
1604
 
1605
+ ## Database Insights
1606
+
1607
+ The standard mode of Database Insights is enabled by default for Aurora databases.
1608
+
1609
+ You can enhance the monitoring of your Aurora databases by enabling the advanced mode of Database Insights.
1610
+
1611
+ To control Database Insights mode, use the `databaseInsightsMode` property:
1612
+
1613
+ ```python
1614
+ # vpc: ec2.Vpc
1615
+
1616
+ rds.DatabaseCluster(self, "Database",
1617
+ engine=rds.DatabaseClusterEngine.AURORA,
1618
+ vpc=vpc,
1619
+ # If you enable the advanced mode of Database Insights,
1620
+ # Performance Insights is enabled and you must set the `performanceInsightRetention` to 465(15 months).
1621
+ database_insights_mode=rds.DatabaseInsightsMode.ADVANCED,
1622
+ performance_insight_retention=rds.PerformanceInsightRetention.MONTHS_15,
1623
+ writer=rds.ClusterInstance.provisioned("Writer",
1624
+ instance_type=ec2.InstanceType.of(ec2.InstanceClass.R7G, ec2.InstanceSize.LARGE)
1625
+ )
1626
+ )
1627
+ ```
1628
+
1629
+ Note: Database Insights are only supported for Amazon Aurora MySQL and Amazon Aurora PostgreSQL clusters.
1630
+
1631
+ > Visit [CloudWatch Database Insights](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Database-Insights.html) for more details.
1632
+
1605
1633
  ## Enhanced Monitoring
1606
1634
 
1607
1635
  With [Enhanced Monitoring](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Monitoring.OS.html#USER_Monitoring.OS.Enabling), you can monitor the operating system of your DB instance in real time.
@@ -2953,6 +2981,12 @@ class AuroraMysqlEngineVersion(
2953
2981
  '''Version "8.0.mysql_aurora.3.08.0".'''
2954
2982
  return typing.cast("AuroraMysqlEngineVersion", jsii.sget(cls, "VER_3_08_0"))
2955
2983
 
2984
+ @jsii.python.classproperty
2985
+ @jsii.member(jsii_name="VER_3_08_1")
2986
+ def VER_3_08_1(cls) -> "AuroraMysqlEngineVersion":
2987
+ '''Version "8.0.mysql_aurora.3.08.1".'''
2988
+ return typing.cast("AuroraMysqlEngineVersion", jsii.sget(cls, "VER_3_08_1"))
2989
+
2956
2990
  @jsii.python.classproperty
2957
2991
  @jsii.member(jsii_name="VER_5_7_12")
2958
2992
  def VER_5_7_12(cls) -> "AuroraMysqlEngineVersion":
@@ -8658,6 +8692,7 @@ class CfnDBInstance(
8658
8692
  cfn_dBInstance = rds.CfnDBInstance(self, "MyCfnDBInstance",
8659
8693
  allocated_storage="allocatedStorage",
8660
8694
  allow_major_version_upgrade=False,
8695
+ apply_immediately=False,
8661
8696
  associated_roles=[rds.CfnDBInstance.DBInstanceRoleProperty(
8662
8697
  feature_name="featureName",
8663
8698
  role_arn="roleArn"
@@ -8764,6 +8799,7 @@ class CfnDBInstance(
8764
8799
  *,
8765
8800
  allocated_storage: typing.Optional[builtins.str] = None,
8766
8801
  allow_major_version_upgrade: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
8802
+ apply_immediately: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
8767
8803
  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,
8768
8804
  automatic_backup_replication_kms_key_id: typing.Optional[builtins.str] = None,
8769
8805
  automatic_backup_replication_region: typing.Optional[builtins.str] = None,
@@ -8847,6 +8883,7 @@ class CfnDBInstance(
8847
8883
  :param id: Construct identifier for this resource (unique in its scope).
8848
8884
  :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.
8849
8885
  :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.
8886
+ :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``
8850
8887
  :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.
8851
8888
  :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`` .
8852
8889
  :param automatic_backup_replication_region: The AWS Region associated with the automated backup.
@@ -8932,6 +8969,7 @@ class CfnDBInstance(
8932
8969
  props = CfnDBInstanceProps(
8933
8970
  allocated_storage=allocated_storage,
8934
8971
  allow_major_version_upgrade=allow_major_version_upgrade,
8972
+ apply_immediately=apply_immediately,
8935
8973
  associated_roles=associated_roles,
8936
8974
  automatic_backup_replication_kms_key_id=automatic_backup_replication_kms_key_id,
8937
8975
  automatic_backup_replication_region=automatic_backup_replication_region,
@@ -9187,6 +9225,24 @@ class CfnDBInstance(
9187
9225
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
9188
9226
  jsii.set(self, "allowMajorVersionUpgrade", value) # pyright: ignore[reportArgumentType]
9189
9227
 
9228
+ @builtins.property
9229
+ @jsii.member(jsii_name="applyImmediately")
9230
+ def apply_immediately(
9231
+ self,
9232
+ ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
9233
+ '''Specifies whether changes to the DB instance and any pending modifications are applied immediately, regardless of the ``PreferredMaintenanceWindow`` setting.'''
9234
+ return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], jsii.get(self, "applyImmediately"))
9235
+
9236
+ @apply_immediately.setter
9237
+ def apply_immediately(
9238
+ self,
9239
+ value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
9240
+ ) -> None:
9241
+ if __debug__:
9242
+ type_hints = typing.get_type_hints(_typecheckingstub__541ae79271b3863f62364d17706d85a7c492cd2e7587446eabdb62da45fc95fe)
9243
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
9244
+ jsii.set(self, "applyImmediately", value) # pyright: ignore[reportArgumentType]
9245
+
9190
9246
  @builtins.property
9191
9247
  @jsii.member(jsii_name="associatedRoles")
9192
9248
  def associated_roles(
@@ -10730,6 +10786,7 @@ class CfnDBInstance(
10730
10786
  name_mapping={
10731
10787
  "allocated_storage": "allocatedStorage",
10732
10788
  "allow_major_version_upgrade": "allowMajorVersionUpgrade",
10789
+ "apply_immediately": "applyImmediately",
10733
10790
  "associated_roles": "associatedRoles",
10734
10791
  "automatic_backup_replication_kms_key_id": "automaticBackupReplicationKmsKeyId",
10735
10792
  "automatic_backup_replication_region": "automaticBackupReplicationRegion",
@@ -10815,6 +10872,7 @@ class CfnDBInstanceProps:
10815
10872
  *,
10816
10873
  allocated_storage: typing.Optional[builtins.str] = None,
10817
10874
  allow_major_version_upgrade: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
10875
+ apply_immediately: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
10818
10876
  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,
10819
10877
  automatic_backup_replication_kms_key_id: typing.Optional[builtins.str] = None,
10820
10878
  automatic_backup_replication_region: typing.Optional[builtins.str] = None,
@@ -10897,6 +10955,7 @@ class CfnDBInstanceProps:
10897
10955
 
10898
10956
  :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.
10899
10957
  :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.
10958
+ :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``
10900
10959
  :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.
10901
10960
  :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`` .
10902
10961
  :param automatic_backup_replication_region: The AWS Region associated with the automated backup.
@@ -10987,6 +11046,7 @@ class CfnDBInstanceProps:
10987
11046
  cfn_dBInstance_props = rds.CfnDBInstanceProps(
10988
11047
  allocated_storage="allocatedStorage",
10989
11048
  allow_major_version_upgrade=False,
11049
+ apply_immediately=False,
10990
11050
  associated_roles=[rds.CfnDBInstance.DBInstanceRoleProperty(
10991
11051
  feature_name="featureName",
10992
11052
  role_arn="roleArn"
@@ -11089,6 +11149,7 @@ class CfnDBInstanceProps:
11089
11149
  type_hints = typing.get_type_hints(_typecheckingstub__3bddb1be0bd1f1699e3a084c5859d94d8879ff15011f2f2eaac29ec16f6eaebc)
11090
11150
  check_type(argname="argument allocated_storage", value=allocated_storage, expected_type=type_hints["allocated_storage"])
11091
11151
  check_type(argname="argument allow_major_version_upgrade", value=allow_major_version_upgrade, expected_type=type_hints["allow_major_version_upgrade"])
11152
+ check_type(argname="argument apply_immediately", value=apply_immediately, expected_type=type_hints["apply_immediately"])
11092
11153
  check_type(argname="argument associated_roles", value=associated_roles, expected_type=type_hints["associated_roles"])
11093
11154
  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"])
11094
11155
  check_type(argname="argument automatic_backup_replication_region", value=automatic_backup_replication_region, expected_type=type_hints["automatic_backup_replication_region"])
@@ -11171,6 +11232,8 @@ class CfnDBInstanceProps:
11171
11232
  self._values["allocated_storage"] = allocated_storage
11172
11233
  if allow_major_version_upgrade is not None:
11173
11234
  self._values["allow_major_version_upgrade"] = allow_major_version_upgrade
11235
+ if apply_immediately is not None:
11236
+ self._values["apply_immediately"] = apply_immediately
11174
11237
  if associated_roles is not None:
11175
11238
  self._values["associated_roles"] = associated_roles
11176
11239
  if automatic_backup_replication_kms_key_id is not None:
@@ -11411,6 +11474,23 @@ class CfnDBInstanceProps:
11411
11474
  result = self._values.get("allow_major_version_upgrade")
11412
11475
  return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
11413
11476
 
11477
+ @builtins.property
11478
+ def apply_immediately(
11479
+ self,
11480
+ ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
11481
+ '''Specifies whether changes to the DB instance and any pending modifications are applied immediately, regardless of the ``PreferredMaintenanceWindow`` setting.
11482
+
11483
+ 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.
11484
+
11485
+ 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.
11486
+
11487
+ Default: ``true``
11488
+
11489
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-applyimmediately
11490
+ '''
11491
+ result = self._values.get("apply_immediately")
11492
+ return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
11493
+
11414
11494
  @builtins.property
11415
11495
  def associated_roles(
11416
11496
  self,
@@ -12948,7 +13028,7 @@ class CfnDBParameterGroup(
12948
13028
  :param description: Provides the customer-specified description for this DB parameter group.
12949
13029
  :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``
12950
13030
  :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.
12951
- :param parameters: An array 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.
13031
+ :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.
12952
13032
  :param tags: Tags to assign to the DB parameter group.
12953
13033
  '''
12954
13034
  if __debug__:
@@ -13057,7 +13137,7 @@ class CfnDBParameterGroup(
13057
13137
  @builtins.property
13058
13138
  @jsii.member(jsii_name="parameters")
13059
13139
  def parameters(self) -> typing.Any:
13060
- '''An array of parameter names and values for the parameter update.'''
13140
+ '''A mapping of parameter names and values for the parameter update.'''
13061
13141
  return typing.cast(typing.Any, jsii.get(self, "parameters"))
13062
13142
 
13063
13143
  @parameters.setter
@@ -13107,7 +13187,7 @@ class CfnDBParameterGroupProps:
13107
13187
  :param description: Provides the customer-specified description for this DB parameter group.
13108
13188
  :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``
13109
13189
  :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.
13110
- :param parameters: An array 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.
13190
+ :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.
13111
13191
  :param tags: Tags to assign to the DB parameter group.
13112
13192
 
13113
13193
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbparametergroup.html
@@ -13224,7 +13304,7 @@ class CfnDBParameterGroupProps:
13224
13304
 
13225
13305
  @builtins.property
13226
13306
  def parameters(self) -> typing.Any:
13227
- '''An array of parameter names and values for the parameter update.
13307
+ '''A mapping of parameter names and values for the parameter update.
13228
13308
 
13229
13309
  You must specify at least one parameter name and value.
13230
13310
 
@@ -16866,9 +16946,6 @@ class CfnGlobalCluster(
16866
16946
  engine_lifecycle_support="engineLifecycleSupport",
16867
16947
  engine_version="engineVersion",
16868
16948
  global_cluster_identifier="globalClusterIdentifier",
16869
- global_endpoint=rds.CfnGlobalCluster.GlobalEndpointProperty(
16870
- address="address"
16871
- ),
16872
16949
  source_db_cluster_identifier="sourceDbClusterIdentifier",
16873
16950
  storage_encrypted=False,
16874
16951
  tags=[CfnTag(
@@ -16888,7 +16965,6 @@ class CfnGlobalCluster(
16888
16965
  engine_lifecycle_support: typing.Optional[builtins.str] = None,
16889
16966
  engine_version: typing.Optional[builtins.str] = None,
16890
16967
  global_cluster_identifier: typing.Optional[builtins.str] = None,
16891
- global_endpoint: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnGlobalCluster.GlobalEndpointProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
16892
16968
  source_db_cluster_identifier: typing.Optional[builtins.str] = None,
16893
16969
  storage_encrypted: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
16894
16970
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
@@ -16901,7 +16977,6 @@ class CfnGlobalCluster(
16901
16977
  :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``
16902
16978
  :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.
16903
16979
  :param global_cluster_identifier: The cluster identifier for this global database cluster. This parameter is stored as a lowercase string.
16904
- :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.
16905
16980
  :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``
16906
16981
  :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.
16907
16982
  :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* .
@@ -16916,7 +16991,6 @@ class CfnGlobalCluster(
16916
16991
  engine_lifecycle_support=engine_lifecycle_support,
16917
16992
  engine_version=engine_version,
16918
16993
  global_cluster_identifier=global_cluster_identifier,
16919
- global_endpoint=global_endpoint,
16920
16994
  source_db_cluster_identifier=source_db_cluster_identifier,
16921
16995
  storage_encrypted=storage_encrypted,
16922
16996
  tags=tags,
@@ -16954,6 +17028,14 @@ class CfnGlobalCluster(
16954
17028
  '''The CloudFormation resource type name for this resource class.'''
16955
17029
  return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
16956
17030
 
17031
+ @builtins.property
17032
+ @jsii.member(jsii_name="attrGlobalEndpoint")
17033
+ def attr_global_endpoint(self) -> _IResolvable_da3f097b:
17034
+ '''
17035
+ :cloudformationAttribute: GlobalEndpoint
17036
+ '''
17037
+ return typing.cast(_IResolvable_da3f097b, jsii.get(self, "attrGlobalEndpoint"))
17038
+
16957
17039
  @builtins.property
16958
17040
  @jsii.member(jsii_name="cdkTagManager")
16959
17041
  def cdk_tag_manager(self) -> _TagManager_0a598cb3:
@@ -17035,24 +17117,6 @@ class CfnGlobalCluster(
17035
17117
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
17036
17118
  jsii.set(self, "globalClusterIdentifier", value) # pyright: ignore[reportArgumentType]
17037
17119
 
17038
- @builtins.property
17039
- @jsii.member(jsii_name="globalEndpoint")
17040
- def global_endpoint(
17041
- self,
17042
- ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnGlobalCluster.GlobalEndpointProperty"]]:
17043
- '''The writer endpoint for the new global database cluster.'''
17044
- return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnGlobalCluster.GlobalEndpointProperty"]], jsii.get(self, "globalEndpoint"))
17045
-
17046
- @global_endpoint.setter
17047
- def global_endpoint(
17048
- self,
17049
- value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnGlobalCluster.GlobalEndpointProperty"]],
17050
- ) -> None:
17051
- if __debug__:
17052
- type_hints = typing.get_type_hints(_typecheckingstub__7b1b1a8e034b0a4e155f1c4e96d4c9dd770043cd6a95e96f303770a5dff27e85)
17053
- check_type(argname="argument value", value=value, expected_type=type_hints["value"])
17054
- jsii.set(self, "globalEndpoint", value) # pyright: ignore[reportArgumentType]
17055
-
17056
17120
  @builtins.property
17057
17121
  @jsii.member(jsii_name="sourceDbClusterIdentifier")
17058
17122
  def source_db_cluster_identifier(self) -> typing.Optional[builtins.str]:
@@ -17165,7 +17229,6 @@ class CfnGlobalCluster(
17165
17229
  "engine_lifecycle_support": "engineLifecycleSupport",
17166
17230
  "engine_version": "engineVersion",
17167
17231
  "global_cluster_identifier": "globalClusterIdentifier",
17168
- "global_endpoint": "globalEndpoint",
17169
17232
  "source_db_cluster_identifier": "sourceDbClusterIdentifier",
17170
17233
  "storage_encrypted": "storageEncrypted",
17171
17234
  "tags": "tags",
@@ -17180,7 +17243,6 @@ class CfnGlobalClusterProps:
17180
17243
  engine_lifecycle_support: typing.Optional[builtins.str] = None,
17181
17244
  engine_version: typing.Optional[builtins.str] = None,
17182
17245
  global_cluster_identifier: typing.Optional[builtins.str] = None,
17183
- global_endpoint: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalCluster.GlobalEndpointProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
17184
17246
  source_db_cluster_identifier: typing.Optional[builtins.str] = None,
17185
17247
  storage_encrypted: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
17186
17248
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
@@ -17192,7 +17254,6 @@ class CfnGlobalClusterProps:
17192
17254
  :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``
17193
17255
  :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.
17194
17256
  :param global_cluster_identifier: The cluster identifier for this global database cluster. This parameter is stored as a lowercase string.
17195
- :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.
17196
17257
  :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``
17197
17258
  :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.
17198
17259
  :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* .
@@ -17212,9 +17273,6 @@ class CfnGlobalClusterProps:
17212
17273
  engine_lifecycle_support="engineLifecycleSupport",
17213
17274
  engine_version="engineVersion",
17214
17275
  global_cluster_identifier="globalClusterIdentifier",
17215
- global_endpoint=rds.CfnGlobalCluster.GlobalEndpointProperty(
17216
- address="address"
17217
- ),
17218
17276
  source_db_cluster_identifier="sourceDbClusterIdentifier",
17219
17277
  storage_encrypted=False,
17220
17278
  tags=[CfnTag(
@@ -17230,7 +17288,6 @@ class CfnGlobalClusterProps:
17230
17288
  check_type(argname="argument engine_lifecycle_support", value=engine_lifecycle_support, expected_type=type_hints["engine_lifecycle_support"])
17231
17289
  check_type(argname="argument engine_version", value=engine_version, expected_type=type_hints["engine_version"])
17232
17290
  check_type(argname="argument global_cluster_identifier", value=global_cluster_identifier, expected_type=type_hints["global_cluster_identifier"])
17233
- check_type(argname="argument global_endpoint", value=global_endpoint, expected_type=type_hints["global_endpoint"])
17234
17291
  check_type(argname="argument source_db_cluster_identifier", value=source_db_cluster_identifier, expected_type=type_hints["source_db_cluster_identifier"])
17235
17292
  check_type(argname="argument storage_encrypted", value=storage_encrypted, expected_type=type_hints["storage_encrypted"])
17236
17293
  check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
@@ -17245,8 +17302,6 @@ class CfnGlobalClusterProps:
17245
17302
  self._values["engine_version"] = engine_version
17246
17303
  if global_cluster_identifier is not None:
17247
17304
  self._values["global_cluster_identifier"] = global_cluster_identifier
17248
- if global_endpoint is not None:
17249
- self._values["global_endpoint"] = global_endpoint
17250
17305
  if source_db_cluster_identifier is not None:
17251
17306
  self._values["source_db_cluster_identifier"] = source_db_cluster_identifier
17252
17307
  if storage_encrypted is not None:
@@ -17327,19 +17382,6 @@ class CfnGlobalClusterProps:
17327
17382
  result = self._values.get("global_cluster_identifier")
17328
17383
  return typing.cast(typing.Optional[builtins.str], result)
17329
17384
 
17330
- @builtins.property
17331
- def global_endpoint(
17332
- self,
17333
- ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnGlobalCluster.GlobalEndpointProperty]]:
17334
- '''The writer endpoint for the new global database cluster.
17335
-
17336
- This endpoint always points to the writer DB instance in the current primary cluster.
17337
-
17338
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-globalcluster.html#cfn-rds-globalcluster-globalendpoint
17339
- '''
17340
- result = self._values.get("global_endpoint")
17341
- return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnGlobalCluster.GlobalEndpointProperty]], result)
17342
-
17343
17385
  @builtins.property
17344
17386
  def source_db_cluster_identifier(self) -> typing.Optional[builtins.str]:
17345
17387
  '''The Amazon Resource Name (ARN) to use as the primary cluster of the global database.
@@ -20802,6 +20844,7 @@ class DatabaseClusterEngine(
20802
20844
  "cluster_scalability_type": "clusterScalabilityType",
20803
20845
  "copy_tags_to_snapshot": "copyTagsToSnapshot",
20804
20846
  "credentials": "credentials",
20847
+ "database_insights_mode": "databaseInsightsMode",
20805
20848
  "default_database_name": "defaultDatabaseName",
20806
20849
  "deletion_protection": "deletionProtection",
20807
20850
  "domain": "domain",
@@ -20860,6 +20903,7 @@ class DatabaseClusterFromSnapshotProps:
20860
20903
  cluster_scalability_type: typing.Optional[ClusterScalabilityType] = None,
20861
20904
  copy_tags_to_snapshot: typing.Optional[builtins.bool] = None,
20862
20905
  credentials: typing.Optional[Credentials] = None,
20906
+ database_insights_mode: typing.Optional["DatabaseInsightsMode"] = None,
20863
20907
  default_database_name: typing.Optional[builtins.str] = None,
20864
20908
  deletion_protection: typing.Optional[builtins.bool] = None,
20865
20909
  domain: typing.Optional[builtins.str] = None,
@@ -20915,6 +20959,7 @@ class DatabaseClusterFromSnapshotProps:
20915
20959
  :param cluster_scalability_type: Specifies the scalability mode of the Aurora DB cluster. Set LIMITLESS if you want to use a limitless database; otherwise, set it to STANDARD. Default: ClusterScalabilityType.STANDARD
20916
20960
  :param copy_tags_to_snapshot: Whether to copy tags to the snapshot when a snapshot is created. Default: - true
20917
20961
  :param credentials: (deprecated) Credentials for the administrative user. Note - using this prop only works with ``Credentials.fromPassword()`` with the username of the snapshot, ``Credentials.fromUsername()`` with the username and password of the snapshot or ``Credentials.fromSecret()`` with a secret containing the username and password of the snapshot. Default: - A username of 'admin' (or 'postgres' for PostgreSQL) and SecretsManager-generated password that **will not be applied** to the cluster, use ``snapshotCredentials`` for the correct behavior.
20962
+ :param database_insights_mode: The database insights mode. Default: - DatabaseInsightsMode.STANDARD when performance insights are enabled and Amazon Aurora engine is used, otherwise not set.
20918
20963
  :param default_database_name: Name of a database which is automatically created inside the cluster. Default: - Database is not created in cluster.
20919
20964
  :param deletion_protection: Indicates whether the DB cluster should have deletion protection enabled. Default: - true if ``removalPolicy`` is RETAIN, ``undefined`` otherwise, which will not enable deletion protection. To disable deletion protection after it has been enabled, you must explicitly set this value to ``false``.
20920
20965
  :param domain: Directory ID for associating the DB cluster with a specific Active Directory. Necessary for enabling Kerberos authentication. If specified, the DB cluster joins the given Active Directory, enabling Kerberos authentication. If not specified, the DB cluster will not be associated with any Active Directory, and Kerberos authentication will not be enabled. Default: - DB cluster is not associated with an Active Directory; Kerberos authentication is not enabled.
@@ -20922,7 +20967,7 @@ class DatabaseClusterFromSnapshotProps:
20922
20967
  :param enable_cluster_level_enhanced_monitoring: Whether to enable enhanced monitoring at the cluster level. If set to true, ``monitoringInterval`` and ``monitoringRole`` are applied to not the instances, but the cluster. ``monitoringInterval`` is required to be set if ``enableClusterLevelEnhancedMonitoring`` is set to true. Default: - When the ``monitoringInterval`` is set, enhanced monitoring is enabled for each instance.
20923
20968
  :param enable_data_api: Whether to enable the Data API for the cluster. Default: - false
20924
20969
  :param enable_local_write_forwarding: Whether read replicas can forward write operations to the writer DB instance in the DB cluster. This setting can only be enabled for Aurora MySQL 3.04 or higher, and for Aurora PostgreSQL 16.4 or higher (for version 16), 15.8 or higher (for version 15), and 14.13 or higher (for version 14). Default: false
20925
- :param enable_performance_insights: Whether to enable Performance Insights for the DB cluster. Default: - false, unless ``performanceInsightRetention`` or ``performanceInsightEncryptionKey`` is set.
20970
+ :param enable_performance_insights: Whether to enable Performance Insights for the DB cluster. Default: - false, unless ``performanceInsightRetention`` or ``performanceInsightEncryptionKey`` is set, or ``databaseInsightsMode`` is set to ``DatabaseInsightsMode.ADVANCED``.
20926
20971
  :param iam_authentication: Whether to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts. Default: false
20927
20972
  :param instance_identifier_base: Base identifier for instances. Every replica is named by appending the replica number to this string, 1-based. Default: - clusterIdentifier is used with the word "Instance" appended. If clusterIdentifier is not provided, the identifier is automatically generated.
20928
20973
  :param instance_props: (deprecated) Settings for the individual instances that are launched.
@@ -20934,7 +20979,7 @@ class DatabaseClusterFromSnapshotProps:
20934
20979
  :param parameter_group: Additional parameters to pass to the database engine. Default: - No parameter group.
20935
20980
  :param parameters: The parameters in the DBClusterParameterGroup to create automatically. You can only specify parameterGroup or parameters but not both. You need to use a versioned engine to auto-generate a DBClusterParameterGroup. Default: - None
20936
20981
  :param performance_insight_encryption_key: The AWS KMS key for encryption of Performance Insights data. Default: - default master key
20937
- :param performance_insight_retention: The amount of time, in days, to retain Performance Insights data. Default: 7
20982
+ :param performance_insight_retention: The amount of time, in days, to retain Performance Insights data. If you set ``databaseInsightsMode`` to ``DatabaseInsightsMode.ADVANCED``, you must set this property to ``PerformanceInsightRetention.MONTHS_15``. Default: - 7
20938
20983
  :param port: What port to listen on. Default: - The default for the engine is used.
20939
20984
  :param preferred_maintenance_window: A preferred maintenance window day/time range. Should be specified as a range ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). Example: 'Sun:23:45-Mon:00:15' Default: - 30-minute window selected at random from an 8-hour block of time for each AWS Region, occurring on a random day of the week.
20940
20985
  :param readers: A list of instances to create as cluster reader instances. Default: - no readers are created. The cluster will have a single writer/reader
@@ -20989,6 +21034,7 @@ class DatabaseClusterFromSnapshotProps:
20989
21034
  check_type(argname="argument cluster_scalability_type", value=cluster_scalability_type, expected_type=type_hints["cluster_scalability_type"])
20990
21035
  check_type(argname="argument copy_tags_to_snapshot", value=copy_tags_to_snapshot, expected_type=type_hints["copy_tags_to_snapshot"])
20991
21036
  check_type(argname="argument credentials", value=credentials, expected_type=type_hints["credentials"])
21037
+ check_type(argname="argument database_insights_mode", value=database_insights_mode, expected_type=type_hints["database_insights_mode"])
20992
21038
  check_type(argname="argument default_database_name", value=default_database_name, expected_type=type_hints["default_database_name"])
20993
21039
  check_type(argname="argument deletion_protection", value=deletion_protection, expected_type=type_hints["deletion_protection"])
20994
21040
  check_type(argname="argument domain", value=domain, expected_type=type_hints["domain"])
@@ -21054,6 +21100,8 @@ class DatabaseClusterFromSnapshotProps:
21054
21100
  self._values["copy_tags_to_snapshot"] = copy_tags_to_snapshot
21055
21101
  if credentials is not None:
21056
21102
  self._values["credentials"] = credentials
21103
+ if database_insights_mode is not None:
21104
+ self._values["database_insights_mode"] = database_insights_mode
21057
21105
  if default_database_name is not None:
21058
21106
  self._values["default_database_name"] = default_database_name
21059
21107
  if deletion_protection is not None:
@@ -21285,6 +21333,15 @@ class DatabaseClusterFromSnapshotProps:
21285
21333
  result = self._values.get("credentials")
21286
21334
  return typing.cast(typing.Optional[Credentials], result)
21287
21335
 
21336
+ @builtins.property
21337
+ def database_insights_mode(self) -> typing.Optional["DatabaseInsightsMode"]:
21338
+ '''The database insights mode.
21339
+
21340
+ :default: - DatabaseInsightsMode.STANDARD when performance insights are enabled and Amazon Aurora engine is used, otherwise not set.
21341
+ '''
21342
+ result = self._values.get("database_insights_mode")
21343
+ return typing.cast(typing.Optional["DatabaseInsightsMode"], result)
21344
+
21288
21345
  @builtins.property
21289
21346
  def default_database_name(self) -> typing.Optional[builtins.str]:
21290
21347
  '''Name of a database which is automatically created inside the cluster.
@@ -21371,7 +21428,10 @@ class DatabaseClusterFromSnapshotProps:
21371
21428
  def enable_performance_insights(self) -> typing.Optional[builtins.bool]:
21372
21429
  '''Whether to enable Performance Insights for the DB cluster.
21373
21430
 
21374
- :default: - false, unless ``performanceInsightRetention`` or ``performanceInsightEncryptionKey`` is set.
21431
+ :default:
21432
+
21433
+ - false, unless ``performanceInsightRetention`` or ``performanceInsightEncryptionKey`` is set,
21434
+ or ``databaseInsightsMode`` is set to ``DatabaseInsightsMode.ADVANCED``.
21375
21435
  '''
21376
21436
  result = self._values.get("enable_performance_insights")
21377
21437
  return typing.cast(typing.Optional[builtins.bool], result)
@@ -21503,7 +21563,9 @@ class DatabaseClusterFromSnapshotProps:
21503
21563
  ) -> typing.Optional["PerformanceInsightRetention"]:
21504
21564
  '''The amount of time, in days, to retain Performance Insights data.
21505
21565
 
21506
- :default: 7
21566
+ If you set ``databaseInsightsMode`` to ``DatabaseInsightsMode.ADVANCED``, you must set this property to ``PerformanceInsightRetention.MONTHS_15``.
21567
+
21568
+ :default: - 7
21507
21569
  '''
21508
21570
  result = self._values.get("performance_insight_retention")
21509
21571
  return typing.cast(typing.Optional["PerformanceInsightRetention"], result)
@@ -21762,6 +21824,7 @@ class DatabaseClusterFromSnapshotProps:
21762
21824
  "cluster_scalability_type": "clusterScalabilityType",
21763
21825
  "copy_tags_to_snapshot": "copyTagsToSnapshot",
21764
21826
  "credentials": "credentials",
21827
+ "database_insights_mode": "databaseInsightsMode",
21765
21828
  "default_database_name": "defaultDatabaseName",
21766
21829
  "deletion_protection": "deletionProtection",
21767
21830
  "domain": "domain",
@@ -21818,6 +21881,7 @@ class DatabaseClusterProps:
21818
21881
  cluster_scalability_type: typing.Optional[ClusterScalabilityType] = None,
21819
21882
  copy_tags_to_snapshot: typing.Optional[builtins.bool] = None,
21820
21883
  credentials: typing.Optional[Credentials] = None,
21884
+ database_insights_mode: typing.Optional["DatabaseInsightsMode"] = None,
21821
21885
  default_database_name: typing.Optional[builtins.str] = None,
21822
21886
  deletion_protection: typing.Optional[builtins.bool] = None,
21823
21887
  domain: typing.Optional[builtins.str] = None,
@@ -21871,6 +21935,7 @@ class DatabaseClusterProps:
21871
21935
  :param cluster_scalability_type: Specifies the scalability mode of the Aurora DB cluster. Set LIMITLESS if you want to use a limitless database; otherwise, set it to STANDARD. Default: ClusterScalabilityType.STANDARD
21872
21936
  :param copy_tags_to_snapshot: Whether to copy tags to the snapshot when a snapshot is created. Default: - true
21873
21937
  :param credentials: Credentials for the administrative user. Default: - A username of 'admin' (or 'postgres' for PostgreSQL) and SecretsManager-generated password
21938
+ :param database_insights_mode: The database insights mode. Default: - DatabaseInsightsMode.STANDARD when performance insights are enabled and Amazon Aurora engine is used, otherwise not set.
21874
21939
  :param default_database_name: Name of a database which is automatically created inside the cluster. Default: - Database is not created in cluster.
21875
21940
  :param deletion_protection: Indicates whether the DB cluster should have deletion protection enabled. Default: - true if ``removalPolicy`` is RETAIN, ``undefined`` otherwise, which will not enable deletion protection. To disable deletion protection after it has been enabled, you must explicitly set this value to ``false``.
21876
21941
  :param domain: Directory ID for associating the DB cluster with a specific Active Directory. Necessary for enabling Kerberos authentication. If specified, the DB cluster joins the given Active Directory, enabling Kerberos authentication. If not specified, the DB cluster will not be associated with any Active Directory, and Kerberos authentication will not be enabled. Default: - DB cluster is not associated with an Active Directory; Kerberos authentication is not enabled.
@@ -21878,7 +21943,7 @@ class DatabaseClusterProps:
21878
21943
  :param enable_cluster_level_enhanced_monitoring: Whether to enable enhanced monitoring at the cluster level. If set to true, ``monitoringInterval`` and ``monitoringRole`` are applied to not the instances, but the cluster. ``monitoringInterval`` is required to be set if ``enableClusterLevelEnhancedMonitoring`` is set to true. Default: - When the ``monitoringInterval`` is set, enhanced monitoring is enabled for each instance.
21879
21944
  :param enable_data_api: Whether to enable the Data API for the cluster. Default: - false
21880
21945
  :param enable_local_write_forwarding: Whether read replicas can forward write operations to the writer DB instance in the DB cluster. This setting can only be enabled for Aurora MySQL 3.04 or higher, and for Aurora PostgreSQL 16.4 or higher (for version 16), 15.8 or higher (for version 15), and 14.13 or higher (for version 14). Default: false
21881
- :param enable_performance_insights: Whether to enable Performance Insights for the DB cluster. Default: - false, unless ``performanceInsightRetention`` or ``performanceInsightEncryptionKey`` is set.
21946
+ :param enable_performance_insights: Whether to enable Performance Insights for the DB cluster. Default: - false, unless ``performanceInsightRetention`` or ``performanceInsightEncryptionKey`` is set, or ``databaseInsightsMode`` is set to ``DatabaseInsightsMode.ADVANCED``.
21882
21947
  :param iam_authentication: Whether to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts. Default: false
21883
21948
  :param instance_identifier_base: Base identifier for instances. Every replica is named by appending the replica number to this string, 1-based. Default: - clusterIdentifier is used with the word "Instance" appended. If clusterIdentifier is not provided, the identifier is automatically generated.
21884
21949
  :param instance_props: (deprecated) Settings for the individual instances that are launched.
@@ -21890,7 +21955,7 @@ class DatabaseClusterProps:
21890
21955
  :param parameter_group: Additional parameters to pass to the database engine. Default: - No parameter group.
21891
21956
  :param parameters: The parameters in the DBClusterParameterGroup to create automatically. You can only specify parameterGroup or parameters but not both. You need to use a versioned engine to auto-generate a DBClusterParameterGroup. Default: - None
21892
21957
  :param performance_insight_encryption_key: The AWS KMS key for encryption of Performance Insights data. Default: - default master key
21893
- :param performance_insight_retention: The amount of time, in days, to retain Performance Insights data. Default: 7
21958
+ :param performance_insight_retention: The amount of time, in days, to retain Performance Insights data. If you set ``databaseInsightsMode`` to ``DatabaseInsightsMode.ADVANCED``, you must set this property to ``PerformanceInsightRetention.MONTHS_15``. Default: - 7
21894
21959
  :param port: What port to listen on. Default: - The default for the engine is used.
21895
21960
  :param preferred_maintenance_window: A preferred maintenance window day/time range. Should be specified as a range ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). Example: 'Sun:23:45-Mon:00:15' Default: - 30-minute window selected at random from an 8-hour block of time for each AWS Region, occurring on a random day of the week.
21896
21961
  :param readers: A list of instances to create as cluster reader instances. Default: - no readers are created. The cluster will have a single writer/reader
@@ -21918,17 +21983,17 @@ class DatabaseClusterProps:
21918
21983
 
21919
21984
  cluster = rds.DatabaseCluster(self, "Database",
21920
21985
  engine=rds.DatabaseClusterEngine.aurora_mysql(version=rds.AuroraMysqlEngineVersion.VER_3_01_0),
21986
+ credentials=rds.Credentials.from_generated_secret("clusteradmin"), # Optional - will default to 'admin' username and generated password
21921
21987
  writer=rds.ClusterInstance.provisioned("writer",
21922
- instance_type=ec2.InstanceType.of(ec2.InstanceClass.R6G, ec2.InstanceSize.XLARGE4)
21988
+ publicly_accessible=False
21923
21989
  ),
21924
- serverless_v2_min_capacity=6.5,
21925
- serverless_v2_max_capacity=64,
21926
21990
  readers=[
21927
- # will be put in promotion tier 1 and will scale with the writer
21928
- rds.ClusterInstance.serverless_v2("reader1", scale_with_writer=True),
21929
- # will be put in promotion tier 2 and will not scale with the writer
21991
+ rds.ClusterInstance.provisioned("reader1", promotion_tier=1),
21930
21992
  rds.ClusterInstance.serverless_v2("reader2")
21931
21993
  ],
21994
+ vpc_subnets=ec2.SubnetSelection(
21995
+ subnet_type=ec2.SubnetType.PRIVATE_WITH_EGRESS
21996
+ ),
21932
21997
  vpc=vpc
21933
21998
  )
21934
21999
  '''
@@ -21952,6 +22017,7 @@ class DatabaseClusterProps:
21952
22017
  check_type(argname="argument cluster_scalability_type", value=cluster_scalability_type, expected_type=type_hints["cluster_scalability_type"])
21953
22018
  check_type(argname="argument copy_tags_to_snapshot", value=copy_tags_to_snapshot, expected_type=type_hints["copy_tags_to_snapshot"])
21954
22019
  check_type(argname="argument credentials", value=credentials, expected_type=type_hints["credentials"])
22020
+ check_type(argname="argument database_insights_mode", value=database_insights_mode, expected_type=type_hints["database_insights_mode"])
21955
22021
  check_type(argname="argument default_database_name", value=default_database_name, expected_type=type_hints["default_database_name"])
21956
22022
  check_type(argname="argument deletion_protection", value=deletion_protection, expected_type=type_hints["deletion_protection"])
21957
22023
  check_type(argname="argument domain", value=domain, expected_type=type_hints["domain"])
@@ -22015,6 +22081,8 @@ class DatabaseClusterProps:
22015
22081
  self._values["copy_tags_to_snapshot"] = copy_tags_to_snapshot
22016
22082
  if credentials is not None:
22017
22083
  self._values["credentials"] = credentials
22084
+ if database_insights_mode is not None:
22085
+ self._values["database_insights_mode"] = database_insights_mode
22018
22086
  if default_database_name is not None:
22019
22087
  self._values["default_database_name"] = default_database_name
22020
22088
  if deletion_protection is not None:
@@ -22221,6 +22289,15 @@ class DatabaseClusterProps:
22221
22289
  result = self._values.get("credentials")
22222
22290
  return typing.cast(typing.Optional[Credentials], result)
22223
22291
 
22292
+ @builtins.property
22293
+ def database_insights_mode(self) -> typing.Optional["DatabaseInsightsMode"]:
22294
+ '''The database insights mode.
22295
+
22296
+ :default: - DatabaseInsightsMode.STANDARD when performance insights are enabled and Amazon Aurora engine is used, otherwise not set.
22297
+ '''
22298
+ result = self._values.get("database_insights_mode")
22299
+ return typing.cast(typing.Optional["DatabaseInsightsMode"], result)
22300
+
22224
22301
  @builtins.property
22225
22302
  def default_database_name(self) -> typing.Optional[builtins.str]:
22226
22303
  '''Name of a database which is automatically created inside the cluster.
@@ -22307,7 +22384,10 @@ class DatabaseClusterProps:
22307
22384
  def enable_performance_insights(self) -> typing.Optional[builtins.bool]:
22308
22385
  '''Whether to enable Performance Insights for the DB cluster.
22309
22386
 
22310
- :default: - false, unless ``performanceInsightRetention`` or ``performanceInsightEncryptionKey`` is set.
22387
+ :default:
22388
+
22389
+ - false, unless ``performanceInsightRetention`` or ``performanceInsightEncryptionKey`` is set,
22390
+ or ``databaseInsightsMode`` is set to ``DatabaseInsightsMode.ADVANCED``.
22311
22391
  '''
22312
22392
  result = self._values.get("enable_performance_insights")
22313
22393
  return typing.cast(typing.Optional[builtins.bool], result)
@@ -22439,7 +22519,9 @@ class DatabaseClusterProps:
22439
22519
  ) -> typing.Optional["PerformanceInsightRetention"]:
22440
22520
  '''The amount of time, in days, to retain Performance Insights data.
22441
22521
 
22442
- :default: 7
22522
+ If you set ``databaseInsightsMode`` to ``DatabaseInsightsMode.ADVANCED``, you must set this property to ``PerformanceInsightRetention.MONTHS_15``.
22523
+
22524
+ :default: - 7
22443
22525
  '''
22444
22526
  result = self._values.get("performance_insight_retention")
22445
22527
  return typing.cast(typing.Optional["PerformanceInsightRetention"], result)
@@ -22670,6 +22752,35 @@ class DatabaseClusterProps:
22670
22752
  )
22671
22753
 
22672
22754
 
22755
+ @jsii.enum(jsii_type="aws-cdk-lib.aws_rds.DatabaseInsightsMode")
22756
+ class DatabaseInsightsMode(enum.Enum):
22757
+ '''The database insights mode of the Aurora DB cluster.
22758
+
22759
+ :exampleMetadata: infused
22760
+
22761
+ Example::
22762
+
22763
+ # vpc: ec2.Vpc
22764
+
22765
+ rds.DatabaseCluster(self, "Database",
22766
+ engine=rds.DatabaseClusterEngine.AURORA,
22767
+ vpc=vpc,
22768
+ # If you enable the advanced mode of Database Insights,
22769
+ # Performance Insights is enabled and you must set the `performanceInsightRetention` to 465(15 months).
22770
+ database_insights_mode=rds.DatabaseInsightsMode.ADVANCED,
22771
+ performance_insight_retention=rds.PerformanceInsightRetention.MONTHS_15,
22772
+ writer=rds.ClusterInstance.provisioned("Writer",
22773
+ instance_type=ec2.InstanceType.of(ec2.InstanceClass.R7G, ec2.InstanceSize.LARGE)
22774
+ )
22775
+ )
22776
+ '''
22777
+
22778
+ STANDARD = "STANDARD"
22779
+ '''Standard mode.'''
22780
+ ADVANCED = "ADVANCED"
22781
+ '''Advanced mode.'''
22782
+
22783
+
22673
22784
  @jsii.data_type(
22674
22785
  jsii_type="aws-cdk-lib.aws_rds.DatabaseInstanceAttributes",
22675
22786
  jsii_struct_bases=[],
@@ -33766,6 +33877,12 @@ class OracleEngineVersion(
33766
33877
  '''Version "19.0.0.0.ru-2024-10.rur-2024-10.r1".'''
33767
33878
  return typing.cast("OracleEngineVersion", jsii.sget(cls, "VER_19_0_0_0_2024_10_R1"))
33768
33879
 
33880
+ @jsii.python.classproperty
33881
+ @jsii.member(jsii_name="VER_19_0_0_0_2025_01_R1")
33882
+ def VER_19_0_0_0_2025_01_R1(cls) -> "OracleEngineVersion":
33883
+ '''Version "19.0.0.0.ru-2025-01.rur-2025-01.r1".'''
33884
+ return typing.cast("OracleEngineVersion", jsii.sget(cls, "VER_19_0_0_0_2025_01_R1"))
33885
+
33769
33886
  @jsii.python.classproperty
33770
33887
  @jsii.member(jsii_name="VER_21")
33771
33888
  def VER_21(cls) -> "OracleEngineVersion":
@@ -33850,6 +33967,12 @@ class OracleEngineVersion(
33850
33967
  '''Version "21.0.0.0.ru-2024-10.rur-2024-10.r1".'''
33851
33968
  return typing.cast("OracleEngineVersion", jsii.sget(cls, "VER_21_0_0_0_2024_10_R1"))
33852
33969
 
33970
+ @jsii.python.classproperty
33971
+ @jsii.member(jsii_name="VER_21_0_0_0_2025_01_R1")
33972
+ def VER_21_0_0_0_2025_01_R1(cls) -> "OracleEngineVersion":
33973
+ '''Version "21.0.0.0.ru-2025-01.rur-2025-01.r1".'''
33974
+ return typing.cast("OracleEngineVersion", jsii.sget(cls, "VER_21_0_0_0_2025_01_R1"))
33975
+
33853
33976
  @builtins.property
33854
33977
  @jsii.member(jsii_name="oracleFullVersion")
33855
33978
  def oracle_full_version(self) -> builtins.str:
@@ -35740,6 +35863,12 @@ class PostgresEngineVersion(
35740
35863
  '''Version "16.6".'''
35741
35864
  return typing.cast("PostgresEngineVersion", jsii.sget(cls, "VER_16_6"))
35742
35865
 
35866
+ @jsii.python.classproperty
35867
+ @jsii.member(jsii_name="VER_16_7")
35868
+ def VER_16_7(cls) -> "PostgresEngineVersion":
35869
+ '''Version "16.7".'''
35870
+ return typing.cast("PostgresEngineVersion", jsii.sget(cls, "VER_16_7"))
35871
+
35743
35872
  @jsii.python.classproperty
35744
35873
  @jsii.member(jsii_name="VER_17")
35745
35874
  def VER_17(cls) -> "PostgresEngineVersion":
@@ -39652,6 +39781,12 @@ class SqlServerEngineVersion(
39652
39781
  '''Version "15.00.4410.1.v1".'''
39653
39782
  return typing.cast("SqlServerEngineVersion", jsii.sget(cls, "VER_15_00_4410_1_V1"))
39654
39783
 
39784
+ @jsii.python.classproperty
39785
+ @jsii.member(jsii_name="VER_15_00_4415_2_V1")
39786
+ def VER_15_00_4415_2_V1(cls) -> "SqlServerEngineVersion":
39787
+ '''Version "15.00.4415.2.v1".'''
39788
+ return typing.cast("SqlServerEngineVersion", jsii.sget(cls, "VER_15_00_4415_2_V1"))
39789
+
39655
39790
  @jsii.python.classproperty
39656
39791
  @jsii.member(jsii_name="VER_16")
39657
39792
  def VER_16(cls) -> "SqlServerEngineVersion":
@@ -39724,6 +39859,12 @@ class SqlServerEngineVersion(
39724
39859
  '''Version "16.00.4165.4.v1".'''
39725
39860
  return typing.cast("SqlServerEngineVersion", jsii.sget(cls, "VER_16_00_4165_4_V1"))
39726
39861
 
39862
+ @jsii.python.classproperty
39863
+ @jsii.member(jsii_name="VER_16_00_4175_1_V1")
39864
+ def VER_16_00_4175_1_V1(cls) -> "SqlServerEngineVersion":
39865
+ '''Version "16.00.4175.1.v1".'''
39866
+ return typing.cast("SqlServerEngineVersion", jsii.sget(cls, "VER_16_00_4175_1_V1"))
39867
+
39727
39868
  @builtins.property
39728
39869
  @jsii.member(jsii_name="sqlServerFullVersion")
39729
39870
  def sql_server_full_version(self) -> builtins.str:
@@ -41456,6 +41597,7 @@ class DatabaseClusterFromSnapshot(
41456
41597
  cluster_scalability_type: typing.Optional[ClusterScalabilityType] = None,
41457
41598
  copy_tags_to_snapshot: typing.Optional[builtins.bool] = None,
41458
41599
  credentials: typing.Optional[Credentials] = None,
41600
+ database_insights_mode: typing.Optional[DatabaseInsightsMode] = None,
41459
41601
  default_database_name: typing.Optional[builtins.str] = None,
41460
41602
  deletion_protection: typing.Optional[builtins.bool] = None,
41461
41603
  domain: typing.Optional[builtins.str] = None,
@@ -41512,6 +41654,7 @@ class DatabaseClusterFromSnapshot(
41512
41654
  :param cluster_scalability_type: Specifies the scalability mode of the Aurora DB cluster. Set LIMITLESS if you want to use a limitless database; otherwise, set it to STANDARD. Default: ClusterScalabilityType.STANDARD
41513
41655
  :param copy_tags_to_snapshot: Whether to copy tags to the snapshot when a snapshot is created. Default: - true
41514
41656
  :param credentials: (deprecated) Credentials for the administrative user. Note - using this prop only works with ``Credentials.fromPassword()`` with the username of the snapshot, ``Credentials.fromUsername()`` with the username and password of the snapshot or ``Credentials.fromSecret()`` with a secret containing the username and password of the snapshot. Default: - A username of 'admin' (or 'postgres' for PostgreSQL) and SecretsManager-generated password that **will not be applied** to the cluster, use ``snapshotCredentials`` for the correct behavior.
41657
+ :param database_insights_mode: The database insights mode. Default: - DatabaseInsightsMode.STANDARD when performance insights are enabled and Amazon Aurora engine is used, otherwise not set.
41515
41658
  :param default_database_name: Name of a database which is automatically created inside the cluster. Default: - Database is not created in cluster.
41516
41659
  :param deletion_protection: Indicates whether the DB cluster should have deletion protection enabled. Default: - true if ``removalPolicy`` is RETAIN, ``undefined`` otherwise, which will not enable deletion protection. To disable deletion protection after it has been enabled, you must explicitly set this value to ``false``.
41517
41660
  :param domain: Directory ID for associating the DB cluster with a specific Active Directory. Necessary for enabling Kerberos authentication. If specified, the DB cluster joins the given Active Directory, enabling Kerberos authentication. If not specified, the DB cluster will not be associated with any Active Directory, and Kerberos authentication will not be enabled. Default: - DB cluster is not associated with an Active Directory; Kerberos authentication is not enabled.
@@ -41519,7 +41662,7 @@ class DatabaseClusterFromSnapshot(
41519
41662
  :param enable_cluster_level_enhanced_monitoring: Whether to enable enhanced monitoring at the cluster level. If set to true, ``monitoringInterval`` and ``monitoringRole`` are applied to not the instances, but the cluster. ``monitoringInterval`` is required to be set if ``enableClusterLevelEnhancedMonitoring`` is set to true. Default: - When the ``monitoringInterval`` is set, enhanced monitoring is enabled for each instance.
41520
41663
  :param enable_data_api: Whether to enable the Data API for the cluster. Default: - false
41521
41664
  :param enable_local_write_forwarding: Whether read replicas can forward write operations to the writer DB instance in the DB cluster. This setting can only be enabled for Aurora MySQL 3.04 or higher, and for Aurora PostgreSQL 16.4 or higher (for version 16), 15.8 or higher (for version 15), and 14.13 or higher (for version 14). Default: false
41522
- :param enable_performance_insights: Whether to enable Performance Insights for the DB cluster. Default: - false, unless ``performanceInsightRetention`` or ``performanceInsightEncryptionKey`` is set.
41665
+ :param enable_performance_insights: Whether to enable Performance Insights for the DB cluster. Default: - false, unless ``performanceInsightRetention`` or ``performanceInsightEncryptionKey`` is set, or ``databaseInsightsMode`` is set to ``DatabaseInsightsMode.ADVANCED``.
41523
41666
  :param iam_authentication: Whether to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts. Default: false
41524
41667
  :param instance_identifier_base: Base identifier for instances. Every replica is named by appending the replica number to this string, 1-based. Default: - clusterIdentifier is used with the word "Instance" appended. If clusterIdentifier is not provided, the identifier is automatically generated.
41525
41668
  :param instance_props: (deprecated) Settings for the individual instances that are launched.
@@ -41531,7 +41674,7 @@ class DatabaseClusterFromSnapshot(
41531
41674
  :param parameter_group: Additional parameters to pass to the database engine. Default: - No parameter group.
41532
41675
  :param parameters: The parameters in the DBClusterParameterGroup to create automatically. You can only specify parameterGroup or parameters but not both. You need to use a versioned engine to auto-generate a DBClusterParameterGroup. Default: - None
41533
41676
  :param performance_insight_encryption_key: The AWS KMS key for encryption of Performance Insights data. Default: - default master key
41534
- :param performance_insight_retention: The amount of time, in days, to retain Performance Insights data. Default: 7
41677
+ :param performance_insight_retention: The amount of time, in days, to retain Performance Insights data. If you set ``databaseInsightsMode`` to ``DatabaseInsightsMode.ADVANCED``, you must set this property to ``PerformanceInsightRetention.MONTHS_15``. Default: - 7
41535
41678
  :param port: What port to listen on. Default: - The default for the engine is used.
41536
41679
  :param preferred_maintenance_window: A preferred maintenance window day/time range. Should be specified as a range ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). Example: 'Sun:23:45-Mon:00:15' Default: - 30-minute window selected at random from an 8-hour block of time for each AWS Region, occurring on a random day of the week.
41537
41680
  :param readers: A list of instances to create as cluster reader instances. Default: - no readers are created. The cluster will have a single writer/reader
@@ -41570,6 +41713,7 @@ class DatabaseClusterFromSnapshot(
41570
41713
  cluster_scalability_type=cluster_scalability_type,
41571
41714
  copy_tags_to_snapshot=copy_tags_to_snapshot,
41572
41715
  credentials=credentials,
41716
+ database_insights_mode=database_insights_mode,
41573
41717
  default_database_name=default_database_name,
41574
41718
  deletion_protection=deletion_protection,
41575
41719
  domain=domain,
@@ -41884,6 +42028,12 @@ class DatabaseClusterFromSnapshot(
41884
42028
  '''The VPC network to place the cluster in.'''
41885
42029
  return typing.cast(_IVpc_f30d5663, jsii.get(self, "vpc"))
41886
42030
 
42031
+ @builtins.property
42032
+ @jsii.member(jsii_name="databaseInsightsMode")
42033
+ def database_insights_mode(self) -> typing.Optional[DatabaseInsightsMode]:
42034
+ '''The database insights mode.'''
42035
+ return typing.cast(typing.Optional[DatabaseInsightsMode], jsii.get(self, "databaseInsightsMode"))
42036
+
41887
42037
  @builtins.property
41888
42038
  @jsii.member(jsii_name="engine")
41889
42039
  def engine(self) -> typing.Optional["IClusterEngine"]:
@@ -45518,17 +45668,17 @@ class DatabaseCluster(
45518
45668
 
45519
45669
  cluster = rds.DatabaseCluster(self, "Database",
45520
45670
  engine=rds.DatabaseClusterEngine.aurora_mysql(version=rds.AuroraMysqlEngineVersion.VER_3_01_0),
45671
+ credentials=rds.Credentials.from_generated_secret("clusteradmin"), # Optional - will default to 'admin' username and generated password
45521
45672
  writer=rds.ClusterInstance.provisioned("writer",
45522
- instance_type=ec2.InstanceType.of(ec2.InstanceClass.R6G, ec2.InstanceSize.XLARGE4)
45673
+ publicly_accessible=False
45523
45674
  ),
45524
- serverless_v2_min_capacity=6.5,
45525
- serverless_v2_max_capacity=64,
45526
45675
  readers=[
45527
- # will be put in promotion tier 1 and will scale with the writer
45528
- rds.ClusterInstance.serverless_v2("reader1", scale_with_writer=True),
45529
- # will be put in promotion tier 2 and will not scale with the writer
45676
+ rds.ClusterInstance.provisioned("reader1", promotion_tier=1),
45530
45677
  rds.ClusterInstance.serverless_v2("reader2")
45531
45678
  ],
45679
+ vpc_subnets=ec2.SubnetSelection(
45680
+ subnet_type=ec2.SubnetType.PRIVATE_WITH_EGRESS
45681
+ ),
45532
45682
  vpc=vpc
45533
45683
  )
45534
45684
  '''
@@ -45550,6 +45700,7 @@ class DatabaseCluster(
45550
45700
  cluster_scalability_type: typing.Optional[ClusterScalabilityType] = None,
45551
45701
  copy_tags_to_snapshot: typing.Optional[builtins.bool] = None,
45552
45702
  credentials: typing.Optional[Credentials] = None,
45703
+ database_insights_mode: typing.Optional[DatabaseInsightsMode] = None,
45553
45704
  default_database_name: typing.Optional[builtins.str] = None,
45554
45705
  deletion_protection: typing.Optional[builtins.bool] = None,
45555
45706
  domain: typing.Optional[builtins.str] = None,
@@ -45604,6 +45755,7 @@ class DatabaseCluster(
45604
45755
  :param cluster_scalability_type: Specifies the scalability mode of the Aurora DB cluster. Set LIMITLESS if you want to use a limitless database; otherwise, set it to STANDARD. Default: ClusterScalabilityType.STANDARD
45605
45756
  :param copy_tags_to_snapshot: Whether to copy tags to the snapshot when a snapshot is created. Default: - true
45606
45757
  :param credentials: Credentials for the administrative user. Default: - A username of 'admin' (or 'postgres' for PostgreSQL) and SecretsManager-generated password
45758
+ :param database_insights_mode: The database insights mode. Default: - DatabaseInsightsMode.STANDARD when performance insights are enabled and Amazon Aurora engine is used, otherwise not set.
45607
45759
  :param default_database_name: Name of a database which is automatically created inside the cluster. Default: - Database is not created in cluster.
45608
45760
  :param deletion_protection: Indicates whether the DB cluster should have deletion protection enabled. Default: - true if ``removalPolicy`` is RETAIN, ``undefined`` otherwise, which will not enable deletion protection. To disable deletion protection after it has been enabled, you must explicitly set this value to ``false``.
45609
45761
  :param domain: Directory ID for associating the DB cluster with a specific Active Directory. Necessary for enabling Kerberos authentication. If specified, the DB cluster joins the given Active Directory, enabling Kerberos authentication. If not specified, the DB cluster will not be associated with any Active Directory, and Kerberos authentication will not be enabled. Default: - DB cluster is not associated with an Active Directory; Kerberos authentication is not enabled.
@@ -45611,7 +45763,7 @@ class DatabaseCluster(
45611
45763
  :param enable_cluster_level_enhanced_monitoring: Whether to enable enhanced monitoring at the cluster level. If set to true, ``monitoringInterval`` and ``monitoringRole`` are applied to not the instances, but the cluster. ``monitoringInterval`` is required to be set if ``enableClusterLevelEnhancedMonitoring`` is set to true. Default: - When the ``monitoringInterval`` is set, enhanced monitoring is enabled for each instance.
45612
45764
  :param enable_data_api: Whether to enable the Data API for the cluster. Default: - false
45613
45765
  :param enable_local_write_forwarding: Whether read replicas can forward write operations to the writer DB instance in the DB cluster. This setting can only be enabled for Aurora MySQL 3.04 or higher, and for Aurora PostgreSQL 16.4 or higher (for version 16), 15.8 or higher (for version 15), and 14.13 or higher (for version 14). Default: false
45614
- :param enable_performance_insights: Whether to enable Performance Insights for the DB cluster. Default: - false, unless ``performanceInsightRetention`` or ``performanceInsightEncryptionKey`` is set.
45766
+ :param enable_performance_insights: Whether to enable Performance Insights for the DB cluster. Default: - false, unless ``performanceInsightRetention`` or ``performanceInsightEncryptionKey`` is set, or ``databaseInsightsMode`` is set to ``DatabaseInsightsMode.ADVANCED``.
45615
45767
  :param iam_authentication: Whether to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts. Default: false
45616
45768
  :param instance_identifier_base: Base identifier for instances. Every replica is named by appending the replica number to this string, 1-based. Default: - clusterIdentifier is used with the word "Instance" appended. If clusterIdentifier is not provided, the identifier is automatically generated.
45617
45769
  :param instance_props: (deprecated) Settings for the individual instances that are launched.
@@ -45623,7 +45775,7 @@ class DatabaseCluster(
45623
45775
  :param parameter_group: Additional parameters to pass to the database engine. Default: - No parameter group.
45624
45776
  :param parameters: The parameters in the DBClusterParameterGroup to create automatically. You can only specify parameterGroup or parameters but not both. You need to use a versioned engine to auto-generate a DBClusterParameterGroup. Default: - None
45625
45777
  :param performance_insight_encryption_key: The AWS KMS key for encryption of Performance Insights data. Default: - default master key
45626
- :param performance_insight_retention: The amount of time, in days, to retain Performance Insights data. Default: 7
45778
+ :param performance_insight_retention: The amount of time, in days, to retain Performance Insights data. If you set ``databaseInsightsMode`` to ``DatabaseInsightsMode.ADVANCED``, you must set this property to ``PerformanceInsightRetention.MONTHS_15``. Default: - 7
45627
45779
  :param port: What port to listen on. Default: - The default for the engine is used.
45628
45780
  :param preferred_maintenance_window: A preferred maintenance window day/time range. Should be specified as a range ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). Example: 'Sun:23:45-Mon:00:15' Default: - 30-minute window selected at random from an 8-hour block of time for each AWS Region, occurring on a random day of the week.
45629
45781
  :param readers: A list of instances to create as cluster reader instances. Default: - no readers are created. The cluster will have a single writer/reader
@@ -45660,6 +45812,7 @@ class DatabaseCluster(
45660
45812
  cluster_scalability_type=cluster_scalability_type,
45661
45813
  copy_tags_to_snapshot=copy_tags_to_snapshot,
45662
45814
  credentials=credentials,
45815
+ database_insights_mode=database_insights_mode,
45663
45816
  default_database_name=default_database_name,
45664
45817
  deletion_protection=deletion_protection,
45665
45818
  domain=domain,
@@ -46028,6 +46181,12 @@ class DatabaseCluster(
46028
46181
  '''The VPC network to place the cluster in.'''
46029
46182
  return typing.cast(_IVpc_f30d5663, jsii.get(self, "vpc"))
46030
46183
 
46184
+ @builtins.property
46185
+ @jsii.member(jsii_name="databaseInsightsMode")
46186
+ def database_insights_mode(self) -> typing.Optional[DatabaseInsightsMode]:
46187
+ '''The database insights mode.'''
46188
+ return typing.cast(typing.Optional[DatabaseInsightsMode], jsii.get(self, "databaseInsightsMode"))
46189
+
46031
46190
  @builtins.property
46032
46191
  @jsii.member(jsii_name="engine")
46033
46192
  def engine(self) -> typing.Optional[IClusterEngine]:
@@ -46566,6 +46725,7 @@ __all__ = [
46566
46725
  "DatabaseClusterFromSnapshot",
46567
46726
  "DatabaseClusterFromSnapshotProps",
46568
46727
  "DatabaseClusterProps",
46728
+ "DatabaseInsightsMode",
46569
46729
  "DatabaseInstance",
46570
46730
  "DatabaseInstanceAttributes",
46571
46731
  "DatabaseInstanceBase",
@@ -47459,6 +47619,7 @@ def _typecheckingstub__255b0779ca741853674876540bf77279f6293bea05de2cd18724d2b92
47459
47619
  *,
47460
47620
  allocated_storage: typing.Optional[builtins.str] = None,
47461
47621
  allow_major_version_upgrade: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
47622
+ apply_immediately: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
47462
47623
  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,
47463
47624
  automatic_backup_replication_kms_key_id: typing.Optional[builtins.str] = None,
47464
47625
  automatic_backup_replication_region: typing.Optional[builtins.str] = None,
@@ -47564,6 +47725,12 @@ def _typecheckingstub__57716fbcac28344145554895630d9e7d3ed16ff833d836025eba0e855
47564
47725
  """Type checking stubs"""
47565
47726
  pass
47566
47727
 
47728
+ def _typecheckingstub__541ae79271b3863f62364d17706d85a7c492cd2e7587446eabdb62da45fc95fe(
47729
+ value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
47730
+ ) -> None:
47731
+ """Type checking stubs"""
47732
+ pass
47733
+
47567
47734
  def _typecheckingstub__4ce8e79d061f4d460ac08196091e00285779b468080063faf9f5f8f7466a94f4(
47568
47735
  value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnDBInstance.DBInstanceRoleProperty]]]],
47569
47736
  ) -> None:
@@ -48071,6 +48238,7 @@ def _typecheckingstub__3bddb1be0bd1f1699e3a084c5859d94d8879ff15011f2f2eaac29ec16
48071
48238
  *,
48072
48239
  allocated_storage: typing.Optional[builtins.str] = None,
48073
48240
  allow_major_version_upgrade: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
48241
+ apply_immediately: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
48074
48242
  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,
48075
48243
  automatic_backup_replication_kms_key_id: typing.Optional[builtins.str] = None,
48076
48244
  automatic_backup_replication_region: typing.Optional[builtins.str] = None,
@@ -48867,7 +49035,6 @@ def _typecheckingstub__1611fa62b935d4f304c9fd8befd7c639fa3cc4898c7c6d9f86feb2d66
48867
49035
  engine_lifecycle_support: typing.Optional[builtins.str] = None,
48868
49036
  engine_version: typing.Optional[builtins.str] = None,
48869
49037
  global_cluster_identifier: typing.Optional[builtins.str] = None,
48870
- global_endpoint: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalCluster.GlobalEndpointProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
48871
49038
  source_db_cluster_identifier: typing.Optional[builtins.str] = None,
48872
49039
  storage_encrypted: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
48873
49040
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
@@ -48917,12 +49084,6 @@ def _typecheckingstub__8c0878c8feb5b0667b16ebe0d996cc33dadb0920b96e5594e9cf1b8cc
48917
49084
  """Type checking stubs"""
48918
49085
  pass
48919
49086
 
48920
- def _typecheckingstub__7b1b1a8e034b0a4e155f1c4e96d4c9dd770043cd6a95e96f303770a5dff27e85(
48921
- value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnGlobalCluster.GlobalEndpointProperty]],
48922
- ) -> None:
48923
- """Type checking stubs"""
48924
- pass
48925
-
48926
49087
  def _typecheckingstub__2b8b99331248625e609d8c61fdd2aeead968468cd83f1da2306ce25de200e221(
48927
49088
  value: typing.Optional[builtins.str],
48928
49089
  ) -> None:
@@ -48955,7 +49116,6 @@ def _typecheckingstub__ef2e57f0cb9427badb90bc7e1248f0f26bc8de21a104bb924da973366
48955
49116
  engine_lifecycle_support: typing.Optional[builtins.str] = None,
48956
49117
  engine_version: typing.Optional[builtins.str] = None,
48957
49118
  global_cluster_identifier: typing.Optional[builtins.str] = None,
48958
- global_endpoint: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalCluster.GlobalEndpointProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
48959
49119
  source_db_cluster_identifier: typing.Optional[builtins.str] = None,
48960
49120
  storage_encrypted: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
48961
49121
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
@@ -49337,6 +49497,7 @@ def _typecheckingstub__1e44b5aef872ca17869a17181382f06cd0166bdbe07e2c33701d3bf1e
49337
49497
  cluster_scalability_type: typing.Optional[ClusterScalabilityType] = None,
49338
49498
  copy_tags_to_snapshot: typing.Optional[builtins.bool] = None,
49339
49499
  credentials: typing.Optional[Credentials] = None,
49500
+ database_insights_mode: typing.Optional[DatabaseInsightsMode] = None,
49340
49501
  default_database_name: typing.Optional[builtins.str] = None,
49341
49502
  deletion_protection: typing.Optional[builtins.bool] = None,
49342
49503
  domain: typing.Optional[builtins.str] = None,
@@ -49394,6 +49555,7 @@ def _typecheckingstub__a32e21c90ab65d3cfdb3b7ef2a0d741ba1528ec8824cd1817d1e485b4
49394
49555
  cluster_scalability_type: typing.Optional[ClusterScalabilityType] = None,
49395
49556
  copy_tags_to_snapshot: typing.Optional[builtins.bool] = None,
49396
49557
  credentials: typing.Optional[Credentials] = None,
49558
+ database_insights_mode: typing.Optional[DatabaseInsightsMode] = None,
49397
49559
  default_database_name: typing.Optional[builtins.str] = None,
49398
49560
  deletion_protection: typing.Optional[builtins.bool] = None,
49399
49561
  domain: typing.Optional[builtins.str] = None,
@@ -50609,6 +50771,7 @@ def _typecheckingstub__d1a2e259091e12a41b0f5818df495769518e049ebcc89ed340ffc7ba4
50609
50771
  cluster_scalability_type: typing.Optional[ClusterScalabilityType] = None,
50610
50772
  copy_tags_to_snapshot: typing.Optional[builtins.bool] = None,
50611
50773
  credentials: typing.Optional[Credentials] = None,
50774
+ database_insights_mode: typing.Optional[DatabaseInsightsMode] = None,
50612
50775
  default_database_name: typing.Optional[builtins.str] = None,
50613
50776
  deletion_protection: typing.Optional[builtins.bool] = None,
50614
50777
  domain: typing.Optional[builtins.str] = None,
@@ -51101,6 +51264,7 @@ def _typecheckingstub__c6184cbbefaa372690b9776dafecbf5857cf9bfbab91d1666aad22c56
51101
51264
  cluster_scalability_type: typing.Optional[ClusterScalabilityType] = None,
51102
51265
  copy_tags_to_snapshot: typing.Optional[builtins.bool] = None,
51103
51266
  credentials: typing.Optional[Credentials] = None,
51267
+ database_insights_mode: typing.Optional[DatabaseInsightsMode] = None,
51104
51268
  default_database_name: typing.Optional[builtins.str] = None,
51105
51269
  deletion_protection: typing.Optional[builtins.bool] = None,
51106
51270
  domain: typing.Optional[builtins.str] = None,