aws-cdk-lib 2.202.0__py3-none-any.whl → 2.203.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 (62) hide show
  1. aws_cdk/__init__.py +46 -47
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.202.0.jsii.tgz → aws-cdk-lib@2.203.1.jsii.tgz} +0 -0
  4. aws_cdk/aws_accessanalyzer/__init__.py +310 -4
  5. aws_cdk/aws_aiops/__init__.py +964 -0
  6. aws_cdk/aws_amplify/__init__.py +127 -0
  7. aws_cdk/aws_arczonalshift/__init__.py +8 -8
  8. aws_cdk/aws_b2bi/__init__.py +782 -3
  9. aws_cdk/aws_backup/__init__.py +22 -0
  10. aws_cdk/aws_batch/__init__.py +53 -1
  11. aws_cdk/aws_bedrock/__init__.py +123 -9
  12. aws_cdk/aws_cleanrooms/__init__.py +157 -154
  13. aws_cdk/aws_cloudformation/__init__.py +28 -28
  14. aws_cdk/aws_cloudfront/__init__.py +61 -18
  15. aws_cdk/aws_cloudfront/experimental/__init__.py +37 -3
  16. aws_cdk/aws_cloudwatch/__init__.py +228 -2
  17. aws_cdk/aws_connect/__init__.py +120 -8
  18. aws_cdk/aws_connectcampaignsv2/__init__.py +25 -4
  19. aws_cdk/aws_customerprofiles/__init__.py +140 -20
  20. aws_cdk/aws_datazone/__init__.py +23 -4
  21. aws_cdk/aws_deadline/__init__.py +4 -4
  22. aws_cdk/aws_dsql/__init__.py +148 -0
  23. aws_cdk/aws_ec2/__init__.py +159 -7
  24. aws_cdk/aws_ecr/__init__.py +3 -3
  25. aws_cdk/aws_ecs/__init__.py +48 -13
  26. aws_cdk/aws_elasticloadbalancingv2/__init__.py +4 -2
  27. aws_cdk/aws_emrserverless/__init__.py +118 -0
  28. aws_cdk/aws_fsx/__init__.py +891 -0
  29. aws_cdk/aws_iam/__init__.py +8 -8
  30. aws_cdk/aws_inspectorv2/__init__.py +442 -3
  31. aws_cdk/aws_kendra/__init__.py +10 -5
  32. aws_cdk/aws_kms/__init__.py +14 -8
  33. aws_cdk/aws_lambda/__init__.py +191 -24
  34. aws_cdk/aws_lambda_nodejs/__init__.py +37 -3
  35. aws_cdk/aws_lex/__init__.py +703 -0
  36. aws_cdk/aws_logs/__init__.py +144 -0
  37. aws_cdk/aws_mediatailor/__init__.py +399 -0
  38. aws_cdk/aws_mpa/__init__.py +1475 -0
  39. aws_cdk/aws_networkfirewall/__init__.py +4 -2
  40. aws_cdk/aws_networkmanager/__init__.py +51 -3
  41. aws_cdk/aws_opsworkscm/__init__.py +44 -2
  42. aws_cdk/aws_rds/__init__.py +171 -41
  43. aws_cdk/aws_redshiftserverless/__init__.py +632 -0
  44. aws_cdk/aws_route53resolver/__init__.py +58 -10
  45. aws_cdk/aws_s3/__init__.py +3 -1
  46. aws_cdk/aws_s3tables/__init__.py +230 -0
  47. aws_cdk/aws_sagemaker/__init__.py +6 -2
  48. aws_cdk/aws_securityhub/__init__.py +2887 -56
  49. aws_cdk/aws_synthetics/__init__.py +21 -0
  50. aws_cdk/aws_vpclattice/__init__.py +6 -4
  51. aws_cdk/aws_wafv2/__init__.py +156 -51
  52. aws_cdk/aws_workspacesinstances/__init__.py +3243 -0
  53. aws_cdk/cloud_assembly_schema/__init__.py +200 -4
  54. aws_cdk/cx_api/__init__.py +15 -14
  55. aws_cdk/pipelines/__init__.py +31 -3
  56. aws_cdk/triggers/__init__.py +41 -4
  57. {aws_cdk_lib-2.202.0.dist-info → aws_cdk_lib-2.203.1.dist-info}/METADATA +3 -3
  58. {aws_cdk_lib-2.202.0.dist-info → aws_cdk_lib-2.203.1.dist-info}/RECORD +62 -59
  59. {aws_cdk_lib-2.202.0.dist-info → aws_cdk_lib-2.203.1.dist-info}/LICENSE +0 -0
  60. {aws_cdk_lib-2.202.0.dist-info → aws_cdk_lib-2.203.1.dist-info}/NOTICE +0 -0
  61. {aws_cdk_lib-2.202.0.dist-info → aws_cdk_lib-2.203.1.dist-info}/WHEEL +0 -0
  62. {aws_cdk_lib-2.202.0.dist-info → aws_cdk_lib-2.203.1.dist-info}/top_level.txt +0 -0
@@ -153,20 +153,6 @@ rds.DatabaseCluster(self, "DatabaseCluster",
153
153
  )
154
154
  ```
155
155
 
156
- To configure [the life cycle type of the cluster](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/extended-support.html), use the `engineLifecycleSupport` property:
157
-
158
- ```python
159
- # vpc: ec2.IVpc
160
-
161
-
162
- rds.DatabaseCluster(self, "DatabaseCluster",
163
- engine=rds.DatabaseClusterEngine.aurora_mysql(version=rds.AuroraMysqlEngineVersion.VER_3_07_0),
164
- writer=rds.ClusterInstance.serverless_v2("writerInstance"),
165
- vpc=vpc,
166
- engine_lifecycle_support=rds.EngineLifecycleSupport.OPEN_SOURCE_RDS_EXTENDED_SUPPORT
167
- )
168
- ```
169
-
170
156
  ### Updating the database instances in a cluster
171
157
 
172
158
  Database cluster instances may be updated in bulk or on a rolling basis.
@@ -1814,6 +1800,30 @@ rds.DatabaseCluster(self, "Cluster",
1814
1800
  )
1815
1801
  ```
1816
1802
 
1803
+ ## Extended Support
1804
+
1805
+ With Amazon RDS Extended Support, you can continue running your database on a major engine version past the RDS end of
1806
+ standard support date for an additional cost. To configure the life cycle type, use the `engineLifecycleSupport` property:
1807
+
1808
+ ```python
1809
+ # vpc: ec2.IVpc
1810
+
1811
+
1812
+ rds.DatabaseCluster(self, "DatabaseCluster",
1813
+ engine=rds.DatabaseClusterEngine.aurora_mysql(version=rds.AuroraMysqlEngineVersion.VER_3_07_0),
1814
+ writer=rds.ClusterInstance.serverless_v2("writerInstance"),
1815
+ vpc=vpc,
1816
+ engine_lifecycle_support=rds.EngineLifecycleSupport.OPEN_SOURCE_RDS_EXTENDED_SUPPORT
1817
+ )
1818
+
1819
+ rds.DatabaseInstance(self, "DatabaseInstance",
1820
+ engine=rds.DatabaseInstanceEngine.mysql(version=rds.MysqlEngineVersion.VER_8_0_39),
1821
+ instance_type=ec2.InstanceType.of(ec2.InstanceClass.R7G, ec2.InstanceSize.LARGE),
1822
+ vpc=vpc,
1823
+ engine_lifecycle_support=rds.EngineLifecycleSupport.OPEN_SOURCE_RDS_EXTENDED_SUPPORT_DISABLED
1824
+ )
1825
+ ```
1826
+
1817
1827
  ## Importing existing DatabaseInstance
1818
1828
 
1819
1829
  ### Lookup DatabaseInstance by instanceIdentifier
@@ -2347,14 +2357,11 @@ class AuroraMysqlClusterEngineProps:
2347
2357
 
2348
2358
  cluster = rds.DatabaseCluster(self, "Database",
2349
2359
  engine=rds.DatabaseClusterEngine.aurora_mysql(version=rds.AuroraMysqlEngineVersion.VER_3_01_0),
2350
- writer=rds.ClusterInstance.provisioned("writer",
2351
- ca_certificate=rds.CaCertificate.RDS_CA_RSA2048_G1
2360
+ writer=rds.ClusterInstance.provisioned("Instance",
2361
+ instance_type=ec2.InstanceType.of(ec2.InstanceClass.BURSTABLE3, ec2.InstanceSize.SMALL)
2352
2362
  ),
2353
- readers=[
2354
- rds.ClusterInstance.serverless_v2("reader",
2355
- ca_certificate=rds.CaCertificate.of("custom-ca")
2356
- )
2357
- ],
2363
+ readers=[rds.ClusterInstance.provisioned("reader")],
2364
+ instance_update_behaviour=rds.InstanceUpdateBehaviour.ROLLING, # Optional - defaults to rds.InstanceUpdateBehaviour.BULK
2358
2365
  vpc=vpc
2359
2366
  )
2360
2367
  '''
@@ -22529,19 +22536,20 @@ class DatabaseClusterProps:
22529
22536
  # vpc: ec2.Vpc
22530
22537
 
22531
22538
  cluster = rds.DatabaseCluster(self, "Database",
22532
- engine=rds.DatabaseClusterEngine.aurora_mysql(
22533
- version=rds.AuroraMysqlEngineVersion.VER_3_03_0
22539
+ engine=rds.DatabaseClusterEngine.aurora_mysql(version=rds.AuroraMysqlEngineVersion.VER_3_01_0),
22540
+ credentials=rds.Credentials.from_generated_secret("clusteradmin"), # Optional - will default to 'admin' username and generated password
22541
+ writer=rds.ClusterInstance.provisioned("writer",
22542
+ publicly_accessible=False
22543
+ ),
22544
+ readers=[
22545
+ rds.ClusterInstance.provisioned("reader1", promotion_tier=1),
22546
+ rds.ClusterInstance.serverless_v2("reader2")
22547
+ ],
22548
+ vpc_subnets=ec2.SubnetSelection(
22549
+ subnet_type=ec2.SubnetType.PRIVATE_WITH_EGRESS
22534
22550
  ),
22535
- writer=rds.ClusterInstance.provisioned("writer"),
22536
22551
  vpc=vpc
22537
22552
  )
22538
-
22539
- proxy = rds.DatabaseProxy(self, "Proxy",
22540
- proxy_target=rds.ProxyTarget.from_cluster(cluster),
22541
- secrets=[cluster.secret],
22542
- vpc=vpc,
22543
- client_password_auth_type=rds.ClientPasswordAuthType.MYSQL_NATIVE_PASSWORD
22544
- )
22545
22553
  '''
22546
22554
  if isinstance(backup, dict):
22547
22555
  backup = BackupProps(**backup)
@@ -23842,6 +23850,7 @@ class DatabaseInstanceLookupOptions:
23842
23850
  "domain": "domain",
23843
23851
  "domain_role": "domainRole",
23844
23852
  "enable_performance_insights": "enablePerformanceInsights",
23853
+ "engine_lifecycle_support": "engineLifecycleSupport",
23845
23854
  "iam_authentication": "iamAuthentication",
23846
23855
  "instance_identifier": "instanceIdentifier",
23847
23856
  "iops": "iops",
@@ -23890,6 +23899,7 @@ class DatabaseInstanceNewProps:
23890
23899
  domain: typing.Optional[builtins.str] = None,
23891
23900
  domain_role: typing.Optional[_IRole_235f5d8e] = None,
23892
23901
  enable_performance_insights: typing.Optional[builtins.bool] = None,
23902
+ engine_lifecycle_support: typing.Optional["EngineLifecycleSupport"] = None,
23893
23903
  iam_authentication: typing.Optional[builtins.bool] = None,
23894
23904
  instance_identifier: typing.Optional[builtins.str] = None,
23895
23905
  iops: typing.Optional[jsii.Number] = None,
@@ -23935,6 +23945,7 @@ class DatabaseInstanceNewProps:
23935
23945
  :param domain: The Active Directory directory ID to create the DB instance in. Default: - Do not join domain
23936
23946
  :param domain_role: The IAM role to be used when making API calls to the Directory Service. The role needs the AWS-managed policy AmazonRDSDirectoryServiceAccess or equivalent. Default: - The role will be created for you if ``DatabaseInstanceNewProps#domain`` is specified
23937
23947
  :param enable_performance_insights: Whether to enable Performance Insights for the DB instance. Default: - false, unless ``performanceInsightRetention`` or ``performanceInsightEncryptionKey`` is set.
23948
+ :param engine_lifecycle_support: The life cycle type for this DB instance. This setting applies only to RDS for MySQL and RDS for PostgreSQL. Default: undefined - AWS RDS default setting is ``EngineLifecycleSupport.OPEN_SOURCE_RDS_EXTENDED_SUPPORT``
23938
23949
  :param iam_authentication: Whether to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts. Default: false
23939
23950
  :param instance_identifier: A name for the DB instance. If you specify a name, AWS CloudFormation converts it to lowercase. Default: - a CloudFormation generated name
23940
23951
  :param iops: The number of I/O operations per second (IOPS) that the database provisions. The value must be equal to or greater than 1000. Default: - no provisioned iops if storage type is not specified. For GP3: 3,000 IOPS if allocated storage is less than 400 GiB for MariaDB, MySQL, and PostgreSQL, less than 200 GiB for Oracle and less than 20 GiB for SQL Server. 12,000 IOPS otherwise (except for SQL Server where the default is always 3,000 IOPS).
@@ -24007,6 +24018,7 @@ class DatabaseInstanceNewProps:
24007
24018
  domain="domain",
24008
24019
  domain_role=role,
24009
24020
  enable_performance_insights=False,
24021
+ engine_lifecycle_support=rds.EngineLifecycleSupport.OPEN_SOURCE_RDS_EXTENDED_SUPPORT,
24010
24022
  iam_authentication=False,
24011
24023
  instance_identifier="instanceIdentifier",
24012
24024
  iops=123,
@@ -24067,6 +24079,7 @@ class DatabaseInstanceNewProps:
24067
24079
  check_type(argname="argument domain", value=domain, expected_type=type_hints["domain"])
24068
24080
  check_type(argname="argument domain_role", value=domain_role, expected_type=type_hints["domain_role"])
24069
24081
  check_type(argname="argument enable_performance_insights", value=enable_performance_insights, expected_type=type_hints["enable_performance_insights"])
24082
+ check_type(argname="argument engine_lifecycle_support", value=engine_lifecycle_support, expected_type=type_hints["engine_lifecycle_support"])
24070
24083
  check_type(argname="argument iam_authentication", value=iam_authentication, expected_type=type_hints["iam_authentication"])
24071
24084
  check_type(argname="argument instance_identifier", value=instance_identifier, expected_type=type_hints["instance_identifier"])
24072
24085
  check_type(argname="argument iops", value=iops, expected_type=type_hints["iops"])
@@ -24125,6 +24138,8 @@ class DatabaseInstanceNewProps:
24125
24138
  self._values["domain_role"] = domain_role
24126
24139
  if enable_performance_insights is not None:
24127
24140
  self._values["enable_performance_insights"] = enable_performance_insights
24141
+ if engine_lifecycle_support is not None:
24142
+ self._values["engine_lifecycle_support"] = engine_lifecycle_support
24128
24143
  if iam_authentication is not None:
24129
24144
  self._values["iam_authentication"] = iam_authentication
24130
24145
  if instance_identifier is not None:
@@ -24339,6 +24354,19 @@ class DatabaseInstanceNewProps:
24339
24354
  result = self._values.get("enable_performance_insights")
24340
24355
  return typing.cast(typing.Optional[builtins.bool], result)
24341
24356
 
24357
+ @builtins.property
24358
+ def engine_lifecycle_support(self) -> typing.Optional["EngineLifecycleSupport"]:
24359
+ '''The life cycle type for this DB instance.
24360
+
24361
+ This setting applies only to RDS for MySQL and RDS for PostgreSQL.
24362
+
24363
+ :default: undefined - AWS RDS default setting is ``EngineLifecycleSupport.OPEN_SOURCE_RDS_EXTENDED_SUPPORT``
24364
+
24365
+ :see: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/extended-support.html
24366
+ '''
24367
+ result = self._values.get("engine_lifecycle_support")
24368
+ return typing.cast(typing.Optional["EngineLifecycleSupport"], result)
24369
+
24342
24370
  @builtins.property
24343
24371
  def iam_authentication(self) -> typing.Optional[builtins.bool]:
24344
24372
  '''Whether to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts.
@@ -24694,6 +24722,7 @@ class DatabaseInstanceNewProps:
24694
24722
  "domain": "domain",
24695
24723
  "domain_role": "domainRole",
24696
24724
  "enable_performance_insights": "enablePerformanceInsights",
24725
+ "engine_lifecycle_support": "engineLifecycleSupport",
24697
24726
  "iam_authentication": "iamAuthentication",
24698
24727
  "instance_identifier": "instanceIdentifier",
24699
24728
  "iops": "iops",
@@ -24747,6 +24776,7 @@ class DatabaseInstanceReadReplicaProps(DatabaseInstanceNewProps):
24747
24776
  domain: typing.Optional[builtins.str] = None,
24748
24777
  domain_role: typing.Optional[_IRole_235f5d8e] = None,
24749
24778
  enable_performance_insights: typing.Optional[builtins.bool] = None,
24779
+ engine_lifecycle_support: typing.Optional["EngineLifecycleSupport"] = None,
24750
24780
  iam_authentication: typing.Optional[builtins.bool] = None,
24751
24781
  instance_identifier: typing.Optional[builtins.str] = None,
24752
24782
  iops: typing.Optional[jsii.Number] = None,
@@ -24797,6 +24827,7 @@ class DatabaseInstanceReadReplicaProps(DatabaseInstanceNewProps):
24797
24827
  :param domain: The Active Directory directory ID to create the DB instance in. Default: - Do not join domain
24798
24828
  :param domain_role: The IAM role to be used when making API calls to the Directory Service. The role needs the AWS-managed policy AmazonRDSDirectoryServiceAccess or equivalent. Default: - The role will be created for you if ``DatabaseInstanceNewProps#domain`` is specified
24799
24829
  :param enable_performance_insights: Whether to enable Performance Insights for the DB instance. Default: - false, unless ``performanceInsightRetention`` or ``performanceInsightEncryptionKey`` is set.
24830
+ :param engine_lifecycle_support: The life cycle type for this DB instance. This setting applies only to RDS for MySQL and RDS for PostgreSQL. Default: undefined - AWS RDS default setting is ``EngineLifecycleSupport.OPEN_SOURCE_RDS_EXTENDED_SUPPORT``
24800
24831
  :param iam_authentication: Whether to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts. Default: false
24801
24832
  :param instance_identifier: A name for the DB instance. If you specify a name, AWS CloudFormation converts it to lowercase. Default: - a CloudFormation generated name
24802
24833
  :param iops: The number of I/O operations per second (IOPS) that the database provisions. The value must be equal to or greater than 1000. Default: - no provisioned iops if storage type is not specified. For GP3: 3,000 IOPS if allocated storage is less than 400 GiB for MariaDB, MySQL, and PostgreSQL, less than 200 GiB for Oracle and less than 20 GiB for SQL Server. 12,000 IOPS otherwise (except for SQL Server where the default is always 3,000 IOPS).
@@ -24872,6 +24903,7 @@ class DatabaseInstanceReadReplicaProps(DatabaseInstanceNewProps):
24872
24903
  check_type(argname="argument domain", value=domain, expected_type=type_hints["domain"])
24873
24904
  check_type(argname="argument domain_role", value=domain_role, expected_type=type_hints["domain_role"])
24874
24905
  check_type(argname="argument enable_performance_insights", value=enable_performance_insights, expected_type=type_hints["enable_performance_insights"])
24906
+ check_type(argname="argument engine_lifecycle_support", value=engine_lifecycle_support, expected_type=type_hints["engine_lifecycle_support"])
24875
24907
  check_type(argname="argument iam_authentication", value=iam_authentication, expected_type=type_hints["iam_authentication"])
24876
24908
  check_type(argname="argument instance_identifier", value=instance_identifier, expected_type=type_hints["instance_identifier"])
24877
24909
  check_type(argname="argument iops", value=iops, expected_type=type_hints["iops"])
@@ -24937,6 +24969,8 @@ class DatabaseInstanceReadReplicaProps(DatabaseInstanceNewProps):
24937
24969
  self._values["domain_role"] = domain_role
24938
24970
  if enable_performance_insights is not None:
24939
24971
  self._values["enable_performance_insights"] = enable_performance_insights
24972
+ if engine_lifecycle_support is not None:
24973
+ self._values["engine_lifecycle_support"] = engine_lifecycle_support
24940
24974
  if iam_authentication is not None:
24941
24975
  self._values["iam_authentication"] = iam_authentication
24942
24976
  if instance_identifier is not None:
@@ -25157,6 +25191,19 @@ class DatabaseInstanceReadReplicaProps(DatabaseInstanceNewProps):
25157
25191
  result = self._values.get("enable_performance_insights")
25158
25192
  return typing.cast(typing.Optional[builtins.bool], result)
25159
25193
 
25194
+ @builtins.property
25195
+ def engine_lifecycle_support(self) -> typing.Optional["EngineLifecycleSupport"]:
25196
+ '''The life cycle type for this DB instance.
25197
+
25198
+ This setting applies only to RDS for MySQL and RDS for PostgreSQL.
25199
+
25200
+ :default: undefined - AWS RDS default setting is ``EngineLifecycleSupport.OPEN_SOURCE_RDS_EXTENDED_SUPPORT``
25201
+
25202
+ :see: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/extended-support.html
25203
+ '''
25204
+ result = self._values.get("engine_lifecycle_support")
25205
+ return typing.cast(typing.Optional["EngineLifecycleSupport"], result)
25206
+
25160
25207
  @builtins.property
25161
25208
  def iam_authentication(self) -> typing.Optional[builtins.bool]:
25162
25209
  '''Whether to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts.
@@ -25557,6 +25604,7 @@ class DatabaseInstanceReadReplicaProps(DatabaseInstanceNewProps):
25557
25604
  "domain": "domain",
25558
25605
  "domain_role": "domainRole",
25559
25606
  "enable_performance_insights": "enablePerformanceInsights",
25607
+ "engine_lifecycle_support": "engineLifecycleSupport",
25560
25608
  "iam_authentication": "iamAuthentication",
25561
25609
  "instance_identifier": "instanceIdentifier",
25562
25610
  "iops": "iops",
@@ -25613,6 +25661,7 @@ class DatabaseInstanceSourceProps(DatabaseInstanceNewProps):
25613
25661
  domain: typing.Optional[builtins.str] = None,
25614
25662
  domain_role: typing.Optional[_IRole_235f5d8e] = None,
25615
25663
  enable_performance_insights: typing.Optional[builtins.bool] = None,
25664
+ engine_lifecycle_support: typing.Optional["EngineLifecycleSupport"] = None,
25616
25665
  iam_authentication: typing.Optional[builtins.bool] = None,
25617
25666
  instance_identifier: typing.Optional[builtins.str] = None,
25618
25667
  iops: typing.Optional[jsii.Number] = None,
@@ -25666,6 +25715,7 @@ class DatabaseInstanceSourceProps(DatabaseInstanceNewProps):
25666
25715
  :param domain: The Active Directory directory ID to create the DB instance in. Default: - Do not join domain
25667
25716
  :param domain_role: The IAM role to be used when making API calls to the Directory Service. The role needs the AWS-managed policy AmazonRDSDirectoryServiceAccess or equivalent. Default: - The role will be created for you if ``DatabaseInstanceNewProps#domain`` is specified
25668
25717
  :param enable_performance_insights: Whether to enable Performance Insights for the DB instance. Default: - false, unless ``performanceInsightRetention`` or ``performanceInsightEncryptionKey`` is set.
25718
+ :param engine_lifecycle_support: The life cycle type for this DB instance. This setting applies only to RDS for MySQL and RDS for PostgreSQL. Default: undefined - AWS RDS default setting is ``EngineLifecycleSupport.OPEN_SOURCE_RDS_EXTENDED_SUPPORT``
25669
25719
  :param iam_authentication: Whether to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts. Default: false
25670
25720
  :param instance_identifier: A name for the DB instance. If you specify a name, AWS CloudFormation converts it to lowercase. Default: - a CloudFormation generated name
25671
25721
  :param iops: The number of I/O operations per second (IOPS) that the database provisions. The value must be equal to or greater than 1000. Default: - no provisioned iops if storage type is not specified. For GP3: 3,000 IOPS if allocated storage is less than 400 GiB for MariaDB, MySQL, and PostgreSQL, less than 200 GiB for Oracle and less than 20 GiB for SQL Server. 12,000 IOPS otherwise (except for SQL Server where the default is always 3,000 IOPS).
@@ -25752,6 +25802,7 @@ class DatabaseInstanceSourceProps(DatabaseInstanceNewProps):
25752
25802
  domain="domain",
25753
25803
  domain_role=role,
25754
25804
  enable_performance_insights=False,
25805
+ engine_lifecycle_support=rds.EngineLifecycleSupport.OPEN_SOURCE_RDS_EXTENDED_SUPPORT,
25755
25806
  iam_authentication=False,
25756
25807
  instance_identifier="instanceIdentifier",
25757
25808
  instance_type=instance_type,
@@ -25818,6 +25869,7 @@ class DatabaseInstanceSourceProps(DatabaseInstanceNewProps):
25818
25869
  check_type(argname="argument domain", value=domain, expected_type=type_hints["domain"])
25819
25870
  check_type(argname="argument domain_role", value=domain_role, expected_type=type_hints["domain_role"])
25820
25871
  check_type(argname="argument enable_performance_insights", value=enable_performance_insights, expected_type=type_hints["enable_performance_insights"])
25872
+ check_type(argname="argument engine_lifecycle_support", value=engine_lifecycle_support, expected_type=type_hints["engine_lifecycle_support"])
25821
25873
  check_type(argname="argument iam_authentication", value=iam_authentication, expected_type=type_hints["iam_authentication"])
25822
25874
  check_type(argname="argument instance_identifier", value=instance_identifier, expected_type=type_hints["instance_identifier"])
25823
25875
  check_type(argname="argument iops", value=iops, expected_type=type_hints["iops"])
@@ -25885,6 +25937,8 @@ class DatabaseInstanceSourceProps(DatabaseInstanceNewProps):
25885
25937
  self._values["domain_role"] = domain_role
25886
25938
  if enable_performance_insights is not None:
25887
25939
  self._values["enable_performance_insights"] = enable_performance_insights
25940
+ if engine_lifecycle_support is not None:
25941
+ self._values["engine_lifecycle_support"] = engine_lifecycle_support
25888
25942
  if iam_authentication is not None:
25889
25943
  self._values["iam_authentication"] = iam_authentication
25890
25944
  if instance_identifier is not None:
@@ -26113,6 +26167,19 @@ class DatabaseInstanceSourceProps(DatabaseInstanceNewProps):
26113
26167
  result = self._values.get("enable_performance_insights")
26114
26168
  return typing.cast(typing.Optional[builtins.bool], result)
26115
26169
 
26170
+ @builtins.property
26171
+ def engine_lifecycle_support(self) -> typing.Optional["EngineLifecycleSupport"]:
26172
+ '''The life cycle type for this DB instance.
26173
+
26174
+ This setting applies only to RDS for MySQL and RDS for PostgreSQL.
26175
+
26176
+ :default: undefined - AWS RDS default setting is ``EngineLifecycleSupport.OPEN_SOURCE_RDS_EXTENDED_SUPPORT``
26177
+
26178
+ :see: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/extended-support.html
26179
+ '''
26180
+ result = self._values.get("engine_lifecycle_support")
26181
+ return typing.cast(typing.Optional["EngineLifecycleSupport"], result)
26182
+
26116
26183
  @builtins.property
26117
26184
  def iam_authentication(self) -> typing.Optional[builtins.bool]:
26118
26185
  '''Whether to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts.
@@ -27700,6 +27767,13 @@ class EngineLifecycleSupport(enum.Enum):
27700
27767
  vpc=vpc,
27701
27768
  engine_lifecycle_support=rds.EngineLifecycleSupport.OPEN_SOURCE_RDS_EXTENDED_SUPPORT
27702
27769
  )
27770
+
27771
+ rds.DatabaseInstance(self, "DatabaseInstance",
27772
+ engine=rds.DatabaseInstanceEngine.mysql(version=rds.MysqlEngineVersion.VER_8_0_39),
27773
+ instance_type=ec2.InstanceType.of(ec2.InstanceClass.R7G, ec2.InstanceSize.LARGE),
27774
+ vpc=vpc,
27775
+ engine_lifecycle_support=rds.EngineLifecycleSupport.OPEN_SOURCE_RDS_EXTENDED_SUPPORT_DISABLED
27776
+ )
27703
27777
  '''
27704
27778
 
27705
27779
  OPEN_SOURCE_RDS_EXTENDED_SUPPORT = "OPEN_SOURCE_RDS_EXTENDED_SUPPORT"
@@ -44083,6 +44157,7 @@ class DatabaseInstanceFromSnapshot(
44083
44157
  domain: typing.Optional[builtins.str] = None,
44084
44158
  domain_role: typing.Optional[_IRole_235f5d8e] = None,
44085
44159
  enable_performance_insights: typing.Optional[builtins.bool] = None,
44160
+ engine_lifecycle_support: typing.Optional[EngineLifecycleSupport] = None,
44086
44161
  iam_authentication: typing.Optional[builtins.bool] = None,
44087
44162
  instance_identifier: typing.Optional[builtins.str] = None,
44088
44163
  iops: typing.Optional[jsii.Number] = None,
@@ -44140,6 +44215,7 @@ class DatabaseInstanceFromSnapshot(
44140
44215
  :param domain: The Active Directory directory ID to create the DB instance in. Default: - Do not join domain
44141
44216
  :param domain_role: The IAM role to be used when making API calls to the Directory Service. The role needs the AWS-managed policy AmazonRDSDirectoryServiceAccess or equivalent. Default: - The role will be created for you if ``DatabaseInstanceNewProps#domain`` is specified
44142
44217
  :param enable_performance_insights: Whether to enable Performance Insights for the DB instance. Default: - false, unless ``performanceInsightRetention`` or ``performanceInsightEncryptionKey`` is set.
44218
+ :param engine_lifecycle_support: The life cycle type for this DB instance. This setting applies only to RDS for MySQL and RDS for PostgreSQL. Default: undefined - AWS RDS default setting is ``EngineLifecycleSupport.OPEN_SOURCE_RDS_EXTENDED_SUPPORT``
44143
44219
  :param iam_authentication: Whether to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts. Default: false
44144
44220
  :param instance_identifier: A name for the DB instance. If you specify a name, AWS CloudFormation converts it to lowercase. Default: - a CloudFormation generated name
44145
44221
  :param iops: The number of I/O operations per second (IOPS) that the database provisions. The value must be equal to or greater than 1000. Default: - no provisioned iops if storage type is not specified. For GP3: 3,000 IOPS if allocated storage is less than 400 GiB for MariaDB, MySQL, and PostgreSQL, less than 200 GiB for Oracle and less than 20 GiB for SQL Server. 12,000 IOPS otherwise (except for SQL Server where the default is always 3,000 IOPS).
@@ -44199,6 +44275,7 @@ class DatabaseInstanceFromSnapshot(
44199
44275
  domain=domain,
44200
44276
  domain_role=domain_role,
44201
44277
  enable_performance_insights=enable_performance_insights,
44278
+ engine_lifecycle_support=engine_lifecycle_support,
44202
44279
  iam_authentication=iam_authentication,
44203
44280
  instance_identifier=instance_identifier,
44204
44281
  iops=iops,
@@ -44451,6 +44528,7 @@ class DatabaseInstanceFromSnapshot(
44451
44528
  "domain": "domain",
44452
44529
  "domain_role": "domainRole",
44453
44530
  "enable_performance_insights": "enablePerformanceInsights",
44531
+ "engine_lifecycle_support": "engineLifecycleSupport",
44454
44532
  "iam_authentication": "iamAuthentication",
44455
44533
  "instance_identifier": "instanceIdentifier",
44456
44534
  "iops": "iops",
@@ -44510,6 +44588,7 @@ class DatabaseInstanceFromSnapshotProps(DatabaseInstanceSourceProps):
44510
44588
  domain: typing.Optional[builtins.str] = None,
44511
44589
  domain_role: typing.Optional[_IRole_235f5d8e] = None,
44512
44590
  enable_performance_insights: typing.Optional[builtins.bool] = None,
44591
+ engine_lifecycle_support: typing.Optional[EngineLifecycleSupport] = None,
44513
44592
  iam_authentication: typing.Optional[builtins.bool] = None,
44514
44593
  instance_identifier: typing.Optional[builtins.str] = None,
44515
44594
  iops: typing.Optional[jsii.Number] = None,
@@ -44566,6 +44645,7 @@ class DatabaseInstanceFromSnapshotProps(DatabaseInstanceSourceProps):
44566
44645
  :param domain: The Active Directory directory ID to create the DB instance in. Default: - Do not join domain
44567
44646
  :param domain_role: The IAM role to be used when making API calls to the Directory Service. The role needs the AWS-managed policy AmazonRDSDirectoryServiceAccess or equivalent. Default: - The role will be created for you if ``DatabaseInstanceNewProps#domain`` is specified
44568
44647
  :param enable_performance_insights: Whether to enable Performance Insights for the DB instance. Default: - false, unless ``performanceInsightRetention`` or ``performanceInsightEncryptionKey`` is set.
44648
+ :param engine_lifecycle_support: The life cycle type for this DB instance. This setting applies only to RDS for MySQL and RDS for PostgreSQL. Default: undefined - AWS RDS default setting is ``EngineLifecycleSupport.OPEN_SOURCE_RDS_EXTENDED_SUPPORT``
44569
44649
  :param iam_authentication: Whether to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts. Default: false
44570
44650
  :param instance_identifier: A name for the DB instance. If you specify a name, AWS CloudFormation converts it to lowercase. Default: - a CloudFormation generated name
44571
44651
  :param iops: The number of I/O operations per second (IOPS) that the database provisions. The value must be equal to or greater than 1000. Default: - no provisioned iops if storage type is not specified. For GP3: 3,000 IOPS if allocated storage is less than 400 GiB for MariaDB, MySQL, and PostgreSQL, less than 200 GiB for Oracle and less than 20 GiB for SQL Server. 12,000 IOPS otherwise (except for SQL Server where the default is always 3,000 IOPS).
@@ -44646,6 +44726,7 @@ class DatabaseInstanceFromSnapshotProps(DatabaseInstanceSourceProps):
44646
44726
  check_type(argname="argument domain", value=domain, expected_type=type_hints["domain"])
44647
44727
  check_type(argname="argument domain_role", value=domain_role, expected_type=type_hints["domain_role"])
44648
44728
  check_type(argname="argument enable_performance_insights", value=enable_performance_insights, expected_type=type_hints["enable_performance_insights"])
44729
+ check_type(argname="argument engine_lifecycle_support", value=engine_lifecycle_support, expected_type=type_hints["engine_lifecycle_support"])
44649
44730
  check_type(argname="argument iam_authentication", value=iam_authentication, expected_type=type_hints["iam_authentication"])
44650
44731
  check_type(argname="argument instance_identifier", value=instance_identifier, expected_type=type_hints["instance_identifier"])
44651
44732
  check_type(argname="argument iops", value=iops, expected_type=type_hints["iops"])
@@ -44716,6 +44797,8 @@ class DatabaseInstanceFromSnapshotProps(DatabaseInstanceSourceProps):
44716
44797
  self._values["domain_role"] = domain_role
44717
44798
  if enable_performance_insights is not None:
44718
44799
  self._values["enable_performance_insights"] = enable_performance_insights
44800
+ if engine_lifecycle_support is not None:
44801
+ self._values["engine_lifecycle_support"] = engine_lifecycle_support
44719
44802
  if iam_authentication is not None:
44720
44803
  self._values["iam_authentication"] = iam_authentication
44721
44804
  if instance_identifier is not None:
@@ -44950,6 +45033,19 @@ class DatabaseInstanceFromSnapshotProps(DatabaseInstanceSourceProps):
44950
45033
  result = self._values.get("enable_performance_insights")
44951
45034
  return typing.cast(typing.Optional[builtins.bool], result)
44952
45035
 
45036
+ @builtins.property
45037
+ def engine_lifecycle_support(self) -> typing.Optional[EngineLifecycleSupport]:
45038
+ '''The life cycle type for this DB instance.
45039
+
45040
+ This setting applies only to RDS for MySQL and RDS for PostgreSQL.
45041
+
45042
+ :default: undefined - AWS RDS default setting is ``EngineLifecycleSupport.OPEN_SOURCE_RDS_EXTENDED_SUPPORT``
45043
+
45044
+ :see: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/extended-support.html
45045
+ '''
45046
+ result = self._values.get("engine_lifecycle_support")
45047
+ return typing.cast(typing.Optional[EngineLifecycleSupport], result)
45048
+
44953
45049
  @builtins.property
44954
45050
  def iam_authentication(self) -> typing.Optional[builtins.bool]:
44955
45051
  '''Whether to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts.
@@ -45428,6 +45524,7 @@ class DatabaseInstanceFromSnapshotProps(DatabaseInstanceSourceProps):
45428
45524
  "domain": "domain",
45429
45525
  "domain_role": "domainRole",
45430
45526
  "enable_performance_insights": "enablePerformanceInsights",
45527
+ "engine_lifecycle_support": "engineLifecycleSupport",
45431
45528
  "iam_authentication": "iamAuthentication",
45432
45529
  "instance_identifier": "instanceIdentifier",
45433
45530
  "iops": "iops",
@@ -45488,6 +45585,7 @@ class DatabaseInstanceProps(DatabaseInstanceSourceProps):
45488
45585
  domain: typing.Optional[builtins.str] = None,
45489
45586
  domain_role: typing.Optional[_IRole_235f5d8e] = None,
45490
45587
  enable_performance_insights: typing.Optional[builtins.bool] = None,
45588
+ engine_lifecycle_support: typing.Optional[EngineLifecycleSupport] = None,
45491
45589
  iam_authentication: typing.Optional[builtins.bool] = None,
45492
45590
  instance_identifier: typing.Optional[builtins.str] = None,
45493
45591
  iops: typing.Optional[jsii.Number] = None,
@@ -45545,6 +45643,7 @@ class DatabaseInstanceProps(DatabaseInstanceSourceProps):
45545
45643
  :param domain: The Active Directory directory ID to create the DB instance in. Default: - Do not join domain
45546
45644
  :param domain_role: The IAM role to be used when making API calls to the Directory Service. The role needs the AWS-managed policy AmazonRDSDirectoryServiceAccess or equivalent. Default: - The role will be created for you if ``DatabaseInstanceNewProps#domain`` is specified
45547
45645
  :param enable_performance_insights: Whether to enable Performance Insights for the DB instance. Default: - false, unless ``performanceInsightRetention`` or ``performanceInsightEncryptionKey`` is set.
45646
+ :param engine_lifecycle_support: The life cycle type for this DB instance. This setting applies only to RDS for MySQL and RDS for PostgreSQL. Default: undefined - AWS RDS default setting is ``EngineLifecycleSupport.OPEN_SOURCE_RDS_EXTENDED_SUPPORT``
45548
45647
  :param iam_authentication: Whether to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts. Default: false
45549
45648
  :param instance_identifier: A name for the DB instance. If you specify a name, AWS CloudFormation converts it to lowercase. Default: - a CloudFormation generated name
45550
45649
  :param iops: The number of I/O operations per second (IOPS) that the database provisions. The value must be equal to or greater than 1000. Default: - no provisioned iops if storage type is not specified. For GP3: 3,000 IOPS if allocated storage is less than 400 GiB for MariaDB, MySQL, and PostgreSQL, less than 200 GiB for Oracle and less than 20 GiB for SQL Server. 12,000 IOPS otherwise (except for SQL Server where the default is always 3,000 IOPS).
@@ -45628,6 +45727,7 @@ class DatabaseInstanceProps(DatabaseInstanceSourceProps):
45628
45727
  check_type(argname="argument domain", value=domain, expected_type=type_hints["domain"])
45629
45728
  check_type(argname="argument domain_role", value=domain_role, expected_type=type_hints["domain_role"])
45630
45729
  check_type(argname="argument enable_performance_insights", value=enable_performance_insights, expected_type=type_hints["enable_performance_insights"])
45730
+ check_type(argname="argument engine_lifecycle_support", value=engine_lifecycle_support, expected_type=type_hints["engine_lifecycle_support"])
45631
45731
  check_type(argname="argument iam_authentication", value=iam_authentication, expected_type=type_hints["iam_authentication"])
45632
45732
  check_type(argname="argument instance_identifier", value=instance_identifier, expected_type=type_hints["instance_identifier"])
45633
45733
  check_type(argname="argument iops", value=iops, expected_type=type_hints["iops"])
@@ -45699,6 +45799,8 @@ class DatabaseInstanceProps(DatabaseInstanceSourceProps):
45699
45799
  self._values["domain_role"] = domain_role
45700
45800
  if enable_performance_insights is not None:
45701
45801
  self._values["enable_performance_insights"] = enable_performance_insights
45802
+ if engine_lifecycle_support is not None:
45803
+ self._values["engine_lifecycle_support"] = engine_lifecycle_support
45702
45804
  if iam_authentication is not None:
45703
45805
  self._values["iam_authentication"] = iam_authentication
45704
45806
  if instance_identifier is not None:
@@ -45935,6 +46037,19 @@ class DatabaseInstanceProps(DatabaseInstanceSourceProps):
45935
46037
  result = self._values.get("enable_performance_insights")
45936
46038
  return typing.cast(typing.Optional[builtins.bool], result)
45937
46039
 
46040
+ @builtins.property
46041
+ def engine_lifecycle_support(self) -> typing.Optional[EngineLifecycleSupport]:
46042
+ '''The life cycle type for this DB instance.
46043
+
46044
+ This setting applies only to RDS for MySQL and RDS for PostgreSQL.
46045
+
46046
+ :default: undefined - AWS RDS default setting is ``EngineLifecycleSupport.OPEN_SOURCE_RDS_EXTENDED_SUPPORT``
46047
+
46048
+ :see: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/extended-support.html
46049
+ '''
46050
+ result = self._values.get("engine_lifecycle_support")
46051
+ return typing.cast(typing.Optional[EngineLifecycleSupport], result)
46052
+
45938
46053
  @builtins.property
45939
46054
  def iam_authentication(self) -> typing.Optional[builtins.bool]:
45940
46055
  '''Whether to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts.
@@ -46438,6 +46553,7 @@ class DatabaseInstanceReadReplica(
46438
46553
  domain: typing.Optional[builtins.str] = None,
46439
46554
  domain_role: typing.Optional[_IRole_235f5d8e] = None,
46440
46555
  enable_performance_insights: typing.Optional[builtins.bool] = None,
46556
+ engine_lifecycle_support: typing.Optional[EngineLifecycleSupport] = None,
46441
46557
  iam_authentication: typing.Optional[builtins.bool] = None,
46442
46558
  instance_identifier: typing.Optional[builtins.str] = None,
46443
46559
  iops: typing.Optional[jsii.Number] = None,
@@ -46489,6 +46605,7 @@ class DatabaseInstanceReadReplica(
46489
46605
  :param domain: The Active Directory directory ID to create the DB instance in. Default: - Do not join domain
46490
46606
  :param domain_role: The IAM role to be used when making API calls to the Directory Service. The role needs the AWS-managed policy AmazonRDSDirectoryServiceAccess or equivalent. Default: - The role will be created for you if ``DatabaseInstanceNewProps#domain`` is specified
46491
46607
  :param enable_performance_insights: Whether to enable Performance Insights for the DB instance. Default: - false, unless ``performanceInsightRetention`` or ``performanceInsightEncryptionKey`` is set.
46608
+ :param engine_lifecycle_support: The life cycle type for this DB instance. This setting applies only to RDS for MySQL and RDS for PostgreSQL. Default: undefined - AWS RDS default setting is ``EngineLifecycleSupport.OPEN_SOURCE_RDS_EXTENDED_SUPPORT``
46492
46609
  :param iam_authentication: Whether to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts. Default: false
46493
46610
  :param instance_identifier: A name for the DB instance. If you specify a name, AWS CloudFormation converts it to lowercase. Default: - a CloudFormation generated name
46494
46611
  :param iops: The number of I/O operations per second (IOPS) that the database provisions. The value must be equal to or greater than 1000. Default: - no provisioned iops if storage type is not specified. For GP3: 3,000 IOPS if allocated storage is less than 400 GiB for MariaDB, MySQL, and PostgreSQL, less than 200 GiB for Oracle and less than 20 GiB for SQL Server. 12,000 IOPS otherwise (except for SQL Server where the default is always 3,000 IOPS).
@@ -46542,6 +46659,7 @@ class DatabaseInstanceReadReplica(
46542
46659
  domain=domain,
46543
46660
  domain_role=domain_role,
46544
46661
  enable_performance_insights=enable_performance_insights,
46662
+ engine_lifecycle_support=engine_lifecycle_support,
46545
46663
  iam_authentication=iam_authentication,
46546
46664
  instance_identifier=instance_identifier,
46547
46665
  iops=iops,
@@ -47006,19 +47124,20 @@ class DatabaseCluster(
47006
47124
  # vpc: ec2.Vpc
47007
47125
 
47008
47126
  cluster = rds.DatabaseCluster(self, "Database",
47009
- engine=rds.DatabaseClusterEngine.aurora_mysql(
47010
- version=rds.AuroraMysqlEngineVersion.VER_3_03_0
47127
+ engine=rds.DatabaseClusterEngine.aurora_mysql(version=rds.AuroraMysqlEngineVersion.VER_3_01_0),
47128
+ credentials=rds.Credentials.from_generated_secret("clusteradmin"), # Optional - will default to 'admin' username and generated password
47129
+ writer=rds.ClusterInstance.provisioned("writer",
47130
+ publicly_accessible=False
47131
+ ),
47132
+ readers=[
47133
+ rds.ClusterInstance.provisioned("reader1", promotion_tier=1),
47134
+ rds.ClusterInstance.serverless_v2("reader2")
47135
+ ],
47136
+ vpc_subnets=ec2.SubnetSelection(
47137
+ subnet_type=ec2.SubnetType.PRIVATE_WITH_EGRESS
47011
47138
  ),
47012
- writer=rds.ClusterInstance.provisioned("writer"),
47013
47139
  vpc=vpc
47014
47140
  )
47015
-
47016
- proxy = rds.DatabaseProxy(self, "Proxy",
47017
- proxy_target=rds.ProxyTarget.from_cluster(cluster),
47018
- secrets=[cluster.secret],
47019
- vpc=vpc,
47020
- client_password_auth_type=rds.ClientPasswordAuthType.MYSQL_NATIVE_PASSWORD
47021
- )
47022
47141
  '''
47023
47142
 
47024
47143
  def __init__(
@@ -47675,6 +47794,7 @@ class DatabaseInstance(
47675
47794
  domain: typing.Optional[builtins.str] = None,
47676
47795
  domain_role: typing.Optional[_IRole_235f5d8e] = None,
47677
47796
  enable_performance_insights: typing.Optional[builtins.bool] = None,
47797
+ engine_lifecycle_support: typing.Optional[EngineLifecycleSupport] = None,
47678
47798
  iam_authentication: typing.Optional[builtins.bool] = None,
47679
47799
  instance_identifier: typing.Optional[builtins.str] = None,
47680
47800
  iops: typing.Optional[jsii.Number] = None,
@@ -47733,6 +47853,7 @@ class DatabaseInstance(
47733
47853
  :param domain: The Active Directory directory ID to create the DB instance in. Default: - Do not join domain
47734
47854
  :param domain_role: The IAM role to be used when making API calls to the Directory Service. The role needs the AWS-managed policy AmazonRDSDirectoryServiceAccess or equivalent. Default: - The role will be created for you if ``DatabaseInstanceNewProps#domain`` is specified
47735
47855
  :param enable_performance_insights: Whether to enable Performance Insights for the DB instance. Default: - false, unless ``performanceInsightRetention`` or ``performanceInsightEncryptionKey`` is set.
47856
+ :param engine_lifecycle_support: The life cycle type for this DB instance. This setting applies only to RDS for MySQL and RDS for PostgreSQL. Default: undefined - AWS RDS default setting is ``EngineLifecycleSupport.OPEN_SOURCE_RDS_EXTENDED_SUPPORT``
47736
47857
  :param iam_authentication: Whether to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts. Default: false
47737
47858
  :param instance_identifier: A name for the DB instance. If you specify a name, AWS CloudFormation converts it to lowercase. Default: - a CloudFormation generated name
47738
47859
  :param iops: The number of I/O operations per second (IOPS) that the database provisions. The value must be equal to or greater than 1000. Default: - no provisioned iops if storage type is not specified. For GP3: 3,000 IOPS if allocated storage is less than 400 GiB for MariaDB, MySQL, and PostgreSQL, less than 200 GiB for Oracle and less than 20 GiB for SQL Server. 12,000 IOPS otherwise (except for SQL Server where the default is always 3,000 IOPS).
@@ -47793,6 +47914,7 @@ class DatabaseInstance(
47793
47914
  domain=domain,
47794
47915
  domain_role=domain_role,
47795
47916
  enable_performance_insights=enable_performance_insights,
47917
+ engine_lifecycle_support=engine_lifecycle_support,
47796
47918
  iam_authentication=iam_authentication,
47797
47919
  instance_identifier=instance_identifier,
47798
47920
  iops=iops,
@@ -51015,6 +51137,7 @@ def _typecheckingstub__d110b1cb0043ae6adf59fc0d1bcb136b4655ac973cfbff361a0a3e2fe
51015
51137
  domain: typing.Optional[builtins.str] = None,
51016
51138
  domain_role: typing.Optional[_IRole_235f5d8e] = None,
51017
51139
  enable_performance_insights: typing.Optional[builtins.bool] = None,
51140
+ engine_lifecycle_support: typing.Optional[EngineLifecycleSupport] = None,
51018
51141
  iam_authentication: typing.Optional[builtins.bool] = None,
51019
51142
  instance_identifier: typing.Optional[builtins.str] = None,
51020
51143
  iops: typing.Optional[jsii.Number] = None,
@@ -51063,6 +51186,7 @@ def _typecheckingstub__5508238388ee4afc86f97d5f22fa50578f8a1bdeed9ade8d0210c955b
51063
51186
  domain: typing.Optional[builtins.str] = None,
51064
51187
  domain_role: typing.Optional[_IRole_235f5d8e] = None,
51065
51188
  enable_performance_insights: typing.Optional[builtins.bool] = None,
51189
+ engine_lifecycle_support: typing.Optional[EngineLifecycleSupport] = None,
51066
51190
  iam_authentication: typing.Optional[builtins.bool] = None,
51067
51191
  instance_identifier: typing.Optional[builtins.str] = None,
51068
51192
  iops: typing.Optional[jsii.Number] = None,
@@ -51116,6 +51240,7 @@ def _typecheckingstub__77d3b41152c4c7a3436d76bad0d83368717917e66a0f0cd849998fcd4
51116
51240
  domain: typing.Optional[builtins.str] = None,
51117
51241
  domain_role: typing.Optional[_IRole_235f5d8e] = None,
51118
51242
  enable_performance_insights: typing.Optional[builtins.bool] = None,
51243
+ engine_lifecycle_support: typing.Optional[EngineLifecycleSupport] = None,
51119
51244
  iam_authentication: typing.Optional[builtins.bool] = None,
51120
51245
  instance_identifier: typing.Optional[builtins.str] = None,
51121
51246
  iops: typing.Optional[jsii.Number] = None,
@@ -52372,6 +52497,7 @@ def _typecheckingstub__dbf7e60a650d0a1bea1826814200716f46cd1f59eea36a42193653d7f
52372
52497
  domain: typing.Optional[builtins.str] = None,
52373
52498
  domain_role: typing.Optional[_IRole_235f5d8e] = None,
52374
52499
  enable_performance_insights: typing.Optional[builtins.bool] = None,
52500
+ engine_lifecycle_support: typing.Optional[EngineLifecycleSupport] = None,
52375
52501
  iam_authentication: typing.Optional[builtins.bool] = None,
52376
52502
  instance_identifier: typing.Optional[builtins.str] = None,
52377
52503
  iops: typing.Optional[jsii.Number] = None,
@@ -52447,6 +52573,7 @@ def _typecheckingstub__f06d86058a0a7538eb7dbf55de032c8cf05f7fa7b4ab5d5c1d47f7617
52447
52573
  domain: typing.Optional[builtins.str] = None,
52448
52574
  domain_role: typing.Optional[_IRole_235f5d8e] = None,
52449
52575
  enable_performance_insights: typing.Optional[builtins.bool] = None,
52576
+ engine_lifecycle_support: typing.Optional[EngineLifecycleSupport] = None,
52450
52577
  iam_authentication: typing.Optional[builtins.bool] = None,
52451
52578
  instance_identifier: typing.Optional[builtins.str] = None,
52452
52579
  iops: typing.Optional[jsii.Number] = None,
@@ -52506,6 +52633,7 @@ def _typecheckingstub__23675ebe667ec40ba6afd82bf8b65d901cc9a4bfc79be222b108037d5
52506
52633
  domain: typing.Optional[builtins.str] = None,
52507
52634
  domain_role: typing.Optional[_IRole_235f5d8e] = None,
52508
52635
  enable_performance_insights: typing.Optional[builtins.bool] = None,
52636
+ engine_lifecycle_support: typing.Optional[EngineLifecycleSupport] = None,
52509
52637
  iam_authentication: typing.Optional[builtins.bool] = None,
52510
52638
  instance_identifier: typing.Optional[builtins.str] = None,
52511
52639
  iops: typing.Optional[jsii.Number] = None,
@@ -52573,6 +52701,7 @@ def _typecheckingstub__b2082895d1c502ba05a38a32c44782a7480089cd804d396ed1b41ca4a
52573
52701
  domain: typing.Optional[builtins.str] = None,
52574
52702
  domain_role: typing.Optional[_IRole_235f5d8e] = None,
52575
52703
  enable_performance_insights: typing.Optional[builtins.bool] = None,
52704
+ engine_lifecycle_support: typing.Optional[EngineLifecycleSupport] = None,
52576
52705
  iam_authentication: typing.Optional[builtins.bool] = None,
52577
52706
  instance_identifier: typing.Optional[builtins.str] = None,
52578
52707
  iops: typing.Optional[jsii.Number] = None,
@@ -52802,6 +52931,7 @@ def _typecheckingstub__cb12c4cf0f41b623c75db1c295b846314e730919538b3374019067232
52802
52931
  domain: typing.Optional[builtins.str] = None,
52803
52932
  domain_role: typing.Optional[_IRole_235f5d8e] = None,
52804
52933
  enable_performance_insights: typing.Optional[builtins.bool] = None,
52934
+ engine_lifecycle_support: typing.Optional[EngineLifecycleSupport] = None,
52805
52935
  iam_authentication: typing.Optional[builtins.bool] = None,
52806
52936
  instance_identifier: typing.Optional[builtins.str] = None,
52807
52937
  iops: typing.Optional[jsii.Number] = None,