aws-cdk-lib 2.171.1__py3-none-any.whl → 2.173.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 (78) hide show
  1. aws_cdk/__init__.py +528 -161
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.171.1.jsii.tgz → aws-cdk-lib@2.173.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_amazonmq/__init__.py +40 -40
  5. aws_cdk/aws_apigateway/__init__.py +1357 -120
  6. aws_cdk/aws_applicationautoscaling/__init__.py +141 -66
  7. aws_cdk/aws_appsync/__init__.py +163 -139
  8. aws_cdk/aws_autoscaling/__init__.py +96 -30
  9. aws_cdk/aws_bedrock/__init__.py +80 -44
  10. aws_cdk/aws_chatbot/__init__.py +803 -2
  11. aws_cdk/aws_cleanrooms/__init__.py +4 -6
  12. aws_cdk/aws_cloudformation/__init__.py +240 -159
  13. aws_cdk/aws_cloudfront/__init__.py +15 -7
  14. aws_cdk/aws_cloudtrail/__init__.py +802 -13
  15. aws_cdk/aws_cloudwatch/__init__.py +51 -14
  16. aws_cdk/aws_codebuild/__init__.py +39 -0
  17. aws_cdk/aws_codepipeline/__init__.py +4 -4
  18. aws_cdk/aws_cognito/__init__.py +1032 -43
  19. aws_cdk/aws_config/__init__.py +13 -10
  20. aws_cdk/aws_connect/__init__.py +454 -23
  21. aws_cdk/aws_connectcampaignsv2/__init__.py +187 -176
  22. aws_cdk/aws_customerprofiles/__init__.py +3148 -0
  23. aws_cdk/aws_docdb/__init__.py +128 -0
  24. aws_cdk/aws_dynamodb/__init__.py +256 -0
  25. aws_cdk/aws_ec2/__init__.py +976 -27
  26. aws_cdk/aws_ecs/__init__.py +37 -20
  27. aws_cdk/aws_eks/__init__.py +771 -0
  28. aws_cdk/aws_elasticache/__init__.py +22 -22
  29. aws_cdk/aws_elasticloadbalancingv2/__init__.py +441 -177
  30. aws_cdk/aws_events/__init__.py +550 -30
  31. aws_cdk/aws_fsx/__init__.py +134 -10
  32. aws_cdk/aws_imagebuilder/__init__.py +8 -8
  33. aws_cdk/aws_invoicing/__init__.py +651 -0
  34. aws_cdk/aws_iot/__init__.py +70 -26
  35. aws_cdk/aws_iotfleetwise/__init__.py +1033 -382
  36. aws_cdk/aws_iotsitewise/__init__.py +158 -0
  37. aws_cdk/aws_ivs/__init__.py +43 -31
  38. aws_cdk/aws_kendra/__init__.py +4 -0
  39. aws_cdk/aws_lakeformation/__init__.py +2 -1
  40. aws_cdk/aws_lambda/__init__.py +272 -164
  41. aws_cdk/aws_lambda_event_sources/__init__.py +2 -1
  42. aws_cdk/aws_lambda_nodejs/__init__.py +11 -11
  43. aws_cdk/aws_logs/__init__.py +532 -0
  44. aws_cdk/aws_m2/__init__.py +289 -0
  45. aws_cdk/aws_mediaconnect/__init__.py +24 -14
  46. aws_cdk/aws_medialive/__init__.py +2359 -5
  47. aws_cdk/aws_mediapackage/__init__.py +3 -9
  48. aws_cdk/aws_mediapackagev2/__init__.py +19 -17
  49. aws_cdk/aws_memorydb/__init__.py +664 -4
  50. aws_cdk/aws_mwaa/__init__.py +6 -6
  51. aws_cdk/aws_opensearchserverless/__init__.py +249 -1
  52. aws_cdk/aws_pipes/__init__.py +14 -30
  53. aws_cdk/aws_qbusiness/__init__.py +2021 -67
  54. aws_cdk/aws_quicksight/__init__.py +8270 -10
  55. aws_cdk/aws_rbin/__init__.py +53 -34
  56. aws_cdk/aws_rds/__init__.py +170 -8
  57. aws_cdk/aws_resourcegroups/__init__.py +362 -4
  58. aws_cdk/aws_route53/__init__.py +1177 -10
  59. aws_cdk/aws_route53_targets/__init__.py +297 -91
  60. aws_cdk/aws_route53resolver/__init__.py +19 -8
  61. aws_cdk/aws_s3/__init__.py +4 -4
  62. aws_cdk/aws_s3express/__init__.py +421 -9
  63. aws_cdk/aws_sagemaker/__init__.py +905 -119
  64. aws_cdk/aws_secretsmanager/__init__.py +20 -6
  65. aws_cdk/aws_securityhub/__init__.py +64 -32
  66. aws_cdk/aws_servicediscovery/__init__.py +43 -0
  67. aws_cdk/aws_ses/__init__.py +188 -41
  68. aws_cdk/aws_stepfunctions_tasks/__init__.py +190 -35
  69. aws_cdk/aws_synthetics/__init__.py +7 -5
  70. aws_cdk/aws_vpclattice/__init__.py +1479 -122
  71. aws_cdk/aws_wisdom/__init__.py +8509 -1502
  72. aws_cdk/aws_workspacesweb/__init__.py +1081 -0
  73. {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.173.0.dist-info}/METADATA +1 -1
  74. {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.173.0.dist-info}/RECORD +78 -77
  75. {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.173.0.dist-info}/LICENSE +0 -0
  76. {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.173.0.dist-info}/NOTICE +0 -0
  77. {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.173.0.dist-info}/WHEEL +0 -0
  78. {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.173.0.dist-info}/top_level.txt +0 -0
@@ -1648,6 +1648,35 @@ rds.DatabaseCluster(self, "Cluster",
1648
1648
  monitoring_role=monitoring_role
1649
1649
  )
1650
1650
  ```
1651
+
1652
+ ## Limitless Database Cluster
1653
+
1654
+ Amazon Aurora [PostgreSQL Limitless Database](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/limitless.html) provides automated horizontal scaling to process millions of write transactions per second and manages petabytes of data while maintaining the simplicity of operating inside a single database.
1655
+
1656
+ The following example shows creating an Aurora PostgreSQL Limitless Database cluster:
1657
+
1658
+ ```python
1659
+ # vpc: ec2.IVpc
1660
+
1661
+
1662
+ rds.DatabaseCluster(self, "LimitlessDatabaseCluster",
1663
+ engine=rds.DatabaseClusterEngine.aurora_postgres(
1664
+ version=rds.AuroraPostgresEngineVersion.VER_16_4_LIMITLESS
1665
+ ),
1666
+ vpc=vpc,
1667
+ cluster_scailability_type=rds.ClusterScailabilityType.LIMITLESS,
1668
+ # Requires enabling Performance Insights
1669
+ enable_performance_insights=True,
1670
+ performance_insight_retention=rds.PerformanceInsightRetention.MONTHS_1,
1671
+ # Requires enabling Enhanced Monitoring at the cluster level
1672
+ monitoring_interval=Duration.minutes(1),
1673
+ enable_cluster_level_enhanced_monitoring=True,
1674
+ # Requires I/O optimized storage type
1675
+ storage_type=rds.DBClusterStorageType.AURORA_IOPT1,
1676
+ # Requires exporting the PostgreSQL log to Amazon CloudWatch Logs.
1677
+ cloudwatch_logs_exports=["postgresql"]
1678
+ )
1679
+ ```
1651
1680
  '''
1652
1681
  from pkgutil import extend_path
1653
1682
  __path__ = extend_path(__path__, __name__)
@@ -2860,6 +2889,12 @@ class AuroraMysqlEngineVersion(
2860
2889
  '''Version "8.0.mysql_aurora.3.04.2".'''
2861
2890
  return typing.cast("AuroraMysqlEngineVersion", jsii.sget(cls, "VER_3_04_2"))
2862
2891
 
2892
+ @jsii.python.classproperty
2893
+ @jsii.member(jsii_name="VER_3_04_3")
2894
+ def VER_3_04_3(cls) -> "AuroraMysqlEngineVersion":
2895
+ '''Version "8.0.mysql_aurora.3.04.3".'''
2896
+ return typing.cast("AuroraMysqlEngineVersion", jsii.sget(cls, "VER_3_04_3"))
2897
+
2863
2898
  @jsii.python.classproperty
2864
2899
  @jsii.member(jsii_name="VER_3_05_0")
2865
2900
  def VER_3_05_0(cls) -> "AuroraMysqlEngineVersion":
@@ -3870,6 +3905,12 @@ class AuroraPostgresEngineVersion(
3870
3905
  '''Version "16.4".'''
3871
3906
  return typing.cast("AuroraPostgresEngineVersion", jsii.sget(cls, "VER_16_4"))
3872
3907
 
3908
+ @jsii.python.classproperty
3909
+ @jsii.member(jsii_name="VER_16_4_LIMITLESS")
3910
+ def VER_16_4_LIMITLESS(cls) -> "AuroraPostgresEngineVersion":
3911
+ '''Version "16.4 limitless".'''
3912
+ return typing.cast("AuroraPostgresEngineVersion", jsii.sget(cls, "VER_16_4_LIMITLESS"))
3913
+
3873
3914
  @jsii.python.classproperty
3874
3915
  @jsii.member(jsii_name="VER_16_5")
3875
3916
  def VER_16_5(cls) -> "AuroraPostgresEngineVersion":
@@ -6594,7 +6635,7 @@ class CfnDBCluster(
6594
6635
  Valid for: Aurora Serverless v2 DB clusters
6595
6636
 
6596
6637
  :param max_capacity: The maximum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster. You can specify ACU values in half-step increments, such as 40, 40.5, 41, and so on. The largest value that you can use is 128. The maximum capacity must be higher than 0.5 ACUs. For more information, see `Choosing the maximum Aurora Serverless v2 capacity setting for a cluster <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.setting-capacity.html#aurora-serverless-v2.max_capacity_considerations>`_ in the *Amazon Aurora User Guide* . Aurora automatically sets certain parameters for Aurora Serverless V2 DB instances to values that depend on the maximum ACU value in the capacity range. When you update the maximum capacity value, the ``ParameterApplyStatus`` value for the DB instance changes to ``pending-reboot`` . You can update the parameter values by rebooting the DB instance after changing the capacity range.
6597
- :param min_capacity: The minimum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster. You can specify ACU values in half-step increments, such as 8, 8.5, 9, and so on. The smallest value that you can use is 0.5.
6638
+ :param min_capacity: The minimum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster. You can specify ACU values in half-step increments, such as 8, 8.5, 9, and so on. For Aurora versions that support the Aurora Serverless v2 auto-pause feature, the smallest value that you can use is 0. For versions that don't support Aurora Serverless v2 auto-pause, the smallest value that you can use is 0.5.
6598
6639
 
6599
6640
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-dbcluster-serverlessv2scalingconfiguration.html
6600
6641
  :exampleMetadata: fixture=_generated
@@ -6639,7 +6680,7 @@ class CfnDBCluster(
6639
6680
  def min_capacity(self) -> typing.Optional[jsii.Number]:
6640
6681
  '''The minimum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster.
6641
6682
 
6642
- You can specify ACU values in half-step increments, such as 8, 8.5, 9, and so on. The smallest value that you can use is 0.5.
6683
+ You can specify ACU values in half-step increments, such as 8, 8.5, 9, and so on. For Aurora versions that support the Aurora Serverless v2 auto-pause feature, the smallest value that you can use is 0. For versions that don't support Aurora Serverless v2 auto-pause, the smallest value that you can use is 0.5.
6643
6684
 
6644
6685
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-dbcluster-serverlessv2scalingconfiguration.html#cfn-rds-dbcluster-serverlessv2scalingconfiguration-mincapacity
6645
6686
  '''
@@ -16752,7 +16793,7 @@ class CfnGlobalCluster(
16752
16793
  :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``
16753
16794
  :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.
16754
16795
  :param global_cluster_identifier: The cluster identifier for this global database cluster. This parameter is stored as a lowercase string.
16755
- :param global_endpoint:
16796
+ :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.
16756
16797
  :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``
16757
16798
  :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.
16758
16799
  :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* .
@@ -16891,6 +16932,7 @@ class CfnGlobalCluster(
16891
16932
  def global_endpoint(
16892
16933
  self,
16893
16934
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnGlobalCluster.GlobalEndpointProperty"]]:
16935
+ '''The writer endpoint for the new global database cluster.'''
16894
16936
  return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnGlobalCluster.GlobalEndpointProperty"]], jsii.get(self, "globalEndpoint"))
16895
16937
 
16896
16938
  @global_endpoint.setter
@@ -16957,8 +16999,11 @@ class CfnGlobalCluster(
16957
16999
  )
16958
17000
  class GlobalEndpointProperty:
16959
17001
  def __init__(self, *, address: typing.Optional[builtins.str] = None) -> None:
16960
- '''
16961
- :param address: The writer endpoint for the global database cluster. This endpoint always points to the writer DB instance in the current primary cluster.
17002
+ '''The writer endpoint for the new global database cluster.
17003
+
17004
+ This endpoint always points to the writer DB instance in the current primary cluster.
17005
+
17006
+ :param address: The writer endpoint for the new global database cluster. This endpoint always points to the writer DB instance in the current primary cluster.
16962
17007
 
16963
17008
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-globalcluster-globalendpoint.html
16964
17009
  :exampleMetadata: fixture=_generated
@@ -16982,7 +17027,7 @@ class CfnGlobalCluster(
16982
17027
 
16983
17028
  @builtins.property
16984
17029
  def address(self) -> typing.Optional[builtins.str]:
16985
- '''The writer endpoint for the global database cluster.
17030
+ '''The writer endpoint for the new global database cluster.
16986
17031
 
16987
17032
  This endpoint always points to the writer DB instance in the current primary cluster.
16988
17033
 
@@ -17039,7 +17084,7 @@ class CfnGlobalClusterProps:
17039
17084
  :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``
17040
17085
  :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.
17041
17086
  :param global_cluster_identifier: The cluster identifier for this global database cluster. This parameter is stored as a lowercase string.
17042
- :param global_endpoint:
17087
+ :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.
17043
17088
  :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``
17044
17089
  :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.
17045
17090
  :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* .
@@ -17178,7 +17223,10 @@ class CfnGlobalClusterProps:
17178
17223
  def global_endpoint(
17179
17224
  self,
17180
17225
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnGlobalCluster.GlobalEndpointProperty]]:
17181
- '''
17226
+ '''The writer endpoint for the new global database cluster.
17227
+
17228
+ This endpoint always points to the writer DB instance in the current primary cluster.
17229
+
17182
17230
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-globalcluster.html#cfn-rds-globalcluster-globalendpoint
17183
17231
  '''
17184
17232
  result = self._values.get("global_endpoint")
@@ -19442,6 +19490,45 @@ class ClusterInstanceType(
19442
19490
  return typing.cast("InstanceType", jsii.get(self, "type"))
19443
19491
 
19444
19492
 
19493
+ @jsii.enum(jsii_type="aws-cdk-lib.aws_rds.ClusterScailabilityType")
19494
+ class ClusterScailabilityType(enum.Enum):
19495
+ '''The scalability mode of the Aurora DB cluster.
19496
+
19497
+ :exampleMetadata: infused
19498
+
19499
+ Example::
19500
+
19501
+ # vpc: ec2.IVpc
19502
+
19503
+
19504
+ rds.DatabaseCluster(self, "LimitlessDatabaseCluster",
19505
+ engine=rds.DatabaseClusterEngine.aurora_postgres(
19506
+ version=rds.AuroraPostgresEngineVersion.VER_16_4_LIMITLESS
19507
+ ),
19508
+ vpc=vpc,
19509
+ cluster_scailability_type=rds.ClusterScailabilityType.LIMITLESS,
19510
+ # Requires enabling Performance Insights
19511
+ enable_performance_insights=True,
19512
+ performance_insight_retention=rds.PerformanceInsightRetention.MONTHS_1,
19513
+ # Requires enabling Enhanced Monitoring at the cluster level
19514
+ monitoring_interval=Duration.minutes(1),
19515
+ enable_cluster_level_enhanced_monitoring=True,
19516
+ # Requires I/O optimized storage type
19517
+ storage_type=rds.DBClusterStorageType.AURORA_IOPT1,
19518
+ # Requires exporting the PostgreSQL log to Amazon CloudWatch Logs.
19519
+ cloudwatch_logs_exports=["postgresql"]
19520
+ )
19521
+ '''
19522
+
19523
+ STANDARD = "STANDARD"
19524
+ '''The cluster uses normal DB instance creation.'''
19525
+ LIMITLESS = "LIMITLESS"
19526
+ '''The cluster operates as an Aurora Limitless Database, allowing you to create a DB shard group for horizontal scaling (sharding) capabilities.
19527
+
19528
+ :see: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/limitless.html
19529
+ '''
19530
+
19531
+
19445
19532
  @jsii.data_type(
19446
19533
  jsii_type="aws-cdk-lib.aws_rds.CommonRotationUserOptions",
19447
19534
  jsii_struct_bases=[],
@@ -20581,6 +20668,7 @@ class DatabaseClusterEngine(
20581
20668
  "cloudwatch_logs_retention": "cloudwatchLogsRetention",
20582
20669
  "cloudwatch_logs_retention_role": "cloudwatchLogsRetentionRole",
20583
20670
  "cluster_identifier": "clusterIdentifier",
20671
+ "cluster_scailability_type": "clusterScailabilityType",
20584
20672
  "copy_tags_to_snapshot": "copyTagsToSnapshot",
20585
20673
  "credentials": "credentials",
20586
20674
  "default_database_name": "defaultDatabaseName",
@@ -20637,6 +20725,7 @@ class DatabaseClusterFromSnapshotProps:
20637
20725
  cloudwatch_logs_retention: typing.Optional[_RetentionDays_070f99f0] = None,
20638
20726
  cloudwatch_logs_retention_role: typing.Optional[_IRole_235f5d8e] = None,
20639
20727
  cluster_identifier: typing.Optional[builtins.str] = None,
20728
+ cluster_scailability_type: typing.Optional[ClusterScailabilityType] = None,
20640
20729
  copy_tags_to_snapshot: typing.Optional[builtins.bool] = None,
20641
20730
  credentials: typing.Optional[Credentials] = None,
20642
20731
  default_database_name: typing.Optional[builtins.str] = None,
@@ -20690,6 +20779,7 @@ class DatabaseClusterFromSnapshotProps:
20690
20779
  :param cloudwatch_logs_retention: The number of days log events are kept in CloudWatch Logs. When updating this property, unsetting it doesn't remove the log retention policy. To remove the retention policy, set the value to ``Infinity``. Default: - logs never expire
20691
20780
  :param cloudwatch_logs_retention_role: The IAM role for the Lambda function associated with the custom resource that sets the retention policy. Default: - a new role is created.
20692
20781
  :param cluster_identifier: An optional identifier for the cluster. Default: - A name is automatically generated.
20782
+ :param cluster_scailability_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: ClusterScailabilityType.STANDARD
20693
20783
  :param copy_tags_to_snapshot: Whether to copy tags to the snapshot when a snapshot is created. Default: - true
20694
20784
  :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.
20695
20785
  :param default_database_name: Name of a database which is automatically created inside the cluster. Default: - Database is not created in cluster.
@@ -20762,6 +20852,7 @@ class DatabaseClusterFromSnapshotProps:
20762
20852
  check_type(argname="argument cloudwatch_logs_retention", value=cloudwatch_logs_retention, expected_type=type_hints["cloudwatch_logs_retention"])
20763
20853
  check_type(argname="argument cloudwatch_logs_retention_role", value=cloudwatch_logs_retention_role, expected_type=type_hints["cloudwatch_logs_retention_role"])
20764
20854
  check_type(argname="argument cluster_identifier", value=cluster_identifier, expected_type=type_hints["cluster_identifier"])
20855
+ check_type(argname="argument cluster_scailability_type", value=cluster_scailability_type, expected_type=type_hints["cluster_scailability_type"])
20765
20856
  check_type(argname="argument copy_tags_to_snapshot", value=copy_tags_to_snapshot, expected_type=type_hints["copy_tags_to_snapshot"])
20766
20857
  check_type(argname="argument credentials", value=credentials, expected_type=type_hints["credentials"])
20767
20858
  check_type(argname="argument default_database_name", value=default_database_name, expected_type=type_hints["default_database_name"])
@@ -20821,6 +20912,8 @@ class DatabaseClusterFromSnapshotProps:
20821
20912
  self._values["cloudwatch_logs_retention_role"] = cloudwatch_logs_retention_role
20822
20913
  if cluster_identifier is not None:
20823
20914
  self._values["cluster_identifier"] = cluster_identifier
20915
+ if cluster_scailability_type is not None:
20916
+ self._values["cluster_scailability_type"] = cluster_scailability_type
20824
20917
  if copy_tags_to_snapshot is not None:
20825
20918
  self._values["copy_tags_to_snapshot"] = copy_tags_to_snapshot
20826
20919
  if credentials is not None:
@@ -21000,6 +21093,17 @@ class DatabaseClusterFromSnapshotProps:
21000
21093
  result = self._values.get("cluster_identifier")
21001
21094
  return typing.cast(typing.Optional[builtins.str], result)
21002
21095
 
21096
+ @builtins.property
21097
+ def cluster_scailability_type(self) -> typing.Optional[ClusterScailabilityType]:
21098
+ '''Specifies the scalability mode of the Aurora DB cluster.
21099
+
21100
+ Set LIMITLESS if you want to use a limitless database; otherwise, set it to STANDARD.
21101
+
21102
+ :default: ClusterScailabilityType.STANDARD
21103
+ '''
21104
+ result = self._values.get("cluster_scailability_type")
21105
+ return typing.cast(typing.Optional[ClusterScailabilityType], result)
21106
+
21003
21107
  @builtins.property
21004
21108
  def copy_tags_to_snapshot(self) -> typing.Optional[builtins.bool]:
21005
21109
  '''Whether to copy tags to the snapshot when a snapshot is created.
@@ -21503,6 +21607,7 @@ class DatabaseClusterFromSnapshotProps:
21503
21607
  "cloudwatch_logs_retention": "cloudwatchLogsRetention",
21504
21608
  "cloudwatch_logs_retention_role": "cloudwatchLogsRetentionRole",
21505
21609
  "cluster_identifier": "clusterIdentifier",
21610
+ "cluster_scailability_type": "clusterScailabilityType",
21506
21611
  "copy_tags_to_snapshot": "copyTagsToSnapshot",
21507
21612
  "credentials": "credentials",
21508
21613
  "default_database_name": "defaultDatabaseName",
@@ -21557,6 +21662,7 @@ class DatabaseClusterProps:
21557
21662
  cloudwatch_logs_retention: typing.Optional[_RetentionDays_070f99f0] = None,
21558
21663
  cloudwatch_logs_retention_role: typing.Optional[_IRole_235f5d8e] = None,
21559
21664
  cluster_identifier: typing.Optional[builtins.str] = None,
21665
+ cluster_scailability_type: typing.Optional[ClusterScailabilityType] = None,
21560
21666
  copy_tags_to_snapshot: typing.Optional[builtins.bool] = None,
21561
21667
  credentials: typing.Optional[Credentials] = None,
21562
21668
  default_database_name: typing.Optional[builtins.str] = None,
@@ -21608,6 +21714,7 @@ class DatabaseClusterProps:
21608
21714
  :param cloudwatch_logs_retention: The number of days log events are kept in CloudWatch Logs. When updating this property, unsetting it doesn't remove the log retention policy. To remove the retention policy, set the value to ``Infinity``. Default: - logs never expire
21609
21715
  :param cloudwatch_logs_retention_role: The IAM role for the Lambda function associated with the custom resource that sets the retention policy. Default: - a new role is created.
21610
21716
  :param cluster_identifier: An optional identifier for the cluster. Default: - A name is automatically generated.
21717
+ :param cluster_scailability_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: ClusterScailabilityType.STANDARD
21611
21718
  :param copy_tags_to_snapshot: Whether to copy tags to the snapshot when a snapshot is created. Default: - true
21612
21719
  :param credentials: Credentials for the administrative user. Default: - A username of 'admin' (or 'postgres' for PostgreSQL) and SecretsManager-generated password
21613
21720
  :param default_database_name: Name of a database which is automatically created inside the cluster. Default: - Database is not created in cluster.
@@ -21687,6 +21794,7 @@ class DatabaseClusterProps:
21687
21794
  check_type(argname="argument cloudwatch_logs_retention", value=cloudwatch_logs_retention, expected_type=type_hints["cloudwatch_logs_retention"])
21688
21795
  check_type(argname="argument cloudwatch_logs_retention_role", value=cloudwatch_logs_retention_role, expected_type=type_hints["cloudwatch_logs_retention_role"])
21689
21796
  check_type(argname="argument cluster_identifier", value=cluster_identifier, expected_type=type_hints["cluster_identifier"])
21797
+ check_type(argname="argument cluster_scailability_type", value=cluster_scailability_type, expected_type=type_hints["cluster_scailability_type"])
21690
21798
  check_type(argname="argument copy_tags_to_snapshot", value=copy_tags_to_snapshot, expected_type=type_hints["copy_tags_to_snapshot"])
21691
21799
  check_type(argname="argument credentials", value=credentials, expected_type=type_hints["credentials"])
21692
21800
  check_type(argname="argument default_database_name", value=default_database_name, expected_type=type_hints["default_database_name"])
@@ -21744,6 +21852,8 @@ class DatabaseClusterProps:
21744
21852
  self._values["cloudwatch_logs_retention_role"] = cloudwatch_logs_retention_role
21745
21853
  if cluster_identifier is not None:
21746
21854
  self._values["cluster_identifier"] = cluster_identifier
21855
+ if cluster_scailability_type is not None:
21856
+ self._values["cluster_scailability_type"] = cluster_scailability_type
21747
21857
  if copy_tags_to_snapshot is not None:
21748
21858
  self._values["copy_tags_to_snapshot"] = copy_tags_to_snapshot
21749
21859
  if credentials is not None:
@@ -21910,6 +22020,17 @@ class DatabaseClusterProps:
21910
22020
  result = self._values.get("cluster_identifier")
21911
22021
  return typing.cast(typing.Optional[builtins.str], result)
21912
22022
 
22023
+ @builtins.property
22024
+ def cluster_scailability_type(self) -> typing.Optional[ClusterScailabilityType]:
22025
+ '''Specifies the scalability mode of the Aurora DB cluster.
22026
+
22027
+ Set LIMITLESS if you want to use a limitless database; otherwise, set it to STANDARD.
22028
+
22029
+ :default: ClusterScailabilityType.STANDARD
22030
+ '''
22031
+ result = self._values.get("cluster_scailability_type")
22032
+ return typing.cast(typing.Optional[ClusterScailabilityType], result)
22033
+
21913
22034
  @builtins.property
21914
22035
  def copy_tags_to_snapshot(self) -> typing.Optional[builtins.bool]:
21915
22036
  '''Whether to copy tags to the snapshot when a snapshot is created.
@@ -31806,6 +31927,12 @@ class MysqlEngineVersion(
31806
31927
  '''Version "8.0.40".'''
31807
31928
  return typing.cast("MysqlEngineVersion", jsii.sget(cls, "VER_8_0_40"))
31808
31929
 
31930
+ @jsii.python.classproperty
31931
+ @jsii.member(jsii_name="VER_8_4_3")
31932
+ def VER_8_4_3(cls) -> "MysqlEngineVersion":
31933
+ '''Version "8.4.3".'''
31934
+ return typing.cast("MysqlEngineVersion", jsii.sget(cls, "VER_8_4_3"))
31935
+
31809
31936
  @builtins.property
31810
31937
  @jsii.member(jsii_name="mysqlFullVersion")
31811
31938
  def mysql_full_version(self) -> builtins.str:
@@ -38833,6 +38960,12 @@ class SqlServerEngineVersion(
38833
38960
  '''Version "13.00.6450.1.v1".'''
38834
38961
  return typing.cast("SqlServerEngineVersion", jsii.sget(cls, "VER_13_00_6450_1_V1"))
38835
38962
 
38963
+ @jsii.python.classproperty
38964
+ @jsii.member(jsii_name="VER_13_00_6455_2_V1")
38965
+ def VER_13_00_6455_2_V1(cls) -> "SqlServerEngineVersion":
38966
+ '''Version "13.00.6455.2.v1".'''
38967
+ return typing.cast("SqlServerEngineVersion", jsii.sget(cls, "VER_13_00_6455_2_V1"))
38968
+
38836
38969
  @jsii.python.classproperty
38837
38970
  @jsii.member(jsii_name="VER_14")
38838
38971
  def VER_14(cls) -> "SqlServerEngineVersion":
@@ -38977,6 +39110,12 @@ class SqlServerEngineVersion(
38977
39110
  '''Version "14.00.3480.1.v1 ".'''
38978
39111
  return typing.cast("SqlServerEngineVersion", jsii.sget(cls, "VER_14_00_3480_1_V1"))
38979
39112
 
39113
+ @jsii.python.classproperty
39114
+ @jsii.member(jsii_name="VER_14_00_3485_1_V1")
39115
+ def VER_14_00_3485_1_V1(cls) -> "SqlServerEngineVersion":
39116
+ '''Version "14.00.3485.1.v1 ".'''
39117
+ return typing.cast("SqlServerEngineVersion", jsii.sget(cls, "VER_14_00_3485_1_V1"))
39118
+
38980
39119
  @jsii.python.classproperty
38981
39120
  @jsii.member(jsii_name="VER_15")
38982
39121
  def VER_15(cls) -> "SqlServerEngineVersion":
@@ -39085,6 +39224,12 @@ class SqlServerEngineVersion(
39085
39224
  '''Version "15.00.4395.2.v1".'''
39086
39225
  return typing.cast("SqlServerEngineVersion", jsii.sget(cls, "VER_15_00_4395_2_V1"))
39087
39226
 
39227
+ @jsii.python.classproperty
39228
+ @jsii.member(jsii_name="VER_15_00_4410_1_V1")
39229
+ def VER_15_00_4410_1_V1(cls) -> "SqlServerEngineVersion":
39230
+ '''Version "15.00.4410.1.v1".'''
39231
+ return typing.cast("SqlServerEngineVersion", jsii.sget(cls, "VER_15_00_4410_1_V1"))
39232
+
39088
39233
  @jsii.python.classproperty
39089
39234
  @jsii.member(jsii_name="VER_16")
39090
39235
  def VER_16(cls) -> "SqlServerEngineVersion":
@@ -39151,6 +39296,12 @@ class SqlServerEngineVersion(
39151
39296
  '''Version "16.00.4150.1.v1".'''
39152
39297
  return typing.cast("SqlServerEngineVersion", jsii.sget(cls, "VER_16_00_4150_1_V1"))
39153
39298
 
39299
+ @jsii.python.classproperty
39300
+ @jsii.member(jsii_name="VER_16_00_4165_4_V1")
39301
+ def VER_16_00_4165_4_V1(cls) -> "SqlServerEngineVersion":
39302
+ '''Version "16.00.4165.4.v1".'''
39303
+ return typing.cast("SqlServerEngineVersion", jsii.sget(cls, "VER_16_00_4165_4_V1"))
39304
+
39154
39305
  @builtins.property
39155
39306
  @jsii.member(jsii_name="sqlServerFullVersion")
39156
39307
  def sql_server_full_version(self) -> builtins.str:
@@ -40789,6 +40940,7 @@ class DatabaseClusterFromSnapshot(
40789
40940
  cloudwatch_logs_retention: typing.Optional[_RetentionDays_070f99f0] = None,
40790
40941
  cloudwatch_logs_retention_role: typing.Optional[_IRole_235f5d8e] = None,
40791
40942
  cluster_identifier: typing.Optional[builtins.str] = None,
40943
+ cluster_scailability_type: typing.Optional[ClusterScailabilityType] = None,
40792
40944
  copy_tags_to_snapshot: typing.Optional[builtins.bool] = None,
40793
40945
  credentials: typing.Optional[Credentials] = None,
40794
40946
  default_database_name: typing.Optional[builtins.str] = None,
@@ -40843,6 +40995,7 @@ class DatabaseClusterFromSnapshot(
40843
40995
  :param cloudwatch_logs_retention: The number of days log events are kept in CloudWatch Logs. When updating this property, unsetting it doesn't remove the log retention policy. To remove the retention policy, set the value to ``Infinity``. Default: - logs never expire
40844
40996
  :param cloudwatch_logs_retention_role: The IAM role for the Lambda function associated with the custom resource that sets the retention policy. Default: - a new role is created.
40845
40997
  :param cluster_identifier: An optional identifier for the cluster. Default: - A name is automatically generated.
40998
+ :param cluster_scailability_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: ClusterScailabilityType.STANDARD
40846
40999
  :param copy_tags_to_snapshot: Whether to copy tags to the snapshot when a snapshot is created. Default: - true
40847
41000
  :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.
40848
41001
  :param default_database_name: Name of a database which is automatically created inside the cluster. Default: - Database is not created in cluster.
@@ -40899,6 +41052,7 @@ class DatabaseClusterFromSnapshot(
40899
41052
  cloudwatch_logs_retention=cloudwatch_logs_retention,
40900
41053
  cloudwatch_logs_retention_role=cloudwatch_logs_retention_role,
40901
41054
  cluster_identifier=cluster_identifier,
41055
+ cluster_scailability_type=cluster_scailability_type,
40902
41056
  copy_tags_to_snapshot=copy_tags_to_snapshot,
40903
41057
  credentials=credentials,
40904
41058
  default_database_name=default_database_name,
@@ -44823,6 +44977,7 @@ class DatabaseCluster(
44823
44977
  cloudwatch_logs_retention: typing.Optional[_RetentionDays_070f99f0] = None,
44824
44978
  cloudwatch_logs_retention_role: typing.Optional[_IRole_235f5d8e] = None,
44825
44979
  cluster_identifier: typing.Optional[builtins.str] = None,
44980
+ cluster_scailability_type: typing.Optional[ClusterScailabilityType] = None,
44826
44981
  copy_tags_to_snapshot: typing.Optional[builtins.bool] = None,
44827
44982
  credentials: typing.Optional[Credentials] = None,
44828
44983
  default_database_name: typing.Optional[builtins.str] = None,
@@ -44875,6 +45030,7 @@ class DatabaseCluster(
44875
45030
  :param cloudwatch_logs_retention: The number of days log events are kept in CloudWatch Logs. When updating this property, unsetting it doesn't remove the log retention policy. To remove the retention policy, set the value to ``Infinity``. Default: - logs never expire
44876
45031
  :param cloudwatch_logs_retention_role: The IAM role for the Lambda function associated with the custom resource that sets the retention policy. Default: - a new role is created.
44877
45032
  :param cluster_identifier: An optional identifier for the cluster. Default: - A name is automatically generated.
45033
+ :param cluster_scailability_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: ClusterScailabilityType.STANDARD
44878
45034
  :param copy_tags_to_snapshot: Whether to copy tags to the snapshot when a snapshot is created. Default: - true
44879
45035
  :param credentials: Credentials for the administrative user. Default: - A username of 'admin' (or 'postgres' for PostgreSQL) and SecretsManager-generated password
44880
45036
  :param default_database_name: Name of a database which is automatically created inside the cluster. Default: - Database is not created in cluster.
@@ -44929,6 +45085,7 @@ class DatabaseCluster(
44929
45085
  cloudwatch_logs_retention=cloudwatch_logs_retention,
44930
45086
  cloudwatch_logs_retention_role=cloudwatch_logs_retention_role,
44931
45087
  cluster_identifier=cluster_identifier,
45088
+ cluster_scailability_type=cluster_scailability_type,
44932
45089
  copy_tags_to_snapshot=copy_tags_to_snapshot,
44933
45090
  credentials=credentials,
44934
45091
  default_database_name=default_database_name,
@@ -45811,6 +45968,7 @@ __all__ = [
45811
45968
  "ClusterInstanceOptions",
45812
45969
  "ClusterInstanceProps",
45813
45970
  "ClusterInstanceType",
45971
+ "ClusterScailabilityType",
45814
45972
  "CommonRotationUserOptions",
45815
45973
  "Credentials",
45816
45974
  "CredentialsBaseOptions",
@@ -48573,6 +48731,7 @@ def _typecheckingstub__1e44b5aef872ca17869a17181382f06cd0166bdbe07e2c33701d3bf1e
48573
48731
  cloudwatch_logs_retention: typing.Optional[_RetentionDays_070f99f0] = None,
48574
48732
  cloudwatch_logs_retention_role: typing.Optional[_IRole_235f5d8e] = None,
48575
48733
  cluster_identifier: typing.Optional[builtins.str] = None,
48734
+ cluster_scailability_type: typing.Optional[ClusterScailabilityType] = None,
48576
48735
  copy_tags_to_snapshot: typing.Optional[builtins.bool] = None,
48577
48736
  credentials: typing.Optional[Credentials] = None,
48578
48737
  default_database_name: typing.Optional[builtins.str] = None,
@@ -48628,6 +48787,7 @@ def _typecheckingstub__a32e21c90ab65d3cfdb3b7ef2a0d741ba1528ec8824cd1817d1e485b4
48628
48787
  cloudwatch_logs_retention: typing.Optional[_RetentionDays_070f99f0] = None,
48629
48788
  cloudwatch_logs_retention_role: typing.Optional[_IRole_235f5d8e] = None,
48630
48789
  cluster_identifier: typing.Optional[builtins.str] = None,
48790
+ cluster_scailability_type: typing.Optional[ClusterScailabilityType] = None,
48631
48791
  copy_tags_to_snapshot: typing.Optional[builtins.bool] = None,
48632
48792
  credentials: typing.Optional[Credentials] = None,
48633
48793
  default_database_name: typing.Optional[builtins.str] = None,
@@ -49835,6 +49995,7 @@ def _typecheckingstub__d1a2e259091e12a41b0f5818df495769518e049ebcc89ed340ffc7ba4
49835
49995
  cloudwatch_logs_retention: typing.Optional[_RetentionDays_070f99f0] = None,
49836
49996
  cloudwatch_logs_retention_role: typing.Optional[_IRole_235f5d8e] = None,
49837
49997
  cluster_identifier: typing.Optional[builtins.str] = None,
49998
+ cluster_scailability_type: typing.Optional[ClusterScailabilityType] = None,
49838
49999
  copy_tags_to_snapshot: typing.Optional[builtins.bool] = None,
49839
50000
  credentials: typing.Optional[Credentials] = None,
49840
50001
  default_database_name: typing.Optional[builtins.str] = None,
@@ -50323,6 +50484,7 @@ def _typecheckingstub__c6184cbbefaa372690b9776dafecbf5857cf9bfbab91d1666aad22c56
50323
50484
  cloudwatch_logs_retention: typing.Optional[_RetentionDays_070f99f0] = None,
50324
50485
  cloudwatch_logs_retention_role: typing.Optional[_IRole_235f5d8e] = None,
50325
50486
  cluster_identifier: typing.Optional[builtins.str] = None,
50487
+ cluster_scailability_type: typing.Optional[ClusterScailabilityType] = None,
50326
50488
  copy_tags_to_snapshot: typing.Optional[builtins.bool] = None,
50327
50489
  credentials: typing.Optional[Credentials] = None,
50328
50490
  default_database_name: typing.Optional[builtins.str] = None,