aws-cdk-lib 2.174.0__py3-none-any.whl → 2.175.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/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.174.0.jsii.tgz → aws-cdk-lib@2.175.0.jsii.tgz} +0 -0
- aws_cdk/aws_amazonmq/__init__.py +18 -0
- aws_cdk/aws_apigateway/__init__.py +164 -0
- aws_cdk/aws_apigatewayv2/__init__.py +248 -0
- aws_cdk/aws_applicationautoscaling/__init__.py +6 -3
- aws_cdk/aws_autoscaling/__init__.py +8 -8
- aws_cdk/aws_batch/__init__.py +32 -458
- aws_cdk/aws_bedrock/__init__.py +7 -4
- aws_cdk/aws_certificatemanager/__init__.py +28 -0
- aws_cdk/aws_chatbot/__init__.py +28 -0
- aws_cdk/aws_cleanrooms/__init__.py +683 -2
- aws_cdk/aws_cloudfront/__init__.py +92 -0
- aws_cdk/aws_cloudfront/experimental/__init__.py +32 -0
- aws_cdk/aws_cloudwatch/__init__.py +146 -0
- aws_cdk/aws_codebuild/__init__.py +84 -0
- aws_cdk/aws_dms/__init__.py +49 -27
- aws_cdk/aws_docdb/__init__.py +134 -0
- aws_cdk/aws_dynamodb/__init__.py +300 -0
- aws_cdk/aws_ec2/__init__.py +97 -0
- aws_cdk/aws_ecs/__init__.py +351 -110
- aws_cdk/aws_ecs_patterns/__init__.py +77 -42
- aws_cdk/aws_elasticloadbalancing/__init__.py +3 -6
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +732 -7
- aws_cdk/aws_elasticsearch/__init__.py +260 -0
- aws_cdk/aws_kinesis/__init__.py +324 -0
- aws_cdk/aws_kms/__init__.py +197 -0
- aws_cdk/aws_lambda/__init__.py +144 -0
- aws_cdk/aws_logs/__init__.py +58 -0
- aws_cdk/aws_mediaconvert/__init__.py +39 -0
- aws_cdk/aws_opensearchservice/__init__.py +260 -0
- aws_cdk/aws_quicksight/__init__.py +1422 -859
- aws_cdk/aws_rds/__init__.py +386 -7
- aws_cdk/aws_sagemaker/__init__.py +6 -6
- aws_cdk/aws_sns/__init__.py +164 -0
- aws_cdk/aws_sqs/__init__.py +164 -0
- aws_cdk/aws_stepfunctions/__init__.py +288 -0
- aws_cdk/aws_synthetics/__init__.py +18 -0
- aws_cdk/cx_api/__init__.py +42 -0
- {aws_cdk_lib-2.174.0.dist-info → aws_cdk_lib-2.175.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.174.0.dist-info → aws_cdk_lib-2.175.0.dist-info}/RECORD +45 -45
- {aws_cdk_lib-2.174.0.dist-info → aws_cdk_lib-2.175.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.174.0.dist-info → aws_cdk_lib-2.175.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.174.0.dist-info → aws_cdk_lib-2.175.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.174.0.dist-info → aws_cdk_lib-2.175.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_docdb/__init__.py
CHANGED
|
@@ -567,13 +567,16 @@ class CfnDBCluster(
|
|
|
567
567
|
enable_cloudwatch_logs_exports=["enableCloudwatchLogsExports"],
|
|
568
568
|
engine_version="engineVersion",
|
|
569
569
|
kms_key_id="kmsKeyId",
|
|
570
|
+
manage_master_user_password=False,
|
|
570
571
|
master_username="masterUsername",
|
|
571
572
|
master_user_password="masterUserPassword",
|
|
573
|
+
master_user_secret_kms_key_id="masterUserSecretKmsKeyId",
|
|
572
574
|
port=123,
|
|
573
575
|
preferred_backup_window="preferredBackupWindow",
|
|
574
576
|
preferred_maintenance_window="preferredMaintenanceWindow",
|
|
575
577
|
restore_to_time="restoreToTime",
|
|
576
578
|
restore_type="restoreType",
|
|
579
|
+
rotate_master_user_password=False,
|
|
577
580
|
serverless_v2_scaling_configuration=docdb.CfnDBCluster.ServerlessV2ScalingConfigurationProperty(
|
|
578
581
|
max_capacity=123,
|
|
579
582
|
min_capacity=123
|
|
@@ -606,13 +609,16 @@ class CfnDBCluster(
|
|
|
606
609
|
enable_cloudwatch_logs_exports: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
607
610
|
engine_version: typing.Optional[builtins.str] = None,
|
|
608
611
|
kms_key_id: typing.Optional[builtins.str] = None,
|
|
612
|
+
manage_master_user_password: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
609
613
|
master_username: typing.Optional[builtins.str] = None,
|
|
610
614
|
master_user_password: typing.Optional[builtins.str] = None,
|
|
615
|
+
master_user_secret_kms_key_id: typing.Optional[builtins.str] = None,
|
|
611
616
|
port: typing.Optional[jsii.Number] = None,
|
|
612
617
|
preferred_backup_window: typing.Optional[builtins.str] = None,
|
|
613
618
|
preferred_maintenance_window: typing.Optional[builtins.str] = None,
|
|
614
619
|
restore_to_time: typing.Optional[builtins.str] = None,
|
|
615
620
|
restore_type: typing.Optional[builtins.str] = None,
|
|
621
|
+
rotate_master_user_password: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
616
622
|
serverless_v2_scaling_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDBCluster.ServerlessV2ScalingConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
617
623
|
snapshot_identifier: typing.Optional[builtins.str] = None,
|
|
618
624
|
source_db_cluster_identifier: typing.Optional[builtins.str] = None,
|
|
@@ -635,13 +641,16 @@ class CfnDBCluster(
|
|
|
635
641
|
:param enable_cloudwatch_logs_exports: The list of log types that need to be enabled for exporting to Amazon CloudWatch Logs. You can enable audit logs or profiler logs. For more information, see `Auditing Amazon DocumentDB Events <https://docs.aws.amazon.com/documentdb/latest/developerguide/event-auditing.html>`_ and `Profiling Amazon DocumentDB Operations <https://docs.aws.amazon.com/documentdb/latest/developerguide/profiling.html>`_ .
|
|
636
642
|
:param engine_version: The version number of the database engine to use. The ``--engine-version`` will default to the latest major engine version. For production workloads, we recommend explicitly declaring this parameter with the intended major engine version. Changing the ``EngineVersion`` will start an in-place engine version upgrade. Note that in-place engine version upgrade will cause downtime in the cluster. See `Amazon DocumentDB in-place major version upgrade <https://docs.aws.amazon.com/documentdb/latest/developerguide/docdb-mvu.html>`_ before starting an in-place engine version upgrade.
|
|
637
643
|
:param kms_key_id: The AWS KMS key identifier for an encrypted cluster. The AWS KMS key identifier is the Amazon Resource Name (ARN) for the AWS KMS encryption key. If you are creating a cluster using the same AWS account that owns the AWS KMS encryption key that is used to encrypt the new cluster, you can use the AWS KMS key alias instead of the ARN for the AWS KMS encryption key. If an encryption key is not specified in ``KmsKeyId`` : - If the ``StorageEncrypted`` parameter is ``true`` , Amazon DocumentDB uses your default encryption key. AWS KMS creates the default encryption key for your AWS account . Your AWS account has a different default encryption key for each AWS Regions .
|
|
644
|
+
:param manage_master_user_password:
|
|
638
645
|
:param master_username: The name of the master user for the cluster. Constraints: - Must be from 1 to 63 letters or numbers. - The first character must be a letter. - Cannot be a reserved word for the chosen database engine.
|
|
639
646
|
:param master_user_password: The password for the master database user. This password can contain any printable ASCII character except forward slash (/), double quote ("), or the "at" symbol (@). Constraints: Must contain from 8 to 100 characters.
|
|
647
|
+
:param master_user_secret_kms_key_id:
|
|
640
648
|
:param port: Specifies the port that the database engine is listening on.
|
|
641
649
|
:param preferred_backup_window: The daily time range during which automated backups are created if automated backups are enabled using the ``BackupRetentionPeriod`` parameter. The default is a 30-minute window selected at random from an 8-hour block of time for each AWS Region . Constraints: - Must be in the format ``hh24:mi-hh24:mi`` . - Must be in Universal Coordinated Time (UTC). - Must not conflict with the preferred maintenance window. - Must be at least 30 minutes.
|
|
642
650
|
: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.
|
|
643
651
|
: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``
|
|
644
652
|
: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.
|
|
653
|
+
:param rotate_master_user_password:
|
|
645
654
|
:param serverless_v2_scaling_configuration:
|
|
646
655
|
: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.
|
|
647
656
|
:param source_db_cluster_identifier: The identifier of the source cluster from which to restore. Constraints: - Must match the identifier of an existing ``DBCluster`` .
|
|
@@ -666,13 +675,16 @@ class CfnDBCluster(
|
|
|
666
675
|
enable_cloudwatch_logs_exports=enable_cloudwatch_logs_exports,
|
|
667
676
|
engine_version=engine_version,
|
|
668
677
|
kms_key_id=kms_key_id,
|
|
678
|
+
manage_master_user_password=manage_master_user_password,
|
|
669
679
|
master_username=master_username,
|
|
670
680
|
master_user_password=master_user_password,
|
|
681
|
+
master_user_secret_kms_key_id=master_user_secret_kms_key_id,
|
|
671
682
|
port=port,
|
|
672
683
|
preferred_backup_window=preferred_backup_window,
|
|
673
684
|
preferred_maintenance_window=preferred_maintenance_window,
|
|
674
685
|
restore_to_time=restore_to_time,
|
|
675
686
|
restore_type=restore_type,
|
|
687
|
+
rotate_master_user_password=rotate_master_user_password,
|
|
676
688
|
serverless_v2_scaling_configuration=serverless_v2_scaling_configuration,
|
|
677
689
|
snapshot_identifier=snapshot_identifier,
|
|
678
690
|
source_db_cluster_identifier=source_db_cluster_identifier,
|
|
@@ -933,6 +945,23 @@ class CfnDBCluster(
|
|
|
933
945
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
934
946
|
jsii.set(self, "kmsKeyId", value) # pyright: ignore[reportArgumentType]
|
|
935
947
|
|
|
948
|
+
@builtins.property
|
|
949
|
+
@jsii.member(jsii_name="manageMasterUserPassword")
|
|
950
|
+
def manage_master_user_password(
|
|
951
|
+
self,
|
|
952
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
953
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], jsii.get(self, "manageMasterUserPassword"))
|
|
954
|
+
|
|
955
|
+
@manage_master_user_password.setter
|
|
956
|
+
def manage_master_user_password(
|
|
957
|
+
self,
|
|
958
|
+
value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
|
|
959
|
+
) -> None:
|
|
960
|
+
if __debug__:
|
|
961
|
+
type_hints = typing.get_type_hints(_typecheckingstub__cdcd3cca26349ee0c4a653267f8614c14cebb3b1c16af84aa9d85681fe2b07dd)
|
|
962
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
963
|
+
jsii.set(self, "manageMasterUserPassword", value) # pyright: ignore[reportArgumentType]
|
|
964
|
+
|
|
936
965
|
@builtins.property
|
|
937
966
|
@jsii.member(jsii_name="masterUsername")
|
|
938
967
|
def master_username(self) -> typing.Optional[builtins.str]:
|
|
@@ -959,6 +988,21 @@ class CfnDBCluster(
|
|
|
959
988
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
960
989
|
jsii.set(self, "masterUserPassword", value) # pyright: ignore[reportArgumentType]
|
|
961
990
|
|
|
991
|
+
@builtins.property
|
|
992
|
+
@jsii.member(jsii_name="masterUserSecretKmsKeyId")
|
|
993
|
+
def master_user_secret_kms_key_id(self) -> typing.Optional[builtins.str]:
|
|
994
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "masterUserSecretKmsKeyId"))
|
|
995
|
+
|
|
996
|
+
@master_user_secret_kms_key_id.setter
|
|
997
|
+
def master_user_secret_kms_key_id(
|
|
998
|
+
self,
|
|
999
|
+
value: typing.Optional[builtins.str],
|
|
1000
|
+
) -> None:
|
|
1001
|
+
if __debug__:
|
|
1002
|
+
type_hints = typing.get_type_hints(_typecheckingstub__3a1df2c9ac1f613c512469d693487a300c74230885d5e260bf5ada30155d14d7)
|
|
1003
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1004
|
+
jsii.set(self, "masterUserSecretKmsKeyId", value) # pyright: ignore[reportArgumentType]
|
|
1005
|
+
|
|
962
1006
|
@builtins.property
|
|
963
1007
|
@jsii.member(jsii_name="port")
|
|
964
1008
|
def port(self) -> typing.Optional[jsii.Number]:
|
|
@@ -1030,6 +1074,23 @@ class CfnDBCluster(
|
|
|
1030
1074
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1031
1075
|
jsii.set(self, "restoreType", value) # pyright: ignore[reportArgumentType]
|
|
1032
1076
|
|
|
1077
|
+
@builtins.property
|
|
1078
|
+
@jsii.member(jsii_name="rotateMasterUserPassword")
|
|
1079
|
+
def rotate_master_user_password(
|
|
1080
|
+
self,
|
|
1081
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
1082
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], jsii.get(self, "rotateMasterUserPassword"))
|
|
1083
|
+
|
|
1084
|
+
@rotate_master_user_password.setter
|
|
1085
|
+
def rotate_master_user_password(
|
|
1086
|
+
self,
|
|
1087
|
+
value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
|
|
1088
|
+
) -> None:
|
|
1089
|
+
if __debug__:
|
|
1090
|
+
type_hints = typing.get_type_hints(_typecheckingstub__8a962178d061c1e3b6b6e4c04690d1515176ca035477d280a9ddaee831ed19ae)
|
|
1091
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1092
|
+
jsii.set(self, "rotateMasterUserPassword", value) # pyright: ignore[reportArgumentType]
|
|
1093
|
+
|
|
1033
1094
|
@builtins.property
|
|
1034
1095
|
@jsii.member(jsii_name="serverlessV2ScalingConfiguration")
|
|
1035
1096
|
def serverless_v2_scaling_configuration(
|
|
@@ -1567,13 +1628,16 @@ class CfnDBClusterParameterGroupProps:
|
|
|
1567
1628
|
"enable_cloudwatch_logs_exports": "enableCloudwatchLogsExports",
|
|
1568
1629
|
"engine_version": "engineVersion",
|
|
1569
1630
|
"kms_key_id": "kmsKeyId",
|
|
1631
|
+
"manage_master_user_password": "manageMasterUserPassword",
|
|
1570
1632
|
"master_username": "masterUsername",
|
|
1571
1633
|
"master_user_password": "masterUserPassword",
|
|
1634
|
+
"master_user_secret_kms_key_id": "masterUserSecretKmsKeyId",
|
|
1572
1635
|
"port": "port",
|
|
1573
1636
|
"preferred_backup_window": "preferredBackupWindow",
|
|
1574
1637
|
"preferred_maintenance_window": "preferredMaintenanceWindow",
|
|
1575
1638
|
"restore_to_time": "restoreToTime",
|
|
1576
1639
|
"restore_type": "restoreType",
|
|
1640
|
+
"rotate_master_user_password": "rotateMasterUserPassword",
|
|
1577
1641
|
"serverless_v2_scaling_configuration": "serverlessV2ScalingConfiguration",
|
|
1578
1642
|
"snapshot_identifier": "snapshotIdentifier",
|
|
1579
1643
|
"source_db_cluster_identifier": "sourceDbClusterIdentifier",
|
|
@@ -1598,13 +1662,16 @@ class CfnDBClusterProps:
|
|
|
1598
1662
|
enable_cloudwatch_logs_exports: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
1599
1663
|
engine_version: typing.Optional[builtins.str] = None,
|
|
1600
1664
|
kms_key_id: typing.Optional[builtins.str] = None,
|
|
1665
|
+
manage_master_user_password: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
1601
1666
|
master_username: typing.Optional[builtins.str] = None,
|
|
1602
1667
|
master_user_password: typing.Optional[builtins.str] = None,
|
|
1668
|
+
master_user_secret_kms_key_id: typing.Optional[builtins.str] = None,
|
|
1603
1669
|
port: typing.Optional[jsii.Number] = None,
|
|
1604
1670
|
preferred_backup_window: typing.Optional[builtins.str] = None,
|
|
1605
1671
|
preferred_maintenance_window: typing.Optional[builtins.str] = None,
|
|
1606
1672
|
restore_to_time: typing.Optional[builtins.str] = None,
|
|
1607
1673
|
restore_type: typing.Optional[builtins.str] = None,
|
|
1674
|
+
rotate_master_user_password: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
1608
1675
|
serverless_v2_scaling_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDBCluster.ServerlessV2ScalingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1609
1676
|
snapshot_identifier: typing.Optional[builtins.str] = None,
|
|
1610
1677
|
source_db_cluster_identifier: typing.Optional[builtins.str] = None,
|
|
@@ -1626,13 +1693,16 @@ class CfnDBClusterProps:
|
|
|
1626
1693
|
:param enable_cloudwatch_logs_exports: The list of log types that need to be enabled for exporting to Amazon CloudWatch Logs. You can enable audit logs or profiler logs. For more information, see `Auditing Amazon DocumentDB Events <https://docs.aws.amazon.com/documentdb/latest/developerguide/event-auditing.html>`_ and `Profiling Amazon DocumentDB Operations <https://docs.aws.amazon.com/documentdb/latest/developerguide/profiling.html>`_ .
|
|
1627
1694
|
:param engine_version: The version number of the database engine to use. The ``--engine-version`` will default to the latest major engine version. For production workloads, we recommend explicitly declaring this parameter with the intended major engine version. Changing the ``EngineVersion`` will start an in-place engine version upgrade. Note that in-place engine version upgrade will cause downtime in the cluster. See `Amazon DocumentDB in-place major version upgrade <https://docs.aws.amazon.com/documentdb/latest/developerguide/docdb-mvu.html>`_ before starting an in-place engine version upgrade.
|
|
1628
1695
|
:param kms_key_id: The AWS KMS key identifier for an encrypted cluster. The AWS KMS key identifier is the Amazon Resource Name (ARN) for the AWS KMS encryption key. If you are creating a cluster using the same AWS account that owns the AWS KMS encryption key that is used to encrypt the new cluster, you can use the AWS KMS key alias instead of the ARN for the AWS KMS encryption key. If an encryption key is not specified in ``KmsKeyId`` : - If the ``StorageEncrypted`` parameter is ``true`` , Amazon DocumentDB uses your default encryption key. AWS KMS creates the default encryption key for your AWS account . Your AWS account has a different default encryption key for each AWS Regions .
|
|
1696
|
+
:param manage_master_user_password:
|
|
1629
1697
|
:param master_username: The name of the master user for the cluster. Constraints: - Must be from 1 to 63 letters or numbers. - The first character must be a letter. - Cannot be a reserved word for the chosen database engine.
|
|
1630
1698
|
:param master_user_password: The password for the master database user. This password can contain any printable ASCII character except forward slash (/), double quote ("), or the "at" symbol (@). Constraints: Must contain from 8 to 100 characters.
|
|
1699
|
+
:param master_user_secret_kms_key_id:
|
|
1631
1700
|
:param port: Specifies the port that the database engine is listening on.
|
|
1632
1701
|
:param preferred_backup_window: The daily time range during which automated backups are created if automated backups are enabled using the ``BackupRetentionPeriod`` parameter. The default is a 30-minute window selected at random from an 8-hour block of time for each AWS Region . Constraints: - Must be in the format ``hh24:mi-hh24:mi`` . - Must be in Universal Coordinated Time (UTC). - Must not conflict with the preferred maintenance window. - Must be at least 30 minutes.
|
|
1633
1702
|
: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.
|
|
1634
1703
|
: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``
|
|
1635
1704
|
: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.
|
|
1705
|
+
:param rotate_master_user_password:
|
|
1636
1706
|
:param serverless_v2_scaling_configuration:
|
|
1637
1707
|
: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.
|
|
1638
1708
|
:param source_db_cluster_identifier: The identifier of the source cluster from which to restore. Constraints: - Must match the identifier of an existing ``DBCluster`` .
|
|
@@ -1662,13 +1732,16 @@ class CfnDBClusterProps:
|
|
|
1662
1732
|
enable_cloudwatch_logs_exports=["enableCloudwatchLogsExports"],
|
|
1663
1733
|
engine_version="engineVersion",
|
|
1664
1734
|
kms_key_id="kmsKeyId",
|
|
1735
|
+
manage_master_user_password=False,
|
|
1665
1736
|
master_username="masterUsername",
|
|
1666
1737
|
master_user_password="masterUserPassword",
|
|
1738
|
+
master_user_secret_kms_key_id="masterUserSecretKmsKeyId",
|
|
1667
1739
|
port=123,
|
|
1668
1740
|
preferred_backup_window="preferredBackupWindow",
|
|
1669
1741
|
preferred_maintenance_window="preferredMaintenanceWindow",
|
|
1670
1742
|
restore_to_time="restoreToTime",
|
|
1671
1743
|
restore_type="restoreType",
|
|
1744
|
+
rotate_master_user_password=False,
|
|
1672
1745
|
serverless_v2_scaling_configuration=docdb.CfnDBCluster.ServerlessV2ScalingConfigurationProperty(
|
|
1673
1746
|
max_capacity=123,
|
|
1674
1747
|
min_capacity=123
|
|
@@ -1697,13 +1770,16 @@ class CfnDBClusterProps:
|
|
|
1697
1770
|
check_type(argname="argument enable_cloudwatch_logs_exports", value=enable_cloudwatch_logs_exports, expected_type=type_hints["enable_cloudwatch_logs_exports"])
|
|
1698
1771
|
check_type(argname="argument engine_version", value=engine_version, expected_type=type_hints["engine_version"])
|
|
1699
1772
|
check_type(argname="argument kms_key_id", value=kms_key_id, expected_type=type_hints["kms_key_id"])
|
|
1773
|
+
check_type(argname="argument manage_master_user_password", value=manage_master_user_password, expected_type=type_hints["manage_master_user_password"])
|
|
1700
1774
|
check_type(argname="argument master_username", value=master_username, expected_type=type_hints["master_username"])
|
|
1701
1775
|
check_type(argname="argument master_user_password", value=master_user_password, expected_type=type_hints["master_user_password"])
|
|
1776
|
+
check_type(argname="argument master_user_secret_kms_key_id", value=master_user_secret_kms_key_id, expected_type=type_hints["master_user_secret_kms_key_id"])
|
|
1702
1777
|
check_type(argname="argument port", value=port, expected_type=type_hints["port"])
|
|
1703
1778
|
check_type(argname="argument preferred_backup_window", value=preferred_backup_window, expected_type=type_hints["preferred_backup_window"])
|
|
1704
1779
|
check_type(argname="argument preferred_maintenance_window", value=preferred_maintenance_window, expected_type=type_hints["preferred_maintenance_window"])
|
|
1705
1780
|
check_type(argname="argument restore_to_time", value=restore_to_time, expected_type=type_hints["restore_to_time"])
|
|
1706
1781
|
check_type(argname="argument restore_type", value=restore_type, expected_type=type_hints["restore_type"])
|
|
1782
|
+
check_type(argname="argument rotate_master_user_password", value=rotate_master_user_password, expected_type=type_hints["rotate_master_user_password"])
|
|
1707
1783
|
check_type(argname="argument serverless_v2_scaling_configuration", value=serverless_v2_scaling_configuration, expected_type=type_hints["serverless_v2_scaling_configuration"])
|
|
1708
1784
|
check_type(argname="argument snapshot_identifier", value=snapshot_identifier, expected_type=type_hints["snapshot_identifier"])
|
|
1709
1785
|
check_type(argname="argument source_db_cluster_identifier", value=source_db_cluster_identifier, expected_type=type_hints["source_db_cluster_identifier"])
|
|
@@ -1733,10 +1809,14 @@ class CfnDBClusterProps:
|
|
|
1733
1809
|
self._values["engine_version"] = engine_version
|
|
1734
1810
|
if kms_key_id is not None:
|
|
1735
1811
|
self._values["kms_key_id"] = kms_key_id
|
|
1812
|
+
if manage_master_user_password is not None:
|
|
1813
|
+
self._values["manage_master_user_password"] = manage_master_user_password
|
|
1736
1814
|
if master_username is not None:
|
|
1737
1815
|
self._values["master_username"] = master_username
|
|
1738
1816
|
if master_user_password is not None:
|
|
1739
1817
|
self._values["master_user_password"] = master_user_password
|
|
1818
|
+
if master_user_secret_kms_key_id is not None:
|
|
1819
|
+
self._values["master_user_secret_kms_key_id"] = master_user_secret_kms_key_id
|
|
1740
1820
|
if port is not None:
|
|
1741
1821
|
self._values["port"] = port
|
|
1742
1822
|
if preferred_backup_window is not None:
|
|
@@ -1747,6 +1827,8 @@ class CfnDBClusterProps:
|
|
|
1747
1827
|
self._values["restore_to_time"] = restore_to_time
|
|
1748
1828
|
if restore_type is not None:
|
|
1749
1829
|
self._values["restore_type"] = restore_type
|
|
1830
|
+
if rotate_master_user_password is not None:
|
|
1831
|
+
self._values["rotate_master_user_password"] = rotate_master_user_password
|
|
1750
1832
|
if serverless_v2_scaling_configuration is not None:
|
|
1751
1833
|
self._values["serverless_v2_scaling_configuration"] = serverless_v2_scaling_configuration
|
|
1752
1834
|
if snapshot_identifier is not None:
|
|
@@ -1896,6 +1978,16 @@ class CfnDBClusterProps:
|
|
|
1896
1978
|
result = self._values.get("kms_key_id")
|
|
1897
1979
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
1898
1980
|
|
|
1981
|
+
@builtins.property
|
|
1982
|
+
def manage_master_user_password(
|
|
1983
|
+
self,
|
|
1984
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
1985
|
+
'''
|
|
1986
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbcluster.html#cfn-docdb-dbcluster-managemasteruserpassword
|
|
1987
|
+
'''
|
|
1988
|
+
result = self._values.get("manage_master_user_password")
|
|
1989
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
1990
|
+
|
|
1899
1991
|
@builtins.property
|
|
1900
1992
|
def master_username(self) -> typing.Optional[builtins.str]:
|
|
1901
1993
|
'''The name of the master user for the cluster.
|
|
@@ -1924,6 +2016,14 @@ class CfnDBClusterProps:
|
|
|
1924
2016
|
result = self._values.get("master_user_password")
|
|
1925
2017
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
1926
2018
|
|
|
2019
|
+
@builtins.property
|
|
2020
|
+
def master_user_secret_kms_key_id(self) -> typing.Optional[builtins.str]:
|
|
2021
|
+
'''
|
|
2022
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbcluster.html#cfn-docdb-dbcluster-masterusersecretkmskeyid
|
|
2023
|
+
'''
|
|
2024
|
+
result = self._values.get("master_user_secret_kms_key_id")
|
|
2025
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2026
|
+
|
|
1927
2027
|
@builtins.property
|
|
1928
2028
|
def port(self) -> typing.Optional[jsii.Number]:
|
|
1929
2029
|
'''Specifies the port that the database engine is listening on.
|
|
@@ -2004,6 +2104,16 @@ class CfnDBClusterProps:
|
|
|
2004
2104
|
result = self._values.get("restore_type")
|
|
2005
2105
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
2006
2106
|
|
|
2107
|
+
@builtins.property
|
|
2108
|
+
def rotate_master_user_password(
|
|
2109
|
+
self,
|
|
2110
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
2111
|
+
'''
|
|
2112
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbcluster.html#cfn-docdb-dbcluster-rotatemasteruserpassword
|
|
2113
|
+
'''
|
|
2114
|
+
result = self._values.get("rotate_master_user_password")
|
|
2115
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
2116
|
+
|
|
2007
2117
|
@builtins.property
|
|
2008
2118
|
def serverless_v2_scaling_configuration(
|
|
2009
2119
|
self,
|
|
@@ -5701,13 +5811,16 @@ def _typecheckingstub__7db61dc80f26049d79a38255d8a0b3abaf4b5019d7cbed64c937ec0f3
|
|
|
5701
5811
|
enable_cloudwatch_logs_exports: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
5702
5812
|
engine_version: typing.Optional[builtins.str] = None,
|
|
5703
5813
|
kms_key_id: typing.Optional[builtins.str] = None,
|
|
5814
|
+
manage_master_user_password: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
5704
5815
|
master_username: typing.Optional[builtins.str] = None,
|
|
5705
5816
|
master_user_password: typing.Optional[builtins.str] = None,
|
|
5817
|
+
master_user_secret_kms_key_id: typing.Optional[builtins.str] = None,
|
|
5706
5818
|
port: typing.Optional[jsii.Number] = None,
|
|
5707
5819
|
preferred_backup_window: typing.Optional[builtins.str] = None,
|
|
5708
5820
|
preferred_maintenance_window: typing.Optional[builtins.str] = None,
|
|
5709
5821
|
restore_to_time: typing.Optional[builtins.str] = None,
|
|
5710
5822
|
restore_type: typing.Optional[builtins.str] = None,
|
|
5823
|
+
rotate_master_user_password: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
5711
5824
|
serverless_v2_scaling_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDBCluster.ServerlessV2ScalingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5712
5825
|
snapshot_identifier: typing.Optional[builtins.str] = None,
|
|
5713
5826
|
source_db_cluster_identifier: typing.Optional[builtins.str] = None,
|
|
@@ -5792,6 +5905,12 @@ def _typecheckingstub__03e9375b32d036932973e964a270516d21d155bd0db4369d824ccb7e7
|
|
|
5792
5905
|
"""Type checking stubs"""
|
|
5793
5906
|
pass
|
|
5794
5907
|
|
|
5908
|
+
def _typecheckingstub__cdcd3cca26349ee0c4a653267f8614c14cebb3b1c16af84aa9d85681fe2b07dd(
|
|
5909
|
+
value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
|
|
5910
|
+
) -> None:
|
|
5911
|
+
"""Type checking stubs"""
|
|
5912
|
+
pass
|
|
5913
|
+
|
|
5795
5914
|
def _typecheckingstub__c07cdadbef8a45e2db19e8559d89c8cec47c9d2d698c3fc441a996847907dfc0(
|
|
5796
5915
|
value: typing.Optional[builtins.str],
|
|
5797
5916
|
) -> None:
|
|
@@ -5804,6 +5923,12 @@ def _typecheckingstub__e2998c76e0321a3f0bc1fe35b15ded5ba4f630cb6e5e7519736bf7455
|
|
|
5804
5923
|
"""Type checking stubs"""
|
|
5805
5924
|
pass
|
|
5806
5925
|
|
|
5926
|
+
def _typecheckingstub__3a1df2c9ac1f613c512469d693487a300c74230885d5e260bf5ada30155d14d7(
|
|
5927
|
+
value: typing.Optional[builtins.str],
|
|
5928
|
+
) -> None:
|
|
5929
|
+
"""Type checking stubs"""
|
|
5930
|
+
pass
|
|
5931
|
+
|
|
5807
5932
|
def _typecheckingstub__a09b878a6d8b852d7eb17f26dcd8f718779776e12f67987303b1e944b3a40516(
|
|
5808
5933
|
value: typing.Optional[jsii.Number],
|
|
5809
5934
|
) -> None:
|
|
@@ -5834,6 +5959,12 @@ def _typecheckingstub__43c278d2c39f8d3f098ad2320789939b448b2958965646678cb8dd9f2
|
|
|
5834
5959
|
"""Type checking stubs"""
|
|
5835
5960
|
pass
|
|
5836
5961
|
|
|
5962
|
+
def _typecheckingstub__8a962178d061c1e3b6b6e4c04690d1515176ca035477d280a9ddaee831ed19ae(
|
|
5963
|
+
value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
|
|
5964
|
+
) -> None:
|
|
5965
|
+
"""Type checking stubs"""
|
|
5966
|
+
pass
|
|
5967
|
+
|
|
5837
5968
|
def _typecheckingstub__f23cec17e6d5a308bc97faa6c2e987d67b01e77f99c6ad20b6019114adb90e97(
|
|
5838
5969
|
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnDBCluster.ServerlessV2ScalingConfigurationProperty]],
|
|
5839
5970
|
) -> None:
|
|
@@ -5968,13 +6099,16 @@ def _typecheckingstub__9e1a4213f95bc5df31b056bdc5858ecdc49954b349d7a647b8775edf5
|
|
|
5968
6099
|
enable_cloudwatch_logs_exports: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
5969
6100
|
engine_version: typing.Optional[builtins.str] = None,
|
|
5970
6101
|
kms_key_id: typing.Optional[builtins.str] = None,
|
|
6102
|
+
manage_master_user_password: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
5971
6103
|
master_username: typing.Optional[builtins.str] = None,
|
|
5972
6104
|
master_user_password: typing.Optional[builtins.str] = None,
|
|
6105
|
+
master_user_secret_kms_key_id: typing.Optional[builtins.str] = None,
|
|
5973
6106
|
port: typing.Optional[jsii.Number] = None,
|
|
5974
6107
|
preferred_backup_window: typing.Optional[builtins.str] = None,
|
|
5975
6108
|
preferred_maintenance_window: typing.Optional[builtins.str] = None,
|
|
5976
6109
|
restore_to_time: typing.Optional[builtins.str] = None,
|
|
5977
6110
|
restore_type: typing.Optional[builtins.str] = None,
|
|
6111
|
+
rotate_master_user_password: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
5978
6112
|
serverless_v2_scaling_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDBCluster.ServerlessV2ScalingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5979
6113
|
snapshot_identifier: typing.Optional[builtins.str] = None,
|
|
5980
6114
|
source_db_cluster_identifier: typing.Optional[builtins.str] = None,
|