aws-cdk-lib 2.96.2__py3-none-any.whl → 2.97.1__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 (53) hide show
  1. aws_cdk/__init__.py +246 -62
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.96.2.jsii.tgz → aws-cdk-lib@2.97.1.jsii.tgz} +0 -0
  4. aws_cdk/aws_apigatewayv2/__init__.py +1 -1
  5. aws_cdk/aws_appflow/__init__.py +205 -7
  6. aws_cdk/aws_appstream/__init__.py +33 -28
  7. aws_cdk/aws_appsync/__init__.py +555 -71
  8. aws_cdk/aws_autoscaling/__init__.py +5 -11
  9. aws_cdk/aws_billingconductor/__init__.py +145 -1
  10. aws_cdk/aws_cleanrooms/__init__.py +1198 -86
  11. aws_cdk/aws_cloudformation/__init__.py +221 -55
  12. aws_cdk/aws_cloudwatch/__init__.py +325 -2
  13. aws_cdk/aws_cognito/__init__.py +9 -13
  14. aws_cdk/aws_config/__init__.py +68 -73
  15. aws_cdk/aws_connect/__init__.py +909 -164
  16. aws_cdk/aws_customerprofiles/__init__.py +44 -0
  17. aws_cdk/aws_dms/__init__.py +198 -0
  18. aws_cdk/aws_ec2/__init__.py +593 -73
  19. aws_cdk/aws_ecr/__init__.py +7 -2
  20. aws_cdk/aws_ecs/__init__.py +2 -2
  21. aws_cdk/aws_efs/__init__.py +237 -0
  22. aws_cdk/aws_emr/__init__.py +232 -0
  23. aws_cdk/aws_entityresolution/__init__.py +1702 -0
  24. aws_cdk/aws_events/__init__.py +13 -18
  25. aws_cdk/aws_fms/__init__.py +3 -3
  26. aws_cdk/aws_gamelift/__init__.py +10 -15
  27. aws_cdk/aws_grafana/__init__.py +9 -5
  28. aws_cdk/aws_guardduty/__init__.py +272 -205
  29. aws_cdk/aws_iam/__init__.py +20 -18
  30. aws_cdk/aws_iotwireless/__init__.py +38 -54
  31. aws_cdk/aws_lakeformation/__init__.py +18 -6
  32. aws_cdk/aws_lambda/__init__.py +1 -1
  33. aws_cdk/aws_lightsail/__init__.py +225 -0
  34. aws_cdk/aws_lookoutequipment/__init__.py +4 -4
  35. aws_cdk/aws_macie/__init__.py +5 -3
  36. aws_cdk/aws_mediapackagev2/__init__.py +3227 -0
  37. aws_cdk/aws_pcaconnectorad/__init__.py +6785 -0
  38. aws_cdk/aws_quicksight/__init__.py +189 -116
  39. aws_cdk/aws_rds/__init__.py +316 -9
  40. aws_cdk/aws_resiliencehub/__init__.py +38 -21
  41. aws_cdk/aws_route53resolver/__init__.py +429 -0
  42. aws_cdk/aws_sagemaker/__init__.py +34 -34
  43. aws_cdk/aws_stepfunctions/__init__.py +111 -14
  44. aws_cdk/aws_transfer/__init__.py +2 -2
  45. aws_cdk/aws_vpclattice/__init__.py +128 -120
  46. aws_cdk/aws_workspacesweb/__init__.py +3790 -0
  47. aws_cdk/region_info/__init__.py +49 -0
  48. {aws_cdk_lib-2.96.2.dist-info → aws_cdk_lib-2.97.1.dist-info}/METADATA +2 -2
  49. {aws_cdk_lib-2.96.2.dist-info → aws_cdk_lib-2.97.1.dist-info}/RECORD +53 -49
  50. {aws_cdk_lib-2.96.2.dist-info → aws_cdk_lib-2.97.1.dist-info}/LICENSE +0 -0
  51. {aws_cdk_lib-2.96.2.dist-info → aws_cdk_lib-2.97.1.dist-info}/NOTICE +0 -0
  52. {aws_cdk_lib-2.96.2.dist-info → aws_cdk_lib-2.97.1.dist-info}/WHEEL +0 -0
  53. {aws_cdk_lib-2.96.2.dist-info → aws_cdk_lib-2.97.1.dist-info}/top_level.txt +0 -0
@@ -34,7 +34,7 @@ cluster = rds.DatabaseCluster(self, "Database",
34
34
  )
35
35
  ```
36
36
 
37
- To adopt Aurora I/O-Optimized. Speicify `DBClusterStorageType.AURORA_IOPT1` on the `storageType` property.
37
+ To adopt Aurora I/O-Optimized. Specify `DBClusterStorageType.AURORA_IOPT1` on the `storageType` property.
38
38
 
39
39
  ```python
40
40
  # vpc: ec2.Vpc
@@ -307,6 +307,28 @@ DB instance to a status of `incompatible-parameters`. While the DB instance has
307
307
  the incompatible-parameters status, some operations are blocked. For example,
308
308
  you can't upgrade the engine version.
309
309
 
310
+ #### CA certificate
311
+
312
+ Use the `caCertificate` property to specify the [CA certificates](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL-certificate-rotation.html)
313
+ to use for a cluster instances:
314
+
315
+ ```python
316
+ # vpc: ec2.Vpc
317
+
318
+ cluster = rds.DatabaseCluster(self, "Database",
319
+ engine=rds.DatabaseClusterEngine.aurora_mysql(version=rds.AuroraMysqlEngineVersion.VER_3_01_0),
320
+ writer=rds.ClusterInstance.provisioned("writer",
321
+ ca_certificate=rds.CaCertificate.RDS_CA_RDS2048_G1
322
+ ),
323
+ readers=[
324
+ rds.ClusterInstance.serverless_v2("reader",
325
+ ca_certificate=rds.CaCertificate.of("custom-ca")
326
+ )
327
+ ],
328
+ vpc=vpc
329
+ )
330
+ ```
331
+
310
332
  ### Migrating from instanceProps
311
333
 
312
334
  Creating instances in a `DatabaseCluster` using `instanceProps` & `instances` is
@@ -2855,7 +2877,7 @@ class CaCertificate(
2855
2877
  metaclass=jsii.JSIIMeta,
2856
2878
  jsii_type="aws-cdk-lib.aws_rds.CaCertificate",
2857
2879
  ):
2858
- '''The CA certificate used for this DB instance.
2880
+ '''The CA certificate used for a DB instance.
2859
2881
 
2860
2882
  :see: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html
2861
2883
  :exampleMetadata: infused
@@ -2868,7 +2890,7 @@ class CaCertificate(
2868
2890
  rds.DatabaseInstance(self, "Instance",
2869
2891
  engine=rds.DatabaseInstanceEngine.mysql(version=rds.MysqlEngineVersion.VER_8_0_30),
2870
2892
  vpc=vpc,
2871
- ca_certificate=rds.CaCertificate.RDS_CA_RDS2048_G1
2893
+ ca_certificate=rds.CaCertificate.of("future-rds-ca")
2872
2894
  )
2873
2895
  '''
2874
2896
 
@@ -6951,7 +6973,11 @@ class CfnDBInstance(
6951
6973
  delete_automated_backups=False,
6952
6974
  deletion_protection=False,
6953
6975
  domain="domain",
6976
+ domain_auth_secret_arn="domainAuthSecretArn",
6977
+ domain_dns_ips=["domainDnsIps"],
6978
+ domain_fqdn="domainFqdn",
6954
6979
  domain_iam_role_name="domainIamRoleName",
6980
+ domain_ou="domainOu",
6955
6981
  enable_cloudwatch_logs_exports=["enableCloudwatchLogsExports"],
6956
6982
  enable_iam_database_authentication=False,
6957
6983
  enable_performance_insights=False,
@@ -7042,7 +7068,11 @@ class CfnDBInstance(
7042
7068
  delete_automated_backups: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
7043
7069
  deletion_protection: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
7044
7070
  domain: typing.Optional[builtins.str] = None,
7071
+ domain_auth_secret_arn: typing.Optional[builtins.str] = None,
7072
+ domain_dns_ips: typing.Optional[typing.Sequence[builtins.str]] = None,
7073
+ domain_fqdn: typing.Optional[builtins.str] = None,
7045
7074
  domain_iam_role_name: typing.Optional[builtins.str] = None,
7075
+ domain_ou: typing.Optional[builtins.str] = None,
7046
7076
  enable_cloudwatch_logs_exports: typing.Optional[typing.Sequence[builtins.str]] = None,
7047
7077
  enable_iam_database_authentication: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
7048
7078
  enable_performance_insights: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
@@ -7116,7 +7146,11 @@ class CfnDBInstance(
7116
7146
  :param delete_automated_backups: A value that indicates whether to remove automated backups immediately after the DB instance is deleted. This parameter isn't case-sensitive. The default is to remove automated backups immediately after the DB instance is deleted. *Amazon Aurora* Not applicable. When you delete a DB cluster, all automated backups for that DB cluster are deleted and can't be recovered. Manual DB cluster snapshots of the DB cluster are not deleted.
7117
7147
  :param deletion_protection: A value that indicates whether the DB instance has deletion protection enabled. The database can't be deleted when deletion protection is enabled. By default, deletion protection is disabled. For more information, see `Deleting a DB Instance <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html>`_ . *Amazon Aurora* Not applicable. You can enable or disable deletion protection for the DB cluster. For more information, see ``CreateDBCluster`` . DB instances in a DB cluster can be deleted even when deletion protection is enabled for the DB cluster.
7118
7148
  :param domain: The Active Directory directory ID to create the DB instance in. Currently, only Microsoft SQL Server, Oracle, and PostgreSQL DB instances can be created in an Active Directory Domain. For more information, see `Kerberos Authentication <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/kerberos-authentication.html>`_ in the *Amazon RDS User Guide* .
7149
+ :param domain_auth_secret_arn: The ARN for the Secrets Manager secret with the credentials for the user joining the domain. Example: ``arn:aws:secretsmanager:region:account-number:secret:myselfmanagedADtestsecret-123456``
7150
+ :param domain_dns_ips: The IPv4 DNS IP addresses of your primary and secondary Active Directory domain controllers. Constraints: - Two IP addresses must be provided. If there isn't a secondary domain controller, use the IP address of the primary domain controller for both entries in the list. Example: ``123.124.125.126,234.235.236.237``
7151
+ :param domain_fqdn: The fully qualified domain name (FQDN) of an Active Directory domain. Constraints: - Can't be longer than 64 characters. Example: ``mymanagedADtest.mymanagedAD.mydomain``
7119
7152
  :param domain_iam_role_name: The name of the IAM role to use when making API calls to the Directory Service. This setting doesn't apply to the following DB instances: - Amazon Aurora (The domain is managed by the DB cluster.) - RDS Custom
7153
+ :param domain_ou: The Active Directory organizational unit for your DB instance to join. Constraints: - Must be in the distinguished name format. - Can't be longer than 64 characters. Example: ``OU=mymanagedADtestOU,DC=mymanagedADtest,DC=mymanagedAD,DC=mydomain``
7120
7154
  :param enable_cloudwatch_logs_exports: The list of log types that need to be enabled for exporting to CloudWatch Logs. The values in the list depend on the DB engine being used. For more information, see `Publishing Database Logs to Amazon CloudWatch Logs <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch>`_ in the *Amazon Relational Database Service User Guide* . *Amazon Aurora* Not applicable. CloudWatch Logs exports are managed by the DB cluster. *MariaDB* Valid values: ``audit`` , ``error`` , ``general`` , ``slowquery`` *Microsoft SQL Server* Valid values: ``agent`` , ``error`` *MySQL* Valid values: ``audit`` , ``error`` , ``general`` , ``slowquery`` *Oracle* Valid values: ``alert`` , ``audit`` , ``listener`` , ``trace`` , ``oemagent`` *PostgreSQL* Valid values: ``postgresql`` , ``upgrade``
7121
7155
  :param enable_iam_database_authentication: A value that indicates whether to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts. By default, mapping is disabled. This property is supported for RDS for MariaDB, RDS for MySQL, and RDS for PostgreSQL. For more information, see `IAM Database Authentication for MariaDB, MySQL, and PostgreSQL <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.html>`_ in the *Amazon RDS User Guide.* *Amazon Aurora* Not applicable. Mapping AWS IAM accounts to database accounts is managed by the DB cluster.
7122
7156
  :param enable_performance_insights: Specifies whether to enable Performance Insights for the DB instance. For more information, see `Using Amazon Performance Insights <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.html>`_ in the *Amazon RDS User Guide* . This setting doesn't apply to RDS Custom DB instances.
@@ -7192,7 +7226,11 @@ class CfnDBInstance(
7192
7226
  delete_automated_backups=delete_automated_backups,
7193
7227
  deletion_protection=deletion_protection,
7194
7228
  domain=domain,
7229
+ domain_auth_secret_arn=domain_auth_secret_arn,
7230
+ domain_dns_ips=domain_dns_ips,
7231
+ domain_fqdn=domain_fqdn,
7195
7232
  domain_iam_role_name=domain_iam_role_name,
7233
+ domain_ou=domain_ou,
7196
7234
  enable_cloudwatch_logs_exports=enable_cloudwatch_logs_exports,
7197
7235
  enable_iam_database_authentication=enable_iam_database_authentication,
7198
7236
  enable_performance_insights=enable_performance_insights,
@@ -7732,6 +7770,45 @@ class CfnDBInstance(
7732
7770
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
7733
7771
  jsii.set(self, "domain", value)
7734
7772
 
7773
+ @builtins.property
7774
+ @jsii.member(jsii_name="domainAuthSecretArn")
7775
+ def domain_auth_secret_arn(self) -> typing.Optional[builtins.str]:
7776
+ '''The ARN for the Secrets Manager secret with the credentials for the user joining the domain.'''
7777
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "domainAuthSecretArn"))
7778
+
7779
+ @domain_auth_secret_arn.setter
7780
+ def domain_auth_secret_arn(self, value: typing.Optional[builtins.str]) -> None:
7781
+ if __debug__:
7782
+ type_hints = typing.get_type_hints(_typecheckingstub__9b5d4902ede3d92cf4c7fab61f72976571c6eb7c6ab3f302c7a3141ebf579693)
7783
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
7784
+ jsii.set(self, "domainAuthSecretArn", value)
7785
+
7786
+ @builtins.property
7787
+ @jsii.member(jsii_name="domainDnsIps")
7788
+ def domain_dns_ips(self) -> typing.Optional[typing.List[builtins.str]]:
7789
+ '''The IPv4 DNS IP addresses of your primary and secondary Active Directory domain controllers.'''
7790
+ return typing.cast(typing.Optional[typing.List[builtins.str]], jsii.get(self, "domainDnsIps"))
7791
+
7792
+ @domain_dns_ips.setter
7793
+ def domain_dns_ips(self, value: typing.Optional[typing.List[builtins.str]]) -> None:
7794
+ if __debug__:
7795
+ type_hints = typing.get_type_hints(_typecheckingstub__a7b0abeab7a2e8161cf91da1b3dc87147814a47d1bfd5ad97fc9f7e9cf76a60e)
7796
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
7797
+ jsii.set(self, "domainDnsIps", value)
7798
+
7799
+ @builtins.property
7800
+ @jsii.member(jsii_name="domainFqdn")
7801
+ def domain_fqdn(self) -> typing.Optional[builtins.str]:
7802
+ '''The fully qualified domain name (FQDN) of an Active Directory domain.'''
7803
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "domainFqdn"))
7804
+
7805
+ @domain_fqdn.setter
7806
+ def domain_fqdn(self, value: typing.Optional[builtins.str]) -> None:
7807
+ if __debug__:
7808
+ type_hints = typing.get_type_hints(_typecheckingstub__7df38ba6bc42bad8a2ae880683ff414eeb28bb260f5afef16aa42f7acff5f965)
7809
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
7810
+ jsii.set(self, "domainFqdn", value)
7811
+
7735
7812
  @builtins.property
7736
7813
  @jsii.member(jsii_name="domainIamRoleName")
7737
7814
  def domain_iam_role_name(self) -> typing.Optional[builtins.str]:
@@ -7745,6 +7822,19 @@ class CfnDBInstance(
7745
7822
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
7746
7823
  jsii.set(self, "domainIamRoleName", value)
7747
7824
 
7825
+ @builtins.property
7826
+ @jsii.member(jsii_name="domainOu")
7827
+ def domain_ou(self) -> typing.Optional[builtins.str]:
7828
+ '''The Active Directory organizational unit for your DB instance to join.'''
7829
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "domainOu"))
7830
+
7831
+ @domain_ou.setter
7832
+ def domain_ou(self, value: typing.Optional[builtins.str]) -> None:
7833
+ if __debug__:
7834
+ type_hints = typing.get_type_hints(_typecheckingstub__2fbe1d1078f743fa5360c26d9fed3f54f1a508a16b962a9b930ace1bb00a3a25)
7835
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
7836
+ jsii.set(self, "domainOu", value)
7837
+
7748
7838
  @builtins.property
7749
7839
  @jsii.member(jsii_name="enableCloudwatchLogsExports")
7750
7840
  def enable_cloudwatch_logs_exports(
@@ -8845,7 +8935,11 @@ class CfnDBInstance(
8845
8935
  "delete_automated_backups": "deleteAutomatedBackups",
8846
8936
  "deletion_protection": "deletionProtection",
8847
8937
  "domain": "domain",
8938
+ "domain_auth_secret_arn": "domainAuthSecretArn",
8939
+ "domain_dns_ips": "domainDnsIps",
8940
+ "domain_fqdn": "domainFqdn",
8848
8941
  "domain_iam_role_name": "domainIamRoleName",
8942
+ "domain_ou": "domainOu",
8849
8943
  "enable_cloudwatch_logs_exports": "enableCloudwatchLogsExports",
8850
8944
  "enable_iam_database_authentication": "enableIamDatabaseAuthentication",
8851
8945
  "enable_performance_insights": "enablePerformanceInsights",
@@ -8921,7 +9015,11 @@ class CfnDBInstanceProps:
8921
9015
  delete_automated_backups: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
8922
9016
  deletion_protection: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
8923
9017
  domain: typing.Optional[builtins.str] = None,
9018
+ domain_auth_secret_arn: typing.Optional[builtins.str] = None,
9019
+ domain_dns_ips: typing.Optional[typing.Sequence[builtins.str]] = None,
9020
+ domain_fqdn: typing.Optional[builtins.str] = None,
8924
9021
  domain_iam_role_name: typing.Optional[builtins.str] = None,
9022
+ domain_ou: typing.Optional[builtins.str] = None,
8925
9023
  enable_cloudwatch_logs_exports: typing.Optional[typing.Sequence[builtins.str]] = None,
8926
9024
  enable_iam_database_authentication: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
8927
9025
  enable_performance_insights: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
@@ -8994,7 +9092,11 @@ class CfnDBInstanceProps:
8994
9092
  :param delete_automated_backups: A value that indicates whether to remove automated backups immediately after the DB instance is deleted. This parameter isn't case-sensitive. The default is to remove automated backups immediately after the DB instance is deleted. *Amazon Aurora* Not applicable. When you delete a DB cluster, all automated backups for that DB cluster are deleted and can't be recovered. Manual DB cluster snapshots of the DB cluster are not deleted.
8995
9093
  :param deletion_protection: A value that indicates whether the DB instance has deletion protection enabled. The database can't be deleted when deletion protection is enabled. By default, deletion protection is disabled. For more information, see `Deleting a DB Instance <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html>`_ . *Amazon Aurora* Not applicable. You can enable or disable deletion protection for the DB cluster. For more information, see ``CreateDBCluster`` . DB instances in a DB cluster can be deleted even when deletion protection is enabled for the DB cluster.
8996
9094
  :param domain: The Active Directory directory ID to create the DB instance in. Currently, only Microsoft SQL Server, Oracle, and PostgreSQL DB instances can be created in an Active Directory Domain. For more information, see `Kerberos Authentication <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/kerberos-authentication.html>`_ in the *Amazon RDS User Guide* .
9095
+ :param domain_auth_secret_arn: The ARN for the Secrets Manager secret with the credentials for the user joining the domain. Example: ``arn:aws:secretsmanager:region:account-number:secret:myselfmanagedADtestsecret-123456``
9096
+ :param domain_dns_ips: The IPv4 DNS IP addresses of your primary and secondary Active Directory domain controllers. Constraints: - Two IP addresses must be provided. If there isn't a secondary domain controller, use the IP address of the primary domain controller for both entries in the list. Example: ``123.124.125.126,234.235.236.237``
9097
+ :param domain_fqdn: The fully qualified domain name (FQDN) of an Active Directory domain. Constraints: - Can't be longer than 64 characters. Example: ``mymanagedADtest.mymanagedAD.mydomain``
8997
9098
  :param domain_iam_role_name: The name of the IAM role to use when making API calls to the Directory Service. This setting doesn't apply to the following DB instances: - Amazon Aurora (The domain is managed by the DB cluster.) - RDS Custom
9099
+ :param domain_ou: The Active Directory organizational unit for your DB instance to join. Constraints: - Must be in the distinguished name format. - Can't be longer than 64 characters. Example: ``OU=mymanagedADtestOU,DC=mymanagedADtest,DC=mymanagedAD,DC=mydomain``
8998
9100
  :param enable_cloudwatch_logs_exports: The list of log types that need to be enabled for exporting to CloudWatch Logs. The values in the list depend on the DB engine being used. For more information, see `Publishing Database Logs to Amazon CloudWatch Logs <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch>`_ in the *Amazon Relational Database Service User Guide* . *Amazon Aurora* Not applicable. CloudWatch Logs exports are managed by the DB cluster. *MariaDB* Valid values: ``audit`` , ``error`` , ``general`` , ``slowquery`` *Microsoft SQL Server* Valid values: ``agent`` , ``error`` *MySQL* Valid values: ``audit`` , ``error`` , ``general`` , ``slowquery`` *Oracle* Valid values: ``alert`` , ``audit`` , ``listener`` , ``trace`` , ``oemagent`` *PostgreSQL* Valid values: ``postgresql`` , ``upgrade``
8999
9101
  :param enable_iam_database_authentication: A value that indicates whether to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts. By default, mapping is disabled. This property is supported for RDS for MariaDB, RDS for MySQL, and RDS for PostgreSQL. For more information, see `IAM Database Authentication for MariaDB, MySQL, and PostgreSQL <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.html>`_ in the *Amazon RDS User Guide.* *Amazon Aurora* Not applicable. Mapping AWS IAM accounts to database accounts is managed by the DB cluster.
9000
9102
  :param enable_performance_insights: Specifies whether to enable Performance Insights for the DB instance. For more information, see `Using Amazon Performance Insights <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.html>`_ in the *Amazon RDS User Guide* . This setting doesn't apply to RDS Custom DB instances.
@@ -9081,7 +9183,11 @@ class CfnDBInstanceProps:
9081
9183
  delete_automated_backups=False,
9082
9184
  deletion_protection=False,
9083
9185
  domain="domain",
9186
+ domain_auth_secret_arn="domainAuthSecretArn",
9187
+ domain_dns_ips=["domainDnsIps"],
9188
+ domain_fqdn="domainFqdn",
9084
9189
  domain_iam_role_name="domainIamRoleName",
9190
+ domain_ou="domainOu",
9085
9191
  enable_cloudwatch_logs_exports=["enableCloudwatchLogsExports"],
9086
9192
  enable_iam_database_authentication=False,
9087
9193
  enable_performance_insights=False,
@@ -9168,7 +9274,11 @@ class CfnDBInstanceProps:
9168
9274
  check_type(argname="argument delete_automated_backups", value=delete_automated_backups, expected_type=type_hints["delete_automated_backups"])
9169
9275
  check_type(argname="argument deletion_protection", value=deletion_protection, expected_type=type_hints["deletion_protection"])
9170
9276
  check_type(argname="argument domain", value=domain, expected_type=type_hints["domain"])
9277
+ check_type(argname="argument domain_auth_secret_arn", value=domain_auth_secret_arn, expected_type=type_hints["domain_auth_secret_arn"])
9278
+ check_type(argname="argument domain_dns_ips", value=domain_dns_ips, expected_type=type_hints["domain_dns_ips"])
9279
+ check_type(argname="argument domain_fqdn", value=domain_fqdn, expected_type=type_hints["domain_fqdn"])
9171
9280
  check_type(argname="argument domain_iam_role_name", value=domain_iam_role_name, expected_type=type_hints["domain_iam_role_name"])
9281
+ check_type(argname="argument domain_ou", value=domain_ou, expected_type=type_hints["domain_ou"])
9172
9282
  check_type(argname="argument enable_cloudwatch_logs_exports", value=enable_cloudwatch_logs_exports, expected_type=type_hints["enable_cloudwatch_logs_exports"])
9173
9283
  check_type(argname="argument enable_iam_database_authentication", value=enable_iam_database_authentication, expected_type=type_hints["enable_iam_database_authentication"])
9174
9284
  check_type(argname="argument enable_performance_insights", value=enable_performance_insights, expected_type=type_hints["enable_performance_insights"])
@@ -9263,8 +9373,16 @@ class CfnDBInstanceProps:
9263
9373
  self._values["deletion_protection"] = deletion_protection
9264
9374
  if domain is not None:
9265
9375
  self._values["domain"] = domain
9376
+ if domain_auth_secret_arn is not None:
9377
+ self._values["domain_auth_secret_arn"] = domain_auth_secret_arn
9378
+ if domain_dns_ips is not None:
9379
+ self._values["domain_dns_ips"] = domain_dns_ips
9380
+ if domain_fqdn is not None:
9381
+ self._values["domain_fqdn"] = domain_fqdn
9266
9382
  if domain_iam_role_name is not None:
9267
9383
  self._values["domain_iam_role_name"] = domain_iam_role_name
9384
+ if domain_ou is not None:
9385
+ self._values["domain_ou"] = domain_ou
9268
9386
  if enable_cloudwatch_logs_exports is not None:
9269
9387
  self._values["enable_cloudwatch_logs_exports"] = enable_cloudwatch_logs_exports
9270
9388
  if enable_iam_database_authentication is not None:
@@ -9883,6 +10001,47 @@ class CfnDBInstanceProps:
9883
10001
  result = self._values.get("domain")
9884
10002
  return typing.cast(typing.Optional[builtins.str], result)
9885
10003
 
10004
+ @builtins.property
10005
+ def domain_auth_secret_arn(self) -> typing.Optional[builtins.str]:
10006
+ '''The ARN for the Secrets Manager secret with the credentials for the user joining the domain.
10007
+
10008
+ Example: ``arn:aws:secretsmanager:region:account-number:secret:myselfmanagedADtestsecret-123456``
10009
+
10010
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-domainauthsecretarn
10011
+ '''
10012
+ result = self._values.get("domain_auth_secret_arn")
10013
+ return typing.cast(typing.Optional[builtins.str], result)
10014
+
10015
+ @builtins.property
10016
+ def domain_dns_ips(self) -> typing.Optional[typing.List[builtins.str]]:
10017
+ '''The IPv4 DNS IP addresses of your primary and secondary Active Directory domain controllers.
10018
+
10019
+ Constraints:
10020
+
10021
+ - Two IP addresses must be provided. If there isn't a secondary domain controller, use the IP address of the primary domain controller for both entries in the list.
10022
+
10023
+ Example: ``123.124.125.126,234.235.236.237``
10024
+
10025
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-domaindnsips
10026
+ '''
10027
+ result = self._values.get("domain_dns_ips")
10028
+ return typing.cast(typing.Optional[typing.List[builtins.str]], result)
10029
+
10030
+ @builtins.property
10031
+ def domain_fqdn(self) -> typing.Optional[builtins.str]:
10032
+ '''The fully qualified domain name (FQDN) of an Active Directory domain.
10033
+
10034
+ Constraints:
10035
+
10036
+ - Can't be longer than 64 characters.
10037
+
10038
+ Example: ``mymanagedADtest.mymanagedAD.mydomain``
10039
+
10040
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-domainfqdn
10041
+ '''
10042
+ result = self._values.get("domain_fqdn")
10043
+ return typing.cast(typing.Optional[builtins.str], result)
10044
+
9886
10045
  @builtins.property
9887
10046
  def domain_iam_role_name(self) -> typing.Optional[builtins.str]:
9888
10047
  '''The name of the IAM role to use when making API calls to the Directory Service.
@@ -9897,6 +10056,22 @@ class CfnDBInstanceProps:
9897
10056
  result = self._values.get("domain_iam_role_name")
9898
10057
  return typing.cast(typing.Optional[builtins.str], result)
9899
10058
 
10059
+ @builtins.property
10060
+ def domain_ou(self) -> typing.Optional[builtins.str]:
10061
+ '''The Active Directory organizational unit for your DB instance to join.
10062
+
10063
+ Constraints:
10064
+
10065
+ - Must be in the distinguished name format.
10066
+ - Can't be longer than 64 characters.
10067
+
10068
+ Example: ``OU=mymanagedADtestOU,DC=mymanagedADtest,DC=mymanagedAD,DC=mydomain``
10069
+
10070
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-domainou
10071
+ '''
10072
+ result = self._values.get("domain_ou")
10073
+ return typing.cast(typing.Optional[builtins.str], result)
10074
+
9900
10075
  @builtins.property
9901
10076
  def enable_cloudwatch_logs_exports(
9902
10077
  self,
@@ -15608,6 +15783,7 @@ class ClusterInstanceBindOptions:
15608
15783
  name_mapping={
15609
15784
  "allow_major_version_upgrade": "allowMajorVersionUpgrade",
15610
15785
  "auto_minor_version_upgrade": "autoMinorVersionUpgrade",
15786
+ "ca_certificate": "caCertificate",
15611
15787
  "enable_performance_insights": "enablePerformanceInsights",
15612
15788
  "instance_identifier": "instanceIdentifier",
15613
15789
  "is_from_legacy_instance_props": "isFromLegacyInstanceProps",
@@ -15624,6 +15800,7 @@ class ClusterInstanceOptions:
15624
15800
  *,
15625
15801
  allow_major_version_upgrade: typing.Optional[builtins.bool] = None,
15626
15802
  auto_minor_version_upgrade: typing.Optional[builtins.bool] = None,
15803
+ ca_certificate: typing.Optional[CaCertificate] = None,
15627
15804
  enable_performance_insights: typing.Optional[builtins.bool] = None,
15628
15805
  instance_identifier: typing.Optional[builtins.str] = None,
15629
15806
  is_from_legacy_instance_props: typing.Optional[builtins.bool] = None,
@@ -15637,6 +15814,7 @@ class ClusterInstanceOptions:
15637
15814
 
15638
15815
  :param allow_major_version_upgrade: Whether to allow upgrade of major version for the DB instance. Default: - false
15639
15816
  :param auto_minor_version_upgrade: Whether to enable automatic upgrade of minor version for the DB instance. Default: - true
15817
+ :param ca_certificate: The identifier of the CA certificate for this DB cluster's instances. Specifying or updating this property triggers a reboot. For RDS DB engines: Default: - RDS will choose a certificate authority
15640
15818
  :param enable_performance_insights: Whether to enable Performance Insights for the DB instance. Default: - false, unless ``performanceInsightRentention`` or ``performanceInsightEncryptionKey`` is set.
15641
15819
  :param instance_identifier: The identifier for the database instance. Default: - CloudFormation generated identifier
15642
15820
  :param is_from_legacy_instance_props: Only used for migrating existing clusters from using ``instanceProps`` to ``writer`` and ``readers``. Default: false
@@ -15655,12 +15833,14 @@ class ClusterInstanceOptions:
15655
15833
  from aws_cdk import aws_kms as kms
15656
15834
  from aws_cdk import aws_rds as rds
15657
15835
 
15836
+ # ca_certificate: rds.CaCertificate
15658
15837
  # key: kms.Key
15659
15838
  # parameter_group: rds.ParameterGroup
15660
15839
 
15661
15840
  cluster_instance_options = rds.ClusterInstanceOptions(
15662
15841
  allow_major_version_upgrade=False,
15663
15842
  auto_minor_version_upgrade=False,
15843
+ ca_certificate=ca_certificate,
15664
15844
  enable_performance_insights=False,
15665
15845
  instance_identifier="instanceIdentifier",
15666
15846
  is_from_legacy_instance_props=False,
@@ -15677,6 +15857,7 @@ class ClusterInstanceOptions:
15677
15857
  type_hints = typing.get_type_hints(_typecheckingstub__8cdde1ea7f85160803079277e8fcc0af34768579c1b17b771033b3c6374858ac)
15678
15858
  check_type(argname="argument allow_major_version_upgrade", value=allow_major_version_upgrade, expected_type=type_hints["allow_major_version_upgrade"])
15679
15859
  check_type(argname="argument auto_minor_version_upgrade", value=auto_minor_version_upgrade, expected_type=type_hints["auto_minor_version_upgrade"])
15860
+ check_type(argname="argument ca_certificate", value=ca_certificate, expected_type=type_hints["ca_certificate"])
15680
15861
  check_type(argname="argument enable_performance_insights", value=enable_performance_insights, expected_type=type_hints["enable_performance_insights"])
15681
15862
  check_type(argname="argument instance_identifier", value=instance_identifier, expected_type=type_hints["instance_identifier"])
15682
15863
  check_type(argname="argument is_from_legacy_instance_props", value=is_from_legacy_instance_props, expected_type=type_hints["is_from_legacy_instance_props"])
@@ -15690,6 +15871,8 @@ class ClusterInstanceOptions:
15690
15871
  self._values["allow_major_version_upgrade"] = allow_major_version_upgrade
15691
15872
  if auto_minor_version_upgrade is not None:
15692
15873
  self._values["auto_minor_version_upgrade"] = auto_minor_version_upgrade
15874
+ if ca_certificate is not None:
15875
+ self._values["ca_certificate"] = ca_certificate
15693
15876
  if enable_performance_insights is not None:
15694
15877
  self._values["enable_performance_insights"] = enable_performance_insights
15695
15878
  if instance_identifier is not None:
@@ -15725,6 +15908,21 @@ class ClusterInstanceOptions:
15725
15908
  result = self._values.get("auto_minor_version_upgrade")
15726
15909
  return typing.cast(typing.Optional[builtins.bool], result)
15727
15910
 
15911
+ @builtins.property
15912
+ def ca_certificate(self) -> typing.Optional[CaCertificate]:
15913
+ '''The identifier of the CA certificate for this DB cluster's instances.
15914
+
15915
+ Specifying or updating this property triggers a reboot.
15916
+
15917
+ For RDS DB engines:
15918
+
15919
+ :default: - RDS will choose a certificate authority
15920
+
15921
+ :see: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL-certificate-rotation.html
15922
+ '''
15923
+ result = self._values.get("ca_certificate")
15924
+ return typing.cast(typing.Optional[CaCertificate], result)
15925
+
15728
15926
  @builtins.property
15729
15927
  def enable_performance_insights(self) -> typing.Optional[builtins.bool]:
15730
15928
  '''Whether to enable Performance Insights for the DB instance.
@@ -15866,6 +16064,7 @@ class ClusterInstanceOptions:
15866
16064
  name_mapping={
15867
16065
  "allow_major_version_upgrade": "allowMajorVersionUpgrade",
15868
16066
  "auto_minor_version_upgrade": "autoMinorVersionUpgrade",
16067
+ "ca_certificate": "caCertificate",
15869
16068
  "enable_performance_insights": "enablePerformanceInsights",
15870
16069
  "instance_identifier": "instanceIdentifier",
15871
16070
  "is_from_legacy_instance_props": "isFromLegacyInstanceProps",
@@ -15884,6 +16083,7 @@ class ClusterInstanceProps(ClusterInstanceOptions):
15884
16083
  *,
15885
16084
  allow_major_version_upgrade: typing.Optional[builtins.bool] = None,
15886
16085
  auto_minor_version_upgrade: typing.Optional[builtins.bool] = None,
16086
+ ca_certificate: typing.Optional[CaCertificate] = None,
15887
16087
  enable_performance_insights: typing.Optional[builtins.bool] = None,
15888
16088
  instance_identifier: typing.Optional[builtins.str] = None,
15889
16089
  is_from_legacy_instance_props: typing.Optional[builtins.bool] = None,
@@ -15899,6 +16099,7 @@ class ClusterInstanceProps(ClusterInstanceOptions):
15899
16099
 
15900
16100
  :param allow_major_version_upgrade: Whether to allow upgrade of major version for the DB instance. Default: - false
15901
16101
  :param auto_minor_version_upgrade: Whether to enable automatic upgrade of minor version for the DB instance. Default: - true
16102
+ :param ca_certificate: The identifier of the CA certificate for this DB cluster's instances. Specifying or updating this property triggers a reboot. For RDS DB engines: Default: - RDS will choose a certificate authority
15902
16103
  :param enable_performance_insights: Whether to enable Performance Insights for the DB instance. Default: - false, unless ``performanceInsightRentention`` or ``performanceInsightEncryptionKey`` is set.
15903
16104
  :param instance_identifier: The identifier for the database instance. Default: - CloudFormation generated identifier
15904
16105
  :param is_from_legacy_instance_props: Only used for migrating existing clusters from using ``instanceProps`` to ``writer`` and ``readers``. Default: false
@@ -15919,6 +16120,7 @@ class ClusterInstanceProps(ClusterInstanceOptions):
15919
16120
  from aws_cdk import aws_kms as kms
15920
16121
  from aws_cdk import aws_rds as rds
15921
16122
 
16123
+ # ca_certificate: rds.CaCertificate
15922
16124
  # cluster_instance_type: rds.ClusterInstanceType
15923
16125
  # key: kms.Key
15924
16126
  # parameter_group: rds.ParameterGroup
@@ -15929,6 +16131,7 @@ class ClusterInstanceProps(ClusterInstanceOptions):
15929
16131
  # the properties below are optional
15930
16132
  allow_major_version_upgrade=False,
15931
16133
  auto_minor_version_upgrade=False,
16134
+ ca_certificate=ca_certificate,
15932
16135
  enable_performance_insights=False,
15933
16136
  instance_identifier="instanceIdentifier",
15934
16137
  is_from_legacy_instance_props=False,
@@ -15946,6 +16149,7 @@ class ClusterInstanceProps(ClusterInstanceOptions):
15946
16149
  type_hints = typing.get_type_hints(_typecheckingstub__431d59239caf38b9912bfae3130d40eeb8bdb18e013240bac43c980158561c00)
15947
16150
  check_type(argname="argument allow_major_version_upgrade", value=allow_major_version_upgrade, expected_type=type_hints["allow_major_version_upgrade"])
15948
16151
  check_type(argname="argument auto_minor_version_upgrade", value=auto_minor_version_upgrade, expected_type=type_hints["auto_minor_version_upgrade"])
16152
+ check_type(argname="argument ca_certificate", value=ca_certificate, expected_type=type_hints["ca_certificate"])
15949
16153
  check_type(argname="argument enable_performance_insights", value=enable_performance_insights, expected_type=type_hints["enable_performance_insights"])
15950
16154
  check_type(argname="argument instance_identifier", value=instance_identifier, expected_type=type_hints["instance_identifier"])
15951
16155
  check_type(argname="argument is_from_legacy_instance_props", value=is_from_legacy_instance_props, expected_type=type_hints["is_from_legacy_instance_props"])
@@ -15963,6 +16167,8 @@ class ClusterInstanceProps(ClusterInstanceOptions):
15963
16167
  self._values["allow_major_version_upgrade"] = allow_major_version_upgrade
15964
16168
  if auto_minor_version_upgrade is not None:
15965
16169
  self._values["auto_minor_version_upgrade"] = auto_minor_version_upgrade
16170
+ if ca_certificate is not None:
16171
+ self._values["ca_certificate"] = ca_certificate
15966
16172
  if enable_performance_insights is not None:
15967
16173
  self._values["enable_performance_insights"] = enable_performance_insights
15968
16174
  if instance_identifier is not None:
@@ -16000,6 +16206,21 @@ class ClusterInstanceProps(ClusterInstanceOptions):
16000
16206
  result = self._values.get("auto_minor_version_upgrade")
16001
16207
  return typing.cast(typing.Optional[builtins.bool], result)
16002
16208
 
16209
+ @builtins.property
16210
+ def ca_certificate(self) -> typing.Optional[CaCertificate]:
16211
+ '''The identifier of the CA certificate for this DB cluster's instances.
16212
+
16213
+ Specifying or updating this property triggers a reboot.
16214
+
16215
+ For RDS DB engines:
16216
+
16217
+ :default: - RDS will choose a certificate authority
16218
+
16219
+ :see: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL-certificate-rotation.html
16220
+ '''
16221
+ result = self._values.get("ca_certificate")
16222
+ return typing.cast(typing.Optional[CaCertificate], result)
16223
+
16003
16224
  @builtins.property
16004
16225
  def enable_performance_insights(self) -> typing.Optional[builtins.bool]:
16005
16226
  '''Whether to enable Performance Insights for the DB instance.
@@ -17205,17 +17426,17 @@ class DatabaseClusterEngine(
17205
17426
 
17206
17427
  cluster = rds.DatabaseCluster(self, "Database",
17207
17428
  engine=rds.DatabaseClusterEngine.aurora_mysql(version=rds.AuroraMysqlEngineVersion.VER_2_08_1),
17429
+ credentials=rds.Credentials.from_generated_secret("clusteradmin"), # Optional - will default to 'admin' username and generated password
17208
17430
  writer=rds.ClusterInstance.provisioned("writer",
17209
- instance_type=ec2.InstanceType.of(ec2.InstanceClass.R6G, ec2.InstanceSize.XLARGE4)
17431
+ publicly_accessible=False
17210
17432
  ),
17211
- serverless_v2_min_capacity=6.5,
17212
- serverless_v2_max_capacity=64,
17213
17433
  readers=[
17214
- # will be put in promotion tier 1 and will scale with the writer
17215
- rds.ClusterInstance.serverless_v2("reader1", scale_with_writer=True),
17216
- # will be put in promotion tier 2 and will not scale with the writer
17434
+ rds.ClusterInstance.provisioned("reader1", promotion_tier=1),
17217
17435
  rds.ClusterInstance.serverless_v2("reader2")
17218
17436
  ],
17437
+ vpc_subnets=ec2.SubnetSelection(
17438
+ subnet_type=ec2.SubnetType.PRIVATE_WITH_EGRESS
17439
+ ),
17219
17440
  vpc=vpc
17220
17441
  )
17221
17442
  '''
@@ -30217,6 +30438,7 @@ class ProcessorFeatures:
30217
30438
  name_mapping={
30218
30439
  "allow_major_version_upgrade": "allowMajorVersionUpgrade",
30219
30440
  "auto_minor_version_upgrade": "autoMinorVersionUpgrade",
30441
+ "ca_certificate": "caCertificate",
30220
30442
  "enable_performance_insights": "enablePerformanceInsights",
30221
30443
  "instance_identifier": "instanceIdentifier",
30222
30444
  "is_from_legacy_instance_props": "isFromLegacyInstanceProps",
@@ -30235,6 +30457,7 @@ class ProvisionedClusterInstanceProps(ClusterInstanceOptions):
30235
30457
  *,
30236
30458
  allow_major_version_upgrade: typing.Optional[builtins.bool] = None,
30237
30459
  auto_minor_version_upgrade: typing.Optional[builtins.bool] = None,
30460
+ ca_certificate: typing.Optional[CaCertificate] = None,
30238
30461
  enable_performance_insights: typing.Optional[builtins.bool] = None,
30239
30462
  instance_identifier: typing.Optional[builtins.str] = None,
30240
30463
  is_from_legacy_instance_props: typing.Optional[builtins.bool] = None,
@@ -30250,6 +30473,7 @@ class ProvisionedClusterInstanceProps(ClusterInstanceOptions):
30250
30473
 
30251
30474
  :param allow_major_version_upgrade: Whether to allow upgrade of major version for the DB instance. Default: - false
30252
30475
  :param auto_minor_version_upgrade: Whether to enable automatic upgrade of minor version for the DB instance. Default: - true
30476
+ :param ca_certificate: The identifier of the CA certificate for this DB cluster's instances. Specifying or updating this property triggers a reboot. For RDS DB engines: Default: - RDS will choose a certificate authority
30253
30477
  :param enable_performance_insights: Whether to enable Performance Insights for the DB instance. Default: - false, unless ``performanceInsightRentention`` or ``performanceInsightEncryptionKey`` is set.
30254
30478
  :param instance_identifier: The identifier for the database instance. Default: - CloudFormation generated identifier
30255
30479
  :param is_from_legacy_instance_props: Only used for migrating existing clusters from using ``instanceProps`` to ``writer`` and ``readers``. Default: false
@@ -30287,6 +30511,7 @@ class ProvisionedClusterInstanceProps(ClusterInstanceOptions):
30287
30511
  type_hints = typing.get_type_hints(_typecheckingstub__0d5c78a39da629a585066921d3ee78da795285acdbebe6935198fc9293af7e90)
30288
30512
  check_type(argname="argument allow_major_version_upgrade", value=allow_major_version_upgrade, expected_type=type_hints["allow_major_version_upgrade"])
30289
30513
  check_type(argname="argument auto_minor_version_upgrade", value=auto_minor_version_upgrade, expected_type=type_hints["auto_minor_version_upgrade"])
30514
+ check_type(argname="argument ca_certificate", value=ca_certificate, expected_type=type_hints["ca_certificate"])
30290
30515
  check_type(argname="argument enable_performance_insights", value=enable_performance_insights, expected_type=type_hints["enable_performance_insights"])
30291
30516
  check_type(argname="argument instance_identifier", value=instance_identifier, expected_type=type_hints["instance_identifier"])
30292
30517
  check_type(argname="argument is_from_legacy_instance_props", value=is_from_legacy_instance_props, expected_type=type_hints["is_from_legacy_instance_props"])
@@ -30302,6 +30527,8 @@ class ProvisionedClusterInstanceProps(ClusterInstanceOptions):
30302
30527
  self._values["allow_major_version_upgrade"] = allow_major_version_upgrade
30303
30528
  if auto_minor_version_upgrade is not None:
30304
30529
  self._values["auto_minor_version_upgrade"] = auto_minor_version_upgrade
30530
+ if ca_certificate is not None:
30531
+ self._values["ca_certificate"] = ca_certificate
30305
30532
  if enable_performance_insights is not None:
30306
30533
  self._values["enable_performance_insights"] = enable_performance_insights
30307
30534
  if instance_identifier is not None:
@@ -30341,6 +30568,21 @@ class ProvisionedClusterInstanceProps(ClusterInstanceOptions):
30341
30568
  result = self._values.get("auto_minor_version_upgrade")
30342
30569
  return typing.cast(typing.Optional[builtins.bool], result)
30343
30570
 
30571
+ @builtins.property
30572
+ def ca_certificate(self) -> typing.Optional[CaCertificate]:
30573
+ '''The identifier of the CA certificate for this DB cluster's instances.
30574
+
30575
+ Specifying or updating this property triggers a reboot.
30576
+
30577
+ For RDS DB engines:
30578
+
30579
+ :default: - RDS will choose a certificate authority
30580
+
30581
+ :see: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL-certificate-rotation.html
30582
+ '''
30583
+ result = self._values.get("ca_certificate")
30584
+ return typing.cast(typing.Optional[CaCertificate], result)
30585
+
30344
30586
  @builtins.property
30345
30587
  def enable_performance_insights(self) -> typing.Optional[builtins.bool]:
30346
30588
  '''Whether to enable Performance Insights for the DB instance.
@@ -32364,6 +32606,7 @@ class ServerlessScalingOptions:
32364
32606
  name_mapping={
32365
32607
  "allow_major_version_upgrade": "allowMajorVersionUpgrade",
32366
32608
  "auto_minor_version_upgrade": "autoMinorVersionUpgrade",
32609
+ "ca_certificate": "caCertificate",
32367
32610
  "enable_performance_insights": "enablePerformanceInsights",
32368
32611
  "instance_identifier": "instanceIdentifier",
32369
32612
  "is_from_legacy_instance_props": "isFromLegacyInstanceProps",
@@ -32381,6 +32624,7 @@ class ServerlessV2ClusterInstanceProps(ClusterInstanceOptions):
32381
32624
  *,
32382
32625
  allow_major_version_upgrade: typing.Optional[builtins.bool] = None,
32383
32626
  auto_minor_version_upgrade: typing.Optional[builtins.bool] = None,
32627
+ ca_certificate: typing.Optional[CaCertificate] = None,
32384
32628
  enable_performance_insights: typing.Optional[builtins.bool] = None,
32385
32629
  instance_identifier: typing.Optional[builtins.str] = None,
32386
32630
  is_from_legacy_instance_props: typing.Optional[builtins.bool] = None,
@@ -32395,6 +32639,7 @@ class ServerlessV2ClusterInstanceProps(ClusterInstanceOptions):
32395
32639
 
32396
32640
  :param allow_major_version_upgrade: Whether to allow upgrade of major version for the DB instance. Default: - false
32397
32641
  :param auto_minor_version_upgrade: Whether to enable automatic upgrade of minor version for the DB instance. Default: - true
32642
+ :param ca_certificate: The identifier of the CA certificate for this DB cluster's instances. Specifying or updating this property triggers a reboot. For RDS DB engines: Default: - RDS will choose a certificate authority
32398
32643
  :param enable_performance_insights: Whether to enable Performance Insights for the DB instance. Default: - false, unless ``performanceInsightRentention`` or ``performanceInsightEncryptionKey`` is set.
32399
32644
  :param instance_identifier: The identifier for the database instance. Default: - CloudFormation generated identifier
32400
32645
  :param is_from_legacy_instance_props: Only used for migrating existing clusters from using ``instanceProps`` to ``writer`` and ``readers``. Default: false
@@ -32427,6 +32672,7 @@ class ServerlessV2ClusterInstanceProps(ClusterInstanceOptions):
32427
32672
  type_hints = typing.get_type_hints(_typecheckingstub__c8fd71a155386e8ce12e74b8c5684dfdd43d26e347ef8bbb979e8a2c34f7b38e)
32428
32673
  check_type(argname="argument allow_major_version_upgrade", value=allow_major_version_upgrade, expected_type=type_hints["allow_major_version_upgrade"])
32429
32674
  check_type(argname="argument auto_minor_version_upgrade", value=auto_minor_version_upgrade, expected_type=type_hints["auto_minor_version_upgrade"])
32675
+ check_type(argname="argument ca_certificate", value=ca_certificate, expected_type=type_hints["ca_certificate"])
32430
32676
  check_type(argname="argument enable_performance_insights", value=enable_performance_insights, expected_type=type_hints["enable_performance_insights"])
32431
32677
  check_type(argname="argument instance_identifier", value=instance_identifier, expected_type=type_hints["instance_identifier"])
32432
32678
  check_type(argname="argument is_from_legacy_instance_props", value=is_from_legacy_instance_props, expected_type=type_hints["is_from_legacy_instance_props"])
@@ -32441,6 +32687,8 @@ class ServerlessV2ClusterInstanceProps(ClusterInstanceOptions):
32441
32687
  self._values["allow_major_version_upgrade"] = allow_major_version_upgrade
32442
32688
  if auto_minor_version_upgrade is not None:
32443
32689
  self._values["auto_minor_version_upgrade"] = auto_minor_version_upgrade
32690
+ if ca_certificate is not None:
32691
+ self._values["ca_certificate"] = ca_certificate
32444
32692
  if enable_performance_insights is not None:
32445
32693
  self._values["enable_performance_insights"] = enable_performance_insights
32446
32694
  if instance_identifier is not None:
@@ -32478,6 +32726,21 @@ class ServerlessV2ClusterInstanceProps(ClusterInstanceOptions):
32478
32726
  result = self._values.get("auto_minor_version_upgrade")
32479
32727
  return typing.cast(typing.Optional[builtins.bool], result)
32480
32728
 
32729
+ @builtins.property
32730
+ def ca_certificate(self) -> typing.Optional[CaCertificate]:
32731
+ '''The identifier of the CA certificate for this DB cluster's instances.
32732
+
32733
+ Specifying or updating this property triggers a reboot.
32734
+
32735
+ For RDS DB engines:
32736
+
32737
+ :default: - RDS will choose a certificate authority
32738
+
32739
+ :see: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL-certificate-rotation.html
32740
+ '''
32741
+ result = self._values.get("ca_certificate")
32742
+ return typing.cast(typing.Optional[CaCertificate], result)
32743
+
32481
32744
  @builtins.property
32482
32745
  def enable_performance_insights(self) -> typing.Optional[builtins.bool]:
32483
32746
  '''Whether to enable Performance Insights for the DB instance.
@@ -34063,6 +34326,7 @@ class ClusterInstance(
34063
34326
  promotion_tier: typing.Optional[jsii.Number] = None,
34064
34327
  allow_major_version_upgrade: typing.Optional[builtins.bool] = None,
34065
34328
  auto_minor_version_upgrade: typing.Optional[builtins.bool] = None,
34329
+ ca_certificate: typing.Optional[CaCertificate] = None,
34066
34330
  enable_performance_insights: typing.Optional[builtins.bool] = None,
34067
34331
  instance_identifier: typing.Optional[builtins.str] = None,
34068
34332
  is_from_legacy_instance_props: typing.Optional[builtins.bool] = None,
@@ -34079,6 +34343,7 @@ class ClusterInstance(
34079
34343
  :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
34080
34344
  :param allow_major_version_upgrade: Whether to allow upgrade of major version for the DB instance. Default: - false
34081
34345
  :param auto_minor_version_upgrade: Whether to enable automatic upgrade of minor version for the DB instance. Default: - true
34346
+ :param ca_certificate: The identifier of the CA certificate for this DB cluster's instances. Specifying or updating this property triggers a reboot. For RDS DB engines: Default: - RDS will choose a certificate authority
34082
34347
  :param enable_performance_insights: Whether to enable Performance Insights for the DB instance. Default: - false, unless ``performanceInsightRentention`` or ``performanceInsightEncryptionKey`` is set.
34083
34348
  :param instance_identifier: The identifier for the database instance. Default: - CloudFormation generated identifier
34084
34349
  :param is_from_legacy_instance_props: Only used for migrating existing clusters from using ``instanceProps`` to ``writer`` and ``readers``. Default: false
@@ -34102,6 +34367,7 @@ class ClusterInstance(
34102
34367
  promotion_tier=promotion_tier,
34103
34368
  allow_major_version_upgrade=allow_major_version_upgrade,
34104
34369
  auto_minor_version_upgrade=auto_minor_version_upgrade,
34370
+ ca_certificate=ca_certificate,
34105
34371
  enable_performance_insights=enable_performance_insights,
34106
34372
  instance_identifier=instance_identifier,
34107
34373
  is_from_legacy_instance_props=is_from_legacy_instance_props,
@@ -34123,6 +34389,7 @@ class ClusterInstance(
34123
34389
  scale_with_writer: typing.Optional[builtins.bool] = None,
34124
34390
  allow_major_version_upgrade: typing.Optional[builtins.bool] = None,
34125
34391
  auto_minor_version_upgrade: typing.Optional[builtins.bool] = None,
34392
+ ca_certificate: typing.Optional[CaCertificate] = None,
34126
34393
  enable_performance_insights: typing.Optional[builtins.bool] = None,
34127
34394
  instance_identifier: typing.Optional[builtins.str] = None,
34128
34395
  is_from_legacy_instance_props: typing.Optional[builtins.bool] = None,
@@ -34138,6 +34405,7 @@ class ClusterInstance(
34138
34405
  :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
34139
34406
  :param allow_major_version_upgrade: Whether to allow upgrade of major version for the DB instance. Default: - false
34140
34407
  :param auto_minor_version_upgrade: Whether to enable automatic upgrade of minor version for the DB instance. Default: - true
34408
+ :param ca_certificate: The identifier of the CA certificate for this DB cluster's instances. Specifying or updating this property triggers a reboot. For RDS DB engines: Default: - RDS will choose a certificate authority
34141
34409
  :param enable_performance_insights: Whether to enable Performance Insights for the DB instance. Default: - false, unless ``performanceInsightRentention`` or ``performanceInsightEncryptionKey`` is set.
34142
34410
  :param instance_identifier: The identifier for the database instance. Default: - CloudFormation generated identifier
34143
34411
  :param is_from_legacy_instance_props: Only used for migrating existing clusters from using ``instanceProps`` to ``writer`` and ``readers``. Default: false
@@ -34160,6 +34428,7 @@ class ClusterInstance(
34160
34428
  scale_with_writer=scale_with_writer,
34161
34429
  allow_major_version_upgrade=allow_major_version_upgrade,
34162
34430
  auto_minor_version_upgrade=auto_minor_version_upgrade,
34431
+ ca_certificate=ca_certificate,
34163
34432
  enable_performance_insights=enable_performance_insights,
34164
34433
  instance_identifier=instance_identifier,
34165
34434
  is_from_legacy_instance_props=is_from_legacy_instance_props,
@@ -40753,7 +41022,11 @@ def _typecheckingstub__255b0779ca741853674876540bf77279f6293bea05de2cd18724d2b92
40753
41022
  delete_automated_backups: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
40754
41023
  deletion_protection: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
40755
41024
  domain: typing.Optional[builtins.str] = None,
41025
+ domain_auth_secret_arn: typing.Optional[builtins.str] = None,
41026
+ domain_dns_ips: typing.Optional[typing.Sequence[builtins.str]] = None,
41027
+ domain_fqdn: typing.Optional[builtins.str] = None,
40756
41028
  domain_iam_role_name: typing.Optional[builtins.str] = None,
41029
+ domain_ou: typing.Optional[builtins.str] = None,
40757
41030
  enable_cloudwatch_logs_exports: typing.Optional[typing.Sequence[builtins.str]] = None,
40758
41031
  enable_iam_database_authentication: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
40759
41032
  enable_performance_insights: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
@@ -40959,12 +41232,36 @@ def _typecheckingstub__983187a72c004fd527e146e600a3ba6e403cc37a21153eb4891e215e5
40959
41232
  """Type checking stubs"""
40960
41233
  pass
40961
41234
 
41235
+ def _typecheckingstub__9b5d4902ede3d92cf4c7fab61f72976571c6eb7c6ab3f302c7a3141ebf579693(
41236
+ value: typing.Optional[builtins.str],
41237
+ ) -> None:
41238
+ """Type checking stubs"""
41239
+ pass
41240
+
41241
+ def _typecheckingstub__a7b0abeab7a2e8161cf91da1b3dc87147814a47d1bfd5ad97fc9f7e9cf76a60e(
41242
+ value: typing.Optional[typing.List[builtins.str]],
41243
+ ) -> None:
41244
+ """Type checking stubs"""
41245
+ pass
41246
+
41247
+ def _typecheckingstub__7df38ba6bc42bad8a2ae880683ff414eeb28bb260f5afef16aa42f7acff5f965(
41248
+ value: typing.Optional[builtins.str],
41249
+ ) -> None:
41250
+ """Type checking stubs"""
41251
+ pass
41252
+
40962
41253
  def _typecheckingstub__7fd9be68a3f0ada770758f20ae678e93c881b405fc762613862a364717217184(
40963
41254
  value: typing.Optional[builtins.str],
40964
41255
  ) -> None:
40965
41256
  """Type checking stubs"""
40966
41257
  pass
40967
41258
 
41259
+ def _typecheckingstub__2fbe1d1078f743fa5360c26d9fed3f54f1a508a16b962a9b930ace1bb00a3a25(
41260
+ value: typing.Optional[builtins.str],
41261
+ ) -> None:
41262
+ """Type checking stubs"""
41263
+ pass
41264
+
40968
41265
  def _typecheckingstub__7c0c6818a7c294ab57309fd6f8297e3dcbd9fe8f30e3c917aa472918a93f5ab3(
40969
41266
  value: typing.Optional[typing.List[builtins.str]],
40970
41267
  ) -> None:
@@ -41302,7 +41599,11 @@ def _typecheckingstub__3bddb1be0bd1f1699e3a084c5859d94d8879ff15011f2f2eaac29ec16
41302
41599
  delete_automated_backups: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
41303
41600
  deletion_protection: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
41304
41601
  domain: typing.Optional[builtins.str] = None,
41602
+ domain_auth_secret_arn: typing.Optional[builtins.str] = None,
41603
+ domain_dns_ips: typing.Optional[typing.Sequence[builtins.str]] = None,
41604
+ domain_fqdn: typing.Optional[builtins.str] = None,
41305
41605
  domain_iam_role_name: typing.Optional[builtins.str] = None,
41606
+ domain_ou: typing.Optional[builtins.str] = None,
41306
41607
  enable_cloudwatch_logs_exports: typing.Optional[typing.Sequence[builtins.str]] = None,
41307
41608
  enable_iam_database_authentication: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
41308
41609
  enable_performance_insights: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
@@ -42185,6 +42486,7 @@ def _typecheckingstub__8cdde1ea7f85160803079277e8fcc0af34768579c1b17b771033b3c63
42185
42486
  *,
42186
42487
  allow_major_version_upgrade: typing.Optional[builtins.bool] = None,
42187
42488
  auto_minor_version_upgrade: typing.Optional[builtins.bool] = None,
42489
+ ca_certificate: typing.Optional[CaCertificate] = None,
42188
42490
  enable_performance_insights: typing.Optional[builtins.bool] = None,
42189
42491
  instance_identifier: typing.Optional[builtins.str] = None,
42190
42492
  is_from_legacy_instance_props: typing.Optional[builtins.bool] = None,
@@ -42201,6 +42503,7 @@ def _typecheckingstub__431d59239caf38b9912bfae3130d40eeb8bdb18e013240bac43c98015
42201
42503
  *,
42202
42504
  allow_major_version_upgrade: typing.Optional[builtins.bool] = None,
42203
42505
  auto_minor_version_upgrade: typing.Optional[builtins.bool] = None,
42506
+ ca_certificate: typing.Optional[CaCertificate] = None,
42204
42507
  enable_performance_insights: typing.Optional[builtins.bool] = None,
42205
42508
  instance_identifier: typing.Optional[builtins.str] = None,
42206
42509
  is_from_legacy_instance_props: typing.Optional[builtins.bool] = None,
@@ -43041,6 +43344,7 @@ def _typecheckingstub__0d5c78a39da629a585066921d3ee78da795285acdbebe6935198fc929
43041
43344
  *,
43042
43345
  allow_major_version_upgrade: typing.Optional[builtins.bool] = None,
43043
43346
  auto_minor_version_upgrade: typing.Optional[builtins.bool] = None,
43347
+ ca_certificate: typing.Optional[CaCertificate] = None,
43044
43348
  enable_performance_insights: typing.Optional[builtins.bool] = None,
43045
43349
  instance_identifier: typing.Optional[builtins.str] = None,
43046
43350
  is_from_legacy_instance_props: typing.Optional[builtins.bool] = None,
@@ -43276,6 +43580,7 @@ def _typecheckingstub__c8fd71a155386e8ce12e74b8c5684dfdd43d26e347ef8bbb979e8a2c3
43276
43580
  *,
43277
43581
  allow_major_version_upgrade: typing.Optional[builtins.bool] = None,
43278
43582
  auto_minor_version_upgrade: typing.Optional[builtins.bool] = None,
43583
+ ca_certificate: typing.Optional[CaCertificate] = None,
43279
43584
  enable_performance_insights: typing.Optional[builtins.bool] = None,
43280
43585
  instance_identifier: typing.Optional[builtins.str] = None,
43281
43586
  is_from_legacy_instance_props: typing.Optional[builtins.bool] = None,
@@ -43410,6 +43715,7 @@ def _typecheckingstub__d0d2cd14a2c7ed00bfb6fd9860c31cd0b1af1bff8343258b1b4a8d847
43410
43715
  promotion_tier: typing.Optional[jsii.Number] = None,
43411
43716
  allow_major_version_upgrade: typing.Optional[builtins.bool] = None,
43412
43717
  auto_minor_version_upgrade: typing.Optional[builtins.bool] = None,
43718
+ ca_certificate: typing.Optional[CaCertificate] = None,
43413
43719
  enable_performance_insights: typing.Optional[builtins.bool] = None,
43414
43720
  instance_identifier: typing.Optional[builtins.str] = None,
43415
43721
  is_from_legacy_instance_props: typing.Optional[builtins.bool] = None,
@@ -43428,6 +43734,7 @@ def _typecheckingstub__95714f22d2724c29931e2710712a92b10932588d2061fa1ceed93097e
43428
43734
  scale_with_writer: typing.Optional[builtins.bool] = None,
43429
43735
  allow_major_version_upgrade: typing.Optional[builtins.bool] = None,
43430
43736
  auto_minor_version_upgrade: typing.Optional[builtins.bool] = None,
43737
+ ca_certificate: typing.Optional[CaCertificate] = None,
43431
43738
  enable_performance_insights: typing.Optional[builtins.bool] = None,
43432
43739
  instance_identifier: typing.Optional[builtins.str] = None,
43433
43740
  is_from_legacy_instance_props: typing.Optional[builtins.bool] = None,