aws-cdk-lib 2.117.0__py3-none-any.whl → 2.119.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 +138 -25
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.117.0.jsii.tgz → aws-cdk-lib@2.119.0.jsii.tgz} +0 -0
- aws_cdk/amzn_sdc/__init__.py +496 -0
- aws_cdk/aws_appsync/__init__.py +94 -22
- aws_cdk/aws_autoscaling/__init__.py +139 -74
- aws_cdk/aws_certificatemanager/__init__.py +164 -3
- aws_cdk/aws_cloud9/__init__.py +3 -3
- aws_cdk/aws_cloudfront/__init__.py +853 -38
- aws_cdk/aws_cloudtrail/__init__.py +54 -34
- aws_cdk/aws_cloudwatch_actions/__init__.py +105 -0
- aws_cdk/aws_codebuild/__init__.py +46 -5
- aws_cdk/aws_codecommit/__init__.py +9 -3
- aws_cdk/aws_codepipeline_actions/__init__.py +54 -0
- aws_cdk/aws_codetest/__init__.py +788 -0
- aws_cdk/aws_cognito/__init__.py +104 -0
- aws_cdk/aws_connect/__init__.py +626 -78
- aws_cdk/aws_docdb/__init__.py +442 -0
- aws_cdk/aws_dynamodb/__init__.py +14 -0
- aws_cdk/aws_ec2/__init__.py +372 -44
- aws_cdk/aws_ecs/__init__.py +192 -35
- aws_cdk/aws_emrserverless/__init__.py +20 -13
- aws_cdk/aws_events/__init__.py +90 -1
- aws_cdk/aws_fis/__init__.py +12 -32
- aws_cdk/aws_globalaccelerator/__init__.py +19 -0
- aws_cdk/aws_glue/__init__.py +329 -0
- aws_cdk/aws_iam/__init__.py +50 -24
- aws_cdk/aws_iot/__init__.py +112 -0
- aws_cdk/aws_iotsitewise/__init__.py +4 -4
- aws_cdk/aws_kendra/__init__.py +10 -5
- aws_cdk/aws_kinesisfirehose/__init__.py +111 -0
- aws_cdk/aws_lambda/__init__.py +180 -407
- aws_cdk/aws_location/__init__.py +1132 -17
- aws_cdk/aws_mediatailor/__init__.py +120 -17
- aws_cdk/aws_networkfirewall/__init__.py +2 -2
- aws_cdk/aws_networkmanager/__init__.py +1 -1
- aws_cdk/aws_omics/__init__.py +4 -4
- aws_cdk/aws_opensearchservice/__init__.py +58 -0
- aws_cdk/aws_pinpoint/__init__.py +14 -6
- aws_cdk/aws_pipes/__init__.py +7 -2
- aws_cdk/aws_rds/__init__.py +247 -16
- aws_cdk/aws_redshift/__init__.py +103 -0
- aws_cdk/aws_route53/__init__.py +68 -20
- aws_cdk/aws_s3/__init__.py +2 -4
- aws_cdk/aws_s3objectlambda/__init__.py +2 -2
- aws_cdk/aws_servicecatalogappregistry/__init__.py +3 -3
- aws_cdk/aws_signer/__init__.py +27 -4
- aws_cdk/aws_ssm/__init__.py +76 -13
- aws_cdk/aws_stepfunctions/__init__.py +110 -5
- aws_cdk/aws_stepfunctions_tasks/__init__.py +84 -29
- aws_cdk/pipelines/__init__.py +136 -37
- {aws_cdk_lib-2.117.0.dist-info → aws_cdk_lib-2.119.0.dist-info}/LICENSE +1 -1
- {aws_cdk_lib-2.117.0.dist-info → aws_cdk_lib-2.119.0.dist-info}/METADATA +98 -12
- {aws_cdk_lib-2.117.0.dist-info → aws_cdk_lib-2.119.0.dist-info}/NOTICE +1 -1
- {aws_cdk_lib-2.117.0.dist-info → aws_cdk_lib-2.119.0.dist-info}/RECORD +57 -55
- {aws_cdk_lib-2.117.0.dist-info → aws_cdk_lib-2.119.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.117.0.dist-info → aws_cdk_lib-2.119.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_rds/__init__.py
CHANGED
|
@@ -997,6 +997,28 @@ proxy.grant_connect(role, "admin")
|
|
|
997
997
|
**Note**: In addition to the setup above, a database user will need to be created to support IAM auth.
|
|
998
998
|
See [https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.DBAccounts.html](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.DBAccounts.html) for setup instructions.
|
|
999
999
|
|
|
1000
|
+
To specify the details of authentication used by a proxy to log in as a specific database
|
|
1001
|
+
user use the `clientPasswordAuthType` property:
|
|
1002
|
+
|
|
1003
|
+
```python
|
|
1004
|
+
# vpc: ec2.Vpc
|
|
1005
|
+
|
|
1006
|
+
cluster = rds.DatabaseCluster(self, "Database",
|
|
1007
|
+
engine=rds.DatabaseClusterEngine.aurora_mysql(
|
|
1008
|
+
version=rds.AuroraMysqlEngineVersion.VER_3_03_0
|
|
1009
|
+
),
|
|
1010
|
+
writer=rds.ClusterInstance.provisioned("writer"),
|
|
1011
|
+
vpc=vpc
|
|
1012
|
+
)
|
|
1013
|
+
|
|
1014
|
+
proxy = rds.DatabaseProxy(self, "Proxy",
|
|
1015
|
+
proxy_target=rds.ProxyTarget.from_cluster(cluster),
|
|
1016
|
+
secrets=[cluster.secret],
|
|
1017
|
+
vpc=vpc,
|
|
1018
|
+
client_password_auth_type=rds.ClientPasswordAuthType.MYSQL_NATIVE_PASSWORD
|
|
1019
|
+
)
|
|
1020
|
+
```
|
|
1021
|
+
|
|
1000
1022
|
### Cluster
|
|
1001
1023
|
|
|
1002
1024
|
The following example shows granting connection access for an IAM role to an Aurora Cluster.
|
|
@@ -1257,7 +1279,9 @@ cluster = rds.ServerlessCluster(self, "AnotherCluster",
|
|
|
1257
1279
|
scaling=rds.ServerlessScalingOptions(
|
|
1258
1280
|
auto_pause=Duration.minutes(10), # default is to pause after 5 minutes of idle time
|
|
1259
1281
|
min_capacity=rds.AuroraCapacityUnit.ACU_8, # default is 2 Aurora capacity units (ACUs)
|
|
1260
|
-
max_capacity=rds.AuroraCapacityUnit.ACU_32
|
|
1282
|
+
max_capacity=rds.AuroraCapacityUnit.ACU_32, # default is 16 Aurora capacity units (ACUs)
|
|
1283
|
+
timeout=Duration.seconds(100), # default is 5 minutes
|
|
1284
|
+
timeout_action=rds.TimeoutAction.FORCE_APPLY_CAPACITY_CHANGE
|
|
1261
1285
|
)
|
|
1262
1286
|
)
|
|
1263
1287
|
```
|
|
@@ -1425,7 +1449,9 @@ class AuroraCapacityUnit(enum.Enum):
|
|
|
1425
1449
|
scaling=rds.ServerlessScalingOptions(
|
|
1426
1450
|
auto_pause=Duration.minutes(10), # default is to pause after 5 minutes of idle time
|
|
1427
1451
|
min_capacity=rds.AuroraCapacityUnit.ACU_8, # default is 2 Aurora capacity units (ACUs)
|
|
1428
|
-
max_capacity=rds.AuroraCapacityUnit.ACU_32
|
|
1452
|
+
max_capacity=rds.AuroraCapacityUnit.ACU_32, # default is 16 Aurora capacity units (ACUs)
|
|
1453
|
+
timeout=Duration.seconds(100), # default is 5 minutes
|
|
1454
|
+
timeout_action=rds.TimeoutAction.FORCE_APPLY_CAPACITY_CHANGE
|
|
1429
1455
|
)
|
|
1430
1456
|
)
|
|
1431
1457
|
'''
|
|
@@ -2876,6 +2902,12 @@ class AuroraPostgresEngineVersion(
|
|
|
2876
2902
|
'''Version "12.16".'''
|
|
2877
2903
|
return typing.cast("AuroraPostgresEngineVersion", jsii.sget(cls, "VER_12_16"))
|
|
2878
2904
|
|
|
2905
|
+
@jsii.python.classproperty
|
|
2906
|
+
@jsii.member(jsii_name="VER_12_17")
|
|
2907
|
+
def VER_12_17(cls) -> "AuroraPostgresEngineVersion":
|
|
2908
|
+
'''Version "12.17".'''
|
|
2909
|
+
return typing.cast("AuroraPostgresEngineVersion", jsii.sget(cls, "VER_12_17"))
|
|
2910
|
+
|
|
2879
2911
|
@jsii.python.classproperty
|
|
2880
2912
|
@jsii.member(jsii_name="VER_12_4")
|
|
2881
2913
|
def VER_12_4(cls) -> "AuroraPostgresEngineVersion":
|
|
@@ -2944,6 +2976,12 @@ class AuroraPostgresEngineVersion(
|
|
|
2944
2976
|
'''Version "13.12".'''
|
|
2945
2977
|
return typing.cast("AuroraPostgresEngineVersion", jsii.sget(cls, "VER_13_12"))
|
|
2946
2978
|
|
|
2979
|
+
@jsii.python.classproperty
|
|
2980
|
+
@jsii.member(jsii_name="VER_13_13")
|
|
2981
|
+
def VER_13_13(cls) -> "AuroraPostgresEngineVersion":
|
|
2982
|
+
'''Version "13.13".'''
|
|
2983
|
+
return typing.cast("AuroraPostgresEngineVersion", jsii.sget(cls, "VER_13_13"))
|
|
2984
|
+
|
|
2947
2985
|
@jsii.python.classproperty
|
|
2948
2986
|
@jsii.member(jsii_name="VER_13_3")
|
|
2949
2987
|
def VER_13_3(cls) -> "AuroraPostgresEngineVersion":
|
|
@@ -3006,6 +3044,12 @@ class AuroraPostgresEngineVersion(
|
|
|
3006
3044
|
'''Version "13.9".'''
|
|
3007
3045
|
return typing.cast("AuroraPostgresEngineVersion", jsii.sget(cls, "VER_13_9"))
|
|
3008
3046
|
|
|
3047
|
+
@jsii.python.classproperty
|
|
3048
|
+
@jsii.member(jsii_name="VER_14_10")
|
|
3049
|
+
def VER_14_10(cls) -> "AuroraPostgresEngineVersion":
|
|
3050
|
+
'''Version "14.10".'''
|
|
3051
|
+
return typing.cast("AuroraPostgresEngineVersion", jsii.sget(cls, "VER_14_10"))
|
|
3052
|
+
|
|
3009
3053
|
@jsii.python.classproperty
|
|
3010
3054
|
@jsii.member(jsii_name="VER_14_3")
|
|
3011
3055
|
def VER_14_3(cls) -> "AuroraPostgresEngineVersion":
|
|
@@ -3071,6 +3115,18 @@ class AuroraPostgresEngineVersion(
|
|
|
3071
3115
|
'''Version "15.4".'''
|
|
3072
3116
|
return typing.cast("AuroraPostgresEngineVersion", jsii.sget(cls, "VER_15_4"))
|
|
3073
3117
|
|
|
3118
|
+
@jsii.python.classproperty
|
|
3119
|
+
@jsii.member(jsii_name="VER_15_5")
|
|
3120
|
+
def VER_15_5(cls) -> "AuroraPostgresEngineVersion":
|
|
3121
|
+
'''Version "15.5".'''
|
|
3122
|
+
return typing.cast("AuroraPostgresEngineVersion", jsii.sget(cls, "VER_15_5"))
|
|
3123
|
+
|
|
3124
|
+
@jsii.python.classproperty
|
|
3125
|
+
@jsii.member(jsii_name="VER_16_0")
|
|
3126
|
+
def VER_16_0(cls) -> "AuroraPostgresEngineVersion":
|
|
3127
|
+
'''Version "16.0". Version 16.0 is available in preview environment as of November 15, 2023.'''
|
|
3128
|
+
return typing.cast("AuroraPostgresEngineVersion", jsii.sget(cls, "VER_16_0"))
|
|
3129
|
+
|
|
3074
3130
|
@jsii.python.classproperty
|
|
3075
3131
|
@jsii.member(jsii_name="VER_9_6_11")
|
|
3076
3132
|
def VER_9_6_11(cls) -> "AuroraPostgresEngineVersion":
|
|
@@ -7566,7 +7622,7 @@ class CfnDBInstance(
|
|
|
7566
7622
|
:param auto_minor_version_upgrade: A value that indicates whether minor engine upgrades are applied automatically to the DB instance during the maintenance window. By default, minor engine upgrades are applied automatically.
|
|
7567
7623
|
:param availability_zone: The Availability Zone (AZ) where the database will be created. For information on AWS Regions and Availability Zones, see `Regions and Availability Zones <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html>`_ . For Amazon Aurora, each Aurora DB cluster hosts copies of its storage in three separate Availability Zones. Specify one of these Availability Zones. Aurora automatically chooses an appropriate Availability Zone if you don't specify one. Default: A random, system-chosen Availability Zone in the endpoint's AWS Region . Constraints: - The ``AvailabilityZone`` parameter can't be specified if the DB instance is a Multi-AZ deployment. - The specified Availability Zone must be in the same AWS Region as the current endpoint. Example: ``us-east-1d``
|
|
7568
7624
|
:param backup_retention_period: The number of days for which automated backups are retained. Setting this parameter to a positive number enables backups. Setting this parameter to 0 disables automated backups. *Amazon Aurora* Not applicable. The retention period for automated backups is managed by the DB cluster. Default: 1 Constraints: - Must be a value from 0 to 35 - Can't be set to 0 if the DB instance is a source to read replicas Default: - 1
|
|
7569
|
-
:param ca_certificate_identifier: The identifier of the CA certificate for this DB instance.
|
|
7625
|
+
:param ca_certificate_identifier: The identifier of the CA certificate for this DB instance. Specifying or updating this property triggers a reboot. For more information about CA certificate identifiers for RDS DB engines, see `Rotating Your SSL/TLS Certificate <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL-certificate-rotation.html>`_ in the *Amazon RDS User Guide* . For more information about CA certificate identifiers for Aurora DB engines, see `Rotating Your SSL/TLS Certificate <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL-certificate-rotation.html>`_ in the *Amazon Aurora User Guide* .
|
|
7570
7626
|
:param certificate_details: The details of the DB instance's server certificate.
|
|
7571
7627
|
:param certificate_rotation_restart: Specifies whether the DB instance is restarted when you rotate your SSL/TLS certificate. By default, the DB instance is restarted when you rotate your SSL/TLS certificate. The certificate is not updated until the DB instance is restarted. .. epigraph:: Set this parameter only if you are *not* using SSL/TLS to connect to the DB instance. If you are using SSL/TLS to connect to the DB instance, follow the appropriate instructions for your DB engine to rotate your SSL/TLS certificate: - For more information about rotating your SSL/TLS certificate for RDS DB engines, see `Rotating Your SSL/TLS Certificate. <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL-certificate-rotation.html>`_ in the *Amazon RDS User Guide.* - For more information about rotating your SSL/TLS certificate for Aurora DB engines, see `Rotating Your SSL/TLS Certificate <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL-certificate-rotation.html>`_ in the *Amazon Aurora User Guide* . This setting doesn't apply to RDS Custom DB instances.
|
|
7572
7628
|
:param character_set_name: For supported engines, indicates that the DB instance should be associated with the specified character set. *Amazon Aurora* Not applicable. The character set is managed by the DB cluster. For more information, see `AWS::RDS::DBCluster <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html>`_ .
|
|
@@ -9550,7 +9606,7 @@ class CfnDBInstanceProps:
|
|
|
9550
9606
|
:param auto_minor_version_upgrade: A value that indicates whether minor engine upgrades are applied automatically to the DB instance during the maintenance window. By default, minor engine upgrades are applied automatically.
|
|
9551
9607
|
:param availability_zone: The Availability Zone (AZ) where the database will be created. For information on AWS Regions and Availability Zones, see `Regions and Availability Zones <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html>`_ . For Amazon Aurora, each Aurora DB cluster hosts copies of its storage in three separate Availability Zones. Specify one of these Availability Zones. Aurora automatically chooses an appropriate Availability Zone if you don't specify one. Default: A random, system-chosen Availability Zone in the endpoint's AWS Region . Constraints: - The ``AvailabilityZone`` parameter can't be specified if the DB instance is a Multi-AZ deployment. - The specified Availability Zone must be in the same AWS Region as the current endpoint. Example: ``us-east-1d``
|
|
9552
9608
|
:param backup_retention_period: The number of days for which automated backups are retained. Setting this parameter to a positive number enables backups. Setting this parameter to 0 disables automated backups. *Amazon Aurora* Not applicable. The retention period for automated backups is managed by the DB cluster. Default: 1 Constraints: - Must be a value from 0 to 35 - Can't be set to 0 if the DB instance is a source to read replicas Default: - 1
|
|
9553
|
-
:param ca_certificate_identifier: The identifier of the CA certificate for this DB instance.
|
|
9609
|
+
:param ca_certificate_identifier: The identifier of the CA certificate for this DB instance. Specifying or updating this property triggers a reboot. For more information about CA certificate identifiers for RDS DB engines, see `Rotating Your SSL/TLS Certificate <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL-certificate-rotation.html>`_ in the *Amazon RDS User Guide* . For more information about CA certificate identifiers for Aurora DB engines, see `Rotating Your SSL/TLS Certificate <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL-certificate-rotation.html>`_ in the *Amazon Aurora User Guide* .
|
|
9554
9610
|
:param certificate_details: The details of the DB instance's server certificate.
|
|
9555
9611
|
:param certificate_rotation_restart: Specifies whether the DB instance is restarted when you rotate your SSL/TLS certificate. By default, the DB instance is restarted when you rotate your SSL/TLS certificate. The certificate is not updated until the DB instance is restarted. .. epigraph:: Set this parameter only if you are *not* using SSL/TLS to connect to the DB instance. If you are using SSL/TLS to connect to the DB instance, follow the appropriate instructions for your DB engine to rotate your SSL/TLS certificate: - For more information about rotating your SSL/TLS certificate for RDS DB engines, see `Rotating Your SSL/TLS Certificate. <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL-certificate-rotation.html>`_ in the *Amazon RDS User Guide.* - For more information about rotating your SSL/TLS certificate for Aurora DB engines, see `Rotating Your SSL/TLS Certificate <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL-certificate-rotation.html>`_ in the *Amazon Aurora User Guide* . This setting doesn't apply to RDS Custom DB instances.
|
|
9556
9612
|
:param character_set_name: For supported engines, indicates that the DB instance should be associated with the specified character set. *Amazon Aurora* Not applicable. The character set is managed by the DB cluster. For more information, see `AWS::RDS::DBCluster <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html>`_ .
|
|
@@ -10133,13 +10189,7 @@ class CfnDBInstanceProps:
|
|
|
10133
10189
|
def ca_certificate_identifier(self) -> typing.Optional[builtins.str]:
|
|
10134
10190
|
'''The identifier of the CA certificate for this DB instance.
|
|
10135
10191
|
|
|
10136
|
-
|
|
10137
|
-
|
|
10138
|
-
Specifying or updating this property triggers a reboot.
|
|
10139
|
-
|
|
10140
|
-
For more information about CA certificate identifiers for RDS DB engines, see `Rotating Your SSL/TLS Certificate <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL-certificate-rotation.html>`_ in the *Amazon RDS User Guide* .
|
|
10141
|
-
|
|
10142
|
-
For more information about CA certificate identifiers for Aurora DB engines, see `Rotating Your SSL/TLS Certificate <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL-certificate-rotation.html>`_ in the *Amazon Aurora User Guide* .
|
|
10192
|
+
Specifying or updating this property triggers a reboot. For more information about CA certificate identifiers for RDS DB engines, see `Rotating Your SSL/TLS Certificate <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL-certificate-rotation.html>`_ in the *Amazon RDS User Guide* . For more information about CA certificate identifiers for Aurora DB engines, see `Rotating Your SSL/TLS Certificate <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL-certificate-rotation.html>`_ in the *Amazon Aurora User Guide* .
|
|
10143
10193
|
|
|
10144
10194
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-cacertificateidentifier
|
|
10145
10195
|
'''
|
|
@@ -15955,6 +16005,42 @@ class CfnOptionGroupProps:
|
|
|
15955
16005
|
)
|
|
15956
16006
|
|
|
15957
16007
|
|
|
16008
|
+
@jsii.enum(jsii_type="aws-cdk-lib.aws_rds.ClientPasswordAuthType")
|
|
16009
|
+
class ClientPasswordAuthType(enum.Enum):
|
|
16010
|
+
'''Client password authentication type used by a proxy to log in as a specific database user.
|
|
16011
|
+
|
|
16012
|
+
:exampleMetadata: infused
|
|
16013
|
+
|
|
16014
|
+
Example::
|
|
16015
|
+
|
|
16016
|
+
# vpc: ec2.Vpc
|
|
16017
|
+
|
|
16018
|
+
cluster = rds.DatabaseCluster(self, "Database",
|
|
16019
|
+
engine=rds.DatabaseClusterEngine.aurora_mysql(
|
|
16020
|
+
version=rds.AuroraMysqlEngineVersion.VER_3_03_0
|
|
16021
|
+
),
|
|
16022
|
+
writer=rds.ClusterInstance.provisioned("writer"),
|
|
16023
|
+
vpc=vpc
|
|
16024
|
+
)
|
|
16025
|
+
|
|
16026
|
+
proxy = rds.DatabaseProxy(self, "Proxy",
|
|
16027
|
+
proxy_target=rds.ProxyTarget.from_cluster(cluster),
|
|
16028
|
+
secrets=[cluster.secret],
|
|
16029
|
+
vpc=vpc,
|
|
16030
|
+
client_password_auth_type=rds.ClientPasswordAuthType.MYSQL_NATIVE_PASSWORD
|
|
16031
|
+
)
|
|
16032
|
+
'''
|
|
16033
|
+
|
|
16034
|
+
MYSQL_NATIVE_PASSWORD = "MYSQL_NATIVE_PASSWORD"
|
|
16035
|
+
'''MySQL Native Password client authentication type.'''
|
|
16036
|
+
POSTGRES_SCRAM_SHA_256 = "POSTGRES_SCRAM_SHA_256"
|
|
16037
|
+
'''SCRAM SHA 256 client authentication type.'''
|
|
16038
|
+
POSTGRES_MD5 = "POSTGRES_MD5"
|
|
16039
|
+
'''PostgreSQL MD5 client authentication type.'''
|
|
16040
|
+
SQL_SERVER_AUTHENTICATION = "SQL_SERVER_AUTHENTICATION"
|
|
16041
|
+
'''SQL Server Authentication client authentication type.'''
|
|
16042
|
+
|
|
16043
|
+
|
|
15958
16044
|
@jsii.data_type(
|
|
15959
16045
|
jsii_type="aws-cdk-lib.aws_rds.ClusterEngineBindOptions",
|
|
15960
16046
|
jsii_struct_bases=[],
|
|
@@ -22708,6 +22794,7 @@ class DatabaseProxyAttributes:
|
|
|
22708
22794
|
"secrets": "secrets",
|
|
22709
22795
|
"vpc": "vpc",
|
|
22710
22796
|
"borrow_timeout": "borrowTimeout",
|
|
22797
|
+
"client_password_auth_type": "clientPasswordAuthType",
|
|
22711
22798
|
"db_proxy_name": "dbProxyName",
|
|
22712
22799
|
"debug_logging": "debugLogging",
|
|
22713
22800
|
"iam_auth": "iamAuth",
|
|
@@ -22729,6 +22816,7 @@ class DatabaseProxyOptions:
|
|
|
22729
22816
|
secrets: typing.Sequence[_ISecret_6e020e6a],
|
|
22730
22817
|
vpc: _IVpc_f30d5663,
|
|
22731
22818
|
borrow_timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
22819
|
+
client_password_auth_type: typing.Optional[ClientPasswordAuthType] = None,
|
|
22732
22820
|
db_proxy_name: typing.Optional[builtins.str] = None,
|
|
22733
22821
|
debug_logging: typing.Optional[builtins.bool] = None,
|
|
22734
22822
|
iam_auth: typing.Optional[builtins.bool] = None,
|
|
@@ -22747,6 +22835,7 @@ class DatabaseProxyOptions:
|
|
|
22747
22835
|
:param secrets: The secret that the proxy uses to authenticate to the RDS DB instance or Aurora DB cluster. These secrets are stored within Amazon Secrets Manager. One or more secrets are required.
|
|
22748
22836
|
:param vpc: The VPC to associate with the new proxy.
|
|
22749
22837
|
:param borrow_timeout: The duration for a proxy to wait for a connection to become available in the connection pool. Only applies when the proxy has opened its maximum number of connections and all connections are busy with client sessions. Value must be between 1 second and 1 hour, or ``Duration.seconds(0)`` to represent unlimited. Default: cdk.Duration.seconds(120)
|
|
22838
|
+
:param client_password_auth_type: Specifies the details of authentication used by a proxy to log in as a specific database user. Default: - CloudFormation defaults will apply given the specified database engine.
|
|
22750
22839
|
:param db_proxy_name: The identifier for the proxy. This name must be unique for all proxies owned by your AWS account in the specified AWS Region. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it can't end with a hyphen or contain two consecutive hyphens. Default: - Generated by CloudFormation (recommended)
|
|
22751
22840
|
:param debug_logging: Whether the proxy includes detailed information about SQL statements in its logs. This information helps you to debug issues involving SQL behavior or the performance and scalability of the proxy connections. The debug information includes the text of SQL statements that you submit through the proxy. Thus, only enable this setting when needed for debugging, and only when you have security measures in place to safeguard any sensitive information that appears in the logs. Default: false
|
|
22752
22841
|
:param iam_auth: Whether to require or disallow AWS Identity and Access Management (IAM) authentication for connections to the proxy. Default: false
|
|
@@ -22784,6 +22873,7 @@ class DatabaseProxyOptions:
|
|
|
22784
22873
|
check_type(argname="argument secrets", value=secrets, expected_type=type_hints["secrets"])
|
|
22785
22874
|
check_type(argname="argument vpc", value=vpc, expected_type=type_hints["vpc"])
|
|
22786
22875
|
check_type(argname="argument borrow_timeout", value=borrow_timeout, expected_type=type_hints["borrow_timeout"])
|
|
22876
|
+
check_type(argname="argument client_password_auth_type", value=client_password_auth_type, expected_type=type_hints["client_password_auth_type"])
|
|
22787
22877
|
check_type(argname="argument db_proxy_name", value=db_proxy_name, expected_type=type_hints["db_proxy_name"])
|
|
22788
22878
|
check_type(argname="argument debug_logging", value=debug_logging, expected_type=type_hints["debug_logging"])
|
|
22789
22879
|
check_type(argname="argument iam_auth", value=iam_auth, expected_type=type_hints["iam_auth"])
|
|
@@ -22802,6 +22892,8 @@ class DatabaseProxyOptions:
|
|
|
22802
22892
|
}
|
|
22803
22893
|
if borrow_timeout is not None:
|
|
22804
22894
|
self._values["borrow_timeout"] = borrow_timeout
|
|
22895
|
+
if client_password_auth_type is not None:
|
|
22896
|
+
self._values["client_password_auth_type"] = client_password_auth_type
|
|
22805
22897
|
if db_proxy_name is not None:
|
|
22806
22898
|
self._values["db_proxy_name"] = db_proxy_name
|
|
22807
22899
|
if debug_logging is not None:
|
|
@@ -22859,6 +22951,15 @@ class DatabaseProxyOptions:
|
|
|
22859
22951
|
result = self._values.get("borrow_timeout")
|
|
22860
22952
|
return typing.cast(typing.Optional[_Duration_4839e8c3], result)
|
|
22861
22953
|
|
|
22954
|
+
@builtins.property
|
|
22955
|
+
def client_password_auth_type(self) -> typing.Optional[ClientPasswordAuthType]:
|
|
22956
|
+
'''Specifies the details of authentication used by a proxy to log in as a specific database user.
|
|
22957
|
+
|
|
22958
|
+
:default: - CloudFormation defaults will apply given the specified database engine.
|
|
22959
|
+
'''
|
|
22960
|
+
result = self._values.get("client_password_auth_type")
|
|
22961
|
+
return typing.cast(typing.Optional[ClientPasswordAuthType], result)
|
|
22962
|
+
|
|
22862
22963
|
@builtins.property
|
|
22863
22964
|
def db_proxy_name(self) -> typing.Optional[builtins.str]:
|
|
22864
22965
|
'''The identifier for the proxy.
|
|
@@ -23023,6 +23124,7 @@ class DatabaseProxyOptions:
|
|
|
23023
23124
|
"secrets": "secrets",
|
|
23024
23125
|
"vpc": "vpc",
|
|
23025
23126
|
"borrow_timeout": "borrowTimeout",
|
|
23127
|
+
"client_password_auth_type": "clientPasswordAuthType",
|
|
23026
23128
|
"db_proxy_name": "dbProxyName",
|
|
23027
23129
|
"debug_logging": "debugLogging",
|
|
23028
23130
|
"iam_auth": "iamAuth",
|
|
@@ -23045,6 +23147,7 @@ class DatabaseProxyProps(DatabaseProxyOptions):
|
|
|
23045
23147
|
secrets: typing.Sequence[_ISecret_6e020e6a],
|
|
23046
23148
|
vpc: _IVpc_f30d5663,
|
|
23047
23149
|
borrow_timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
23150
|
+
client_password_auth_type: typing.Optional[ClientPasswordAuthType] = None,
|
|
23048
23151
|
db_proxy_name: typing.Optional[builtins.str] = None,
|
|
23049
23152
|
debug_logging: typing.Optional[builtins.bool] = None,
|
|
23050
23153
|
iam_auth: typing.Optional[builtins.bool] = None,
|
|
@@ -23064,6 +23167,7 @@ class DatabaseProxyProps(DatabaseProxyOptions):
|
|
|
23064
23167
|
:param secrets: The secret that the proxy uses to authenticate to the RDS DB instance or Aurora DB cluster. These secrets are stored within Amazon Secrets Manager. One or more secrets are required.
|
|
23065
23168
|
:param vpc: The VPC to associate with the new proxy.
|
|
23066
23169
|
:param borrow_timeout: The duration for a proxy to wait for a connection to become available in the connection pool. Only applies when the proxy has opened its maximum number of connections and all connections are busy with client sessions. Value must be between 1 second and 1 hour, or ``Duration.seconds(0)`` to represent unlimited. Default: cdk.Duration.seconds(120)
|
|
23170
|
+
:param client_password_auth_type: Specifies the details of authentication used by a proxy to log in as a specific database user. Default: - CloudFormation defaults will apply given the specified database engine.
|
|
23067
23171
|
:param db_proxy_name: The identifier for the proxy. This name must be unique for all proxies owned by your AWS account in the specified AWS Region. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it can't end with a hyphen or contain two consecutive hyphens. Default: - Generated by CloudFormation (recommended)
|
|
23068
23172
|
:param debug_logging: Whether the proxy includes detailed information about SQL statements in its logs. This information helps you to debug issues involving SQL behavior or the performance and scalability of the proxy connections. The debug information includes the text of SQL statements that you submit through the proxy. Thus, only enable this setting when needed for debugging, and only when you have security measures in place to safeguard any sensitive information that appears in the logs. Default: false
|
|
23069
23173
|
:param iam_auth: Whether to require or disallow AWS Identity and Access Management (IAM) authentication for connections to the proxy. Default: false
|
|
@@ -23108,6 +23212,7 @@ class DatabaseProxyProps(DatabaseProxyOptions):
|
|
|
23108
23212
|
check_type(argname="argument secrets", value=secrets, expected_type=type_hints["secrets"])
|
|
23109
23213
|
check_type(argname="argument vpc", value=vpc, expected_type=type_hints["vpc"])
|
|
23110
23214
|
check_type(argname="argument borrow_timeout", value=borrow_timeout, expected_type=type_hints["borrow_timeout"])
|
|
23215
|
+
check_type(argname="argument client_password_auth_type", value=client_password_auth_type, expected_type=type_hints["client_password_auth_type"])
|
|
23111
23216
|
check_type(argname="argument db_proxy_name", value=db_proxy_name, expected_type=type_hints["db_proxy_name"])
|
|
23112
23217
|
check_type(argname="argument debug_logging", value=debug_logging, expected_type=type_hints["debug_logging"])
|
|
23113
23218
|
check_type(argname="argument iam_auth", value=iam_auth, expected_type=type_hints["iam_auth"])
|
|
@@ -23128,6 +23233,8 @@ class DatabaseProxyProps(DatabaseProxyOptions):
|
|
|
23128
23233
|
}
|
|
23129
23234
|
if borrow_timeout is not None:
|
|
23130
23235
|
self._values["borrow_timeout"] = borrow_timeout
|
|
23236
|
+
if client_password_auth_type is not None:
|
|
23237
|
+
self._values["client_password_auth_type"] = client_password_auth_type
|
|
23131
23238
|
if db_proxy_name is not None:
|
|
23132
23239
|
self._values["db_proxy_name"] = db_proxy_name
|
|
23133
23240
|
if debug_logging is not None:
|
|
@@ -23185,6 +23292,15 @@ class DatabaseProxyProps(DatabaseProxyOptions):
|
|
|
23185
23292
|
result = self._values.get("borrow_timeout")
|
|
23186
23293
|
return typing.cast(typing.Optional[_Duration_4839e8c3], result)
|
|
23187
23294
|
|
|
23295
|
+
@builtins.property
|
|
23296
|
+
def client_password_auth_type(self) -> typing.Optional[ClientPasswordAuthType]:
|
|
23297
|
+
'''Specifies the details of authentication used by a proxy to log in as a specific database user.
|
|
23298
|
+
|
|
23299
|
+
:default: - CloudFormation defaults will apply given the specified database engine.
|
|
23300
|
+
'''
|
|
23301
|
+
result = self._values.get("client_password_auth_type")
|
|
23302
|
+
return typing.cast(typing.Optional[ClientPasswordAuthType], result)
|
|
23303
|
+
|
|
23188
23304
|
@builtins.property
|
|
23189
23305
|
def db_proxy_name(self) -> typing.Optional[builtins.str]:
|
|
23190
23306
|
'''The identifier for the proxy.
|
|
@@ -24042,6 +24158,7 @@ class IDatabaseCluster(
|
|
|
24042
24158
|
secrets: typing.Sequence[_ISecret_6e020e6a],
|
|
24043
24159
|
vpc: _IVpc_f30d5663,
|
|
24044
24160
|
borrow_timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
24161
|
+
client_password_auth_type: typing.Optional[ClientPasswordAuthType] = None,
|
|
24045
24162
|
db_proxy_name: typing.Optional[builtins.str] = None,
|
|
24046
24163
|
debug_logging: typing.Optional[builtins.bool] = None,
|
|
24047
24164
|
iam_auth: typing.Optional[builtins.bool] = None,
|
|
@@ -24061,6 +24178,7 @@ class IDatabaseCluster(
|
|
|
24061
24178
|
:param secrets: The secret that the proxy uses to authenticate to the RDS DB instance or Aurora DB cluster. These secrets are stored within Amazon Secrets Manager. One or more secrets are required.
|
|
24062
24179
|
:param vpc: The VPC to associate with the new proxy.
|
|
24063
24180
|
:param borrow_timeout: The duration for a proxy to wait for a connection to become available in the connection pool. Only applies when the proxy has opened its maximum number of connections and all connections are busy with client sessions. Value must be between 1 second and 1 hour, or ``Duration.seconds(0)`` to represent unlimited. Default: cdk.Duration.seconds(120)
|
|
24181
|
+
:param client_password_auth_type: Specifies the details of authentication used by a proxy to log in as a specific database user. Default: - CloudFormation defaults will apply given the specified database engine.
|
|
24064
24182
|
:param db_proxy_name: The identifier for the proxy. This name must be unique for all proxies owned by your AWS account in the specified AWS Region. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it can't end with a hyphen or contain two consecutive hyphens. Default: - Generated by CloudFormation (recommended)
|
|
24065
24183
|
:param debug_logging: Whether the proxy includes detailed information about SQL statements in its logs. This information helps you to debug issues involving SQL behavior or the performance and scalability of the proxy connections. The debug information includes the text of SQL statements that you submit through the proxy. Thus, only enable this setting when needed for debugging, and only when you have security measures in place to safeguard any sensitive information that appears in the logs. Default: false
|
|
24066
24184
|
:param iam_auth: Whether to require or disallow AWS Identity and Access Management (IAM) authentication for connections to the proxy. Default: false
|
|
@@ -24581,6 +24699,7 @@ class _IDatabaseClusterProxy(
|
|
|
24581
24699
|
secrets: typing.Sequence[_ISecret_6e020e6a],
|
|
24582
24700
|
vpc: _IVpc_f30d5663,
|
|
24583
24701
|
borrow_timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
24702
|
+
client_password_auth_type: typing.Optional[ClientPasswordAuthType] = None,
|
|
24584
24703
|
db_proxy_name: typing.Optional[builtins.str] = None,
|
|
24585
24704
|
debug_logging: typing.Optional[builtins.bool] = None,
|
|
24586
24705
|
iam_auth: typing.Optional[builtins.bool] = None,
|
|
@@ -24600,6 +24719,7 @@ class _IDatabaseClusterProxy(
|
|
|
24600
24719
|
:param secrets: The secret that the proxy uses to authenticate to the RDS DB instance or Aurora DB cluster. These secrets are stored within Amazon Secrets Manager. One or more secrets are required.
|
|
24601
24720
|
:param vpc: The VPC to associate with the new proxy.
|
|
24602
24721
|
:param borrow_timeout: The duration for a proxy to wait for a connection to become available in the connection pool. Only applies when the proxy has opened its maximum number of connections and all connections are busy with client sessions. Value must be between 1 second and 1 hour, or ``Duration.seconds(0)`` to represent unlimited. Default: cdk.Duration.seconds(120)
|
|
24722
|
+
:param client_password_auth_type: Specifies the details of authentication used by a proxy to log in as a specific database user. Default: - CloudFormation defaults will apply given the specified database engine.
|
|
24603
24723
|
:param db_proxy_name: The identifier for the proxy. This name must be unique for all proxies owned by your AWS account in the specified AWS Region. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it can't end with a hyphen or contain two consecutive hyphens. Default: - Generated by CloudFormation (recommended)
|
|
24604
24724
|
:param debug_logging: Whether the proxy includes detailed information about SQL statements in its logs. This information helps you to debug issues involving SQL behavior or the performance and scalability of the proxy connections. The debug information includes the text of SQL statements that you submit through the proxy. Thus, only enable this setting when needed for debugging, and only when you have security measures in place to safeguard any sensitive information that appears in the logs. Default: false
|
|
24605
24725
|
:param iam_auth: Whether to require or disallow AWS Identity and Access Management (IAM) authentication for connections to the proxy. Default: false
|
|
@@ -24620,6 +24740,7 @@ class _IDatabaseClusterProxy(
|
|
|
24620
24740
|
secrets=secrets,
|
|
24621
24741
|
vpc=vpc,
|
|
24622
24742
|
borrow_timeout=borrow_timeout,
|
|
24743
|
+
client_password_auth_type=client_password_auth_type,
|
|
24623
24744
|
db_proxy_name=db_proxy_name,
|
|
24624
24745
|
debug_logging=debug_logging,
|
|
24625
24746
|
iam_auth=iam_auth,
|
|
@@ -25319,6 +25440,7 @@ class IDatabaseInstance(
|
|
|
25319
25440
|
secrets: typing.Sequence[_ISecret_6e020e6a],
|
|
25320
25441
|
vpc: _IVpc_f30d5663,
|
|
25321
25442
|
borrow_timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
25443
|
+
client_password_auth_type: typing.Optional[ClientPasswordAuthType] = None,
|
|
25322
25444
|
db_proxy_name: typing.Optional[builtins.str] = None,
|
|
25323
25445
|
debug_logging: typing.Optional[builtins.bool] = None,
|
|
25324
25446
|
iam_auth: typing.Optional[builtins.bool] = None,
|
|
@@ -25338,6 +25460,7 @@ class IDatabaseInstance(
|
|
|
25338
25460
|
:param secrets: The secret that the proxy uses to authenticate to the RDS DB instance or Aurora DB cluster. These secrets are stored within Amazon Secrets Manager. One or more secrets are required.
|
|
25339
25461
|
:param vpc: The VPC to associate with the new proxy.
|
|
25340
25462
|
:param borrow_timeout: The duration for a proxy to wait for a connection to become available in the connection pool. Only applies when the proxy has opened its maximum number of connections and all connections are busy with client sessions. Value must be between 1 second and 1 hour, or ``Duration.seconds(0)`` to represent unlimited. Default: cdk.Duration.seconds(120)
|
|
25463
|
+
:param client_password_auth_type: Specifies the details of authentication used by a proxy to log in as a specific database user. Default: - CloudFormation defaults will apply given the specified database engine.
|
|
25341
25464
|
:param db_proxy_name: The identifier for the proxy. This name must be unique for all proxies owned by your AWS account in the specified AWS Region. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it can't end with a hyphen or contain two consecutive hyphens. Default: - Generated by CloudFormation (recommended)
|
|
25342
25465
|
:param debug_logging: Whether the proxy includes detailed information about SQL statements in its logs. This information helps you to debug issues involving SQL behavior or the performance and scalability of the proxy connections. The debug information includes the text of SQL statements that you submit through the proxy. Thus, only enable this setting when needed for debugging, and only when you have security measures in place to safeguard any sensitive information that appears in the logs. Default: false
|
|
25343
25466
|
:param iam_auth: Whether to require or disallow AWS Identity and Access Management (IAM) authentication for connections to the proxy. Default: false
|
|
@@ -25662,6 +25785,7 @@ class _IDatabaseInstanceProxy(
|
|
|
25662
25785
|
secrets: typing.Sequence[_ISecret_6e020e6a],
|
|
25663
25786
|
vpc: _IVpc_f30d5663,
|
|
25664
25787
|
borrow_timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
25788
|
+
client_password_auth_type: typing.Optional[ClientPasswordAuthType] = None,
|
|
25665
25789
|
db_proxy_name: typing.Optional[builtins.str] = None,
|
|
25666
25790
|
debug_logging: typing.Optional[builtins.bool] = None,
|
|
25667
25791
|
iam_auth: typing.Optional[builtins.bool] = None,
|
|
@@ -25681,6 +25805,7 @@ class _IDatabaseInstanceProxy(
|
|
|
25681
25805
|
:param secrets: The secret that the proxy uses to authenticate to the RDS DB instance or Aurora DB cluster. These secrets are stored within Amazon Secrets Manager. One or more secrets are required.
|
|
25682
25806
|
:param vpc: The VPC to associate with the new proxy.
|
|
25683
25807
|
:param borrow_timeout: The duration for a proxy to wait for a connection to become available in the connection pool. Only applies when the proxy has opened its maximum number of connections and all connections are busy with client sessions. Value must be between 1 second and 1 hour, or ``Duration.seconds(0)`` to represent unlimited. Default: cdk.Duration.seconds(120)
|
|
25808
|
+
:param client_password_auth_type: Specifies the details of authentication used by a proxy to log in as a specific database user. Default: - CloudFormation defaults will apply given the specified database engine.
|
|
25684
25809
|
:param db_proxy_name: The identifier for the proxy. This name must be unique for all proxies owned by your AWS account in the specified AWS Region. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it can't end with a hyphen or contain two consecutive hyphens. Default: - Generated by CloudFormation (recommended)
|
|
25685
25810
|
:param debug_logging: Whether the proxy includes detailed information about SQL statements in its logs. This information helps you to debug issues involving SQL behavior or the performance and scalability of the proxy connections. The debug information includes the text of SQL statements that you submit through the proxy. Thus, only enable this setting when needed for debugging, and only when you have security measures in place to safeguard any sensitive information that appears in the logs. Default: false
|
|
25686
25811
|
:param iam_auth: Whether to require or disallow AWS Identity and Access Management (IAM) authentication for connections to the proxy. Default: false
|
|
@@ -25701,6 +25826,7 @@ class _IDatabaseInstanceProxy(
|
|
|
25701
25826
|
secrets=secrets,
|
|
25702
25827
|
vpc=vpc,
|
|
25703
25828
|
borrow_timeout=borrow_timeout,
|
|
25829
|
+
client_password_auth_type=client_password_auth_type,
|
|
25704
25830
|
db_proxy_name=db_proxy_name,
|
|
25705
25831
|
debug_logging=debug_logging,
|
|
25706
25832
|
iam_auth=iam_auth,
|
|
@@ -33279,6 +33405,8 @@ class ServerlessClusterProps:
|
|
|
33279
33405
|
"auto_pause": "autoPause",
|
|
33280
33406
|
"max_capacity": "maxCapacity",
|
|
33281
33407
|
"min_capacity": "minCapacity",
|
|
33408
|
+
"timeout": "timeout",
|
|
33409
|
+
"timeout_action": "timeoutAction",
|
|
33282
33410
|
},
|
|
33283
33411
|
)
|
|
33284
33412
|
class ServerlessScalingOptions:
|
|
@@ -33288,12 +33416,16 @@ class ServerlessScalingOptions:
|
|
|
33288
33416
|
auto_pause: typing.Optional[_Duration_4839e8c3] = None,
|
|
33289
33417
|
max_capacity: typing.Optional[AuroraCapacityUnit] = None,
|
|
33290
33418
|
min_capacity: typing.Optional[AuroraCapacityUnit] = None,
|
|
33419
|
+
timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
33420
|
+
timeout_action: typing.Optional["TimeoutAction"] = None,
|
|
33291
33421
|
) -> None:
|
|
33292
33422
|
'''Options for configuring scaling on an Aurora Serverless cluster.
|
|
33293
33423
|
|
|
33294
33424
|
:param auto_pause: The time before an Aurora Serverless database cluster is paused. A database cluster can be paused only when it is idle (it has no connections). Auto pause time must be between 5 minutes and 1 day. If a DB cluster is paused for more than seven days, the DB cluster might be backed up with a snapshot. In this case, the DB cluster is restored when there is a request to connect to it. Set to 0 to disable Default: - automatic pause enabled after 5 minutes
|
|
33295
33425
|
:param max_capacity: The maximum capacity for an Aurora Serverless database cluster. Default: - determined by Aurora based on database engine
|
|
33296
33426
|
:param min_capacity: The minimum capacity for an Aurora Serverless database cluster. Default: - determined by Aurora based on database engine
|
|
33427
|
+
:param timeout: The amount of time that Aurora Serverless v1 tries to find a scaling point to perform seamless scaling before enforcing the timeout action. Default: - 5 minutes
|
|
33428
|
+
:param timeout_action: The action to take when the timeout is reached. Selecting ForceApplyCapacityChange will force the capacity to the specified value as soon as possible, even without a scaling point. Selecting RollbackCapacityChange will ignore the capacity change if a scaling point is not found. This is the default behavior. Default: - TimeoutAction.ROLLBACK_CAPACITY_CHANGE
|
|
33297
33429
|
|
|
33298
33430
|
:exampleMetadata: infused
|
|
33299
33431
|
|
|
@@ -33310,7 +33442,9 @@ class ServerlessScalingOptions:
|
|
|
33310
33442
|
scaling=rds.ServerlessScalingOptions(
|
|
33311
33443
|
auto_pause=Duration.minutes(10), # default is to pause after 5 minutes of idle time
|
|
33312
33444
|
min_capacity=rds.AuroraCapacityUnit.ACU_8, # default is 2 Aurora capacity units (ACUs)
|
|
33313
|
-
max_capacity=rds.AuroraCapacityUnit.ACU_32
|
|
33445
|
+
max_capacity=rds.AuroraCapacityUnit.ACU_32, # default is 16 Aurora capacity units (ACUs)
|
|
33446
|
+
timeout=Duration.seconds(100), # default is 5 minutes
|
|
33447
|
+
timeout_action=rds.TimeoutAction.FORCE_APPLY_CAPACITY_CHANGE
|
|
33314
33448
|
)
|
|
33315
33449
|
)
|
|
33316
33450
|
'''
|
|
@@ -33319,6 +33453,8 @@ class ServerlessScalingOptions:
|
|
|
33319
33453
|
check_type(argname="argument auto_pause", value=auto_pause, expected_type=type_hints["auto_pause"])
|
|
33320
33454
|
check_type(argname="argument max_capacity", value=max_capacity, expected_type=type_hints["max_capacity"])
|
|
33321
33455
|
check_type(argname="argument min_capacity", value=min_capacity, expected_type=type_hints["min_capacity"])
|
|
33456
|
+
check_type(argname="argument timeout", value=timeout, expected_type=type_hints["timeout"])
|
|
33457
|
+
check_type(argname="argument timeout_action", value=timeout_action, expected_type=type_hints["timeout_action"])
|
|
33322
33458
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
33323
33459
|
if auto_pause is not None:
|
|
33324
33460
|
self._values["auto_pause"] = auto_pause
|
|
@@ -33326,6 +33462,10 @@ class ServerlessScalingOptions:
|
|
|
33326
33462
|
self._values["max_capacity"] = max_capacity
|
|
33327
33463
|
if min_capacity is not None:
|
|
33328
33464
|
self._values["min_capacity"] = min_capacity
|
|
33465
|
+
if timeout is not None:
|
|
33466
|
+
self._values["timeout"] = timeout
|
|
33467
|
+
if timeout_action is not None:
|
|
33468
|
+
self._values["timeout_action"] = timeout_action
|
|
33329
33469
|
|
|
33330
33470
|
@builtins.property
|
|
33331
33471
|
def auto_pause(self) -> typing.Optional[_Duration_4839e8c3]:
|
|
@@ -33363,6 +33503,27 @@ class ServerlessScalingOptions:
|
|
|
33363
33503
|
result = self._values.get("min_capacity")
|
|
33364
33504
|
return typing.cast(typing.Optional[AuroraCapacityUnit], result)
|
|
33365
33505
|
|
|
33506
|
+
@builtins.property
|
|
33507
|
+
def timeout(self) -> typing.Optional[_Duration_4839e8c3]:
|
|
33508
|
+
'''The amount of time that Aurora Serverless v1 tries to find a scaling point to perform seamless scaling before enforcing the timeout action.
|
|
33509
|
+
|
|
33510
|
+
:default: - 5 minutes
|
|
33511
|
+
'''
|
|
33512
|
+
result = self._values.get("timeout")
|
|
33513
|
+
return typing.cast(typing.Optional[_Duration_4839e8c3], result)
|
|
33514
|
+
|
|
33515
|
+
@builtins.property
|
|
33516
|
+
def timeout_action(self) -> typing.Optional["TimeoutAction"]:
|
|
33517
|
+
'''The action to take when the timeout is reached.
|
|
33518
|
+
|
|
33519
|
+
Selecting ForceApplyCapacityChange will force the capacity to the specified value as soon as possible, even without a scaling point.
|
|
33520
|
+
Selecting RollbackCapacityChange will ignore the capacity change if a scaling point is not found. This is the default behavior.
|
|
33521
|
+
|
|
33522
|
+
:default: - TimeoutAction.ROLLBACK_CAPACITY_CHANGE
|
|
33523
|
+
'''
|
|
33524
|
+
result = self._values.get("timeout_action")
|
|
33525
|
+
return typing.cast(typing.Optional["TimeoutAction"], result)
|
|
33526
|
+
|
|
33366
33527
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
33367
33528
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
33368
33529
|
|
|
@@ -34580,6 +34741,18 @@ class SqlServerEngineVersion(
|
|
|
34580
34741
|
'''Version "15.00.4335.1.v1".'''
|
|
34581
34742
|
return typing.cast("SqlServerEngineVersion", jsii.sget(cls, "VER_15_00_4335_1_V1"))
|
|
34582
34743
|
|
|
34744
|
+
@jsii.python.classproperty
|
|
34745
|
+
@jsii.member(jsii_name="VER_15_00_4345_5_V1")
|
|
34746
|
+
def VER_15_00_4345_5_V1(cls) -> "SqlServerEngineVersion":
|
|
34747
|
+
'''Version "15.00.4345.5.v1".'''
|
|
34748
|
+
return typing.cast("SqlServerEngineVersion", jsii.sget(cls, "VER_15_00_4345_5_V1"))
|
|
34749
|
+
|
|
34750
|
+
@jsii.python.classproperty
|
|
34751
|
+
@jsii.member(jsii_name="VER_16")
|
|
34752
|
+
def VER_16(cls) -> "SqlServerEngineVersion":
|
|
34753
|
+
'''Version "16.00" (only a major version, without a specific minor version).'''
|
|
34754
|
+
return typing.cast("SqlServerEngineVersion", jsii.sget(cls, "VER_16"))
|
|
34755
|
+
|
|
34583
34756
|
@jsii.python.classproperty
|
|
34584
34757
|
@jsii.member(jsii_name="VER_16_00_4085_2_V1")
|
|
34585
34758
|
def VER_16_00_4085_2_V1(cls) -> "SqlServerEngineVersion":
|
|
@@ -35113,6 +35286,46 @@ class SubnetGroupProps:
|
|
|
35113
35286
|
)
|
|
35114
35287
|
|
|
35115
35288
|
|
|
35289
|
+
@jsii.enum(jsii_type="aws-cdk-lib.aws_rds.TimeoutAction")
|
|
35290
|
+
class TimeoutAction(enum.Enum):
|
|
35291
|
+
'''TimeoutAction defines the action to take when a timeout occurs if a scaling point is not found.
|
|
35292
|
+
|
|
35293
|
+
:see: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v1.how-it-works.html#aurora-serverless.how-it-works.timeout-action
|
|
35294
|
+
:exampleMetadata: infused
|
|
35295
|
+
|
|
35296
|
+
Example::
|
|
35297
|
+
|
|
35298
|
+
# vpc: ec2.Vpc
|
|
35299
|
+
|
|
35300
|
+
|
|
35301
|
+
cluster = rds.ServerlessCluster(self, "AnotherCluster",
|
|
35302
|
+
engine=rds.DatabaseClusterEngine.AURORA_POSTGRESQL,
|
|
35303
|
+
copy_tags_to_snapshot=True, # whether to save the cluster tags when creating the snapshot. Default is 'true'
|
|
35304
|
+
parameter_group=rds.ParameterGroup.from_parameter_group_name(self, "ParameterGroup", "default.aurora-postgresql10"),
|
|
35305
|
+
vpc=vpc,
|
|
35306
|
+
scaling=rds.ServerlessScalingOptions(
|
|
35307
|
+
auto_pause=Duration.minutes(10), # default is to pause after 5 minutes of idle time
|
|
35308
|
+
min_capacity=rds.AuroraCapacityUnit.ACU_8, # default is 2 Aurora capacity units (ACUs)
|
|
35309
|
+
max_capacity=rds.AuroraCapacityUnit.ACU_32, # default is 16 Aurora capacity units (ACUs)
|
|
35310
|
+
timeout=Duration.seconds(100), # default is 5 minutes
|
|
35311
|
+
timeout_action=rds.TimeoutAction.FORCE_APPLY_CAPACITY_CHANGE
|
|
35312
|
+
)
|
|
35313
|
+
)
|
|
35314
|
+
'''
|
|
35315
|
+
|
|
35316
|
+
FORCE_APPLY_CAPACITY_CHANGE = "FORCE_APPLY_CAPACITY_CHANGE"
|
|
35317
|
+
'''FORCE_APPLY_CAPACITY_CHANGE sets the capacity to the specified value as soon as possible.
|
|
35318
|
+
|
|
35319
|
+
Transactions may be interrupted, and connections to temporary tables and locks may be dropped.
|
|
35320
|
+
Only select this option if your application can recover from dropped connections or incomplete transactions.
|
|
35321
|
+
'''
|
|
35322
|
+
ROLLBACK_CAPACITY_CHANGE = "ROLLBACK_CAPACITY_CHANGE"
|
|
35323
|
+
'''ROLLBACK_CAPACITY_CHANGE ignores the capacity change if a scaling point is not found.
|
|
35324
|
+
|
|
35325
|
+
This is the default behavior.
|
|
35326
|
+
'''
|
|
35327
|
+
|
|
35328
|
+
|
|
35116
35329
|
@jsii.implements(IClusterInstance)
|
|
35117
35330
|
class ClusterInstance(
|
|
35118
35331
|
metaclass=jsii.JSIIMeta,
|
|
@@ -35353,6 +35566,7 @@ class DatabaseClusterBase(
|
|
|
35353
35566
|
secrets: typing.Sequence[_ISecret_6e020e6a],
|
|
35354
35567
|
vpc: _IVpc_f30d5663,
|
|
35355
35568
|
borrow_timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
35569
|
+
client_password_auth_type: typing.Optional[ClientPasswordAuthType] = None,
|
|
35356
35570
|
db_proxy_name: typing.Optional[builtins.str] = None,
|
|
35357
35571
|
debug_logging: typing.Optional[builtins.bool] = None,
|
|
35358
35572
|
iam_auth: typing.Optional[builtins.bool] = None,
|
|
@@ -35372,6 +35586,7 @@ class DatabaseClusterBase(
|
|
|
35372
35586
|
:param secrets: The secret that the proxy uses to authenticate to the RDS DB instance or Aurora DB cluster. These secrets are stored within Amazon Secrets Manager. One or more secrets are required.
|
|
35373
35587
|
:param vpc: The VPC to associate with the new proxy.
|
|
35374
35588
|
:param borrow_timeout: The duration for a proxy to wait for a connection to become available in the connection pool. Only applies when the proxy has opened its maximum number of connections and all connections are busy with client sessions. Value must be between 1 second and 1 hour, or ``Duration.seconds(0)`` to represent unlimited. Default: cdk.Duration.seconds(120)
|
|
35589
|
+
:param client_password_auth_type: Specifies the details of authentication used by a proxy to log in as a specific database user. Default: - CloudFormation defaults will apply given the specified database engine.
|
|
35375
35590
|
:param db_proxy_name: The identifier for the proxy. This name must be unique for all proxies owned by your AWS account in the specified AWS Region. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it can't end with a hyphen or contain two consecutive hyphens. Default: - Generated by CloudFormation (recommended)
|
|
35376
35591
|
:param debug_logging: Whether the proxy includes detailed information about SQL statements in its logs. This information helps you to debug issues involving SQL behavior or the performance and scalability of the proxy connections. The debug information includes the text of SQL statements that you submit through the proxy. Thus, only enable this setting when needed for debugging, and only when you have security measures in place to safeguard any sensitive information that appears in the logs. Default: false
|
|
35377
35592
|
:param iam_auth: Whether to require or disallow AWS Identity and Access Management (IAM) authentication for connections to the proxy. Default: false
|
|
@@ -35392,6 +35607,7 @@ class DatabaseClusterBase(
|
|
|
35392
35607
|
secrets=secrets,
|
|
35393
35608
|
vpc=vpc,
|
|
35394
35609
|
borrow_timeout=borrow_timeout,
|
|
35610
|
+
client_password_auth_type=client_password_auth_type,
|
|
35395
35611
|
db_proxy_name=db_proxy_name,
|
|
35396
35612
|
debug_logging=debug_logging,
|
|
35397
35613
|
iam_auth=iam_auth,
|
|
@@ -36694,6 +36910,7 @@ class DatabaseInstanceBase(
|
|
|
36694
36910
|
secrets: typing.Sequence[_ISecret_6e020e6a],
|
|
36695
36911
|
vpc: _IVpc_f30d5663,
|
|
36696
36912
|
borrow_timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
36913
|
+
client_password_auth_type: typing.Optional[ClientPasswordAuthType] = None,
|
|
36697
36914
|
db_proxy_name: typing.Optional[builtins.str] = None,
|
|
36698
36915
|
debug_logging: typing.Optional[builtins.bool] = None,
|
|
36699
36916
|
iam_auth: typing.Optional[builtins.bool] = None,
|
|
@@ -36713,6 +36930,7 @@ class DatabaseInstanceBase(
|
|
|
36713
36930
|
:param secrets: The secret that the proxy uses to authenticate to the RDS DB instance or Aurora DB cluster. These secrets are stored within Amazon Secrets Manager. One or more secrets are required.
|
|
36714
36931
|
:param vpc: The VPC to associate with the new proxy.
|
|
36715
36932
|
:param borrow_timeout: The duration for a proxy to wait for a connection to become available in the connection pool. Only applies when the proxy has opened its maximum number of connections and all connections are busy with client sessions. Value must be between 1 second and 1 hour, or ``Duration.seconds(0)`` to represent unlimited. Default: cdk.Duration.seconds(120)
|
|
36933
|
+
:param client_password_auth_type: Specifies the details of authentication used by a proxy to log in as a specific database user. Default: - CloudFormation defaults will apply given the specified database engine.
|
|
36716
36934
|
:param db_proxy_name: The identifier for the proxy. This name must be unique for all proxies owned by your AWS account in the specified AWS Region. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it can't end with a hyphen or contain two consecutive hyphens. Default: - Generated by CloudFormation (recommended)
|
|
36717
36935
|
:param debug_logging: Whether the proxy includes detailed information about SQL statements in its logs. This information helps you to debug issues involving SQL behavior or the performance and scalability of the proxy connections. The debug information includes the text of SQL statements that you submit through the proxy. Thus, only enable this setting when needed for debugging, and only when you have security measures in place to safeguard any sensitive information that appears in the logs. Default: false
|
|
36718
36936
|
:param iam_auth: Whether to require or disallow AWS Identity and Access Management (IAM) authentication for connections to the proxy. Default: false
|
|
@@ -36733,6 +36951,7 @@ class DatabaseInstanceBase(
|
|
|
36733
36951
|
secrets=secrets,
|
|
36734
36952
|
vpc=vpc,
|
|
36735
36953
|
borrow_timeout=borrow_timeout,
|
|
36954
|
+
client_password_auth_type=client_password_auth_type,
|
|
36736
36955
|
db_proxy_name=db_proxy_name,
|
|
36737
36956
|
debug_logging=debug_logging,
|
|
36738
36957
|
iam_auth=iam_auth,
|
|
@@ -39792,11 +40011,9 @@ class DatabaseProxy(
|
|
|
39792
40011
|
proxy = rds.DatabaseProxy(self, "Proxy",
|
|
39793
40012
|
proxy_target=rds.ProxyTarget.from_cluster(cluster),
|
|
39794
40013
|
secrets=[cluster.secret],
|
|
39795
|
-
vpc=vpc
|
|
40014
|
+
vpc=vpc,
|
|
40015
|
+
client_password_auth_type=rds.ClientPasswordAuthType.MYSQL_NATIVE_PASSWORD
|
|
39796
40016
|
)
|
|
39797
|
-
|
|
39798
|
-
role = iam.Role(self, "DBProxyRole", assumed_by=iam.AccountPrincipal(self.account))
|
|
39799
|
-
proxy.grant_connect(role, "admin")
|
|
39800
40017
|
'''
|
|
39801
40018
|
|
|
39802
40019
|
def __init__(
|
|
@@ -39808,6 +40025,7 @@ class DatabaseProxy(
|
|
|
39808
40025
|
secrets: typing.Sequence[_ISecret_6e020e6a],
|
|
39809
40026
|
vpc: _IVpc_f30d5663,
|
|
39810
40027
|
borrow_timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
40028
|
+
client_password_auth_type: typing.Optional[ClientPasswordAuthType] = None,
|
|
39811
40029
|
db_proxy_name: typing.Optional[builtins.str] = None,
|
|
39812
40030
|
debug_logging: typing.Optional[builtins.bool] = None,
|
|
39813
40031
|
iam_auth: typing.Optional[builtins.bool] = None,
|
|
@@ -39828,6 +40046,7 @@ class DatabaseProxy(
|
|
|
39828
40046
|
:param secrets: The secret that the proxy uses to authenticate to the RDS DB instance or Aurora DB cluster. These secrets are stored within Amazon Secrets Manager. One or more secrets are required.
|
|
39829
40047
|
:param vpc: The VPC to associate with the new proxy.
|
|
39830
40048
|
:param borrow_timeout: The duration for a proxy to wait for a connection to become available in the connection pool. Only applies when the proxy has opened its maximum number of connections and all connections are busy with client sessions. Value must be between 1 second and 1 hour, or ``Duration.seconds(0)`` to represent unlimited. Default: cdk.Duration.seconds(120)
|
|
40049
|
+
:param client_password_auth_type: Specifies the details of authentication used by a proxy to log in as a specific database user. Default: - CloudFormation defaults will apply given the specified database engine.
|
|
39831
40050
|
:param db_proxy_name: The identifier for the proxy. This name must be unique for all proxies owned by your AWS account in the specified AWS Region. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it can't end with a hyphen or contain two consecutive hyphens. Default: - Generated by CloudFormation (recommended)
|
|
39832
40051
|
:param debug_logging: Whether the proxy includes detailed information about SQL statements in its logs. This information helps you to debug issues involving SQL behavior or the performance and scalability of the proxy connections. The debug information includes the text of SQL statements that you submit through the proxy. Thus, only enable this setting when needed for debugging, and only when you have security measures in place to safeguard any sensitive information that appears in the logs. Default: false
|
|
39833
40052
|
:param iam_auth: Whether to require or disallow AWS Identity and Access Management (IAM) authentication for connections to the proxy. Default: false
|
|
@@ -39850,6 +40069,7 @@ class DatabaseProxy(
|
|
|
39850
40069
|
secrets=secrets,
|
|
39851
40070
|
vpc=vpc,
|
|
39852
40071
|
borrow_timeout=borrow_timeout,
|
|
40072
|
+
client_password_auth_type=client_password_auth_type,
|
|
39853
40073
|
db_proxy_name=db_proxy_name,
|
|
39854
40074
|
debug_logging=debug_logging,
|
|
39855
40075
|
iam_auth=iam_auth,
|
|
@@ -41006,6 +41226,7 @@ __all__ = [
|
|
|
41006
41226
|
"CfnGlobalClusterProps",
|
|
41007
41227
|
"CfnOptionGroup",
|
|
41008
41228
|
"CfnOptionGroupProps",
|
|
41229
|
+
"ClientPasswordAuthType",
|
|
41009
41230
|
"ClusterEngineBindOptions",
|
|
41010
41231
|
"ClusterEngineConfig",
|
|
41011
41232
|
"ClusterEngineFeatures",
|
|
@@ -41111,6 +41332,7 @@ __all__ = [
|
|
|
41111
41332
|
"StorageType",
|
|
41112
41333
|
"SubnetGroup",
|
|
41113
41334
|
"SubnetGroupProps",
|
|
41335
|
+
"TimeoutAction",
|
|
41114
41336
|
]
|
|
41115
41337
|
|
|
41116
41338
|
publication.publish()
|
|
@@ -43765,6 +43987,7 @@ def _typecheckingstub__b1364fc4a6f282f0983046855ebcccd28a886dcf87529b7c146731570
|
|
|
43765
43987
|
secrets: typing.Sequence[_ISecret_6e020e6a],
|
|
43766
43988
|
vpc: _IVpc_f30d5663,
|
|
43767
43989
|
borrow_timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
43990
|
+
client_password_auth_type: typing.Optional[ClientPasswordAuthType] = None,
|
|
43768
43991
|
db_proxy_name: typing.Optional[builtins.str] = None,
|
|
43769
43992
|
debug_logging: typing.Optional[builtins.bool] = None,
|
|
43770
43993
|
iam_auth: typing.Optional[builtins.bool] = None,
|
|
@@ -43786,6 +44009,7 @@ def _typecheckingstub__9c2a07edd3cc888abd237aad605bd4ef9d0dcee9338dbfb923f0d5488
|
|
|
43786
44009
|
secrets: typing.Sequence[_ISecret_6e020e6a],
|
|
43787
44010
|
vpc: _IVpc_f30d5663,
|
|
43788
44011
|
borrow_timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
44012
|
+
client_password_auth_type: typing.Optional[ClientPasswordAuthType] = None,
|
|
43789
44013
|
db_proxy_name: typing.Optional[builtins.str] = None,
|
|
43790
44014
|
debug_logging: typing.Optional[builtins.bool] = None,
|
|
43791
44015
|
iam_auth: typing.Optional[builtins.bool] = None,
|
|
@@ -43867,6 +44091,7 @@ def _typecheckingstub__cc014f052070ff8221cfea3705aabe02b81605d77d8c0391cfd1b437b
|
|
|
43867
44091
|
secrets: typing.Sequence[_ISecret_6e020e6a],
|
|
43868
44092
|
vpc: _IVpc_f30d5663,
|
|
43869
44093
|
borrow_timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
44094
|
+
client_password_auth_type: typing.Optional[ClientPasswordAuthType] = None,
|
|
43870
44095
|
db_proxy_name: typing.Optional[builtins.str] = None,
|
|
43871
44096
|
debug_logging: typing.Optional[builtins.bool] = None,
|
|
43872
44097
|
iam_auth: typing.Optional[builtins.bool] = None,
|
|
@@ -43911,6 +44136,7 @@ def _typecheckingstub__82275f6c142bc7bc61c7b1dbb8e8fef70822986e2806e0e0d4173aeb1
|
|
|
43911
44136
|
secrets: typing.Sequence[_ISecret_6e020e6a],
|
|
43912
44137
|
vpc: _IVpc_f30d5663,
|
|
43913
44138
|
borrow_timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
44139
|
+
client_password_auth_type: typing.Optional[ClientPasswordAuthType] = None,
|
|
43914
44140
|
db_proxy_name: typing.Optional[builtins.str] = None,
|
|
43915
44141
|
debug_logging: typing.Optional[builtins.bool] = None,
|
|
43916
44142
|
iam_auth: typing.Optional[builtins.bool] = None,
|
|
@@ -44456,6 +44682,8 @@ def _typecheckingstub__9a1f89c0c65d19c59a39815eed12ef2c6e9e165d64a4cae0e66976870
|
|
|
44456
44682
|
auto_pause: typing.Optional[_Duration_4839e8c3] = None,
|
|
44457
44683
|
max_capacity: typing.Optional[AuroraCapacityUnit] = None,
|
|
44458
44684
|
min_capacity: typing.Optional[AuroraCapacityUnit] = None,
|
|
44685
|
+
timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
44686
|
+
timeout_action: typing.Optional[TimeoutAction] = None,
|
|
44459
44687
|
) -> None:
|
|
44460
44688
|
"""Type checking stubs"""
|
|
44461
44689
|
pass
|
|
@@ -44662,6 +44890,7 @@ def _typecheckingstub__9e7b9f9993460ed4933effe80545b41147c8e758c88df339423fdef3e
|
|
|
44662
44890
|
secrets: typing.Sequence[_ISecret_6e020e6a],
|
|
44663
44891
|
vpc: _IVpc_f30d5663,
|
|
44664
44892
|
borrow_timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
44893
|
+
client_password_auth_type: typing.Optional[ClientPasswordAuthType] = None,
|
|
44665
44894
|
db_proxy_name: typing.Optional[builtins.str] = None,
|
|
44666
44895
|
debug_logging: typing.Optional[builtins.bool] = None,
|
|
44667
44896
|
iam_auth: typing.Optional[builtins.bool] = None,
|
|
@@ -44801,6 +45030,7 @@ def _typecheckingstub__1a570d3e3410884069b8a67a8efdb043b454116fb50145140aeead995
|
|
|
44801
45030
|
secrets: typing.Sequence[_ISecret_6e020e6a],
|
|
44802
45031
|
vpc: _IVpc_f30d5663,
|
|
44803
45032
|
borrow_timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
45033
|
+
client_password_auth_type: typing.Optional[ClientPasswordAuthType] = None,
|
|
44804
45034
|
db_proxy_name: typing.Optional[builtins.str] = None,
|
|
44805
45035
|
debug_logging: typing.Optional[builtins.bool] = None,
|
|
44806
45036
|
iam_auth: typing.Optional[builtins.bool] = None,
|
|
@@ -45126,6 +45356,7 @@ def _typecheckingstub__15a5a083e6c872f4fd6b153de10a2f345844db34e421f370cd8d33bc8
|
|
|
45126
45356
|
secrets: typing.Sequence[_ISecret_6e020e6a],
|
|
45127
45357
|
vpc: _IVpc_f30d5663,
|
|
45128
45358
|
borrow_timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
45359
|
+
client_password_auth_type: typing.Optional[ClientPasswordAuthType] = None,
|
|
45129
45360
|
db_proxy_name: typing.Optional[builtins.str] = None,
|
|
45130
45361
|
debug_logging: typing.Optional[builtins.bool] = None,
|
|
45131
45362
|
iam_auth: typing.Optional[builtins.bool] = None,
|