aws-cdk-lib 2.172.0__py3-none-any.whl → 2.173.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of aws-cdk-lib might be problematic. Click here for more details.
- aws_cdk/__init__.py +57 -0
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.172.0.jsii.tgz → aws-cdk-lib@2.173.0.jsii.tgz} +0 -0
- aws_cdk/aws_amazonmq/__init__.py +40 -40
- aws_cdk/aws_apigateway/__init__.py +111 -64
- aws_cdk/aws_applicationautoscaling/__init__.py +141 -66
- aws_cdk/aws_appsync/__init__.py +4 -3
- aws_cdk/aws_autoscaling/__init__.py +15 -6
- aws_cdk/aws_bedrock/__init__.py +32 -44
- aws_cdk/aws_chatbot/__init__.py +72 -46
- aws_cdk/aws_cleanrooms/__init__.py +4 -6
- aws_cdk/aws_cloudfront/__init__.py +4 -2
- aws_cdk/aws_cloudtrail/__init__.py +104 -68
- aws_cdk/aws_cloudwatch/__init__.py +51 -14
- aws_cdk/aws_codebuild/__init__.py +39 -0
- aws_cdk/aws_codepipeline/__init__.py +4 -4
- aws_cdk/aws_cognito/__init__.py +221 -53
- aws_cdk/aws_config/__init__.py +13 -10
- aws_cdk/aws_connect/__init__.py +25 -23
- aws_cdk/aws_connectcampaignsv2/__init__.py +187 -176
- aws_cdk/aws_docdb/__init__.py +128 -0
- aws_cdk/aws_dynamodb/__init__.py +256 -0
- aws_cdk/aws_ec2/__init__.py +130 -48
- aws_cdk/aws_ecs/__init__.py +25 -13
- aws_cdk/aws_eks/__init__.py +86 -24
- aws_cdk/aws_elasticache/__init__.py +22 -22
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +138 -128
- aws_cdk/aws_events/__init__.py +39 -26
- aws_cdk/aws_fsx/__init__.py +134 -10
- aws_cdk/aws_imagebuilder/__init__.py +8 -8
- aws_cdk/aws_invoicing/__init__.py +651 -0
- aws_cdk/aws_iot/__init__.py +28 -22
- aws_cdk/aws_iotfleetwise/__init__.py +473 -332
- aws_cdk/aws_iotsitewise/__init__.py +6 -4
- aws_cdk/aws_ivs/__init__.py +43 -31
- aws_cdk/aws_kendra/__init__.py +4 -0
- aws_cdk/aws_lakeformation/__init__.py +2 -1
- aws_cdk/aws_lambda/__init__.py +258 -156
- aws_cdk/aws_logs/__init__.py +532 -0
- aws_cdk/aws_m2/__init__.py +15 -15
- aws_cdk/aws_mediaconnect/__init__.py +24 -14
- aws_cdk/aws_medialive/__init__.py +2359 -5
- aws_cdk/aws_mediapackage/__init__.py +3 -9
- aws_cdk/aws_mediapackagev2/__init__.py +19 -17
- aws_cdk/aws_memorydb/__init__.py +664 -4
- aws_cdk/aws_qbusiness/__init__.py +2018 -66
- aws_cdk/aws_rds/__init__.py +30 -0
- aws_cdk/aws_resourcegroups/__init__.py +26 -17
- aws_cdk/aws_route53/__init__.py +1177 -10
- aws_cdk/aws_route53_targets/__init__.py +224 -100
- aws_cdk/aws_route53resolver/__init__.py +4 -2
- aws_cdk/aws_s3/__init__.py +4 -4
- aws_cdk/aws_s3express/__init__.py +30 -19
- aws_cdk/aws_sagemaker/__init__.py +783 -9
- aws_cdk/aws_secretsmanager/__init__.py +20 -6
- aws_cdk/aws_securityhub/__init__.py +64 -32
- aws_cdk/aws_servicediscovery/__init__.py +43 -0
- aws_cdk/aws_ses/__init__.py +109 -0
- aws_cdk/aws_stepfunctions_tasks/__init__.py +190 -35
- aws_cdk/aws_synthetics/__init__.py +7 -5
- aws_cdk/aws_vpclattice/__init__.py +1479 -122
- aws_cdk/aws_wisdom/__init__.py +2698 -232
- aws_cdk/aws_workspacesweb/__init__.py +118 -61
- {aws_cdk_lib-2.172.0.dist-info → aws_cdk_lib-2.173.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.172.0.dist-info → aws_cdk_lib-2.173.0.dist-info}/RECORD +69 -68
- {aws_cdk_lib-2.172.0.dist-info → aws_cdk_lib-2.173.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.172.0.dist-info → aws_cdk_lib-2.173.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.172.0.dist-info → aws_cdk_lib-2.173.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.172.0.dist-info → aws_cdk_lib-2.173.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_docdb/__init__.py
CHANGED
|
@@ -574,6 +574,10 @@ class CfnDBCluster(
|
|
|
574
574
|
preferred_maintenance_window="preferredMaintenanceWindow",
|
|
575
575
|
restore_to_time="restoreToTime",
|
|
576
576
|
restore_type="restoreType",
|
|
577
|
+
serverless_v2_scaling_configuration=docdb.CfnDBCluster.ServerlessV2ScalingConfigurationProperty(
|
|
578
|
+
max_capacity=123,
|
|
579
|
+
min_capacity=123
|
|
580
|
+
),
|
|
577
581
|
snapshot_identifier="snapshotIdentifier",
|
|
578
582
|
source_db_cluster_identifier="sourceDbClusterIdentifier",
|
|
579
583
|
storage_encrypted=False,
|
|
@@ -609,6 +613,7 @@ class CfnDBCluster(
|
|
|
609
613
|
preferred_maintenance_window: typing.Optional[builtins.str] = None,
|
|
610
614
|
restore_to_time: typing.Optional[builtins.str] = None,
|
|
611
615
|
restore_type: typing.Optional[builtins.str] = None,
|
|
616
|
+
serverless_v2_scaling_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDBCluster.ServerlessV2ScalingConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
612
617
|
snapshot_identifier: typing.Optional[builtins.str] = None,
|
|
613
618
|
source_db_cluster_identifier: typing.Optional[builtins.str] = None,
|
|
614
619
|
storage_encrypted: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
@@ -637,6 +642,7 @@ class CfnDBCluster(
|
|
|
637
642
|
:param preferred_maintenance_window: The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC). Format: ``ddd:hh24:mi-ddd:hh24:mi`` The default is 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. Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun Constraints: Minimum 30-minute window.
|
|
638
643
|
:param restore_to_time: The date and time to restore the cluster to. Valid values: A time in Universal Coordinated Time (UTC) format. Constraints: - Must be before the latest restorable time for the instance. - Must be specified if the ``UseLatestRestorableTime`` parameter is not provided. - Cannot be specified if the ``UseLatestRestorableTime`` parameter is ``true`` . - Cannot be specified if the ``RestoreType`` parameter is ``copy-on-write`` . Example: ``2015-03-07T23:45:00Z``
|
|
639
644
|
:param restore_type: The type of restore to be performed. You can specify one of the following values:. - ``full-copy`` - The new DB cluster is restored as a full copy of the source DB cluster. - ``copy-on-write`` - The new DB cluster is restored as a clone of the source DB cluster. Constraints: You can't specify ``copy-on-write`` if the engine version of the source DB cluster is earlier than 1.11. If you don't specify a ``RestoreType`` value, then the new DB cluster is restored as a full copy of the source DB cluster.
|
|
645
|
+
:param serverless_v2_scaling_configuration:
|
|
640
646
|
:param snapshot_identifier: The identifier for the snapshot or cluster snapshot to restore from. You can use either the name or the Amazon Resource Name (ARN) to specify a cluster snapshot. However, you can use only the ARN to specify a snapshot. Constraints: - Must match the identifier of an existing snapshot.
|
|
641
647
|
:param source_db_cluster_identifier: The identifier of the source cluster from which to restore. Constraints: - Must match the identifier of an existing ``DBCluster`` .
|
|
642
648
|
:param storage_encrypted: Specifies whether the cluster is encrypted. If you specify ``SourceDBClusterIdentifier`` or ``SnapshotIdentifier`` and don’t specify ``StorageEncrypted`` , the encryption property is inherited from the source cluster or snapshot (unless ``KMSKeyId`` is specified, in which case the restored cluster will be encrypted with that KMS key). If the source is encrypted and ``StorageEncrypted`` is specified to be true, the restored cluster will be encrypted (if you want to use a different KMS key, specify the ``KMSKeyId`` property as well). If the source is unencrypted and ``StorageEncrypted`` is specified to be true, then the ``KMSKeyId`` property must be specified. If the source is encrypted, don’t specify ``StorageEncrypted`` to be false as opting out of encryption is not allowed.
|
|
@@ -667,6 +673,7 @@ class CfnDBCluster(
|
|
|
667
673
|
preferred_maintenance_window=preferred_maintenance_window,
|
|
668
674
|
restore_to_time=restore_to_time,
|
|
669
675
|
restore_type=restore_type,
|
|
676
|
+
serverless_v2_scaling_configuration=serverless_v2_scaling_configuration,
|
|
670
677
|
snapshot_identifier=snapshot_identifier,
|
|
671
678
|
source_db_cluster_identifier=source_db_cluster_identifier,
|
|
672
679
|
storage_encrypted=storage_encrypted,
|
|
@@ -1023,6 +1030,23 @@ class CfnDBCluster(
|
|
|
1023
1030
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1024
1031
|
jsii.set(self, "restoreType", value) # pyright: ignore[reportArgumentType]
|
|
1025
1032
|
|
|
1033
|
+
@builtins.property
|
|
1034
|
+
@jsii.member(jsii_name="serverlessV2ScalingConfiguration")
|
|
1035
|
+
def serverless_v2_scaling_configuration(
|
|
1036
|
+
self,
|
|
1037
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDBCluster.ServerlessV2ScalingConfigurationProperty"]]:
|
|
1038
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDBCluster.ServerlessV2ScalingConfigurationProperty"]], jsii.get(self, "serverlessV2ScalingConfiguration"))
|
|
1039
|
+
|
|
1040
|
+
@serverless_v2_scaling_configuration.setter
|
|
1041
|
+
def serverless_v2_scaling_configuration(
|
|
1042
|
+
self,
|
|
1043
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDBCluster.ServerlessV2ScalingConfigurationProperty"]],
|
|
1044
|
+
) -> None:
|
|
1045
|
+
if __debug__:
|
|
1046
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f23cec17e6d5a308bc97faa6c2e987d67b01e77f99c6ad20b6019114adb90e97)
|
|
1047
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1048
|
+
jsii.set(self, "serverlessV2ScalingConfiguration", value) # pyright: ignore[reportArgumentType]
|
|
1049
|
+
|
|
1026
1050
|
@builtins.property
|
|
1027
1051
|
@jsii.member(jsii_name="snapshotIdentifier")
|
|
1028
1052
|
def snapshot_identifier(self) -> typing.Optional[builtins.str]:
|
|
@@ -1130,6 +1154,74 @@ class CfnDBCluster(
|
|
|
1130
1154
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1131
1155
|
jsii.set(self, "vpcSecurityGroupIds", value) # pyright: ignore[reportArgumentType]
|
|
1132
1156
|
|
|
1157
|
+
@jsii.data_type(
|
|
1158
|
+
jsii_type="aws-cdk-lib.aws_docdb.CfnDBCluster.ServerlessV2ScalingConfigurationProperty",
|
|
1159
|
+
jsii_struct_bases=[],
|
|
1160
|
+
name_mapping={"max_capacity": "maxCapacity", "min_capacity": "minCapacity"},
|
|
1161
|
+
)
|
|
1162
|
+
class ServerlessV2ScalingConfigurationProperty:
|
|
1163
|
+
def __init__(
|
|
1164
|
+
self,
|
|
1165
|
+
*,
|
|
1166
|
+
max_capacity: jsii.Number,
|
|
1167
|
+
min_capacity: jsii.Number,
|
|
1168
|
+
) -> None:
|
|
1169
|
+
'''
|
|
1170
|
+
:param max_capacity:
|
|
1171
|
+
:param min_capacity:
|
|
1172
|
+
|
|
1173
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-docdb-dbcluster-serverlessv2scalingconfiguration.html
|
|
1174
|
+
:exampleMetadata: fixture=_generated
|
|
1175
|
+
|
|
1176
|
+
Example::
|
|
1177
|
+
|
|
1178
|
+
# The code below shows an example of how to instantiate this type.
|
|
1179
|
+
# The values are placeholders you should change.
|
|
1180
|
+
from aws_cdk import aws_docdb as docdb
|
|
1181
|
+
|
|
1182
|
+
serverless_v2_scaling_configuration_property = docdb.CfnDBCluster.ServerlessV2ScalingConfigurationProperty(
|
|
1183
|
+
max_capacity=123,
|
|
1184
|
+
min_capacity=123
|
|
1185
|
+
)
|
|
1186
|
+
'''
|
|
1187
|
+
if __debug__:
|
|
1188
|
+
type_hints = typing.get_type_hints(_typecheckingstub__20a567af32a2157b0abde0b6bdb15faa4ec4db8519748c7488f5ec5b3ddf4b13)
|
|
1189
|
+
check_type(argname="argument max_capacity", value=max_capacity, expected_type=type_hints["max_capacity"])
|
|
1190
|
+
check_type(argname="argument min_capacity", value=min_capacity, expected_type=type_hints["min_capacity"])
|
|
1191
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1192
|
+
"max_capacity": max_capacity,
|
|
1193
|
+
"min_capacity": min_capacity,
|
|
1194
|
+
}
|
|
1195
|
+
|
|
1196
|
+
@builtins.property
|
|
1197
|
+
def max_capacity(self) -> jsii.Number:
|
|
1198
|
+
'''
|
|
1199
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-docdb-dbcluster-serverlessv2scalingconfiguration.html#cfn-docdb-dbcluster-serverlessv2scalingconfiguration-maxcapacity
|
|
1200
|
+
'''
|
|
1201
|
+
result = self._values.get("max_capacity")
|
|
1202
|
+
assert result is not None, "Required property 'max_capacity' is missing"
|
|
1203
|
+
return typing.cast(jsii.Number, result)
|
|
1204
|
+
|
|
1205
|
+
@builtins.property
|
|
1206
|
+
def min_capacity(self) -> jsii.Number:
|
|
1207
|
+
'''
|
|
1208
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-docdb-dbcluster-serverlessv2scalingconfiguration.html#cfn-docdb-dbcluster-serverlessv2scalingconfiguration-mincapacity
|
|
1209
|
+
'''
|
|
1210
|
+
result = self._values.get("min_capacity")
|
|
1211
|
+
assert result is not None, "Required property 'min_capacity' is missing"
|
|
1212
|
+
return typing.cast(jsii.Number, result)
|
|
1213
|
+
|
|
1214
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1215
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1216
|
+
|
|
1217
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1218
|
+
return not (rhs == self)
|
|
1219
|
+
|
|
1220
|
+
def __repr__(self) -> str:
|
|
1221
|
+
return "ServerlessV2ScalingConfigurationProperty(%s)" % ", ".join(
|
|
1222
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1223
|
+
)
|
|
1224
|
+
|
|
1133
1225
|
|
|
1134
1226
|
@jsii.implements(_IInspectable_c2943556, _ITaggable_36806126)
|
|
1135
1227
|
class CfnDBClusterParameterGroup(
|
|
@@ -1482,6 +1574,7 @@ class CfnDBClusterParameterGroupProps:
|
|
|
1482
1574
|
"preferred_maintenance_window": "preferredMaintenanceWindow",
|
|
1483
1575
|
"restore_to_time": "restoreToTime",
|
|
1484
1576
|
"restore_type": "restoreType",
|
|
1577
|
+
"serverless_v2_scaling_configuration": "serverlessV2ScalingConfiguration",
|
|
1485
1578
|
"snapshot_identifier": "snapshotIdentifier",
|
|
1486
1579
|
"source_db_cluster_identifier": "sourceDbClusterIdentifier",
|
|
1487
1580
|
"storage_encrypted": "storageEncrypted",
|
|
@@ -1512,6 +1605,7 @@ class CfnDBClusterProps:
|
|
|
1512
1605
|
preferred_maintenance_window: typing.Optional[builtins.str] = None,
|
|
1513
1606
|
restore_to_time: typing.Optional[builtins.str] = None,
|
|
1514
1607
|
restore_type: typing.Optional[builtins.str] = None,
|
|
1608
|
+
serverless_v2_scaling_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDBCluster.ServerlessV2ScalingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1515
1609
|
snapshot_identifier: typing.Optional[builtins.str] = None,
|
|
1516
1610
|
source_db_cluster_identifier: typing.Optional[builtins.str] = None,
|
|
1517
1611
|
storage_encrypted: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
@@ -1539,6 +1633,7 @@ class CfnDBClusterProps:
|
|
|
1539
1633
|
:param preferred_maintenance_window: The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC). Format: ``ddd:hh24:mi-ddd:hh24:mi`` The default is 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. Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun Constraints: Minimum 30-minute window.
|
|
1540
1634
|
:param restore_to_time: The date and time to restore the cluster to. Valid values: A time in Universal Coordinated Time (UTC) format. Constraints: - Must be before the latest restorable time for the instance. - Must be specified if the ``UseLatestRestorableTime`` parameter is not provided. - Cannot be specified if the ``UseLatestRestorableTime`` parameter is ``true`` . - Cannot be specified if the ``RestoreType`` parameter is ``copy-on-write`` . Example: ``2015-03-07T23:45:00Z``
|
|
1541
1635
|
:param restore_type: The type of restore to be performed. You can specify one of the following values:. - ``full-copy`` - The new DB cluster is restored as a full copy of the source DB cluster. - ``copy-on-write`` - The new DB cluster is restored as a clone of the source DB cluster. Constraints: You can't specify ``copy-on-write`` if the engine version of the source DB cluster is earlier than 1.11. If you don't specify a ``RestoreType`` value, then the new DB cluster is restored as a full copy of the source DB cluster.
|
|
1636
|
+
:param serverless_v2_scaling_configuration:
|
|
1542
1637
|
:param snapshot_identifier: The identifier for the snapshot or cluster snapshot to restore from. You can use either the name or the Amazon Resource Name (ARN) to specify a cluster snapshot. However, you can use only the ARN to specify a snapshot. Constraints: - Must match the identifier of an existing snapshot.
|
|
1543
1638
|
:param source_db_cluster_identifier: The identifier of the source cluster from which to restore. Constraints: - Must match the identifier of an existing ``DBCluster`` .
|
|
1544
1639
|
:param storage_encrypted: Specifies whether the cluster is encrypted. If you specify ``SourceDBClusterIdentifier`` or ``SnapshotIdentifier`` and don’t specify ``StorageEncrypted`` , the encryption property is inherited from the source cluster or snapshot (unless ``KMSKeyId`` is specified, in which case the restored cluster will be encrypted with that KMS key). If the source is encrypted and ``StorageEncrypted`` is specified to be true, the restored cluster will be encrypted (if you want to use a different KMS key, specify the ``KMSKeyId`` property as well). If the source is unencrypted and ``StorageEncrypted`` is specified to be true, then the ``KMSKeyId`` property must be specified. If the source is encrypted, don’t specify ``StorageEncrypted`` to be false as opting out of encryption is not allowed.
|
|
@@ -1574,6 +1669,10 @@ class CfnDBClusterProps:
|
|
|
1574
1669
|
preferred_maintenance_window="preferredMaintenanceWindow",
|
|
1575
1670
|
restore_to_time="restoreToTime",
|
|
1576
1671
|
restore_type="restoreType",
|
|
1672
|
+
serverless_v2_scaling_configuration=docdb.CfnDBCluster.ServerlessV2ScalingConfigurationProperty(
|
|
1673
|
+
max_capacity=123,
|
|
1674
|
+
min_capacity=123
|
|
1675
|
+
),
|
|
1577
1676
|
snapshot_identifier="snapshotIdentifier",
|
|
1578
1677
|
source_db_cluster_identifier="sourceDbClusterIdentifier",
|
|
1579
1678
|
storage_encrypted=False,
|
|
@@ -1605,6 +1704,7 @@ class CfnDBClusterProps:
|
|
|
1605
1704
|
check_type(argname="argument preferred_maintenance_window", value=preferred_maintenance_window, expected_type=type_hints["preferred_maintenance_window"])
|
|
1606
1705
|
check_type(argname="argument restore_to_time", value=restore_to_time, expected_type=type_hints["restore_to_time"])
|
|
1607
1706
|
check_type(argname="argument restore_type", value=restore_type, expected_type=type_hints["restore_type"])
|
|
1707
|
+
check_type(argname="argument serverless_v2_scaling_configuration", value=serverless_v2_scaling_configuration, expected_type=type_hints["serverless_v2_scaling_configuration"])
|
|
1608
1708
|
check_type(argname="argument snapshot_identifier", value=snapshot_identifier, expected_type=type_hints["snapshot_identifier"])
|
|
1609
1709
|
check_type(argname="argument source_db_cluster_identifier", value=source_db_cluster_identifier, expected_type=type_hints["source_db_cluster_identifier"])
|
|
1610
1710
|
check_type(argname="argument storage_encrypted", value=storage_encrypted, expected_type=type_hints["storage_encrypted"])
|
|
@@ -1647,6 +1747,8 @@ class CfnDBClusterProps:
|
|
|
1647
1747
|
self._values["restore_to_time"] = restore_to_time
|
|
1648
1748
|
if restore_type is not None:
|
|
1649
1749
|
self._values["restore_type"] = restore_type
|
|
1750
|
+
if serverless_v2_scaling_configuration is not None:
|
|
1751
|
+
self._values["serverless_v2_scaling_configuration"] = serverless_v2_scaling_configuration
|
|
1650
1752
|
if snapshot_identifier is not None:
|
|
1651
1753
|
self._values["snapshot_identifier"] = snapshot_identifier
|
|
1652
1754
|
if source_db_cluster_identifier is not None:
|
|
@@ -1902,6 +2004,16 @@ class CfnDBClusterProps:
|
|
|
1902
2004
|
result = self._values.get("restore_type")
|
|
1903
2005
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
1904
2006
|
|
|
2007
|
+
@builtins.property
|
|
2008
|
+
def serverless_v2_scaling_configuration(
|
|
2009
|
+
self,
|
|
2010
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnDBCluster.ServerlessV2ScalingConfigurationProperty]]:
|
|
2011
|
+
'''
|
|
2012
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbcluster.html#cfn-docdb-dbcluster-serverlessv2scalingconfiguration
|
|
2013
|
+
'''
|
|
2014
|
+
result = self._values.get("serverless_v2_scaling_configuration")
|
|
2015
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnDBCluster.ServerlessV2ScalingConfigurationProperty]], result)
|
|
2016
|
+
|
|
1905
2017
|
@builtins.property
|
|
1906
2018
|
def snapshot_identifier(self) -> typing.Optional[builtins.str]:
|
|
1907
2019
|
'''The identifier for the snapshot or cluster snapshot to restore from.
|
|
@@ -5596,6 +5708,7 @@ def _typecheckingstub__7db61dc80f26049d79a38255d8a0b3abaf4b5019d7cbed64c937ec0f3
|
|
|
5596
5708
|
preferred_maintenance_window: typing.Optional[builtins.str] = None,
|
|
5597
5709
|
restore_to_time: typing.Optional[builtins.str] = None,
|
|
5598
5710
|
restore_type: typing.Optional[builtins.str] = None,
|
|
5711
|
+
serverless_v2_scaling_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDBCluster.ServerlessV2ScalingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5599
5712
|
snapshot_identifier: typing.Optional[builtins.str] = None,
|
|
5600
5713
|
source_db_cluster_identifier: typing.Optional[builtins.str] = None,
|
|
5601
5714
|
storage_encrypted: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
@@ -5721,6 +5834,12 @@ def _typecheckingstub__43c278d2c39f8d3f098ad2320789939b448b2958965646678cb8dd9f2
|
|
|
5721
5834
|
"""Type checking stubs"""
|
|
5722
5835
|
pass
|
|
5723
5836
|
|
|
5837
|
+
def _typecheckingstub__f23cec17e6d5a308bc97faa6c2e987d67b01e77f99c6ad20b6019114adb90e97(
|
|
5838
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnDBCluster.ServerlessV2ScalingConfigurationProperty]],
|
|
5839
|
+
) -> None:
|
|
5840
|
+
"""Type checking stubs"""
|
|
5841
|
+
pass
|
|
5842
|
+
|
|
5724
5843
|
def _typecheckingstub__d9827e5902a31fbb3009632e22e0590a6a453b8ad1f433893f790e68c5abe9b8(
|
|
5725
5844
|
value: typing.Optional[builtins.str],
|
|
5726
5845
|
) -> None:
|
|
@@ -5763,6 +5882,14 @@ def _typecheckingstub__461b181007a5279b076f42e5ac0a26f146fd3b28454ba100be1045b06
|
|
|
5763
5882
|
"""Type checking stubs"""
|
|
5764
5883
|
pass
|
|
5765
5884
|
|
|
5885
|
+
def _typecheckingstub__20a567af32a2157b0abde0b6bdb15faa4ec4db8519748c7488f5ec5b3ddf4b13(
|
|
5886
|
+
*,
|
|
5887
|
+
max_capacity: jsii.Number,
|
|
5888
|
+
min_capacity: jsii.Number,
|
|
5889
|
+
) -> None:
|
|
5890
|
+
"""Type checking stubs"""
|
|
5891
|
+
pass
|
|
5892
|
+
|
|
5766
5893
|
def _typecheckingstub__cf702887107dc3b6d0e1c2cf7a2f922b9fa66ae4817c7d3122ceaf8e3b958132(
|
|
5767
5894
|
scope: _constructs_77d1e7e8.Construct,
|
|
5768
5895
|
id: builtins.str,
|
|
@@ -5848,6 +5975,7 @@ def _typecheckingstub__9e1a4213f95bc5df31b056bdc5858ecdc49954b349d7a647b8775edf5
|
|
|
5848
5975
|
preferred_maintenance_window: typing.Optional[builtins.str] = None,
|
|
5849
5976
|
restore_to_time: typing.Optional[builtins.str] = None,
|
|
5850
5977
|
restore_type: typing.Optional[builtins.str] = None,
|
|
5978
|
+
serverless_v2_scaling_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDBCluster.ServerlessV2ScalingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5851
5979
|
snapshot_identifier: typing.Optional[builtins.str] = None,
|
|
5852
5980
|
source_db_cluster_identifier: typing.Optional[builtins.str] = None,
|
|
5853
5981
|
storage_encrypted: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|