aws-cdk-lib 2.134.0__py3-none-any.whl → 2.136.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 (282) hide show
  1. aws_cdk/__init__.py +5 -0
  2. aws_cdk/_jsii/__init__.py +4 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.134.0.jsii.tgz → aws-cdk-lib@2.136.0.jsii.tgz} +0 -0
  4. aws_cdk/alexa_ask/__init__.py +3 -0
  5. aws_cdk/assertions/__init__.py +3 -0
  6. aws_cdk/aws_accessanalyzer/__init__.py +3 -0
  7. aws_cdk/aws_acmpca/__init__.py +3 -0
  8. aws_cdk/aws_amazonmq/__init__.py +3 -0
  9. aws_cdk/aws_amplify/__init__.py +3 -0
  10. aws_cdk/aws_amplifyuibuilder/__init__.py +3 -0
  11. aws_cdk/aws_apigateway/__init__.py +3 -0
  12. aws_cdk/aws_apigatewayv2/__init__.py +3 -0
  13. aws_cdk/aws_apigatewayv2_authorizers/__init__.py +3 -0
  14. aws_cdk/aws_apigatewayv2_integrations/__init__.py +3 -0
  15. aws_cdk/aws_appconfig/__init__.py +3 -0
  16. aws_cdk/aws_appflow/__init__.py +3 -0
  17. aws_cdk/aws_appintegrations/__init__.py +30 -21
  18. aws_cdk/aws_applicationautoscaling/__init__.py +4 -1
  19. aws_cdk/aws_applicationinsights/__init__.py +3 -0
  20. aws_cdk/aws_appmesh/__init__.py +4 -1
  21. aws_cdk/aws_apprunner/__init__.py +3 -0
  22. aws_cdk/aws_appstream/__init__.py +3 -0
  23. aws_cdk/aws_appsync/__init__.py +3 -0
  24. aws_cdk/aws_aps/__init__.py +805 -1
  25. aws_cdk/aws_arczonalshift/__init__.py +3 -0
  26. aws_cdk/aws_athena/__init__.py +3 -0
  27. aws_cdk/aws_auditmanager/__init__.py +3 -0
  28. aws_cdk/aws_autoscaling/__init__.py +3 -0
  29. aws_cdk/aws_autoscaling_common/__init__.py +3 -0
  30. aws_cdk/aws_autoscaling_hooktargets/__init__.py +3 -0
  31. aws_cdk/aws_autoscalingplans/__init__.py +3 -0
  32. aws_cdk/aws_b2bi/__init__.py +3 -0
  33. aws_cdk/aws_backup/__init__.py +3 -0
  34. aws_cdk/aws_backupgateway/__init__.py +3 -0
  35. aws_cdk/aws_batch/__init__.py +3 -0
  36. aws_cdk/aws_bedrock/__init__.py +3 -0
  37. aws_cdk/aws_billingconductor/__init__.py +3 -0
  38. aws_cdk/aws_budgets/__init__.py +3 -0
  39. aws_cdk/aws_cassandra/__init__.py +3 -0
  40. aws_cdk/aws_ce/__init__.py +3 -0
  41. aws_cdk/aws_certificatemanager/__init__.py +3 -0
  42. aws_cdk/aws_chatbot/__init__.py +3 -0
  43. aws_cdk/aws_cleanrooms/__init__.py +183 -6
  44. aws_cdk/aws_cloud9/__init__.py +3 -0
  45. aws_cdk/aws_cloudformation/__init__.py +3 -0
  46. aws_cdk/aws_cloudfront/__init__.py +3 -0
  47. aws_cdk/aws_cloudfront/experimental/__init__.py +3 -0
  48. aws_cdk/aws_cloudfront_origins/__init__.py +3 -0
  49. aws_cdk/aws_cloudtrail/__init__.py +3 -0
  50. aws_cdk/aws_cloudwatch/__init__.py +3 -0
  51. aws_cdk/aws_cloudwatch_actions/__init__.py +3 -0
  52. aws_cdk/aws_codeartifact/__init__.py +3 -0
  53. aws_cdk/aws_codebuild/__init__.py +17 -11
  54. aws_cdk/aws_codecommit/__init__.py +3 -0
  55. aws_cdk/aws_codedeploy/__init__.py +3 -0
  56. aws_cdk/aws_codeguruprofiler/__init__.py +3 -0
  57. aws_cdk/aws_codegurureviewer/__init__.py +3 -0
  58. aws_cdk/aws_codepipeline/__init__.py +3 -0
  59. aws_cdk/aws_codepipeline_actions/__init__.py +3 -0
  60. aws_cdk/aws_codestar/__init__.py +3 -0
  61. aws_cdk/aws_codestarconnections/__init__.py +91 -2
  62. aws_cdk/aws_codestarnotifications/__init__.py +3 -0
  63. aws_cdk/aws_cognito/__init__.py +3 -0
  64. aws_cdk/aws_comprehend/__init__.py +3 -0
  65. aws_cdk/aws_config/__init__.py +3 -0
  66. aws_cdk/aws_connect/__init__.py +21 -0
  67. aws_cdk/aws_connectcampaigns/__init__.py +3 -0
  68. aws_cdk/aws_controltower/__init__.py +3 -0
  69. aws_cdk/aws_cur/__init__.py +3 -0
  70. aws_cdk/aws_customerprofiles/__init__.py +3 -0
  71. aws_cdk/aws_databrew/__init__.py +3 -0
  72. aws_cdk/aws_datapipeline/__init__.py +3 -0
  73. aws_cdk/aws_datasync/__init__.py +3 -0
  74. aws_cdk/aws_datazone/__init__.py +3 -0
  75. aws_cdk/aws_dax/__init__.py +3 -0
  76. aws_cdk/aws_detective/__init__.py +3 -0
  77. aws_cdk/aws_devicefarm/__init__.py +3 -0
  78. aws_cdk/aws_devopsguru/__init__.py +3 -0
  79. aws_cdk/aws_directoryservice/__init__.py +3 -0
  80. aws_cdk/aws_dlm/__init__.py +3 -0
  81. aws_cdk/aws_dms/__init__.py +30 -9
  82. aws_cdk/aws_docdb/__init__.py +3 -0
  83. aws_cdk/aws_docdbelastic/__init__.py +20 -9
  84. aws_cdk/aws_dynamodb/__init__.py +3 -0
  85. aws_cdk/aws_ec2/__init__.py +2908 -284
  86. aws_cdk/aws_ecr/__init__.py +3 -0
  87. aws_cdk/aws_ecr_assets/__init__.py +3 -0
  88. aws_cdk/aws_ecs/__init__.py +30 -36
  89. aws_cdk/aws_ecs_patterns/__init__.py +3 -0
  90. aws_cdk/aws_efs/__init__.py +3 -0
  91. aws_cdk/aws_eks/__init__.py +42 -22
  92. aws_cdk/aws_elasticache/__init__.py +3 -0
  93. aws_cdk/aws_elasticbeanstalk/__init__.py +3 -0
  94. aws_cdk/aws_elasticloadbalancing/__init__.py +3 -0
  95. aws_cdk/aws_elasticloadbalancingv2/__init__.py +75 -15
  96. aws_cdk/aws_elasticloadbalancingv2_actions/__init__.py +3 -0
  97. aws_cdk/aws_elasticloadbalancingv2_targets/__init__.py +3 -0
  98. aws_cdk/aws_elasticsearch/__init__.py +3 -0
  99. aws_cdk/aws_emr/__init__.py +3 -0
  100. aws_cdk/aws_emrcontainers/__init__.py +3 -0
  101. aws_cdk/aws_emrserverless/__init__.py +3 -0
  102. aws_cdk/aws_entityresolution/__init__.py +5 -2
  103. aws_cdk/aws_events/__init__.py +3 -0
  104. aws_cdk/aws_events_targets/__init__.py +3 -0
  105. aws_cdk/aws_eventschemas/__init__.py +3 -0
  106. aws_cdk/aws_evidently/__init__.py +3 -0
  107. aws_cdk/aws_finspace/__init__.py +3 -0
  108. aws_cdk/aws_fis/__init__.py +3 -0
  109. aws_cdk/aws_fms/__init__.py +3 -0
  110. aws_cdk/aws_forecast/__init__.py +3 -0
  111. aws_cdk/aws_frauddetector/__init__.py +3 -0
  112. aws_cdk/aws_fsx/__init__.py +3 -0
  113. aws_cdk/aws_gamelift/__init__.py +3 -0
  114. aws_cdk/aws_globalaccelerator/__init__.py +5 -2
  115. aws_cdk/aws_globalaccelerator_endpoints/__init__.py +3 -0
  116. aws_cdk/aws_glue/__init__.py +18 -8
  117. aws_cdk/aws_grafana/__init__.py +3 -0
  118. aws_cdk/aws_greengrass/__init__.py +3 -0
  119. aws_cdk/aws_greengrassv2/__init__.py +3 -0
  120. aws_cdk/aws_groundstation/__init__.py +3 -0
  121. aws_cdk/aws_guardduty/__init__.py +3 -0
  122. aws_cdk/aws_healthimaging/__init__.py +3 -0
  123. aws_cdk/aws_healthlake/__init__.py +3 -0
  124. aws_cdk/aws_iam/__init__.py +44 -13
  125. aws_cdk/aws_identitystore/__init__.py +3 -0
  126. aws_cdk/aws_imagebuilder/__init__.py +3 -0
  127. aws_cdk/aws_inspector/__init__.py +3 -0
  128. aws_cdk/aws_inspectorv2/__init__.py +3 -0
  129. aws_cdk/aws_internetmonitor/__init__.py +3 -0
  130. aws_cdk/aws_iot/__init__.py +3 -0
  131. aws_cdk/aws_iot1click/__init__.py +3 -0
  132. aws_cdk/aws_iotanalytics/__init__.py +3 -0
  133. aws_cdk/aws_iotcoredeviceadvisor/__init__.py +3 -0
  134. aws_cdk/aws_iotevents/__init__.py +3 -0
  135. aws_cdk/aws_iotfleethub/__init__.py +3 -0
  136. aws_cdk/aws_iotfleetwise/__init__.py +3 -0
  137. aws_cdk/aws_iotsitewise/__init__.py +37 -14
  138. aws_cdk/aws_iotthingsgraph/__init__.py +3 -0
  139. aws_cdk/aws_iottwinmaker/__init__.py +3 -0
  140. aws_cdk/aws_iotwireless/__init__.py +3 -0
  141. aws_cdk/aws_ivs/__init__.py +3 -0
  142. aws_cdk/aws_ivschat/__init__.py +3 -0
  143. aws_cdk/aws_kafkaconnect/__init__.py +30 -27
  144. aws_cdk/aws_kendra/__init__.py +22 -15
  145. aws_cdk/aws_kendraranking/__init__.py +3 -0
  146. aws_cdk/aws_kinesis/__init__.py +3 -0
  147. aws_cdk/aws_kinesisanalytics/__init__.py +3 -0
  148. aws_cdk/aws_kinesisanalyticsv2/__init__.py +3 -0
  149. aws_cdk/aws_kinesisfirehose/__init__.py +11 -4
  150. aws_cdk/aws_kinesisvideo/__init__.py +3 -0
  151. aws_cdk/aws_kms/__init__.py +3 -0
  152. aws_cdk/aws_lakeformation/__init__.py +3 -0
  153. aws_cdk/aws_lambda/__init__.py +9 -0
  154. aws_cdk/aws_lambda_destinations/__init__.py +3 -0
  155. aws_cdk/aws_lambda_event_sources/__init__.py +45 -18
  156. aws_cdk/aws_lambda_nodejs/__init__.py +3 -0
  157. aws_cdk/aws_lex/__init__.py +3 -0
  158. aws_cdk/aws_licensemanager/__init__.py +3 -0
  159. aws_cdk/aws_lightsail/__init__.py +3 -0
  160. aws_cdk/aws_location/__init__.py +3 -0
  161. aws_cdk/aws_logs/__init__.py +3 -0
  162. aws_cdk/aws_logs_destinations/__init__.py +3 -0
  163. aws_cdk/aws_lookoutequipment/__init__.py +3 -0
  164. aws_cdk/aws_lookoutmetrics/__init__.py +3 -0
  165. aws_cdk/aws_lookoutvision/__init__.py +3 -0
  166. aws_cdk/aws_m2/__init__.py +3 -0
  167. aws_cdk/aws_macie/__init__.py +3 -0
  168. aws_cdk/aws_managedblockchain/__init__.py +5 -3
  169. aws_cdk/aws_mediaconnect/__init__.py +3 -0
  170. aws_cdk/aws_mediaconvert/__init__.py +3 -0
  171. aws_cdk/aws_medialive/__init__.py +3 -0
  172. aws_cdk/aws_mediapackage/__init__.py +3 -0
  173. aws_cdk/aws_mediapackagev2/__init__.py +3 -0
  174. aws_cdk/aws_mediastore/__init__.py +3 -0
  175. aws_cdk/aws_mediatailor/__init__.py +3 -0
  176. aws_cdk/aws_memorydb/__init__.py +3 -0
  177. aws_cdk/aws_msk/__init__.py +3 -0
  178. aws_cdk/aws_mwaa/__init__.py +3 -0
  179. aws_cdk/aws_neptune/__init__.py +3 -0
  180. aws_cdk/aws_neptunegraph/__init__.py +3 -0
  181. aws_cdk/aws_networkfirewall/__init__.py +3 -0
  182. aws_cdk/aws_networkmanager/__init__.py +3 -0
  183. aws_cdk/aws_nimblestudio/__init__.py +3 -0
  184. aws_cdk/aws_oam/__init__.py +6 -3
  185. aws_cdk/aws_omics/__init__.py +3 -0
  186. aws_cdk/aws_opensearchserverless/__init__.py +3 -0
  187. aws_cdk/aws_opensearchservice/__init__.py +8 -2
  188. aws_cdk/aws_opsworks/__init__.py +3 -0
  189. aws_cdk/aws_opsworkscm/__init__.py +3 -0
  190. aws_cdk/aws_organizations/__init__.py +3 -0
  191. aws_cdk/aws_osis/__init__.py +3 -0
  192. aws_cdk/aws_panorama/__init__.py +3 -0
  193. aws_cdk/aws_pcaconnectorad/__init__.py +3 -0
  194. aws_cdk/aws_personalize/__init__.py +3 -0
  195. aws_cdk/aws_pinpoint/__init__.py +3 -0
  196. aws_cdk/aws_pinpointemail/__init__.py +3 -0
  197. aws_cdk/aws_pipes/__init__.py +3 -0
  198. aws_cdk/aws_proton/__init__.py +3 -0
  199. aws_cdk/aws_qldb/__init__.py +3 -0
  200. aws_cdk/aws_quicksight/__init__.py +3 -0
  201. aws_cdk/aws_ram/__init__.py +3 -0
  202. aws_cdk/aws_rds/__init__.py +219 -13
  203. aws_cdk/aws_redshift/__init__.py +3 -0
  204. aws_cdk/aws_redshiftserverless/__init__.py +3 -0
  205. aws_cdk/aws_refactorspaces/__init__.py +3 -0
  206. aws_cdk/aws_rekognition/__init__.py +3 -0
  207. aws_cdk/aws_resiliencehub/__init__.py +3 -0
  208. aws_cdk/aws_resourceexplorer2/__init__.py +3 -0
  209. aws_cdk/aws_resourcegroups/__init__.py +3 -0
  210. aws_cdk/aws_robomaker/__init__.py +3 -0
  211. aws_cdk/aws_rolesanywhere/__init__.py +3 -0
  212. aws_cdk/aws_route53/__init__.py +52 -0
  213. aws_cdk/aws_route53_patterns/__init__.py +3 -0
  214. aws_cdk/aws_route53_targets/__init__.py +3 -0
  215. aws_cdk/aws_route53recoverycontrol/__init__.py +3 -0
  216. aws_cdk/aws_route53recoveryreadiness/__init__.py +3 -0
  217. aws_cdk/aws_route53resolver/__init__.py +3 -0
  218. aws_cdk/aws_rum/__init__.py +3 -0
  219. aws_cdk/aws_s3/__init__.py +3 -0
  220. aws_cdk/aws_s3_assets/__init__.py +3 -0
  221. aws_cdk/aws_s3_deployment/__init__.py +3 -0
  222. aws_cdk/aws_s3_notifications/__init__.py +3 -0
  223. aws_cdk/aws_s3express/__init__.py +3 -0
  224. aws_cdk/aws_s3objectlambda/__init__.py +3 -0
  225. aws_cdk/aws_s3outposts/__init__.py +3 -0
  226. aws_cdk/aws_sagemaker/__init__.py +3 -0
  227. aws_cdk/aws_sam/__init__.py +3 -0
  228. aws_cdk/aws_scheduler/__init__.py +3 -0
  229. aws_cdk/aws_sdb/__init__.py +3 -0
  230. aws_cdk/aws_secretsmanager/__init__.py +3 -0
  231. aws_cdk/aws_securityhub/__init__.py +59 -14
  232. aws_cdk/aws_securitylake/__init__.py +859 -0
  233. aws_cdk/aws_servicecatalog/__init__.py +3 -0
  234. aws_cdk/aws_servicecatalogappregistry/__init__.py +3 -0
  235. aws_cdk/aws_servicediscovery/__init__.py +3 -0
  236. aws_cdk/aws_ses/__init__.py +3 -0
  237. aws_cdk/aws_ses_actions/__init__.py +3 -0
  238. aws_cdk/aws_shield/__init__.py +3 -0
  239. aws_cdk/aws_signer/__init__.py +3 -0
  240. aws_cdk/aws_simspaceweaver/__init__.py +3 -0
  241. aws_cdk/aws_sns/__init__.py +48 -13
  242. aws_cdk/aws_sns_subscriptions/__init__.py +3 -0
  243. aws_cdk/aws_sqs/__init__.py +3 -0
  244. aws_cdk/aws_ssm/__init__.py +3 -0
  245. aws_cdk/aws_ssmcontacts/__init__.py +3 -0
  246. aws_cdk/aws_ssmincidents/__init__.py +3 -0
  247. aws_cdk/aws_sso/__init__.py +3 -0
  248. aws_cdk/aws_stepfunctions/__init__.py +3 -0
  249. aws_cdk/aws_stepfunctions_tasks/__init__.py +80 -39
  250. aws_cdk/aws_supportapp/__init__.py +3 -0
  251. aws_cdk/aws_synthetics/__init__.py +3 -0
  252. aws_cdk/aws_systemsmanagersap/__init__.py +3 -0
  253. aws_cdk/aws_timestream/__init__.py +3 -0
  254. aws_cdk/aws_transfer/__init__.py +3 -0
  255. aws_cdk/aws_verifiedpermissions/__init__.py +3 -0
  256. aws_cdk/aws_voiceid/__init__.py +3 -0
  257. aws_cdk/aws_vpclattice/__init__.py +3 -0
  258. aws_cdk/aws_waf/__init__.py +3 -0
  259. aws_cdk/aws_wafregional/__init__.py +3 -0
  260. aws_cdk/aws_wafv2/__init__.py +3 -0
  261. aws_cdk/aws_wisdom/__init__.py +3 -0
  262. aws_cdk/aws_workspaces/__init__.py +3 -0
  263. aws_cdk/aws_workspacesthinclient/__init__.py +3 -0
  264. aws_cdk/aws_workspacesweb/__init__.py +3 -0
  265. aws_cdk/aws_xray/__init__.py +3 -0
  266. aws_cdk/cloud_assembly_schema/__init__.py +3 -0
  267. aws_cdk/cloudformation_include/__init__.py +3 -0
  268. aws_cdk/custom_resources/__init__.py +7 -4
  269. aws_cdk/cx_api/__init__.py +3 -0
  270. aws_cdk/lambda_layer_awscli/__init__.py +3 -0
  271. aws_cdk/lambda_layer_kubectl/__init__.py +3 -0
  272. aws_cdk/lambda_layer_node_proxy_agent/__init__.py +3 -0
  273. aws_cdk/pipelines/__init__.py +3 -0
  274. aws_cdk/region_info/__init__.py +3 -0
  275. aws_cdk/triggers/__init__.py +3 -0
  276. {aws_cdk_lib-2.134.0.dist-info → aws_cdk_lib-2.136.0.dist-info}/METADATA +2 -2
  277. aws_cdk_lib-2.136.0.dist-info/RECORD +282 -0
  278. aws_cdk_lib-2.134.0.dist-info/RECORD +0 -281
  279. {aws_cdk_lib-2.134.0.dist-info → aws_cdk_lib-2.136.0.dist-info}/LICENSE +0 -0
  280. {aws_cdk_lib-2.134.0.dist-info → aws_cdk_lib-2.136.0.dist-info}/NOTICE +0 -0
  281. {aws_cdk_lib-2.134.0.dist-info → aws_cdk_lib-2.136.0.dist-info}/WHEEL +0 -0
  282. {aws_cdk_lib-2.134.0.dist-info → aws_cdk_lib-2.136.0.dist-info}/top_level.txt +0 -0
@@ -1443,7 +1443,25 @@ rds.DatabaseCluster(self, "DatabaseCluster",
1443
1443
  preferred_maintenance_window="Sat:22:15-Sat:22:45"
1444
1444
  )
1445
1445
  ```
1446
+
1447
+ You can also set the preferred maintenance window via reader and writer props:
1448
+
1449
+ ```python
1450
+ # vpc: ec2.Vpc
1451
+
1452
+ rds.DatabaseCluster(self, "DatabaseCluster",
1453
+ engine=rds.DatabaseClusterEngine.AURORA,
1454
+ vpc=vpc,
1455
+ writer=rds.ClusterInstance.provisioned("WriterInstance",
1456
+ preferred_maintenance_window="Sat:22:15-Sat:22:45"
1457
+ ),
1458
+ preferred_maintenance_window="Sat:22:15-Sat:22:45"
1459
+ )
1460
+ ```
1446
1461
  '''
1462
+ from pkgutil import extend_path
1463
+ __path__ = extend_path(__path__, __name__)
1464
+
1447
1465
  import abc
1448
1466
  import builtins
1449
1467
  import datetime
@@ -4300,8 +4318,8 @@ class CfnDBCluster(
4300
4318
  :param replication_source_identifier: The Amazon Resource Name (ARN) of the source DB instance or DB cluster if this DB cluster is created as a read replica. Valid for: Aurora DB clusters only
4301
4319
  :param restore_to_time: The date and time to restore the DB cluster to. Valid Values: Value must be a time in Universal Coordinated Time (UTC) format Constraints: - Must be before the latest restorable time for the DB instance - Must be specified if ``UseLatestRestorableTime`` parameter isn't provided - Can't be specified if the ``UseLatestRestorableTime`` parameter is enabled - Can't be specified if the ``RestoreType`` parameter is ``copy-on-write`` This property must be used with ``SourceDBClusterIdentifier`` property. The resulting cluster will have the identifier that matches the value of the ``DBclusterIdentifier`` property. Example: ``2015-03-07T23:45:00Z`` Valid for: Aurora DB clusters and Multi-AZ DB clusters
4302
4320
  :param restore_type: The type of restore to be performed. You can specify one of the following values:. - ``full-copy`` - The new DB cluster is restored as a full copy of the source DB cluster. - ``copy-on-write`` - The new DB cluster is restored as a clone of the source DB cluster. If you don't specify a ``RestoreType`` value, then the new DB cluster is restored as a full copy of the source DB cluster. Valid for: Aurora DB clusters and Multi-AZ DB clusters Default: - "full-copy"
4303
- :param scaling_configuration: The ``ScalingConfiguration`` property type specifies the scaling configuration of an Aurora Serverless DB cluster. This property is only supported for Aurora Serverless v1. For Aurora Serverless v2, Use the ``ServerlessV2ScalingConfiguration`` property. Valid for: Aurora DB clusters only
4304
- :param serverless_v2_scaling_configuration: The ``ServerlessV2ScalingConfiguration`` property type specifies the scaling configuration of an Aurora Serverless V2 DB cluster. This property is only supported for Aurora Serverless v2. For Aurora Serverless v1, Use the ``ScalingConfiguration`` property. Valid for: Aurora DB clusters only
4321
+ :param scaling_configuration: The scaling configuration of an Aurora Serverless v1 DB cluster. This property is only supported for Aurora Serverless v1. For Aurora Serverless v2, Use the ``ServerlessV2ScalingConfiguration`` property. Valid for: Aurora Serverless v1 DB clusters only
4322
+ :param serverless_v2_scaling_configuration: The scaling configuration of an Aurora Serverless V2 DB cluster. This property is only supported for Aurora Serverless v2. For Aurora Serverless v1, Use the ``ScalingConfiguration`` property. Valid for: Aurora Serverless v2 DB clusters only
4305
4323
  :param snapshot_identifier: The identifier for the DB snapshot or DB cluster snapshot to restore from. You can use either the name or the Amazon Resource Name (ARN) to specify a DB cluster snapshot. However, you can use only the ARN to specify a DB snapshot. After you restore a DB cluster with a ``SnapshotIdentifier`` property, you must specify the same ``SnapshotIdentifier`` property for any future updates to the DB cluster. When you specify this property for an update, the DB cluster is not restored from the snapshot again, and the data in the database is not changed. However, if you don't specify the ``SnapshotIdentifier`` property, an empty DB cluster is created, and the original DB cluster is deleted. If you specify a property that is different from the previous snapshot restore property, a new DB cluster is restored from the specified ``SnapshotIdentifier`` property, and the original DB cluster is deleted. If you specify the ``SnapshotIdentifier`` property to restore a DB cluster (as opposed to specifying it for DB cluster updates), then don't specify the following properties: - ``GlobalClusterIdentifier`` - ``MasterUsername`` - ``MasterUserPassword`` - ``ReplicationSourceIdentifier`` - ``RestoreType`` - ``SourceDBClusterIdentifier`` - ``SourceRegion`` - ``StorageEncrypted`` (for an encrypted snapshot) - ``UseLatestRestorableTime`` Constraints: - Must match the identifier of an existing Snapshot. Valid for: Aurora DB clusters and Multi-AZ DB clusters
4306
4324
  :param source_db_cluster_identifier: When restoring a DB cluster to a point in time, the identifier of the source DB cluster from which to restore. Constraints: - Must match the identifier of an existing DBCluster. Valid for: Aurora DB clusters and Multi-AZ DB clusters
4307
4325
  :param source_region: The AWS Region which contains the source DB cluster when replicating a DB cluster. For example, ``us-east-1`` . Valid for: Aurora DB clusters only
@@ -5176,7 +5194,7 @@ class CfnDBCluster(
5176
5194
  def scaling_configuration(
5177
5195
  self,
5178
5196
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDBCluster.ScalingConfigurationProperty"]]:
5179
- '''The ``ScalingConfiguration`` property type specifies the scaling configuration of an Aurora Serverless DB cluster.'''
5197
+ '''The scaling configuration of an Aurora Serverless v1 DB cluster.'''
5180
5198
  return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDBCluster.ScalingConfigurationProperty"]], jsii.get(self, "scalingConfiguration"))
5181
5199
 
5182
5200
  @scaling_configuration.setter
@@ -5194,7 +5212,7 @@ class CfnDBCluster(
5194
5212
  def serverless_v2_scaling_configuration(
5195
5213
  self,
5196
5214
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDBCluster.ServerlessV2ScalingConfigurationProperty"]]:
5197
- '''The ``ServerlessV2ScalingConfiguration`` property type specifies the scaling configuration of an Aurora Serverless V2 DB cluster.'''
5215
+ '''The scaling configuration of an Aurora Serverless V2 DB cluster.'''
5198
5216
  return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDBCluster.ServerlessV2ScalingConfigurationProperty"]], jsii.get(self, "serverlessV2ScalingConfiguration"))
5199
5217
 
5200
5218
  @serverless_v2_scaling_configuration.setter
@@ -5627,13 +5645,13 @@ class CfnDBCluster(
5627
5645
  seconds_until_auto_pause: typing.Optional[jsii.Number] = None,
5628
5646
  timeout_action: typing.Optional[builtins.str] = None,
5629
5647
  ) -> None:
5630
- '''The ``ScalingConfiguration`` property type specifies the scaling configuration of an Aurora Serverless DB cluster.
5648
+ '''The ``ScalingConfiguration`` property type specifies the scaling configuration of an Aurora Serverless v1 DB cluster.
5631
5649
 
5632
5650
  For more information, see `Using Amazon Aurora Serverless <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.html>`_ in the *Amazon Aurora User Guide* .
5633
5651
 
5634
5652
  This property is only supported for Aurora Serverless v1. For Aurora Serverless v2, Use the ``ServerlessV2ScalingConfiguration`` property.
5635
5653
 
5636
- Valid for: Aurora DB clusters only
5654
+ Valid for: Aurora Serverless v1 DB clusters only
5637
5655
 
5638
5656
  :param auto_pause: Indicates whether to allow or disallow automatic pause for an Aurora DB cluster in ``serverless`` DB engine mode. A DB cluster can be paused only when it's idle (it has no connections). .. epigraph:: If a DB cluster is paused for more than seven days, the DB cluster might be backed up with a snapshot. In this case, the DB cluster is restored when there is a request to connect to it.
5639
5657
  :param max_capacity: The maximum capacity for an Aurora DB cluster in ``serverless`` DB engine mode. For Aurora MySQL, valid capacity values are ``1`` , ``2`` , ``4`` , ``8`` , ``16`` , ``32`` , ``64`` , ``128`` , and ``256`` . For Aurora PostgreSQL, valid capacity values are ``2`` , ``4`` , ``8`` , ``16`` , ``32`` , ``64`` , ``192`` , and ``384`` . The maximum capacity must be greater than or equal to the minimum capacity.
@@ -5799,7 +5817,9 @@ class CfnDBCluster(
5799
5817
 
5800
5818
  If you have an Aurora cluster, you must set the ``ScalingConfigurationInfo`` attribute before you add a DB instance that uses the ``db.serverless`` DB instance class. For more information, see `Clusters that use Aurora Serverless v2 must have a capacity range specified <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.requirements.html#aurora-serverless-v2.requirements.capacity-range>`_ in the *Amazon Aurora User Guide* .
5801
5819
 
5802
- This property is only supported for Aurora Serverless v2. For Aurora Serverless v1, Use the ``ScalingConfiguration`` property.
5820
+ This property is only supported for Aurora Serverless v2. For Aurora Serverless v1, use the ``ScalingConfiguration`` property.
5821
+
5822
+ Valid for: Aurora Serverless v2 DB clusters
5803
5823
 
5804
5824
  :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* .
5805
5825
  :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.
@@ -6366,8 +6386,8 @@ class CfnDBClusterProps:
6366
6386
  :param replication_source_identifier: The Amazon Resource Name (ARN) of the source DB instance or DB cluster if this DB cluster is created as a read replica. Valid for: Aurora DB clusters only
6367
6387
  :param restore_to_time: The date and time to restore the DB cluster to. Valid Values: Value must be a time in Universal Coordinated Time (UTC) format Constraints: - Must be before the latest restorable time for the DB instance - Must be specified if ``UseLatestRestorableTime`` parameter isn't provided - Can't be specified if the ``UseLatestRestorableTime`` parameter is enabled - Can't be specified if the ``RestoreType`` parameter is ``copy-on-write`` This property must be used with ``SourceDBClusterIdentifier`` property. The resulting cluster will have the identifier that matches the value of the ``DBclusterIdentifier`` property. Example: ``2015-03-07T23:45:00Z`` Valid for: Aurora DB clusters and Multi-AZ DB clusters
6368
6388
  :param restore_type: The type of restore to be performed. You can specify one of the following values:. - ``full-copy`` - The new DB cluster is restored as a full copy of the source DB cluster. - ``copy-on-write`` - The new DB cluster is restored as a clone of the source DB cluster. If you don't specify a ``RestoreType`` value, then the new DB cluster is restored as a full copy of the source DB cluster. Valid for: Aurora DB clusters and Multi-AZ DB clusters Default: - "full-copy"
6369
- :param scaling_configuration: The ``ScalingConfiguration`` property type specifies the scaling configuration of an Aurora Serverless DB cluster. This property is only supported for Aurora Serverless v1. For Aurora Serverless v2, Use the ``ServerlessV2ScalingConfiguration`` property. Valid for: Aurora DB clusters only
6370
- :param serverless_v2_scaling_configuration: The ``ServerlessV2ScalingConfiguration`` property type specifies the scaling configuration of an Aurora Serverless V2 DB cluster. This property is only supported for Aurora Serverless v2. For Aurora Serverless v1, Use the ``ScalingConfiguration`` property. Valid for: Aurora DB clusters only
6389
+ :param scaling_configuration: The scaling configuration of an Aurora Serverless v1 DB cluster. This property is only supported for Aurora Serverless v1. For Aurora Serverless v2, Use the ``ServerlessV2ScalingConfiguration`` property. Valid for: Aurora Serverless v1 DB clusters only
6390
+ :param serverless_v2_scaling_configuration: The scaling configuration of an Aurora Serverless V2 DB cluster. This property is only supported for Aurora Serverless v2. For Aurora Serverless v1, Use the ``ScalingConfiguration`` property. Valid for: Aurora Serverless v2 DB clusters only
6371
6391
  :param snapshot_identifier: The identifier for the DB snapshot or DB cluster snapshot to restore from. You can use either the name or the Amazon Resource Name (ARN) to specify a DB cluster snapshot. However, you can use only the ARN to specify a DB snapshot. After you restore a DB cluster with a ``SnapshotIdentifier`` property, you must specify the same ``SnapshotIdentifier`` property for any future updates to the DB cluster. When you specify this property for an update, the DB cluster is not restored from the snapshot again, and the data in the database is not changed. However, if you don't specify the ``SnapshotIdentifier`` property, an empty DB cluster is created, and the original DB cluster is deleted. If you specify a property that is different from the previous snapshot restore property, a new DB cluster is restored from the specified ``SnapshotIdentifier`` property, and the original DB cluster is deleted. If you specify the ``SnapshotIdentifier`` property to restore a DB cluster (as opposed to specifying it for DB cluster updates), then don't specify the following properties: - ``GlobalClusterIdentifier`` - ``MasterUsername`` - ``MasterUserPassword`` - ``ReplicationSourceIdentifier`` - ``RestoreType`` - ``SourceDBClusterIdentifier`` - ``SourceRegion`` - ``StorageEncrypted`` (for an encrypted snapshot) - ``UseLatestRestorableTime`` Constraints: - Must match the identifier of an existing Snapshot. Valid for: Aurora DB clusters and Multi-AZ DB clusters
6372
6392
  :param source_db_cluster_identifier: When restoring a DB cluster to a point in time, the identifier of the source DB cluster from which to restore. Constraints: - Must match the identifier of an existing DBCluster. Valid for: Aurora DB clusters and Multi-AZ DB clusters
6373
6393
  :param source_region: The AWS Region which contains the source DB cluster when replicating a DB cluster. For example, ``us-east-1`` . Valid for: Aurora DB clusters only
@@ -7427,11 +7447,11 @@ class CfnDBClusterProps:
7427
7447
  def scaling_configuration(
7428
7448
  self,
7429
7449
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnDBCluster.ScalingConfigurationProperty]]:
7430
- '''The ``ScalingConfiguration`` property type specifies the scaling configuration of an Aurora Serverless DB cluster.
7450
+ '''The scaling configuration of an Aurora Serverless v1 DB cluster.
7431
7451
 
7432
7452
  This property is only supported for Aurora Serverless v1. For Aurora Serverless v2, Use the ``ServerlessV2ScalingConfiguration`` property.
7433
7453
 
7434
- Valid for: Aurora DB clusters only
7454
+ Valid for: Aurora Serverless v1 DB clusters only
7435
7455
 
7436
7456
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-scalingconfiguration
7437
7457
  '''
@@ -7442,11 +7462,11 @@ class CfnDBClusterProps:
7442
7462
  def serverless_v2_scaling_configuration(
7443
7463
  self,
7444
7464
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnDBCluster.ServerlessV2ScalingConfigurationProperty]]:
7445
- '''The ``ServerlessV2ScalingConfiguration`` property type specifies the scaling configuration of an Aurora Serverless V2 DB cluster.
7465
+ '''The scaling configuration of an Aurora Serverless V2 DB cluster.
7446
7466
 
7447
7467
  This property is only supported for Aurora Serverless v2. For Aurora Serverless v1, Use the ``ScalingConfiguration`` property.
7448
7468
 
7449
- Valid for: Aurora DB clusters only
7469
+ Valid for: Aurora Serverless v2 DB clusters only
7450
7470
 
7451
7471
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-serverlessv2scalingconfiguration
7452
7472
  '''
@@ -15665,6 +15685,8 @@ class CfnIntegration(
15665
15685
  additional_encryption_context={
15666
15686
  "additional_encryption_context_key": "additionalEncryptionContext"
15667
15687
  },
15688
+ data_filter="dataFilter",
15689
+ description="description",
15668
15690
  integration_name="integrationName",
15669
15691
  kms_key_id="kmsKeyId",
15670
15692
  tags=[CfnTag(
@@ -15682,6 +15704,8 @@ class CfnIntegration(
15682
15704
  source_arn: builtins.str,
15683
15705
  target_arn: builtins.str,
15684
15706
  additional_encryption_context: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]] = None,
15707
+ data_filter: typing.Optional[builtins.str] = None,
15708
+ description: typing.Optional[builtins.str] = None,
15685
15709
  integration_name: typing.Optional[builtins.str] = None,
15686
15710
  kms_key_id: typing.Optional[builtins.str] = None,
15687
15711
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
@@ -15692,6 +15716,8 @@ class CfnIntegration(
15692
15716
  :param source_arn: The Amazon Resource Name (ARN) of the database to use as the source for replication.
15693
15717
  :param target_arn: The ARN of the Redshift data warehouse to use as the target for replication.
15694
15718
  :param additional_encryption_context: An optional set of non-secret key–value pairs that contains additional contextual information about the data. For more information, see `Encryption context <https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context>`_ in the *AWS Key Management Service Developer Guide* . You can only include this parameter if you specify the ``KMSKeyId`` parameter.
15719
+ :param data_filter: Data filters for the integration. These filters determine which tables from the source database are sent to the target Amazon Redshift data warehouse.
15720
+ :param description: A description of the integration.
15695
15721
  :param integration_name: The name of the integration.
15696
15722
  :param kms_key_id: The AWS Key Management System ( AWS KMS) key identifier for the key to use to encrypt the integration. If you don't specify an encryption key, RDS uses a default AWS owned key.
15697
15723
  :param tags: A list of tags. 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.* .
@@ -15704,6 +15730,8 @@ class CfnIntegration(
15704
15730
  source_arn=source_arn,
15705
15731
  target_arn=target_arn,
15706
15732
  additional_encryption_context=additional_encryption_context,
15733
+ data_filter=data_filter,
15734
+ description=description,
15707
15735
  integration_name=integration_name,
15708
15736
  kms_key_id=kms_key_id,
15709
15737
  tags=tags,
@@ -15814,6 +15842,32 @@ class CfnIntegration(
15814
15842
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
15815
15843
  jsii.set(self, "additionalEncryptionContext", value)
15816
15844
 
15845
+ @builtins.property
15846
+ @jsii.member(jsii_name="dataFilter")
15847
+ def data_filter(self) -> typing.Optional[builtins.str]:
15848
+ '''Data filters for the integration.'''
15849
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "dataFilter"))
15850
+
15851
+ @data_filter.setter
15852
+ def data_filter(self, value: typing.Optional[builtins.str]) -> None:
15853
+ if __debug__:
15854
+ type_hints = typing.get_type_hints(_typecheckingstub__8f252e37d51ec7f1680d3efcea4e0b7e52aad4f42ab7602e3513cfddd333cc79)
15855
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
15856
+ jsii.set(self, "dataFilter", value)
15857
+
15858
+ @builtins.property
15859
+ @jsii.member(jsii_name="description")
15860
+ def description(self) -> typing.Optional[builtins.str]:
15861
+ '''A description of the integration.'''
15862
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "description"))
15863
+
15864
+ @description.setter
15865
+ def description(self, value: typing.Optional[builtins.str]) -> None:
15866
+ if __debug__:
15867
+ type_hints = typing.get_type_hints(_typecheckingstub__f153335081bdb228cf54af39607edd8cc138405105c83cea1f20045a38af6740)
15868
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
15869
+ jsii.set(self, "description", value)
15870
+
15817
15871
  @builtins.property
15818
15872
  @jsii.member(jsii_name="integrationName")
15819
15873
  def integration_name(self) -> typing.Optional[builtins.str]:
@@ -15861,6 +15915,8 @@ class CfnIntegration(
15861
15915
  "source_arn": "sourceArn",
15862
15916
  "target_arn": "targetArn",
15863
15917
  "additional_encryption_context": "additionalEncryptionContext",
15918
+ "data_filter": "dataFilter",
15919
+ "description": "description",
15864
15920
  "integration_name": "integrationName",
15865
15921
  "kms_key_id": "kmsKeyId",
15866
15922
  "tags": "tags",
@@ -15873,6 +15929,8 @@ class CfnIntegrationProps:
15873
15929
  source_arn: builtins.str,
15874
15930
  target_arn: builtins.str,
15875
15931
  additional_encryption_context: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]] = None,
15932
+ data_filter: typing.Optional[builtins.str] = None,
15933
+ description: typing.Optional[builtins.str] = None,
15876
15934
  integration_name: typing.Optional[builtins.str] = None,
15877
15935
  kms_key_id: typing.Optional[builtins.str] = None,
15878
15936
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
@@ -15882,6 +15940,8 @@ class CfnIntegrationProps:
15882
15940
  :param source_arn: The Amazon Resource Name (ARN) of the database to use as the source for replication.
15883
15941
  :param target_arn: The ARN of the Redshift data warehouse to use as the target for replication.
15884
15942
  :param additional_encryption_context: An optional set of non-secret key–value pairs that contains additional contextual information about the data. For more information, see `Encryption context <https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context>`_ in the *AWS Key Management Service Developer Guide* . You can only include this parameter if you specify the ``KMSKeyId`` parameter.
15943
+ :param data_filter: Data filters for the integration. These filters determine which tables from the source database are sent to the target Amazon Redshift data warehouse.
15944
+ :param description: A description of the integration.
15885
15945
  :param integration_name: The name of the integration.
15886
15946
  :param kms_key_id: The AWS Key Management System ( AWS KMS) key identifier for the key to use to encrypt the integration. If you don't specify an encryption key, RDS uses a default AWS owned key.
15887
15947
  :param tags: A list of tags. 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.* .
@@ -15903,6 +15963,8 @@ class CfnIntegrationProps:
15903
15963
  additional_encryption_context={
15904
15964
  "additional_encryption_context_key": "additionalEncryptionContext"
15905
15965
  },
15966
+ data_filter="dataFilter",
15967
+ description="description",
15906
15968
  integration_name="integrationName",
15907
15969
  kms_key_id="kmsKeyId",
15908
15970
  tags=[CfnTag(
@@ -15916,6 +15978,8 @@ class CfnIntegrationProps:
15916
15978
  check_type(argname="argument source_arn", value=source_arn, expected_type=type_hints["source_arn"])
15917
15979
  check_type(argname="argument target_arn", value=target_arn, expected_type=type_hints["target_arn"])
15918
15980
  check_type(argname="argument additional_encryption_context", value=additional_encryption_context, expected_type=type_hints["additional_encryption_context"])
15981
+ check_type(argname="argument data_filter", value=data_filter, expected_type=type_hints["data_filter"])
15982
+ check_type(argname="argument description", value=description, expected_type=type_hints["description"])
15919
15983
  check_type(argname="argument integration_name", value=integration_name, expected_type=type_hints["integration_name"])
15920
15984
  check_type(argname="argument kms_key_id", value=kms_key_id, expected_type=type_hints["kms_key_id"])
15921
15985
  check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
@@ -15925,6 +15989,10 @@ class CfnIntegrationProps:
15925
15989
  }
15926
15990
  if additional_encryption_context is not None:
15927
15991
  self._values["additional_encryption_context"] = additional_encryption_context
15992
+ if data_filter is not None:
15993
+ self._values["data_filter"] = data_filter
15994
+ if description is not None:
15995
+ self._values["description"] = description
15928
15996
  if integration_name is not None:
15929
15997
  self._values["integration_name"] = integration_name
15930
15998
  if kms_key_id is not None:
@@ -15967,6 +16035,26 @@ class CfnIntegrationProps:
15967
16035
  result = self._values.get("additional_encryption_context")
15968
16036
  return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]], result)
15969
16037
 
16038
+ @builtins.property
16039
+ def data_filter(self) -> typing.Optional[builtins.str]:
16040
+ '''Data filters for the integration.
16041
+
16042
+ These filters determine which tables from the source database are sent to the target Amazon Redshift data warehouse.
16043
+
16044
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-integration.html#cfn-rds-integration-datafilter
16045
+ '''
16046
+ result = self._values.get("data_filter")
16047
+ return typing.cast(typing.Optional[builtins.str], result)
16048
+
16049
+ @builtins.property
16050
+ def description(self) -> typing.Optional[builtins.str]:
16051
+ '''A description of the integration.
16052
+
16053
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-integration.html#cfn-rds-integration-description
16054
+ '''
16055
+ result = self._values.get("description")
16056
+ return typing.cast(typing.Optional[builtins.str], result)
16057
+
15970
16058
  @builtins.property
15971
16059
  def integration_name(self) -> typing.Optional[builtins.str]:
15972
16060
  '''The name of the integration.
@@ -17066,6 +17154,7 @@ class ClusterInstanceBindOptions:
17066
17154
  "parameters": "parameters",
17067
17155
  "performance_insight_encryption_key": "performanceInsightEncryptionKey",
17068
17156
  "performance_insight_retention": "performanceInsightRetention",
17157
+ "preferred_maintenance_window": "preferredMaintenanceWindow",
17069
17158
  "publicly_accessible": "publiclyAccessible",
17070
17159
  },
17071
17160
  )
@@ -17083,6 +17172,7 @@ class ClusterInstanceOptions:
17083
17172
  parameters: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
17084
17173
  performance_insight_encryption_key: typing.Optional[_IKey_5f11635f] = None,
17085
17174
  performance_insight_retention: typing.Optional["PerformanceInsightRetention"] = None,
17175
+ preferred_maintenance_window: typing.Optional[builtins.str] = None,
17086
17176
  publicly_accessible: typing.Optional[builtins.bool] = None,
17087
17177
  ) -> None:
17088
17178
  '''Common options for creating a cluster instance.
@@ -17097,6 +17187,7 @@ class ClusterInstanceOptions:
17097
17187
  :param parameters: The parameters in the DBParameterGroup to create automatically. You can only specify parameterGroup or parameters but not both. You need to use a versioned engine to auto-generate a DBParameterGroup. Default: - None
17098
17188
  :param performance_insight_encryption_key: The AWS KMS key for encryption of Performance Insights data. Default: - default master key
17099
17189
  :param performance_insight_retention: The amount of time, in days, to retain Performance Insights data. Default: 7
17190
+ :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.
17100
17191
  :param publicly_accessible: Indicates whether the DB instance is an internet-facing instance. If not specified, the cluster's vpcSubnets will be used to determine if the instance is internet-facing or not. Default: - ``true`` if the cluster's ``vpcSubnets`` is ``subnetType: SubnetType.PUBLIC``, ``false`` otherwise
17101
17192
 
17102
17193
  :exampleMetadata: fixture=_generated
@@ -17125,6 +17216,7 @@ class ClusterInstanceOptions:
17125
17216
  },
17126
17217
  performance_insight_encryption_key=key,
17127
17218
  performance_insight_retention=rds.PerformanceInsightRetention.DEFAULT,
17219
+ preferred_maintenance_window="preferredMaintenanceWindow",
17128
17220
  publicly_accessible=False
17129
17221
  )
17130
17222
  '''
@@ -17140,6 +17232,7 @@ class ClusterInstanceOptions:
17140
17232
  check_type(argname="argument parameters", value=parameters, expected_type=type_hints["parameters"])
17141
17233
  check_type(argname="argument performance_insight_encryption_key", value=performance_insight_encryption_key, expected_type=type_hints["performance_insight_encryption_key"])
17142
17234
  check_type(argname="argument performance_insight_retention", value=performance_insight_retention, expected_type=type_hints["performance_insight_retention"])
17235
+ check_type(argname="argument preferred_maintenance_window", value=preferred_maintenance_window, expected_type=type_hints["preferred_maintenance_window"])
17143
17236
  check_type(argname="argument publicly_accessible", value=publicly_accessible, expected_type=type_hints["publicly_accessible"])
17144
17237
  self._values: typing.Dict[builtins.str, typing.Any] = {}
17145
17238
  if allow_major_version_upgrade is not None:
@@ -17162,6 +17255,8 @@ class ClusterInstanceOptions:
17162
17255
  self._values["performance_insight_encryption_key"] = performance_insight_encryption_key
17163
17256
  if performance_insight_retention is not None:
17164
17257
  self._values["performance_insight_retention"] = performance_insight_retention
17258
+ if preferred_maintenance_window is not None:
17259
+ self._values["preferred_maintenance_window"] = preferred_maintenance_window
17165
17260
  if publicly_accessible is not None:
17166
17261
  self._values["publicly_accessible"] = publicly_accessible
17167
17262
 
@@ -17312,6 +17407,22 @@ class ClusterInstanceOptions:
17312
17407
  result = self._values.get("performance_insight_retention")
17313
17408
  return typing.cast(typing.Optional["PerformanceInsightRetention"], result)
17314
17409
 
17410
+ @builtins.property
17411
+ def preferred_maintenance_window(self) -> typing.Optional[builtins.str]:
17412
+ '''A preferred maintenance window day/time range. Should be specified as a range ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC).
17413
+
17414
+ Example: 'Sun:23:45-Mon:00:15'
17415
+
17416
+ :default:
17417
+
17418
+ - 30-minute window selected at random from an 8-hour block of time for
17419
+ each AWS Region, occurring on a random day of the week.
17420
+
17421
+ :see: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_UpgradeDBInstance.Maintenance.html#Concepts.DBMaintenance
17422
+ '''
17423
+ result = self._values.get("preferred_maintenance_window")
17424
+ return typing.cast(typing.Optional[builtins.str], result)
17425
+
17315
17426
  @builtins.property
17316
17427
  def publicly_accessible(self) -> typing.Optional[builtins.bool]:
17317
17428
  '''Indicates whether the DB instance is an internet-facing instance.
@@ -17351,6 +17462,7 @@ class ClusterInstanceOptions:
17351
17462
  "parameters": "parameters",
17352
17463
  "performance_insight_encryption_key": "performanceInsightEncryptionKey",
17353
17464
  "performance_insight_retention": "performanceInsightRetention",
17465
+ "preferred_maintenance_window": "preferredMaintenanceWindow",
17354
17466
  "publicly_accessible": "publiclyAccessible",
17355
17467
  "instance_type": "instanceType",
17356
17468
  "promotion_tier": "promotionTier",
@@ -17370,6 +17482,7 @@ class ClusterInstanceProps(ClusterInstanceOptions):
17370
17482
  parameters: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
17371
17483
  performance_insight_encryption_key: typing.Optional[_IKey_5f11635f] = None,
17372
17484
  performance_insight_retention: typing.Optional["PerformanceInsightRetention"] = None,
17485
+ preferred_maintenance_window: typing.Optional[builtins.str] = None,
17373
17486
  publicly_accessible: typing.Optional[builtins.bool] = None,
17374
17487
  instance_type: "ClusterInstanceType",
17375
17488
  promotion_tier: typing.Optional[jsii.Number] = None,
@@ -17386,6 +17499,7 @@ class ClusterInstanceProps(ClusterInstanceOptions):
17386
17499
  :param parameters: The parameters in the DBParameterGroup to create automatically. You can only specify parameterGroup or parameters but not both. You need to use a versioned engine to auto-generate a DBParameterGroup. Default: - None
17387
17500
  :param performance_insight_encryption_key: The AWS KMS key for encryption of Performance Insights data. Default: - default master key
17388
17501
  :param performance_insight_retention: The amount of time, in days, to retain Performance Insights data. Default: 7
17502
+ :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.
17389
17503
  :param publicly_accessible: Indicates whether the DB instance is an internet-facing instance. If not specified, the cluster's vpcSubnets will be used to determine if the instance is internet-facing or not. Default: - ``true`` if the cluster's ``vpcSubnets`` is ``subnetType: SubnetType.PUBLIC``, ``false`` otherwise
17390
17504
  :param instance_type: The type of cluster instance to create. Can be either provisioned or serverless v2
17391
17505
  :param promotion_tier: The promotion tier of the cluster instance. This matters more for serverlessV2 instances. If a serverless instance is in tier 0-1 then it will scale with the writer. For provisioned instances this just determines the failover priority. If multiple instances have the same priority then one will be picked at random Default: 2
@@ -17420,6 +17534,7 @@ class ClusterInstanceProps(ClusterInstanceOptions):
17420
17534
  },
17421
17535
  performance_insight_encryption_key=key,
17422
17536
  performance_insight_retention=rds.PerformanceInsightRetention.DEFAULT,
17537
+ preferred_maintenance_window="preferredMaintenanceWindow",
17423
17538
  promotion_tier=123,
17424
17539
  publicly_accessible=False
17425
17540
  )
@@ -17436,6 +17551,7 @@ class ClusterInstanceProps(ClusterInstanceOptions):
17436
17551
  check_type(argname="argument parameters", value=parameters, expected_type=type_hints["parameters"])
17437
17552
  check_type(argname="argument performance_insight_encryption_key", value=performance_insight_encryption_key, expected_type=type_hints["performance_insight_encryption_key"])
17438
17553
  check_type(argname="argument performance_insight_retention", value=performance_insight_retention, expected_type=type_hints["performance_insight_retention"])
17554
+ check_type(argname="argument preferred_maintenance_window", value=preferred_maintenance_window, expected_type=type_hints["preferred_maintenance_window"])
17439
17555
  check_type(argname="argument publicly_accessible", value=publicly_accessible, expected_type=type_hints["publicly_accessible"])
17440
17556
  check_type(argname="argument instance_type", value=instance_type, expected_type=type_hints["instance_type"])
17441
17557
  check_type(argname="argument promotion_tier", value=promotion_tier, expected_type=type_hints["promotion_tier"])
@@ -17462,6 +17578,8 @@ class ClusterInstanceProps(ClusterInstanceOptions):
17462
17578
  self._values["performance_insight_encryption_key"] = performance_insight_encryption_key
17463
17579
  if performance_insight_retention is not None:
17464
17580
  self._values["performance_insight_retention"] = performance_insight_retention
17581
+ if preferred_maintenance_window is not None:
17582
+ self._values["preferred_maintenance_window"] = preferred_maintenance_window
17465
17583
  if publicly_accessible is not None:
17466
17584
  self._values["publicly_accessible"] = publicly_accessible
17467
17585
  if promotion_tier is not None:
@@ -17614,6 +17732,22 @@ class ClusterInstanceProps(ClusterInstanceOptions):
17614
17732
  result = self._values.get("performance_insight_retention")
17615
17733
  return typing.cast(typing.Optional["PerformanceInsightRetention"], result)
17616
17734
 
17735
+ @builtins.property
17736
+ def preferred_maintenance_window(self) -> typing.Optional[builtins.str]:
17737
+ '''A preferred maintenance window day/time range. Should be specified as a range ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC).
17738
+
17739
+ Example: 'Sun:23:45-Mon:00:15'
17740
+
17741
+ :default:
17742
+
17743
+ - 30-minute window selected at random from an 8-hour block of time for
17744
+ each AWS Region, occurring on a random day of the week.
17745
+
17746
+ :see: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_UpgradeDBInstance.Maintenance.html#Concepts.DBMaintenance
17747
+ '''
17748
+ result = self._values.get("preferred_maintenance_window")
17749
+ return typing.cast(typing.Optional[builtins.str], result)
17750
+
17617
17751
  @builtins.property
17618
17752
  def publicly_accessible(self) -> typing.Optional[builtins.bool]:
17619
17753
  '''Indicates whether the DB instance is an internet-facing instance.
@@ -32876,6 +33010,7 @@ class ProcessorFeatures:
32876
33010
  "parameters": "parameters",
32877
33011
  "performance_insight_encryption_key": "performanceInsightEncryptionKey",
32878
33012
  "performance_insight_retention": "performanceInsightRetention",
33013
+ "preferred_maintenance_window": "preferredMaintenanceWindow",
32879
33014
  "publicly_accessible": "publiclyAccessible",
32880
33015
  "instance_type": "instanceType",
32881
33016
  "promotion_tier": "promotionTier",
@@ -32895,6 +33030,7 @@ class ProvisionedClusterInstanceProps(ClusterInstanceOptions):
32895
33030
  parameters: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
32896
33031
  performance_insight_encryption_key: typing.Optional[_IKey_5f11635f] = None,
32897
33032
  performance_insight_retention: typing.Optional[PerformanceInsightRetention] = None,
33033
+ preferred_maintenance_window: typing.Optional[builtins.str] = None,
32898
33034
  publicly_accessible: typing.Optional[builtins.bool] = None,
32899
33035
  instance_type: typing.Optional[_InstanceType_f64915b9] = None,
32900
33036
  promotion_tier: typing.Optional[jsii.Number] = None,
@@ -32911,6 +33047,7 @@ class ProvisionedClusterInstanceProps(ClusterInstanceOptions):
32911
33047
  :param parameters: The parameters in the DBParameterGroup to create automatically. You can only specify parameterGroup or parameters but not both. You need to use a versioned engine to auto-generate a DBParameterGroup. Default: - None
32912
33048
  :param performance_insight_encryption_key: The AWS KMS key for encryption of Performance Insights data. Default: - default master key
32913
33049
  :param performance_insight_retention: The amount of time, in days, to retain Performance Insights data. Default: 7
33050
+ :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.
32914
33051
  :param publicly_accessible: Indicates whether the DB instance is an internet-facing instance. If not specified, the cluster's vpcSubnets will be used to determine if the instance is internet-facing or not. Default: - ``true`` if the cluster's ``vpcSubnets`` is ``subnetType: SubnetType.PUBLIC``, ``false`` otherwise
32915
33052
  :param instance_type: The cluster instance type. Default: db.t3.medium
32916
33053
  :param promotion_tier: The promotion tier of the cluster instance. Can be between 0-15 For provisioned instances this just determines the failover priority. If multiple instances have the same priority then one will be picked at random Default: 2
@@ -32949,6 +33086,7 @@ class ProvisionedClusterInstanceProps(ClusterInstanceOptions):
32949
33086
  check_type(argname="argument parameters", value=parameters, expected_type=type_hints["parameters"])
32950
33087
  check_type(argname="argument performance_insight_encryption_key", value=performance_insight_encryption_key, expected_type=type_hints["performance_insight_encryption_key"])
32951
33088
  check_type(argname="argument performance_insight_retention", value=performance_insight_retention, expected_type=type_hints["performance_insight_retention"])
33089
+ check_type(argname="argument preferred_maintenance_window", value=preferred_maintenance_window, expected_type=type_hints["preferred_maintenance_window"])
32952
33090
  check_type(argname="argument publicly_accessible", value=publicly_accessible, expected_type=type_hints["publicly_accessible"])
32953
33091
  check_type(argname="argument instance_type", value=instance_type, expected_type=type_hints["instance_type"])
32954
33092
  check_type(argname="argument promotion_tier", value=promotion_tier, expected_type=type_hints["promotion_tier"])
@@ -32973,6 +33111,8 @@ class ProvisionedClusterInstanceProps(ClusterInstanceOptions):
32973
33111
  self._values["performance_insight_encryption_key"] = performance_insight_encryption_key
32974
33112
  if performance_insight_retention is not None:
32975
33113
  self._values["performance_insight_retention"] = performance_insight_retention
33114
+ if preferred_maintenance_window is not None:
33115
+ self._values["preferred_maintenance_window"] = preferred_maintenance_window
32976
33116
  if publicly_accessible is not None:
32977
33117
  self._values["publicly_accessible"] = publicly_accessible
32978
33118
  if instance_type is not None:
@@ -33127,6 +33267,22 @@ class ProvisionedClusterInstanceProps(ClusterInstanceOptions):
33127
33267
  result = self._values.get("performance_insight_retention")
33128
33268
  return typing.cast(typing.Optional[PerformanceInsightRetention], result)
33129
33269
 
33270
+ @builtins.property
33271
+ def preferred_maintenance_window(self) -> typing.Optional[builtins.str]:
33272
+ '''A preferred maintenance window day/time range. Should be specified as a range ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC).
33273
+
33274
+ Example: 'Sun:23:45-Mon:00:15'
33275
+
33276
+ :default:
33277
+
33278
+ - 30-minute window selected at random from an 8-hour block of time for
33279
+ each AWS Region, occurring on a random day of the week.
33280
+
33281
+ :see: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_UpgradeDBInstance.Maintenance.html#Concepts.DBMaintenance
33282
+ '''
33283
+ result = self._values.get("preferred_maintenance_window")
33284
+ return typing.cast(typing.Optional[builtins.str], result)
33285
+
33130
33286
  @builtins.property
33131
33287
  def publicly_accessible(self) -> typing.Optional[builtins.bool]:
33132
33288
  '''Indicates whether the DB instance is an internet-facing instance.
@@ -35083,6 +35239,7 @@ class ServerlessScalingOptions:
35083
35239
  "parameters": "parameters",
35084
35240
  "performance_insight_encryption_key": "performanceInsightEncryptionKey",
35085
35241
  "performance_insight_retention": "performanceInsightRetention",
35242
+ "preferred_maintenance_window": "preferredMaintenanceWindow",
35086
35243
  "publicly_accessible": "publiclyAccessible",
35087
35244
  "scale_with_writer": "scaleWithWriter",
35088
35245
  },
@@ -35101,6 +35258,7 @@ class ServerlessV2ClusterInstanceProps(ClusterInstanceOptions):
35101
35258
  parameters: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
35102
35259
  performance_insight_encryption_key: typing.Optional[_IKey_5f11635f] = None,
35103
35260
  performance_insight_retention: typing.Optional[PerformanceInsightRetention] = None,
35261
+ preferred_maintenance_window: typing.Optional[builtins.str] = None,
35104
35262
  publicly_accessible: typing.Optional[builtins.bool] = None,
35105
35263
  scale_with_writer: typing.Optional[builtins.bool] = None,
35106
35264
  ) -> None:
@@ -35116,6 +35274,7 @@ class ServerlessV2ClusterInstanceProps(ClusterInstanceOptions):
35116
35274
  :param parameters: The parameters in the DBParameterGroup to create automatically. You can only specify parameterGroup or parameters but not both. You need to use a versioned engine to auto-generate a DBParameterGroup. Default: - None
35117
35275
  :param performance_insight_encryption_key: The AWS KMS key for encryption of Performance Insights data. Default: - default master key
35118
35276
  :param performance_insight_retention: The amount of time, in days, to retain Performance Insights data. Default: 7
35277
+ :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.
35119
35278
  :param publicly_accessible: Indicates whether the DB instance is an internet-facing instance. If not specified, the cluster's vpcSubnets will be used to determine if the instance is internet-facing or not. Default: - ``true`` if the cluster's ``vpcSubnets`` is ``subnetType: SubnetType.PUBLIC``, ``false`` otherwise
35120
35279
  :param scale_with_writer: Only applicable to reader instances. If this is true then the instance will be placed in promotion tier 1, otherwise it will be placed in promotion tier 2. For serverless v2 instances this means: - true: The serverless v2 reader will scale to match the writer instance (provisioned or serverless) - false: The serverless v2 reader will scale with the read workfload on the instance Default: false
35121
35280
 
@@ -35150,6 +35309,7 @@ class ServerlessV2ClusterInstanceProps(ClusterInstanceOptions):
35150
35309
  check_type(argname="argument parameters", value=parameters, expected_type=type_hints["parameters"])
35151
35310
  check_type(argname="argument performance_insight_encryption_key", value=performance_insight_encryption_key, expected_type=type_hints["performance_insight_encryption_key"])
35152
35311
  check_type(argname="argument performance_insight_retention", value=performance_insight_retention, expected_type=type_hints["performance_insight_retention"])
35312
+ check_type(argname="argument preferred_maintenance_window", value=preferred_maintenance_window, expected_type=type_hints["preferred_maintenance_window"])
35153
35313
  check_type(argname="argument publicly_accessible", value=publicly_accessible, expected_type=type_hints["publicly_accessible"])
35154
35314
  check_type(argname="argument scale_with_writer", value=scale_with_writer, expected_type=type_hints["scale_with_writer"])
35155
35315
  self._values: typing.Dict[builtins.str, typing.Any] = {}
@@ -35173,6 +35333,8 @@ class ServerlessV2ClusterInstanceProps(ClusterInstanceOptions):
35173
35333
  self._values["performance_insight_encryption_key"] = performance_insight_encryption_key
35174
35334
  if performance_insight_retention is not None:
35175
35335
  self._values["performance_insight_retention"] = performance_insight_retention
35336
+ if preferred_maintenance_window is not None:
35337
+ self._values["preferred_maintenance_window"] = preferred_maintenance_window
35176
35338
  if publicly_accessible is not None:
35177
35339
  self._values["publicly_accessible"] = publicly_accessible
35178
35340
  if scale_with_writer is not None:
@@ -35325,6 +35487,22 @@ class ServerlessV2ClusterInstanceProps(ClusterInstanceOptions):
35325
35487
  result = self._values.get("performance_insight_retention")
35326
35488
  return typing.cast(typing.Optional[PerformanceInsightRetention], result)
35327
35489
 
35490
+ @builtins.property
35491
+ def preferred_maintenance_window(self) -> typing.Optional[builtins.str]:
35492
+ '''A preferred maintenance window day/time range. Should be specified as a range ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC).
35493
+
35494
+ Example: 'Sun:23:45-Mon:00:15'
35495
+
35496
+ :default:
35497
+
35498
+ - 30-minute window selected at random from an 8-hour block of time for
35499
+ each AWS Region, occurring on a random day of the week.
35500
+
35501
+ :see: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_UpgradeDBInstance.Maintenance.html#Concepts.DBMaintenance
35502
+ '''
35503
+ result = self._values.get("preferred_maintenance_window")
35504
+ return typing.cast(typing.Optional[builtins.str], result)
35505
+
35328
35506
  @builtins.property
35329
35507
  def publicly_accessible(self) -> typing.Optional[builtins.bool]:
35330
35508
  '''Indicates whether the DB instance is an internet-facing instance.
@@ -37050,6 +37228,7 @@ class ClusterInstance(
37050
37228
  parameters: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
37051
37229
  performance_insight_encryption_key: typing.Optional[_IKey_5f11635f] = None,
37052
37230
  performance_insight_retention: typing.Optional[PerformanceInsightRetention] = None,
37231
+ preferred_maintenance_window: typing.Optional[builtins.str] = None,
37053
37232
  publicly_accessible: typing.Optional[builtins.bool] = None,
37054
37233
  ) -> IClusterInstance:
37055
37234
  '''Add a provisioned instance to the cluster.
@@ -37067,6 +37246,7 @@ class ClusterInstance(
37067
37246
  :param parameters: The parameters in the DBParameterGroup to create automatically. You can only specify parameterGroup or parameters but not both. You need to use a versioned engine to auto-generate a DBParameterGroup. Default: - None
37068
37247
  :param performance_insight_encryption_key: The AWS KMS key for encryption of Performance Insights data. Default: - default master key
37069
37248
  :param performance_insight_retention: The amount of time, in days, to retain Performance Insights data. Default: 7
37249
+ :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.
37070
37250
  :param publicly_accessible: Indicates whether the DB instance is an internet-facing instance. If not specified, the cluster's vpcSubnets will be used to determine if the instance is internet-facing or not. Default: - ``true`` if the cluster's ``vpcSubnets`` is ``subnetType: SubnetType.PUBLIC``, ``false`` otherwise
37071
37251
 
37072
37252
  Example::
@@ -37091,6 +37271,7 @@ class ClusterInstance(
37091
37271
  parameters=parameters,
37092
37272
  performance_insight_encryption_key=performance_insight_encryption_key,
37093
37273
  performance_insight_retention=performance_insight_retention,
37274
+ preferred_maintenance_window=preferred_maintenance_window,
37094
37275
  publicly_accessible=publicly_accessible,
37095
37276
  )
37096
37277
 
@@ -37113,6 +37294,7 @@ class ClusterInstance(
37113
37294
  parameters: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
37114
37295
  performance_insight_encryption_key: typing.Optional[_IKey_5f11635f] = None,
37115
37296
  performance_insight_retention: typing.Optional[PerformanceInsightRetention] = None,
37297
+ preferred_maintenance_window: typing.Optional[builtins.str] = None,
37116
37298
  publicly_accessible: typing.Optional[builtins.bool] = None,
37117
37299
  ) -> IClusterInstance:
37118
37300
  '''Add a serverless v2 instance to the cluster.
@@ -37129,6 +37311,7 @@ class ClusterInstance(
37129
37311
  :param parameters: The parameters in the DBParameterGroup to create automatically. You can only specify parameterGroup or parameters but not both. You need to use a versioned engine to auto-generate a DBParameterGroup. Default: - None
37130
37312
  :param performance_insight_encryption_key: The AWS KMS key for encryption of Performance Insights data. Default: - default master key
37131
37313
  :param performance_insight_retention: The amount of time, in days, to retain Performance Insights data. Default: 7
37314
+ :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.
37132
37315
  :param publicly_accessible: Indicates whether the DB instance is an internet-facing instance. If not specified, the cluster's vpcSubnets will be used to determine if the instance is internet-facing or not. Default: - ``true`` if the cluster's ``vpcSubnets`` is ``subnetType: SubnetType.PUBLIC``, ``false`` otherwise
37133
37316
 
37134
37317
  Example::
@@ -37152,6 +37335,7 @@ class ClusterInstance(
37152
37335
  parameters=parameters,
37153
37336
  performance_insight_encryption_key=performance_insight_encryption_key,
37154
37337
  performance_insight_retention=performance_insight_retention,
37338
+ preferred_maintenance_window=preferred_maintenance_window,
37155
37339
  publicly_accessible=publicly_accessible,
37156
37340
  )
37157
37341
 
@@ -45290,6 +45474,8 @@ def _typecheckingstub__0596ec891883071cc8cc2bad7e4e8120eefe68f759bfc17fdbfc1a525
45290
45474
  source_arn: builtins.str,
45291
45475
  target_arn: builtins.str,
45292
45476
  additional_encryption_context: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]] = None,
45477
+ data_filter: typing.Optional[builtins.str] = None,
45478
+ description: typing.Optional[builtins.str] = None,
45293
45479
  integration_name: typing.Optional[builtins.str] = None,
45294
45480
  kms_key_id: typing.Optional[builtins.str] = None,
45295
45481
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
@@ -45327,6 +45513,18 @@ def _typecheckingstub__f7fbdfa17cddec711beb6235c912d759435b5df9d3a68892f8c59ac57
45327
45513
  """Type checking stubs"""
45328
45514
  pass
45329
45515
 
45516
+ def _typecheckingstub__8f252e37d51ec7f1680d3efcea4e0b7e52aad4f42ab7602e3513cfddd333cc79(
45517
+ value: typing.Optional[builtins.str],
45518
+ ) -> None:
45519
+ """Type checking stubs"""
45520
+ pass
45521
+
45522
+ def _typecheckingstub__f153335081bdb228cf54af39607edd8cc138405105c83cea1f20045a38af6740(
45523
+ value: typing.Optional[builtins.str],
45524
+ ) -> None:
45525
+ """Type checking stubs"""
45526
+ pass
45527
+
45330
45528
  def _typecheckingstub__d5b123c2905fc9a976f7d4b785712c7b5d8b6b3c679debd526c66604c144a9d7(
45331
45529
  value: typing.Optional[builtins.str],
45332
45530
  ) -> None:
@@ -45350,6 +45548,8 @@ def _typecheckingstub__69f4caa1fd2b447a305e7c18241756ad629a86b97bd052f17e677fc84
45350
45548
  source_arn: builtins.str,
45351
45549
  target_arn: builtins.str,
45352
45550
  additional_encryption_context: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]] = None,
45551
+ data_filter: typing.Optional[builtins.str] = None,
45552
+ description: typing.Optional[builtins.str] = None,
45353
45553
  integration_name: typing.Optional[builtins.str] = None,
45354
45554
  kms_key_id: typing.Optional[builtins.str] = None,
45355
45555
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
@@ -45500,6 +45700,7 @@ def _typecheckingstub__8cdde1ea7f85160803079277e8fcc0af34768579c1b17b771033b3c63
45500
45700
  parameters: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
45501
45701
  performance_insight_encryption_key: typing.Optional[_IKey_5f11635f] = None,
45502
45702
  performance_insight_retention: typing.Optional[PerformanceInsightRetention] = None,
45703
+ preferred_maintenance_window: typing.Optional[builtins.str] = None,
45503
45704
  publicly_accessible: typing.Optional[builtins.bool] = None,
45504
45705
  ) -> None:
45505
45706
  """Type checking stubs"""
@@ -45517,6 +45718,7 @@ def _typecheckingstub__431d59239caf38b9912bfae3130d40eeb8bdb18e013240bac43c98015
45517
45718
  parameters: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
45518
45719
  performance_insight_encryption_key: typing.Optional[_IKey_5f11635f] = None,
45519
45720
  performance_insight_retention: typing.Optional[PerformanceInsightRetention] = None,
45721
+ preferred_maintenance_window: typing.Optional[builtins.str] = None,
45520
45722
  publicly_accessible: typing.Optional[builtins.bool] = None,
45521
45723
  instance_type: ClusterInstanceType,
45522
45724
  promotion_tier: typing.Optional[jsii.Number] = None,
@@ -46380,6 +46582,7 @@ def _typecheckingstub__0d5c78a39da629a585066921d3ee78da795285acdbebe6935198fc929
46380
46582
  parameters: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
46381
46583
  performance_insight_encryption_key: typing.Optional[_IKey_5f11635f] = None,
46382
46584
  performance_insight_retention: typing.Optional[PerformanceInsightRetention] = None,
46585
+ preferred_maintenance_window: typing.Optional[builtins.str] = None,
46383
46586
  publicly_accessible: typing.Optional[builtins.bool] = None,
46384
46587
  instance_type: typing.Optional[_InstanceType_f64915b9] = None,
46385
46588
  promotion_tier: typing.Optional[jsii.Number] = None,
@@ -46618,6 +46821,7 @@ def _typecheckingstub__c8fd71a155386e8ce12e74b8c5684dfdd43d26e347ef8bbb979e8a2c3
46618
46821
  parameters: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
46619
46822
  performance_insight_encryption_key: typing.Optional[_IKey_5f11635f] = None,
46620
46823
  performance_insight_retention: typing.Optional[PerformanceInsightRetention] = None,
46824
+ preferred_maintenance_window: typing.Optional[builtins.str] = None,
46621
46825
  publicly_accessible: typing.Optional[builtins.bool] = None,
46622
46826
  scale_with_writer: typing.Optional[builtins.bool] = None,
46623
46827
  ) -> None:
@@ -46753,6 +46957,7 @@ def _typecheckingstub__d0d2cd14a2c7ed00bfb6fd9860c31cd0b1af1bff8343258b1b4a8d847
46753
46957
  parameters: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
46754
46958
  performance_insight_encryption_key: typing.Optional[_IKey_5f11635f] = None,
46755
46959
  performance_insight_retention: typing.Optional[PerformanceInsightRetention] = None,
46960
+ preferred_maintenance_window: typing.Optional[builtins.str] = None,
46756
46961
  publicly_accessible: typing.Optional[builtins.bool] = None,
46757
46962
  ) -> None:
46758
46963
  """Type checking stubs"""
@@ -46772,6 +46977,7 @@ def _typecheckingstub__95714f22d2724c29931e2710712a92b10932588d2061fa1ceed93097e
46772
46977
  parameters: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
46773
46978
  performance_insight_encryption_key: typing.Optional[_IKey_5f11635f] = None,
46774
46979
  performance_insight_retention: typing.Optional[PerformanceInsightRetention] = None,
46980
+ preferred_maintenance_window: typing.Optional[builtins.str] = None,
46775
46981
  publicly_accessible: typing.Optional[builtins.bool] = None,
46776
46982
  ) -> None:
46777
46983
  """Type checking stubs"""