aws-cdk-lib 2.164.1__py3-none-any.whl → 2.166.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of aws-cdk-lib might be problematic. Click here for more details.

Files changed (52) hide show
  1. aws_cdk/__init__.py +20 -0
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.164.1.jsii.tgz → aws-cdk-lib@2.166.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_appsync/__init__.py +2163 -375
  5. aws_cdk/aws_autoscaling/__init__.py +145 -8
  6. aws_cdk/aws_backup/__init__.py +627 -3
  7. aws_cdk/aws_bedrock/__init__.py +982 -191
  8. aws_cdk/aws_codebuild/__init__.py +88 -33
  9. aws_cdk/aws_codepipeline/__init__.py +98 -5
  10. aws_cdk/aws_codestar/__init__.py +1 -1
  11. aws_cdk/aws_cognito/__init__.py +656 -102
  12. aws_cdk/aws_connect/__init__.py +1 -1
  13. aws_cdk/aws_datasync/__init__.py +9 -7
  14. aws_cdk/aws_devopsguru/__init__.py +2 -2
  15. aws_cdk/aws_dms/__init__.py +762 -0
  16. aws_cdk/aws_dynamodb/__init__.py +13 -8
  17. aws_cdk/aws_ec2/__init__.py +134 -35
  18. aws_cdk/aws_ecs/__init__.py +41 -31
  19. aws_cdk/aws_eks/__init__.py +10 -12
  20. aws_cdk/aws_elasticache/__init__.py +52 -6
  21. aws_cdk/aws_emrserverless/__init__.py +35 -33
  22. aws_cdk/aws_events/__init__.py +25 -30
  23. aws_cdk/aws_imagebuilder/__init__.py +183 -0
  24. aws_cdk/aws_iot/__init__.py +37 -43
  25. aws_cdk/aws_iotwireless/__init__.py +2 -2
  26. aws_cdk/aws_kinesis/__init__.py +297 -1
  27. aws_cdk/aws_lambda/__init__.py +3 -3
  28. aws_cdk/aws_m2/__init__.py +58 -58
  29. aws_cdk/aws_mediapackagev2/__init__.py +191 -0
  30. aws_cdk/aws_memorydb/__init__.py +41 -0
  31. aws_cdk/aws_networkfirewall/__init__.py +14 -5
  32. aws_cdk/aws_opensearchservice/__init__.py +969 -0
  33. aws_cdk/aws_pipes/__init__.py +1 -1
  34. aws_cdk/aws_qbusiness/__init__.py +23 -14
  35. aws_cdk/aws_rds/__init__.py +187 -48
  36. aws_cdk/aws_redshift/__init__.py +23 -23
  37. aws_cdk/aws_refactorspaces/__init__.py +56 -61
  38. aws_cdk/aws_resiliencehub/__init__.py +4 -4
  39. aws_cdk/aws_route53/__init__.py +37 -9
  40. aws_cdk/aws_s3_deployment/__init__.py +13 -7
  41. aws_cdk/aws_sagemaker/__init__.py +128 -23
  42. aws_cdk/aws_secretsmanager/__init__.py +2 -1
  43. aws_cdk/aws_ses/__init__.py +19 -0
  44. aws_cdk/aws_synthetics/__init__.py +121 -0
  45. aws_cdk/aws_timestream/__init__.py +41 -0
  46. aws_cdk/aws_wisdom/__init__.py +2035 -61
  47. {aws_cdk_lib-2.164.1.dist-info → aws_cdk_lib-2.166.0.dist-info}/METADATA +6 -6
  48. {aws_cdk_lib-2.164.1.dist-info → aws_cdk_lib-2.166.0.dist-info}/RECORD +52 -52
  49. {aws_cdk_lib-2.164.1.dist-info → aws_cdk_lib-2.166.0.dist-info}/LICENSE +0 -0
  50. {aws_cdk_lib-2.164.1.dist-info → aws_cdk_lib-2.166.0.dist-info}/NOTICE +0 -0
  51. {aws_cdk_lib-2.164.1.dist-info → aws_cdk_lib-2.166.0.dist-info}/WHEEL +0 -0
  52. {aws_cdk_lib-2.164.1.dist-info → aws_cdk_lib-2.166.0.dist-info}/top_level.txt +0 -0
@@ -122,6 +122,21 @@ rds.DatabaseClusterFromSnapshot(self, "Database",
122
122
  )
123
123
  ```
124
124
 
125
+ By default, automatic minor version upgrades for the engine type are enabled in a cluster, but you can also disable this.
126
+ To do so, set `autoMinorVersionUpgrade` to `false`.
127
+
128
+ ```python
129
+ # vpc: ec2.IVpc
130
+
131
+
132
+ rds.DatabaseCluster(self, "DatabaseCluster",
133
+ engine=rds.DatabaseClusterEngine.aurora_mysql(version=rds.AuroraMysqlEngineVersion.VER_3_07_0),
134
+ writer=rds.ClusterInstance.serverless_v2("writerInstance"),
135
+ vpc=vpc,
136
+ auto_minor_version_upgrade=False
137
+ )
138
+ ```
139
+
125
140
  ### Updating the database instances in a cluster
126
141
 
127
142
  Database cluster instances may be updated in bulk or on a rolling basis.
@@ -1733,12 +1748,15 @@ class AuroraCapacityUnit(enum.Enum):
1733
1748
  )
1734
1749
  class AuroraClusterEngineProps:
1735
1750
  def __init__(self, *, version: "AuroraEngineVersion") -> None:
1736
- '''Creation properties of the plain Aurora database cluster engine.
1751
+ '''(deprecated) Creation properties of the plain Aurora database cluster engine.
1737
1752
 
1738
1753
  Used in ``DatabaseClusterEngine.aurora``.
1739
1754
 
1740
- :param version: The version of the Aurora cluster engine.
1755
+ :param version: (deprecated) The version of the Aurora cluster engine.
1756
+
1757
+ :deprecated: use ``AuroraMysqlClusterEngineProps`` instead
1741
1758
 
1759
+ :stability: deprecated
1742
1760
  :exampleMetadata: infused
1743
1761
 
1744
1762
  Example::
@@ -1761,7 +1779,10 @@ class AuroraClusterEngineProps:
1761
1779
 
1762
1780
  @builtins.property
1763
1781
  def version(self) -> "AuroraEngineVersion":
1764
- '''The version of the Aurora cluster engine.'''
1782
+ '''(deprecated) The version of the Aurora cluster engine.
1783
+
1784
+ :stability: deprecated
1785
+ '''
1765
1786
  result = self._values.get("version")
1766
1787
  assert result is not None, "Required property 'version' is missing"
1767
1788
  return typing.cast("AuroraEngineVersion", result)
@@ -1782,8 +1803,11 @@ class AuroraEngineVersion(
1782
1803
  metaclass=jsii.JSIIMeta,
1783
1804
  jsii_type="aws-cdk-lib.aws_rds.AuroraEngineVersion",
1784
1805
  ):
1785
- '''The versions for the Aurora cluster engine (those returned by ``DatabaseClusterEngine.aurora``).
1806
+ '''(deprecated) The versions for the Aurora cluster engine (those returned by ``DatabaseClusterEngine.aurora``).
1807
+
1808
+ :deprecated: use ``AuroraMysqlEngineVersion`` instead
1786
1809
 
1810
+ :stability: deprecated
1787
1811
  :exampleMetadata: infused
1788
1812
 
1789
1813
  Example::
@@ -1805,10 +1829,12 @@ class AuroraEngineVersion(
1805
1829
  aurora_full_version: builtins.str,
1806
1830
  aurora_major_version: typing.Optional[builtins.str] = None,
1807
1831
  ) -> "AuroraEngineVersion":
1808
- '''Create a new AuroraEngineVersion with an arbitrary version.
1832
+ '''(deprecated) Create a new AuroraEngineVersion with an arbitrary version.
1809
1833
 
1810
1834
  :param aurora_full_version: the full version string, for example "5.6.mysql_aurora.1.78.3.6".
1811
1835
  :param aurora_major_version: the major version of the engine, defaults to "5.6".
1836
+
1837
+ :stability: deprecated
1812
1838
  '''
1813
1839
  if __debug__:
1814
1840
  type_hints = typing.get_type_hints(_typecheckingstub__df17b87254cb31dd21f497140057c7bf82f0bc2436472cda0fb6ff7a099ecbde)
@@ -1819,147 +1845,218 @@ class AuroraEngineVersion(
1819
1845
  @jsii.python.classproperty
1820
1846
  @jsii.member(jsii_name="VER_1_17_9")
1821
1847
  def VER_1_17_9(cls) -> "AuroraEngineVersion":
1822
- '''Version "5.6.mysql_aurora.1.17.9".'''
1848
+ '''(deprecated) Version "5.6.mysql_aurora.1.17.9".
1849
+
1850
+ :stability: deprecated
1851
+ '''
1823
1852
  return typing.cast("AuroraEngineVersion", jsii.sget(cls, "VER_1_17_9"))
1824
1853
 
1825
1854
  @jsii.python.classproperty
1826
1855
  @jsii.member(jsii_name="VER_1_19_0")
1827
1856
  def VER_1_19_0(cls) -> "AuroraEngineVersion":
1828
- '''Version "5.6.mysql_aurora.1.19.0".'''
1857
+ '''(deprecated) Version "5.6.mysql_aurora.1.19.0".
1858
+
1859
+ :stability: deprecated
1860
+ '''
1829
1861
  return typing.cast("AuroraEngineVersion", jsii.sget(cls, "VER_1_19_0"))
1830
1862
 
1831
1863
  @jsii.python.classproperty
1832
1864
  @jsii.member(jsii_name="VER_1_19_1")
1833
1865
  def VER_1_19_1(cls) -> "AuroraEngineVersion":
1834
- '''Version "5.6.mysql_aurora.1.19.1".'''
1866
+ '''(deprecated) Version "5.6.mysql_aurora.1.19.1".
1867
+
1868
+ :stability: deprecated
1869
+ '''
1835
1870
  return typing.cast("AuroraEngineVersion", jsii.sget(cls, "VER_1_19_1"))
1836
1871
 
1837
1872
  @jsii.python.classproperty
1838
1873
  @jsii.member(jsii_name="VER_1_19_2")
1839
1874
  def VER_1_19_2(cls) -> "AuroraEngineVersion":
1840
- '''Version "5.6.mysql_aurora.1.19.2".'''
1875
+ '''(deprecated) Version "5.6.mysql_aurora.1.19.2".
1876
+
1877
+ :stability: deprecated
1878
+ '''
1841
1879
  return typing.cast("AuroraEngineVersion", jsii.sget(cls, "VER_1_19_2"))
1842
1880
 
1843
1881
  @jsii.python.classproperty
1844
1882
  @jsii.member(jsii_name="VER_1_19_5")
1845
1883
  def VER_1_19_5(cls) -> "AuroraEngineVersion":
1846
- '''Version "5.6.mysql_aurora.1.19.5".'''
1884
+ '''(deprecated) Version "5.6.mysql_aurora.1.19.5".
1885
+
1886
+ :stability: deprecated
1887
+ '''
1847
1888
  return typing.cast("AuroraEngineVersion", jsii.sget(cls, "VER_1_19_5"))
1848
1889
 
1849
1890
  @jsii.python.classproperty
1850
1891
  @jsii.member(jsii_name="VER_1_19_6")
1851
1892
  def VER_1_19_6(cls) -> "AuroraEngineVersion":
1852
- '''Version "5.6.mysql_aurora.1.19.6".'''
1893
+ '''(deprecated) Version "5.6.mysql_aurora.1.19.6".
1894
+
1895
+ :stability: deprecated
1896
+ '''
1853
1897
  return typing.cast("AuroraEngineVersion", jsii.sget(cls, "VER_1_19_6"))
1854
1898
 
1855
1899
  @jsii.python.classproperty
1856
1900
  @jsii.member(jsii_name="VER_1_20_0")
1857
1901
  def VER_1_20_0(cls) -> "AuroraEngineVersion":
1858
- '''Version "5.6.mysql_aurora.1.20.0".'''
1902
+ '''(deprecated) Version "5.6.mysql_aurora.1.20.0".
1903
+
1904
+ :stability: deprecated
1905
+ '''
1859
1906
  return typing.cast("AuroraEngineVersion", jsii.sget(cls, "VER_1_20_0"))
1860
1907
 
1861
1908
  @jsii.python.classproperty
1862
1909
  @jsii.member(jsii_name="VER_1_20_1")
1863
1910
  def VER_1_20_1(cls) -> "AuroraEngineVersion":
1864
- '''Version "5.6.mysql_aurora.1.20.1".'''
1911
+ '''(deprecated) Version "5.6.mysql_aurora.1.20.1".
1912
+
1913
+ :stability: deprecated
1914
+ '''
1865
1915
  return typing.cast("AuroraEngineVersion", jsii.sget(cls, "VER_1_20_1"))
1866
1916
 
1867
1917
  @jsii.python.classproperty
1868
1918
  @jsii.member(jsii_name="VER_1_21_0")
1869
1919
  def VER_1_21_0(cls) -> "AuroraEngineVersion":
1870
- '''Version "5.6.mysql_aurora.1.21.0".'''
1920
+ '''(deprecated) Version "5.6.mysql_aurora.1.21.0".
1921
+
1922
+ :stability: deprecated
1923
+ '''
1871
1924
  return typing.cast("AuroraEngineVersion", jsii.sget(cls, "VER_1_21_0"))
1872
1925
 
1873
1926
  @jsii.python.classproperty
1874
1927
  @jsii.member(jsii_name="VER_1_22_0")
1875
1928
  def VER_1_22_0(cls) -> "AuroraEngineVersion":
1876
- '''Version "5.6.mysql_aurora.1.22.0".'''
1929
+ '''(deprecated) Version "5.6.mysql_aurora.1.22.0".
1930
+
1931
+ :stability: deprecated
1932
+ '''
1877
1933
  return typing.cast("AuroraEngineVersion", jsii.sget(cls, "VER_1_22_0"))
1878
1934
 
1879
1935
  @jsii.python.classproperty
1880
1936
  @jsii.member(jsii_name="VER_1_22_1")
1881
1937
  def VER_1_22_1(cls) -> "AuroraEngineVersion":
1882
- '''Version "5.6.mysql_aurora.1.22.1".'''
1938
+ '''(deprecated) Version "5.6.mysql_aurora.1.22.1".
1939
+
1940
+ :stability: deprecated
1941
+ '''
1883
1942
  return typing.cast("AuroraEngineVersion", jsii.sget(cls, "VER_1_22_1"))
1884
1943
 
1885
1944
  @jsii.python.classproperty
1886
1945
  @jsii.member(jsii_name="VER_1_22_1_3")
1887
1946
  def VER_1_22_1_3(cls) -> "AuroraEngineVersion":
1888
- '''Version "5.6.mysql_aurora.1.22.1.3".'''
1947
+ '''(deprecated) Version "5.6.mysql_aurora.1.22.1.3".
1948
+
1949
+ :stability: deprecated
1950
+ '''
1889
1951
  return typing.cast("AuroraEngineVersion", jsii.sget(cls, "VER_1_22_1_3"))
1890
1952
 
1891
1953
  @jsii.python.classproperty
1892
1954
  @jsii.member(jsii_name="VER_1_22_2")
1893
1955
  def VER_1_22_2(cls) -> "AuroraEngineVersion":
1894
- '''Version "5.6.mysql_aurora.1.22.2".'''
1956
+ '''(deprecated) Version "5.6.mysql_aurora.1.22.2".
1957
+
1958
+ :stability: deprecated
1959
+ '''
1895
1960
  return typing.cast("AuroraEngineVersion", jsii.sget(cls, "VER_1_22_2"))
1896
1961
 
1897
1962
  @jsii.python.classproperty
1898
1963
  @jsii.member(jsii_name="VER_1_22_3")
1899
1964
  def VER_1_22_3(cls) -> "AuroraEngineVersion":
1900
- '''Version "5.6.mysql_aurora.1.22.3".'''
1965
+ '''(deprecated) Version "5.6.mysql_aurora.1.22.3".
1966
+
1967
+ :stability: deprecated
1968
+ '''
1901
1969
  return typing.cast("AuroraEngineVersion", jsii.sget(cls, "VER_1_22_3"))
1902
1970
 
1903
1971
  @jsii.python.classproperty
1904
1972
  @jsii.member(jsii_name="VER_1_22_4")
1905
1973
  def VER_1_22_4(cls) -> "AuroraEngineVersion":
1906
- '''Version "5.6.mysql_aurora.1.22.4".'''
1974
+ '''(deprecated) Version "5.6.mysql_aurora.1.22.4".
1975
+
1976
+ :stability: deprecated
1977
+ '''
1907
1978
  return typing.cast("AuroraEngineVersion", jsii.sget(cls, "VER_1_22_4"))
1908
1979
 
1909
1980
  @jsii.python.classproperty
1910
1981
  @jsii.member(jsii_name="VER_1_22_5")
1911
1982
  def VER_1_22_5(cls) -> "AuroraEngineVersion":
1912
- '''Version "5.6.mysql_aurora.1.22.5".'''
1983
+ '''(deprecated) Version "5.6.mysql_aurora.1.22.5".
1984
+
1985
+ :stability: deprecated
1986
+ '''
1913
1987
  return typing.cast("AuroraEngineVersion", jsii.sget(cls, "VER_1_22_5"))
1914
1988
 
1915
1989
  @jsii.python.classproperty
1916
1990
  @jsii.member(jsii_name="VER_1_23_0")
1917
1991
  def VER_1_23_0(cls) -> "AuroraEngineVersion":
1918
- '''Version "5.6.mysql_aurora.1.23.0".'''
1992
+ '''(deprecated) Version "5.6.mysql_aurora.1.23.0".
1993
+
1994
+ :stability: deprecated
1995
+ '''
1919
1996
  return typing.cast("AuroraEngineVersion", jsii.sget(cls, "VER_1_23_0"))
1920
1997
 
1921
1998
  @jsii.python.classproperty
1922
1999
  @jsii.member(jsii_name="VER_1_23_1")
1923
2000
  def VER_1_23_1(cls) -> "AuroraEngineVersion":
1924
- '''Version "5.6.mysql_aurora.1.23.1".'''
2001
+ '''(deprecated) Version "5.6.mysql_aurora.1.23.1".
2002
+
2003
+ :stability: deprecated
2004
+ '''
1925
2005
  return typing.cast("AuroraEngineVersion", jsii.sget(cls, "VER_1_23_1"))
1926
2006
 
1927
2007
  @jsii.python.classproperty
1928
2008
  @jsii.member(jsii_name="VER_1_23_2")
1929
2009
  def VER_1_23_2(cls) -> "AuroraEngineVersion":
1930
- '''Version "5.6.mysql_aurora.1.23.2".'''
2010
+ '''(deprecated) Version "5.6.mysql_aurora.1.23.2".
2011
+
2012
+ :stability: deprecated
2013
+ '''
1931
2014
  return typing.cast("AuroraEngineVersion", jsii.sget(cls, "VER_1_23_2"))
1932
2015
 
1933
2016
  @jsii.python.classproperty
1934
2017
  @jsii.member(jsii_name="VER_1_23_3")
1935
2018
  def VER_1_23_3(cls) -> "AuroraEngineVersion":
1936
- '''Version "5.6.mysql_aurora.1.23.3".'''
2019
+ '''(deprecated) Version "5.6.mysql_aurora.1.23.3".
2020
+
2021
+ :stability: deprecated
2022
+ '''
1937
2023
  return typing.cast("AuroraEngineVersion", jsii.sget(cls, "VER_1_23_3"))
1938
2024
 
1939
2025
  @jsii.python.classproperty
1940
2026
  @jsii.member(jsii_name="VER_1_23_4")
1941
2027
  def VER_1_23_4(cls) -> "AuroraEngineVersion":
1942
- '''Version "5.6.mysql_aurora.1.23.4".'''
2028
+ '''(deprecated) Version "5.6.mysql_aurora.1.23.4".
2029
+
2030
+ :stability: deprecated
2031
+ '''
1943
2032
  return typing.cast("AuroraEngineVersion", jsii.sget(cls, "VER_1_23_4"))
1944
2033
 
1945
2034
  @jsii.python.classproperty
1946
2035
  @jsii.member(jsii_name="VER_10A")
1947
2036
  def VER_10_A(cls) -> "AuroraEngineVersion":
1948
- '''Version "5.6.10a".'''
2037
+ '''(deprecated) Version "5.6.10a".
2038
+
2039
+ :stability: deprecated
2040
+ '''
1949
2041
  return typing.cast("AuroraEngineVersion", jsii.sget(cls, "VER_10A"))
1950
2042
 
1951
2043
  @builtins.property
1952
2044
  @jsii.member(jsii_name="auroraFullVersion")
1953
2045
  def aurora_full_version(self) -> builtins.str:
1954
- '''The full version string, for example, "5.6.mysql_aurora.1.78.3.6".'''
2046
+ '''(deprecated) The full version string, for example, "5.6.mysql_aurora.1.78.3.6".
2047
+
2048
+ :stability: deprecated
2049
+ '''
1955
2050
  return typing.cast(builtins.str, jsii.get(self, "auroraFullVersion"))
1956
2051
 
1957
2052
  @builtins.property
1958
2053
  @jsii.member(jsii_name="auroraMajorVersion")
1959
2054
  def aurora_major_version(self) -> builtins.str:
1960
- '''The major version of the engine.
2055
+ '''(deprecated) The major version of the engine.
1961
2056
 
1962
2057
  Currently, it's always "5.6".
2058
+
2059
+ :stability: deprecated
1963
2060
  '''
1964
2061
  return typing.cast(builtins.str, jsii.get(self, "auroraMajorVersion"))
1965
2062
 
@@ -1985,17 +2082,17 @@ class AuroraMysqlClusterEngineProps:
1985
2082
 
1986
2083
  cluster = rds.DatabaseCluster(self, "Database",
1987
2084
  engine=rds.DatabaseClusterEngine.aurora_mysql(version=rds.AuroraMysqlEngineVersion.VER_3_01_0),
2085
+ credentials=rds.Credentials.from_generated_secret("clusteradmin"), # Optional - will default to 'admin' username and generated password
1988
2086
  writer=rds.ClusterInstance.provisioned("writer",
1989
- instance_type=ec2.InstanceType.of(ec2.InstanceClass.R6G, ec2.InstanceSize.XLARGE4)
2087
+ publicly_accessible=False
1990
2088
  ),
1991
- serverless_v2_min_capacity=6.5,
1992
- serverless_v2_max_capacity=64,
1993
2089
  readers=[
1994
- # will be put in promotion tier 1 and will scale with the writer
1995
- rds.ClusterInstance.serverless_v2("reader1", scale_with_writer=True),
1996
- # will be put in promotion tier 2 and will not scale with the writer
2090
+ rds.ClusterInstance.provisioned("reader1", promotion_tier=1),
1997
2091
  rds.ClusterInstance.serverless_v2("reader2")
1998
2092
  ],
2093
+ vpc_subnets=ec2.SubnetSelection(
2094
+ subnet_type=ec2.SubnetType.PRIVATE_WITH_EGRESS
2095
+ ),
1999
2096
  vpc=vpc
2000
2097
  )
2001
2098
  '''
@@ -2041,17 +2138,11 @@ class AuroraMysqlEngineVersion(
2041
2138
 
2042
2139
  cluster = rds.DatabaseCluster(self, "Database",
2043
2140
  engine=rds.DatabaseClusterEngine.aurora_mysql(version=rds.AuroraMysqlEngineVersion.VER_3_01_0),
2044
- credentials=rds.Credentials.from_generated_secret("clusteradmin"), # Optional - will default to 'admin' username and generated password
2045
- writer=rds.ClusterInstance.provisioned("writer",
2046
- publicly_accessible=False
2047
- ),
2048
- readers=[
2049
- rds.ClusterInstance.provisioned("reader1", promotion_tier=1),
2050
- rds.ClusterInstance.serverless_v2("reader2")
2051
- ],
2052
- vpc_subnets=ec2.SubnetSelection(
2053
- subnet_type=ec2.SubnetType.PRIVATE_WITH_EGRESS
2141
+ writer=rds.ClusterInstance.provisioned("Instance",
2142
+ instance_type=ec2.InstanceType.of(ec2.InstanceClass.BURSTABLE3, ec2.InstanceSize.SMALL)
2054
2143
  ),
2144
+ readers=[rds.ClusterInstance.provisioned("reader")],
2145
+ instance_update_behaviour=rds.InstanceUpdateBehaviour.ROLLING, # Optional - defaults to rds.InstanceUpdateBehaviour.BULK
2055
2146
  vpc=vpc
2056
2147
  )
2057
2148
  '''
@@ -19806,9 +19897,13 @@ class DatabaseClusterEngine(
19806
19897
  @jsii.member(jsii_name="aurora")
19807
19898
  @builtins.classmethod
19808
19899
  def aurora(cls, *, version: AuroraEngineVersion) -> "IClusterEngine":
19809
- '''Creates a new plain Aurora database cluster engine.
19900
+ '''(deprecated) Creates a new plain Aurora database cluster engine.
19901
+
19902
+ :param version: (deprecated) The version of the Aurora cluster engine.
19810
19903
 
19811
- :param version: The version of the Aurora cluster engine.
19904
+ :deprecated: use ``auroraMysql()`` instead
19905
+
19906
+ :stability: deprecated
19812
19907
  '''
19813
19908
  props = AuroraClusterEngineProps(version=version)
19814
19909
 
@@ -19843,11 +19938,15 @@ class DatabaseClusterEngine(
19843
19938
  @jsii.python.classproperty
19844
19939
  @jsii.member(jsii_name="AURORA")
19845
19940
  def AURORA(cls) -> "IClusterEngine":
19846
- '''The unversioned 'aurora' cluster engine.
19941
+ '''(deprecated) The unversioned 'aurora' cluster engine.
19847
19942
 
19848
19943
  **Note**: we do not recommend using unversioned engines for non-serverless Clusters,
19849
19944
  as that can pose an availability risk.
19850
19945
  We recommend using versioned engines created using the ``aurora()`` method
19946
+
19947
+ :deprecated: use ``AURORA_MYSQL`` instead
19948
+
19949
+ :stability: deprecated
19851
19950
  '''
19852
19951
  return typing.cast("IClusterEngine", jsii.sget(cls, "AURORA"))
19853
19952
 
@@ -19880,6 +19979,7 @@ class DatabaseClusterEngine(
19880
19979
  name_mapping={
19881
19980
  "engine": "engine",
19882
19981
  "snapshot_identifier": "snapshotIdentifier",
19982
+ "auto_minor_version_upgrade": "autoMinorVersionUpgrade",
19883
19983
  "backtrack_window": "backtrackWindow",
19884
19984
  "backup": "backup",
19885
19985
  "cloudwatch_logs_exports": "cloudwatchLogsExports",
@@ -19934,6 +20034,7 @@ class DatabaseClusterFromSnapshotProps:
19934
20034
  *,
19935
20035
  engine: "IClusterEngine",
19936
20036
  snapshot_identifier: builtins.str,
20037
+ auto_minor_version_upgrade: typing.Optional[builtins.bool] = None,
19937
20038
  backtrack_window: typing.Optional[_Duration_4839e8c3] = None,
19938
20039
  backup: typing.Optional[typing.Union[BackupProps, typing.Dict[builtins.str, typing.Any]]] = None,
19939
20040
  cloudwatch_logs_exports: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -19985,6 +20086,7 @@ class DatabaseClusterFromSnapshotProps:
19985
20086
 
19986
20087
  :param engine: What kind of database to start.
19987
20088
  :param snapshot_identifier: The identifier for the DB instance snapshot or DB cluster snapshot to restore from. You can use either the name or the Amazon Resource Name (ARN) to specify a DB cluster snapshot. However, you can use only the ARN to specify a DB instance snapshot.
20089
+ :param auto_minor_version_upgrade: Specifies whether minor engine upgrades are applied automatically to the DB cluster during the maintenance window. Default: true
19988
20090
  :param backtrack_window: The number of seconds to set a cluster's target backtrack window to. This feature is only supported by the Aurora MySQL database engine and cannot be enabled on existing clusters. Default: 0 seconds (no backtrack)
19989
20091
  :param backup: Backup settings. Default: - Backup retention period for automated backups is 1 day. Backup preferred window is set to a 30-minute window selected at random from an 8-hour block of time for each AWS Region, occurring on a random day of the week.
19990
20092
  :param cloudwatch_logs_exports: The list of log types that need to be enabled for exporting to CloudWatch Logs. Default: - no log exports
@@ -20055,6 +20157,7 @@ class DatabaseClusterFromSnapshotProps:
20055
20157
  type_hints = typing.get_type_hints(_typecheckingstub__1e44b5aef872ca17869a17181382f06cd0166bdbe07e2c33701d3bf1ef437561)
20056
20158
  check_type(argname="argument engine", value=engine, expected_type=type_hints["engine"])
20057
20159
  check_type(argname="argument snapshot_identifier", value=snapshot_identifier, expected_type=type_hints["snapshot_identifier"])
20160
+ check_type(argname="argument auto_minor_version_upgrade", value=auto_minor_version_upgrade, expected_type=type_hints["auto_minor_version_upgrade"])
20058
20161
  check_type(argname="argument backtrack_window", value=backtrack_window, expected_type=type_hints["backtrack_window"])
20059
20162
  check_type(argname="argument backup", value=backup, expected_type=type_hints["backup"])
20060
20163
  check_type(argname="argument cloudwatch_logs_exports", value=cloudwatch_logs_exports, expected_type=type_hints["cloudwatch_logs_exports"])
@@ -20105,6 +20208,8 @@ class DatabaseClusterFromSnapshotProps:
20105
20208
  "engine": engine,
20106
20209
  "snapshot_identifier": snapshot_identifier,
20107
20210
  }
20211
+ if auto_minor_version_upgrade is not None:
20212
+ self._values["auto_minor_version_upgrade"] = auto_minor_version_upgrade
20108
20213
  if backtrack_window is not None:
20109
20214
  self._values["backtrack_window"] = backtrack_window
20110
20215
  if backup is not None:
@@ -20216,6 +20321,15 @@ class DatabaseClusterFromSnapshotProps:
20216
20321
  assert result is not None, "Required property 'snapshot_identifier' is missing"
20217
20322
  return typing.cast(builtins.str, result)
20218
20323
 
20324
+ @builtins.property
20325
+ def auto_minor_version_upgrade(self) -> typing.Optional[builtins.bool]:
20326
+ '''Specifies whether minor engine upgrades are applied automatically to the DB cluster during the maintenance window.
20327
+
20328
+ :default: true
20329
+ '''
20330
+ result = self._values.get("auto_minor_version_upgrade")
20331
+ return typing.cast(typing.Optional[builtins.bool], result)
20332
+
20219
20333
  @builtins.property
20220
20334
  def backtrack_window(self) -> typing.Optional[_Duration_4839e8c3]:
20221
20335
  '''The number of seconds to set a cluster's target backtrack window to.
@@ -20758,6 +20872,7 @@ class DatabaseClusterFromSnapshotProps:
20758
20872
  jsii_struct_bases=[],
20759
20873
  name_mapping={
20760
20874
  "engine": "engine",
20875
+ "auto_minor_version_upgrade": "autoMinorVersionUpgrade",
20761
20876
  "backtrack_window": "backtrackWindow",
20762
20877
  "backup": "backup",
20763
20878
  "cloudwatch_logs_exports": "cloudwatchLogsExports",
@@ -20810,6 +20925,7 @@ class DatabaseClusterProps:
20810
20925
  self,
20811
20926
  *,
20812
20927
  engine: "IClusterEngine",
20928
+ auto_minor_version_upgrade: typing.Optional[builtins.bool] = None,
20813
20929
  backtrack_window: typing.Optional[_Duration_4839e8c3] = None,
20814
20930
  backup: typing.Optional[typing.Union[BackupProps, typing.Dict[builtins.str, typing.Any]]] = None,
20815
20931
  cloudwatch_logs_exports: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -20859,6 +20975,7 @@ class DatabaseClusterProps:
20859
20975
  '''Properties for a new database cluster.
20860
20976
 
20861
20977
  :param engine: What kind of database to start.
20978
+ :param auto_minor_version_upgrade: Specifies whether minor engine upgrades are applied automatically to the DB cluster during the maintenance window. Default: true
20862
20979
  :param backtrack_window: The number of seconds to set a cluster's target backtrack window to. This feature is only supported by the Aurora MySQL database engine and cannot be enabled on existing clusters. Default: 0 seconds (no backtrack)
20863
20980
  :param backup: Backup settings. Default: - Backup retention period for automated backups is 1 day. Backup preferred window is set to a 30-minute window selected at random from an 8-hour block of time for each AWS Region, occurring on a random day of the week.
20864
20981
  :param cloudwatch_logs_exports: The list of log types that need to be enabled for exporting to CloudWatch Logs. Default: - no log exports
@@ -20936,6 +21053,7 @@ class DatabaseClusterProps:
20936
21053
  if __debug__:
20937
21054
  type_hints = typing.get_type_hints(_typecheckingstub__a32e21c90ab65d3cfdb3b7ef2a0d741ba1528ec8824cd1817d1e485b427eeca4)
20938
21055
  check_type(argname="argument engine", value=engine, expected_type=type_hints["engine"])
21056
+ check_type(argname="argument auto_minor_version_upgrade", value=auto_minor_version_upgrade, expected_type=type_hints["auto_minor_version_upgrade"])
20939
21057
  check_type(argname="argument backtrack_window", value=backtrack_window, expected_type=type_hints["backtrack_window"])
20940
21058
  check_type(argname="argument backup", value=backup, expected_type=type_hints["backup"])
20941
21059
  check_type(argname="argument cloudwatch_logs_exports", value=cloudwatch_logs_exports, expected_type=type_hints["cloudwatch_logs_exports"])
@@ -20984,6 +21102,8 @@ class DatabaseClusterProps:
20984
21102
  self._values: typing.Dict[builtins.str, typing.Any] = {
20985
21103
  "engine": engine,
20986
21104
  }
21105
+ if auto_minor_version_upgrade is not None:
21106
+ self._values["auto_minor_version_upgrade"] = auto_minor_version_upgrade
20987
21107
  if backtrack_window is not None:
20988
21108
  self._values["backtrack_window"] = backtrack_window
20989
21109
  if backup is not None:
@@ -21082,6 +21202,15 @@ class DatabaseClusterProps:
21082
21202
  assert result is not None, "Required property 'engine' is missing"
21083
21203
  return typing.cast("IClusterEngine", result)
21084
21204
 
21205
+ @builtins.property
21206
+ def auto_minor_version_upgrade(self) -> typing.Optional[builtins.bool]:
21207
+ '''Specifies whether minor engine upgrades are applied automatically to the DB cluster during the maintenance window.
21208
+
21209
+ :default: true
21210
+ '''
21211
+ result = self._values.get("auto_minor_version_upgrade")
21212
+ return typing.cast(typing.Optional[builtins.bool], result)
21213
+
21085
21214
  @builtins.property
21086
21215
  def backtrack_window(self) -> typing.Optional[_Duration_4839e8c3]:
21087
21216
  '''The number of seconds to set a cluster's target backtrack window to.
@@ -39868,6 +39997,7 @@ class DatabaseClusterFromSnapshot(
39868
39997
  *,
39869
39998
  engine: "IClusterEngine",
39870
39999
  snapshot_identifier: builtins.str,
40000
+ auto_minor_version_upgrade: typing.Optional[builtins.bool] = None,
39871
40001
  backtrack_window: typing.Optional[_Duration_4839e8c3] = None,
39872
40002
  backup: typing.Optional[typing.Union[BackupProps, typing.Dict[builtins.str, typing.Any]]] = None,
39873
40003
  cloudwatch_logs_exports: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -39920,6 +40050,7 @@ class DatabaseClusterFromSnapshot(
39920
40050
  :param id: -
39921
40051
  :param engine: What kind of database to start.
39922
40052
  :param snapshot_identifier: The identifier for the DB instance snapshot or DB cluster snapshot to restore from. You can use either the name or the Amazon Resource Name (ARN) to specify a DB cluster snapshot. However, you can use only the ARN to specify a DB instance snapshot.
40053
+ :param auto_minor_version_upgrade: Specifies whether minor engine upgrades are applied automatically to the DB cluster during the maintenance window. Default: true
39923
40054
  :param backtrack_window: The number of seconds to set a cluster's target backtrack window to. This feature is only supported by the Aurora MySQL database engine and cannot be enabled on existing clusters. Default: 0 seconds (no backtrack)
39924
40055
  :param backup: Backup settings. Default: - Backup retention period for automated backups is 1 day. Backup preferred window is set to a 30-minute window selected at random from an 8-hour block of time for each AWS Region, occurring on a random day of the week.
39925
40056
  :param cloudwatch_logs_exports: The list of log types that need to be enabled for exporting to CloudWatch Logs. Default: - no log exports
@@ -39974,6 +40105,7 @@ class DatabaseClusterFromSnapshot(
39974
40105
  props = DatabaseClusterFromSnapshotProps(
39975
40106
  engine=engine,
39976
40107
  snapshot_identifier=snapshot_identifier,
40108
+ auto_minor_version_upgrade=auto_minor_version_upgrade,
39977
40109
  backtrack_window=backtrack_window,
39978
40110
  backup=backup,
39979
40111
  cloudwatch_logs_exports=cloudwatch_logs_exports,
@@ -43890,6 +44022,7 @@ class DatabaseCluster(
43890
44022
  id: builtins.str,
43891
44023
  *,
43892
44024
  engine: IClusterEngine,
44025
+ auto_minor_version_upgrade: typing.Optional[builtins.bool] = None,
43893
44026
  backtrack_window: typing.Optional[_Duration_4839e8c3] = None,
43894
44027
  backup: typing.Optional[typing.Union[BackupProps, typing.Dict[builtins.str, typing.Any]]] = None,
43895
44028
  cloudwatch_logs_exports: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -43940,6 +44073,7 @@ class DatabaseCluster(
43940
44073
  :param scope: -
43941
44074
  :param id: -
43942
44075
  :param engine: What kind of database to start.
44076
+ :param auto_minor_version_upgrade: Specifies whether minor engine upgrades are applied automatically to the DB cluster during the maintenance window. Default: true
43943
44077
  :param backtrack_window: The number of seconds to set a cluster's target backtrack window to. This feature is only supported by the Aurora MySQL database engine and cannot be enabled on existing clusters. Default: 0 seconds (no backtrack)
43944
44078
  :param backup: Backup settings. Default: - Backup retention period for automated backups is 1 day. Backup preferred window is set to a 30-minute window selected at random from an 8-hour block of time for each AWS Region, occurring on a random day of the week.
43945
44079
  :param cloudwatch_logs_exports: The list of log types that need to be enabled for exporting to CloudWatch Logs. Default: - no log exports
@@ -43992,6 +44126,7 @@ class DatabaseCluster(
43992
44126
  check_type(argname="argument id", value=id, expected_type=type_hints["id"])
43993
44127
  props = DatabaseClusterProps(
43994
44128
  engine=engine,
44129
+ auto_minor_version_upgrade=auto_minor_version_upgrade,
43995
44130
  backtrack_window=backtrack_window,
43996
44131
  backup=backup,
43997
44132
  cloudwatch_logs_exports=cloudwatch_logs_exports,
@@ -47521,6 +47656,7 @@ def _typecheckingstub__1e44b5aef872ca17869a17181382f06cd0166bdbe07e2c33701d3bf1e
47521
47656
  *,
47522
47657
  engine: IClusterEngine,
47523
47658
  snapshot_identifier: builtins.str,
47659
+ auto_minor_version_upgrade: typing.Optional[builtins.bool] = None,
47524
47660
  backtrack_window: typing.Optional[_Duration_4839e8c3] = None,
47525
47661
  backup: typing.Optional[typing.Union[BackupProps, typing.Dict[builtins.str, typing.Any]]] = None,
47526
47662
  cloudwatch_logs_exports: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -47574,6 +47710,7 @@ def _typecheckingstub__1e44b5aef872ca17869a17181382f06cd0166bdbe07e2c33701d3bf1e
47574
47710
  def _typecheckingstub__a32e21c90ab65d3cfdb3b7ef2a0d741ba1528ec8824cd1817d1e485b427eeca4(
47575
47711
  *,
47576
47712
  engine: IClusterEngine,
47713
+ auto_minor_version_upgrade: typing.Optional[builtins.bool] = None,
47577
47714
  backtrack_window: typing.Optional[_Duration_4839e8c3] = None,
47578
47715
  backup: typing.Optional[typing.Union[BackupProps, typing.Dict[builtins.str, typing.Any]]] = None,
47579
47716
  cloudwatch_logs_exports: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -48779,6 +48916,7 @@ def _typecheckingstub__d1a2e259091e12a41b0f5818df495769518e049ebcc89ed340ffc7ba4
48779
48916
  *,
48780
48917
  engine: IClusterEngine,
48781
48918
  snapshot_identifier: builtins.str,
48919
+ auto_minor_version_upgrade: typing.Optional[builtins.bool] = None,
48782
48920
  backtrack_window: typing.Optional[_Duration_4839e8c3] = None,
48783
48921
  backup: typing.Optional[typing.Union[BackupProps, typing.Dict[builtins.str, typing.Any]]] = None,
48784
48922
  cloudwatch_logs_exports: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -49265,6 +49403,7 @@ def _typecheckingstub__c6184cbbefaa372690b9776dafecbf5857cf9bfbab91d1666aad22c56
49265
49403
  id: builtins.str,
49266
49404
  *,
49267
49405
  engine: IClusterEngine,
49406
+ auto_minor_version_upgrade: typing.Optional[builtins.bool] = None,
49268
49407
  backtrack_window: typing.Optional[_Duration_4839e8c3] = None,
49269
49408
  backup: typing.Optional[typing.Union[BackupProps, typing.Dict[builtins.str, typing.Any]]] = None,
49270
49409
  cloudwatch_logs_exports: typing.Optional[typing.Sequence[builtins.str]] = None,