aws-cdk-lib 2.216.0__py3-none-any.whl → 2.218.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 +60 -28
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.216.0.jsii.tgz → aws-cdk-lib@2.218.0.jsii.tgz} +0 -0
- aws_cdk/aws_acmpca/__init__.py +1 -1
- aws_cdk/aws_amazonmq/__init__.py +87 -0
- aws_cdk/aws_amplify/__init__.py +8 -8
- aws_cdk/aws_apigateway/__init__.py +229 -6
- aws_cdk/aws_apigatewayv2/__init__.py +60 -2
- aws_cdk/aws_appconfig/__init__.py +145 -0
- aws_cdk/aws_appflow/__init__.py +116 -0
- aws_cdk/aws_appintegrations/__init__.py +116 -0
- aws_cdk/aws_appmesh/__init__.py +12 -12
- aws_cdk/aws_appstream/__init__.py +101 -4
- aws_cdk/aws_appsync/__init__.py +61 -3
- aws_cdk/aws_apptest/__init__.py +58 -0
- aws_cdk/aws_aps/__init__.py +459 -0
- aws_cdk/aws_athena/__init__.py +58 -0
- aws_cdk/aws_auditmanager/__init__.py +58 -0
- aws_cdk/aws_backup/__init__.py +145 -0
- aws_cdk/aws_batch/__init__.py +64 -2
- aws_cdk/aws_bedrock/__init__.py +277 -0
- aws_cdk/aws_bedrockagentcore/__init__.py +3178 -0
- aws_cdk/aws_cassandra/__init__.py +29 -0
- aws_cdk/aws_certificatemanager/__init__.py +38 -10
- aws_cdk/aws_cleanrooms/__init__.py +163 -0
- aws_cdk/aws_cloudformation/__init__.py +14 -14
- aws_cdk/aws_cloudfront/__init__.py +69 -8
- aws_cdk/aws_cloudfront_origins/__init__.py +87 -7
- aws_cdk/aws_cloudtrail/__init__.py +58 -0
- aws_cdk/aws_cloudwatch/__init__.py +145 -0
- aws_cdk/aws_codebuild/__init__.py +115 -12
- aws_cdk/aws_codedeploy/__init__.py +29 -0
- aws_cdk/aws_codeguruprofiler/__init__.py +58 -0
- aws_cdk/aws_codepipeline/__init__.py +29 -0
- aws_cdk/aws_cognito/__init__.py +89 -2
- aws_cdk/aws_config/__init__.py +58 -0
- aws_cdk/aws_connect/__init__.py +138 -10
- aws_cdk/aws_cur/__init__.py +86 -3
- aws_cdk/aws_customerprofiles/__init__.py +58 -0
- aws_cdk/aws_datapipeline/__init__.py +29 -0
- aws_cdk/aws_datasync/__init__.py +351 -0
- aws_cdk/aws_datazone/__init__.py +733 -2
- aws_cdk/aws_directoryservice/__init__.py +29 -0
- aws_cdk/aws_dms/__init__.py +58 -0
- aws_cdk/aws_docdb/__init__.py +153 -25
- aws_cdk/aws_dsql/__init__.py +29 -0
- aws_cdk/aws_dynamodb/__init__.py +181 -0
- aws_cdk/aws_ec2/__init__.py +2031 -10
- aws_cdk/aws_ecr/__init__.py +116 -0
- aws_cdk/aws_ecs/__init__.py +142 -12
- aws_cdk/aws_efs/__init__.py +116 -0
- aws_cdk/aws_eks/__init__.py +118 -0
- aws_cdk/aws_elasticache/__init__.py +261 -0
- aws_cdk/aws_elasticbeanstalk/__init__.py +29 -0
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +48 -0
- aws_cdk/aws_elasticsearch/__init__.py +2 -2
- aws_cdk/aws_emr/__init__.py +87 -0
- aws_cdk/aws_emrcontainers/__init__.py +58 -0
- aws_cdk/aws_emrserverless/__init__.py +58 -0
- aws_cdk/aws_entityresolution/__init__.py +145 -0
- aws_cdk/aws_events/__init__.py +290 -0
- aws_cdk/aws_evs/__init__.py +58 -4
- aws_cdk/aws_finspace/__init__.py +58 -0
- aws_cdk/aws_gamelift/__init__.py +507 -56
- aws_cdk/aws_glue/__init__.py +145 -0
- aws_cdk/aws_greengrass/__init__.py +464 -0
- aws_cdk/aws_groundstation/__init__.py +87 -0
- aws_cdk/aws_guardduty/__init__.py +87 -0
- aws_cdk/aws_healthimaging/__init__.py +58 -0
- aws_cdk/aws_healthlake/__init__.py +29 -0
- aws_cdk/aws_iam/__init__.py +1 -1
- aws_cdk/aws_internetmonitor/__init__.py +58 -0
- aws_cdk/aws_iot/__init__.py +957 -0
- aws_cdk/aws_iotanalytics/__init__.py +116 -0
- aws_cdk/aws_iotcoredeviceadvisor/__init__.py +93 -38
- aws_cdk/aws_iotevents/__init__.py +87 -0
- aws_cdk/aws_iotfleethub/__init__.py +58 -0
- aws_cdk/aws_iotfleetwise/__init__.py +116 -0
- aws_cdk/aws_iotsitewise/__init__.py +568 -111
- aws_cdk/aws_iottwinmaker/__init__.py +145 -0
- aws_cdk/aws_iotwireless/__init__.py +464 -0
- aws_cdk/aws_kendra/__init__.py +116 -0
- aws_cdk/aws_kinesis/__init__.py +58 -0
- aws_cdk/aws_kinesisanalytics/__init__.py +31 -0
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +29 -0
- aws_cdk/aws_kinesisfirehose/__init__.py +58 -0
- aws_cdk/aws_kinesisvideo/__init__.py +29 -0
- aws_cdk/aws_kms/__init__.py +68 -2
- aws_cdk/aws_lambda/__init__.py +104 -0
- aws_cdk/aws_lex/__init__.py +29 -0
- aws_cdk/aws_location/__init__.py +348 -0
- aws_cdk/aws_logs/__init__.py +232 -0
- aws_cdk/aws_lookoutequipment/__init__.py +29 -0
- aws_cdk/aws_lookoutvision/__init__.py +58 -0
- aws_cdk/aws_managedblockchain/__init__.py +145 -0
- aws_cdk/aws_medialive/__init__.py +562 -0
- aws_cdk/aws_mediapackage/__init__.py +2 -2
- aws_cdk/aws_mediatailor/__init__.py +174 -0
- aws_cdk/aws_memorydb/__init__.py +203 -0
- aws_cdk/aws_mwaa/__init__.py +58 -0
- aws_cdk/aws_networkfirewall/__init__.py +10 -10
- aws_cdk/aws_networkmanager/__init__.py +92 -0
- aws_cdk/aws_nimblestudio/__init__.py +29 -0
- aws_cdk/aws_odb/__init__.py +2082 -195
- aws_cdk/aws_omics/__init__.py +1520 -103
- aws_cdk/aws_opensearchserverless/__init__.py +222 -21
- aws_cdk/aws_opensearchservice/__init__.py +5 -4
- aws_cdk/aws_opsworks/__init__.py +29 -0
- aws_cdk/aws_opsworkscm/__init__.py +29 -0
- aws_cdk/aws_organizations/__init__.py +116 -0
- aws_cdk/aws_panorama/__init__.py +116 -0
- aws_cdk/aws_pcs/__init__.py +9 -9
- aws_cdk/aws_pinpoint/__init__.py +116 -0
- aws_cdk/aws_qbusiness/__init__.py +232 -0
- aws_cdk/aws_qldb/__init__.py +29 -0
- aws_cdk/aws_quicksight/__init__.py +295 -3
- aws_cdk/aws_rds/__init__.py +402 -58
- aws_cdk/aws_redshift/__init__.py +29 -0
- aws_cdk/aws_rekognition/__init__.py +87 -0
- aws_cdk/aws_resourcegroups/__init__.py +58 -0
- aws_cdk/aws_rolesanywhere/__init__.py +145 -0
- aws_cdk/aws_route53recoveryreadiness/__init__.py +58 -0
- aws_cdk/aws_route53resolver/__init__.py +29 -0
- aws_cdk/aws_s3/__init__.py +116 -0
- aws_cdk/aws_s3express/__init__.py +116 -0
- aws_cdk/aws_sagemaker/__init__.py +715 -1
- aws_cdk/aws_scheduler/__init__.py +29 -0
- aws_cdk/aws_secretsmanager/__init__.py +29 -0
- aws_cdk/aws_servicecatalog/__init__.py +191 -154
- aws_cdk/aws_servicecatalogappregistry/__init__.py +116 -0
- aws_cdk/aws_servicediscovery/__init__.py +58 -0
- aws_cdk/aws_ses/__init__.py +261 -0
- aws_cdk/aws_simspaceweaver/__init__.py +29 -0
- aws_cdk/aws_smsvoice/__init__.py +5218 -0
- aws_cdk/aws_ssm/__init__.py +87 -0
- aws_cdk/aws_synthetics/__init__.py +29 -0
- aws_cdk/aws_timestream/__init__.py +87 -0
- aws_cdk/aws_transfer/__init__.py +274 -12
- aws_cdk/aws_verifiedpermissions/__init__.py +59 -1
- aws_cdk/aws_voiceid/__init__.py +29 -0
- aws_cdk/aws_wisdom/__init__.py +232 -0
- aws_cdk/aws_workspaces/__init__.py +58 -0
- aws_cdk/aws_workspacesinstances/__init__.py +670 -2
- aws_cdk/aws_workspacesthinclient/__init__.py +58 -0
- aws_cdk/pipelines/__init__.py +5 -1
- {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.218.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.218.0.dist-info}/RECORD +151 -149
- {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.218.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.218.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.218.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.218.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_rds/__init__.py
CHANGED
|
@@ -5272,6 +5272,7 @@ class CfnDBClusterParameterGroupProps:
|
|
|
5272
5272
|
"iops": "iops",
|
|
5273
5273
|
"kms_key_id": "kmsKeyId",
|
|
5274
5274
|
"manage_master_user_password": "manageMasterUserPassword",
|
|
5275
|
+
"master_user_authentication_type": "masterUserAuthenticationType",
|
|
5275
5276
|
"master_username": "masterUsername",
|
|
5276
5277
|
"master_user_password": "masterUserPassword",
|
|
5277
5278
|
"master_user_secret": "masterUserSecret",
|
|
@@ -5338,6 +5339,7 @@ class CfnDBClusterProps:
|
|
|
5338
5339
|
iops: typing.Optional[jsii.Number] = None,
|
|
5339
5340
|
kms_key_id: typing.Optional[builtins.str] = None,
|
|
5340
5341
|
manage_master_user_password: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
5342
|
+
master_user_authentication_type: typing.Optional[builtins.str] = None,
|
|
5341
5343
|
master_username: typing.Optional[builtins.str] = None,
|
|
5342
5344
|
master_user_password: typing.Optional[builtins.str] = None,
|
|
5343
5345
|
master_user_secret: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDBCluster.MasterUserSecretProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -5401,6 +5403,7 @@ class CfnDBClusterProps:
|
|
|
5401
5403
|
:param iops: The amount of Provisioned IOPS (input/output operations per second) to be initially allocated for each DB instance in the Multi-AZ DB cluster. For information about valid IOPS values, see `Provisioned IOPS storage <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html#USER_PIOPS>`_ in the *Amazon RDS User Guide* . This setting is required to create a Multi-AZ DB cluster. Valid for Cluster Type: Multi-AZ DB clusters only Constraints: - Must be a multiple between .5 and 50 of the storage amount for the DB cluster.
|
|
5402
5404
|
:param kms_key_id: The Amazon Resource Name (ARN) of the AWS KMS key that is used to encrypt the database instances in the DB cluster, such as ``arn:aws:kms:us-east-1:012345678910:key/abcd1234-a123-456a-a12b-a123b4cd56ef`` . If you enable the ``StorageEncrypted`` property but don't specify this property, the default KMS key is used. If you specify this property, you must set the ``StorageEncrypted`` property to ``true`` . If you specify the ``SnapshotIdentifier`` property, the ``StorageEncrypted`` property value is inherited from the snapshot, and if the DB cluster is encrypted, the specified ``KmsKeyId`` property is used. If you create a read replica of an encrypted DB cluster in another AWS Region, make sure to set ``KmsKeyId`` to a KMS key identifier that is valid in the destination AWS Region. This KMS key is used to encrypt the read replica in that AWS Region. Valid for: Aurora DB clusters and Multi-AZ DB clusters
|
|
5403
5405
|
:param manage_master_user_password: Specifies whether to manage the master user password with AWS Secrets Manager. For more information, see `Password management with AWS Secrets Manager <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html>`_ in the *Amazon RDS User Guide* and `Password management with AWS Secrets Manager <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/rds-secrets-manager.html>`_ in the *Amazon Aurora User Guide.* Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters Constraints: - Can't manage the master user password with AWS Secrets Manager if ``MasterUserPassword`` is specified.
|
|
5406
|
+
:param master_user_authentication_type: Specifies the authentication type for the master user. With IAM master user authentication, you can configure the master DB user with IAM database authentication when you create a DB cluster. You can specify one of the following values: - ``password`` - Use standard database authentication with a password. - ``iam-db-auth`` - Use IAM database authentication for the master user. Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters This option is only valid for RDS for PostgreSQL and Aurora PostgreSQL engines.
|
|
5404
5407
|
:param master_username: The name of the master user for the DB cluster. .. epigraph:: If you specify the ``SourceDBClusterIdentifier`` , ``SnapshotIdentifier`` , or ``GlobalClusterIdentifier`` property, don't specify this property. The value is inherited from the source DB cluster, the snapshot, or the primary DB cluster for the global database cluster, respectively. Valid for: Aurora DB clusters and Multi-AZ DB clusters
|
|
5405
5408
|
:param master_user_password: The master password for the DB instance. .. epigraph:: If you specify the ``SourceDBClusterIdentifier`` , ``SnapshotIdentifier`` , or ``GlobalClusterIdentifier`` property, don't specify this property. The value is inherited from the source DB cluster, the snapshot, or the primary DB cluster for the global database cluster, respectively. Valid for: Aurora DB clusters and Multi-AZ DB clusters
|
|
5406
5409
|
:param master_user_secret: The secret managed by RDS in AWS Secrets Manager for the master user password. .. epigraph:: When you restore a DB cluster from a snapshot, Amazon RDS generates a new secret instead of reusing the secret specified in the ``SecretArn`` property. This ensures that the restored DB cluster is securely managed with a dedicated secret. To maintain consistent integration with your application, you might need to update resource configurations to reference the newly created secret. For more information, see `Password management with AWS Secrets Manager <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html>`_ in the *Amazon RDS User Guide* and `Password management with AWS Secrets Manager <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/rds-secrets-manager.html>`_ in the *Amazon Aurora User Guide.*
|
|
@@ -5477,6 +5480,7 @@ class CfnDBClusterProps:
|
|
|
5477
5480
|
iops=123,
|
|
5478
5481
|
kms_key_id="kmsKeyId",
|
|
5479
5482
|
manage_master_user_password=False,
|
|
5483
|
+
master_user_authentication_type="masterUserAuthenticationType",
|
|
5480
5484
|
master_username="masterUsername",
|
|
5481
5485
|
master_user_password="masterUserPassword",
|
|
5482
5486
|
master_user_secret=rds.CfnDBCluster.MasterUserSecretProperty(
|
|
@@ -5558,6 +5562,7 @@ class CfnDBClusterProps:
|
|
|
5558
5562
|
check_type(argname="argument iops", value=iops, expected_type=type_hints["iops"])
|
|
5559
5563
|
check_type(argname="argument kms_key_id", value=kms_key_id, expected_type=type_hints["kms_key_id"])
|
|
5560
5564
|
check_type(argname="argument manage_master_user_password", value=manage_master_user_password, expected_type=type_hints["manage_master_user_password"])
|
|
5565
|
+
check_type(argname="argument master_user_authentication_type", value=master_user_authentication_type, expected_type=type_hints["master_user_authentication_type"])
|
|
5561
5566
|
check_type(argname="argument master_username", value=master_username, expected_type=type_hints["master_username"])
|
|
5562
5567
|
check_type(argname="argument master_user_password", value=master_user_password, expected_type=type_hints["master_user_password"])
|
|
5563
5568
|
check_type(argname="argument master_user_secret", value=master_user_secret, expected_type=type_hints["master_user_secret"])
|
|
@@ -5652,6 +5657,8 @@ class CfnDBClusterProps:
|
|
|
5652
5657
|
self._values["kms_key_id"] = kms_key_id
|
|
5653
5658
|
if manage_master_user_password is not None:
|
|
5654
5659
|
self._values["manage_master_user_password"] = manage_master_user_password
|
|
5660
|
+
if master_user_authentication_type is not None:
|
|
5661
|
+
self._values["master_user_authentication_type"] = master_user_authentication_type
|
|
5655
5662
|
if master_username is not None:
|
|
5656
5663
|
self._values["master_username"] = master_username
|
|
5657
5664
|
if master_user_password is not None:
|
|
@@ -6277,6 +6284,26 @@ class CfnDBClusterProps:
|
|
|
6277
6284
|
result = self._values.get("manage_master_user_password")
|
|
6278
6285
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
6279
6286
|
|
|
6287
|
+
@builtins.property
|
|
6288
|
+
def master_user_authentication_type(self) -> typing.Optional[builtins.str]:
|
|
6289
|
+
'''Specifies the authentication type for the master user.
|
|
6290
|
+
|
|
6291
|
+
With IAM master user authentication, you can configure the master DB user with IAM database authentication when you create a DB cluster.
|
|
6292
|
+
|
|
6293
|
+
You can specify one of the following values:
|
|
6294
|
+
|
|
6295
|
+
- ``password`` - Use standard database authentication with a password.
|
|
6296
|
+
- ``iam-db-auth`` - Use IAM database authentication for the master user.
|
|
6297
|
+
|
|
6298
|
+
Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters
|
|
6299
|
+
|
|
6300
|
+
This option is only valid for RDS for PostgreSQL and Aurora PostgreSQL engines.
|
|
6301
|
+
|
|
6302
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-masteruserauthenticationtype
|
|
6303
|
+
'''
|
|
6304
|
+
result = self._values.get("master_user_authentication_type")
|
|
6305
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
6306
|
+
|
|
6280
6307
|
@builtins.property
|
|
6281
6308
|
def master_username(self) -> typing.Optional[builtins.str]:
|
|
6282
6309
|
'''The name of the master user for the DB cluster.
|
|
@@ -6825,6 +6852,7 @@ class CfnDBClusterProps:
|
|
|
6825
6852
|
"kms_key_id": "kmsKeyId",
|
|
6826
6853
|
"license_model": "licenseModel",
|
|
6827
6854
|
"manage_master_user_password": "manageMasterUserPassword",
|
|
6855
|
+
"master_user_authentication_type": "masterUserAuthenticationType",
|
|
6828
6856
|
"master_username": "masterUsername",
|
|
6829
6857
|
"master_user_password": "masterUserPassword",
|
|
6830
6858
|
"master_user_secret": "masterUserSecret",
|
|
@@ -6912,6 +6940,7 @@ class CfnDBInstanceProps:
|
|
|
6912
6940
|
kms_key_id: typing.Optional[builtins.str] = None,
|
|
6913
6941
|
license_model: typing.Optional[builtins.str] = None,
|
|
6914
6942
|
manage_master_user_password: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
6943
|
+
master_user_authentication_type: typing.Optional[builtins.str] = None,
|
|
6915
6944
|
master_username: typing.Optional[builtins.str] = None,
|
|
6916
6945
|
master_user_password: typing.Optional[builtins.str] = None,
|
|
6917
6946
|
master_user_secret: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDBInstance.MasterUserSecretProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -6996,6 +7025,7 @@ class CfnDBInstanceProps:
|
|
|
6996
7025
|
:param kms_key_id: The ARN of the AWS KMS key that's used to encrypt the DB instance, such as ``arn:aws:kms:us-east-1:012345678910:key/abcd1234-a123-456a-a12b-a123b4cd56ef`` . If you enable the StorageEncrypted property but don't specify this property, AWS CloudFormation uses the default KMS key. If you specify this property, you must set the StorageEncrypted property to true. If you specify the ``SourceDBInstanceIdentifier`` or ``SourceDbiResourceId`` property, don't specify this property. The value is inherited from the source DB instance, and if the DB instance is encrypted, the specified ``KmsKeyId`` property is used. However, if the source DB instance is in a different AWS Region, you must specify a KMS key ID. If you specify the ``SourceDBInstanceAutomatedBackupsArn`` property, don't specify this property. The value is inherited from the source DB instance automated backup, and if the automated backup is encrypted, the specified ``KmsKeyId`` property is used. If you create an encrypted read replica in a different AWS Region, then you must specify a KMS key for the destination AWS Region. KMS encryption keys are specific to the region that they're created in, and you can't use encryption keys from one region in another region. If you specify the ``DBSnapshotIdentifier`` property, don't specify this property. The ``StorageEncrypted`` property value is inherited from the snapshot. If the DB instance is encrypted, the specified ``KmsKeyId`` property is also inherited from the snapshot. If you specify ``DBSecurityGroups`` , AWS CloudFormation ignores this property. To specify both a security group and this property, you must use a VPC security group. For more information about Amazon RDS and VPC, see `Using Amazon RDS with Amazon VPC <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.html>`_ in the *Amazon RDS User Guide* . *Amazon Aurora* Not applicable. The KMS key identifier is managed by the DB cluster.
|
|
6997
7026
|
:param license_model: License model information for this DB instance. Valid Values: - Aurora MySQL - ``general-public-license`` - Aurora PostgreSQL - ``postgresql-license`` - RDS for Db2 - ``bring-your-own-license`` . For more information about RDS for Db2 licensing, see ` <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/db2-licensing.html>`_ in the *Amazon RDS User Guide.* - RDS for MariaDB - ``general-public-license`` - RDS for Microsoft SQL Server - ``license-included`` - RDS for MySQL - ``general-public-license`` - RDS for Oracle - ``bring-your-own-license`` or ``license-included`` - RDS for PostgreSQL - ``postgresql-license`` .. epigraph:: If you've specified ``DBSecurityGroups`` and then you update the license model, AWS CloudFormation replaces the underlying DB instance. This will incur some interruptions to database availability.
|
|
6998
7027
|
:param manage_master_user_password: Specifies whether to manage the master user password with AWS Secrets Manager. For more information, see `Password management with AWS Secrets Manager <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html>`_ in the *Amazon RDS User Guide.* Constraints: - Can't manage the master user password with AWS Secrets Manager if ``MasterUserPassword`` is specified.
|
|
7028
|
+
:param master_user_authentication_type: Specifies the authentication type for the master user. With IAM master user authentication, you can configure the master DB user with IAM database authentication when you create a DB instance. You can specify one of the following values: - ``password`` - Use standard database authentication with a password. - ``iam-db-auth`` - Use IAM database authentication for the master user. This option is only valid for RDS for PostgreSQL and Aurora PostgreSQL engines.
|
|
6999
7029
|
:param master_username: The master user name for the DB instance. .. epigraph:: If you specify the ``SourceDBInstanceIdentifier`` or ``DBSnapshotIdentifier`` property, don't specify this property. The value is inherited from the source DB instance or snapshot. When migrating a self-managed Db2 database, we recommend that you use the same master username as your self-managed Db2 instance name. *Amazon Aurora* Not applicable. The name for the master user is managed by the DB cluster. *RDS for Db2* Constraints: - Must be 1 to 16 letters or numbers. - First character must be a letter. - Can't be a reserved word for the chosen database engine. *RDS for MariaDB* Constraints: - Must be 1 to 16 letters or numbers. - Can't be a reserved word for the chosen database engine. *RDS for Microsoft SQL Server* Constraints: - Must be 1 to 128 letters or numbers. - First character must be a letter. - Can't be a reserved word for the chosen database engine. *RDS for MySQL* Constraints: - Must be 1 to 16 letters or numbers. - First character must be a letter. - Can't be a reserved word for the chosen database engine. *RDS for Oracle* Constraints: - Must be 1 to 30 letters or numbers. - First character must be a letter. - Can't be a reserved word for the chosen database engine. *RDS for PostgreSQL* Constraints: - Must be 1 to 63 letters or numbers. - First character must be a letter. - Can't be a reserved word for the chosen database engine.
|
|
7000
7030
|
:param master_user_password: The password for the master user. The password can include any printable ASCII character except "/", """, or "@". *Amazon Aurora* Not applicable. The password for the master user is managed by the DB cluster. *RDS for Db2* Must contain from 8 to 255 characters. *RDS for MariaDB* Constraints: Must contain from 8 to 41 characters. *RDS for Microsoft SQL Server* Constraints: Must contain from 8 to 128 characters. *RDS for MySQL* Constraints: Must contain from 8 to 41 characters. *RDS for Oracle* Constraints: Must contain from 8 to 30 characters. *RDS for PostgreSQL* Constraints: Must contain from 8 to 128 characters.
|
|
7001
7031
|
:param master_user_secret: The secret managed by RDS in AWS Secrets Manager for the master user password. For more information, see `Password management with AWS Secrets Manager <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html>`_ in the *Amazon RDS User Guide.*
|
|
@@ -7091,6 +7121,7 @@ class CfnDBInstanceProps:
|
|
|
7091
7121
|
kms_key_id="kmsKeyId",
|
|
7092
7122
|
license_model="licenseModel",
|
|
7093
7123
|
manage_master_user_password=False,
|
|
7124
|
+
master_user_authentication_type="masterUserAuthenticationType",
|
|
7094
7125
|
master_username="masterUsername",
|
|
7095
7126
|
master_user_password="masterUserPassword",
|
|
7096
7127
|
master_user_secret=rds.CfnDBInstance.MasterUserSecretProperty(
|
|
@@ -7185,6 +7216,7 @@ class CfnDBInstanceProps:
|
|
|
7185
7216
|
check_type(argname="argument kms_key_id", value=kms_key_id, expected_type=type_hints["kms_key_id"])
|
|
7186
7217
|
check_type(argname="argument license_model", value=license_model, expected_type=type_hints["license_model"])
|
|
7187
7218
|
check_type(argname="argument manage_master_user_password", value=manage_master_user_password, expected_type=type_hints["manage_master_user_password"])
|
|
7219
|
+
check_type(argname="argument master_user_authentication_type", value=master_user_authentication_type, expected_type=type_hints["master_user_authentication_type"])
|
|
7188
7220
|
check_type(argname="argument master_username", value=master_username, expected_type=type_hints["master_username"])
|
|
7189
7221
|
check_type(argname="argument master_user_password", value=master_user_password, expected_type=type_hints["master_user_password"])
|
|
7190
7222
|
check_type(argname="argument master_user_secret", value=master_user_secret, expected_type=type_hints["master_user_secret"])
|
|
@@ -7313,6 +7345,8 @@ class CfnDBInstanceProps:
|
|
|
7313
7345
|
self._values["license_model"] = license_model
|
|
7314
7346
|
if manage_master_user_password is not None:
|
|
7315
7347
|
self._values["manage_master_user_password"] = manage_master_user_password
|
|
7348
|
+
if master_user_authentication_type is not None:
|
|
7349
|
+
self._values["master_user_authentication_type"] = master_user_authentication_type
|
|
7316
7350
|
if master_username is not None:
|
|
7317
7351
|
self._values["master_username"] = master_username
|
|
7318
7352
|
if master_user_password is not None:
|
|
@@ -8340,6 +8374,24 @@ class CfnDBInstanceProps:
|
|
|
8340
8374
|
result = self._values.get("manage_master_user_password")
|
|
8341
8375
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
8342
8376
|
|
|
8377
|
+
@builtins.property
|
|
8378
|
+
def master_user_authentication_type(self) -> typing.Optional[builtins.str]:
|
|
8379
|
+
'''Specifies the authentication type for the master user.
|
|
8380
|
+
|
|
8381
|
+
With IAM master user authentication, you can configure the master DB user with IAM database authentication when you create a DB instance.
|
|
8382
|
+
|
|
8383
|
+
You can specify one of the following values:
|
|
8384
|
+
|
|
8385
|
+
- ``password`` - Use standard database authentication with a password.
|
|
8386
|
+
- ``iam-db-auth`` - Use IAM database authentication for the master user.
|
|
8387
|
+
|
|
8388
|
+
This option is only valid for RDS for PostgreSQL and Aurora PostgreSQL engines.
|
|
8389
|
+
|
|
8390
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-masteruserauthenticationtype
|
|
8391
|
+
'''
|
|
8392
|
+
result = self._values.get("master_user_authentication_type")
|
|
8393
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
8394
|
+
|
|
8343
8395
|
@builtins.property
|
|
8344
8396
|
def master_username(self) -> typing.Optional[builtins.str]:
|
|
8345
8397
|
'''The master user name for the DB instance.
|
|
@@ -9168,6 +9220,7 @@ class CfnDBParameterGroupProps:
|
|
|
9168
9220
|
"db_proxy_endpoint_name": "dbProxyEndpointName",
|
|
9169
9221
|
"db_proxy_name": "dbProxyName",
|
|
9170
9222
|
"vpc_subnet_ids": "vpcSubnetIds",
|
|
9223
|
+
"endpoint_network_type": "endpointNetworkType",
|
|
9171
9224
|
"tags": "tags",
|
|
9172
9225
|
"target_role": "targetRole",
|
|
9173
9226
|
"vpc_security_group_ids": "vpcSecurityGroupIds",
|
|
@@ -9180,6 +9233,7 @@ class CfnDBProxyEndpointProps:
|
|
|
9180
9233
|
db_proxy_endpoint_name: builtins.str,
|
|
9181
9234
|
db_proxy_name: builtins.str,
|
|
9182
9235
|
vpc_subnet_ids: typing.Sequence[builtins.str],
|
|
9236
|
+
endpoint_network_type: typing.Optional[builtins.str] = None,
|
|
9183
9237
|
tags: typing.Optional[typing.Sequence[typing.Union["CfnDBProxyEndpoint.TagFormatProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9184
9238
|
target_role: typing.Optional[builtins.str] = None,
|
|
9185
9239
|
vpc_security_group_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -9189,6 +9243,7 @@ class CfnDBProxyEndpointProps:
|
|
|
9189
9243
|
:param db_proxy_endpoint_name: The name of the DB proxy endpoint to create.
|
|
9190
9244
|
:param db_proxy_name: The name of the DB proxy associated with the DB proxy endpoint that you create.
|
|
9191
9245
|
:param vpc_subnet_ids: The VPC subnet IDs for the DB proxy endpoint that you create. You can specify a different set of subnet IDs than for the original DB proxy.
|
|
9246
|
+
:param endpoint_network_type: The network type of the DB proxy endpoint. The network type determines the IP version that the proxy endpoint supports.
|
|
9192
9247
|
:param tags: An optional set of key-value pairs to associate arbitrary data of your choosing with the proxy.
|
|
9193
9248
|
:param target_role: A value that indicates whether the DB proxy endpoint can be used for read/write or read-only operations.
|
|
9194
9249
|
:param vpc_security_group_ids: The VPC security group IDs for the DB proxy endpoint that you create. You can specify a different set of security group IDs than for the original DB proxy. The default is the default security group for the VPC.
|
|
@@ -9208,6 +9263,7 @@ class CfnDBProxyEndpointProps:
|
|
|
9208
9263
|
vpc_subnet_ids=["vpcSubnetIds"],
|
|
9209
9264
|
|
|
9210
9265
|
# the properties below are optional
|
|
9266
|
+
endpoint_network_type="endpointNetworkType",
|
|
9211
9267
|
tags=[rds.CfnDBProxyEndpoint.TagFormatProperty(
|
|
9212
9268
|
key="key",
|
|
9213
9269
|
value="value"
|
|
@@ -9221,6 +9277,7 @@ class CfnDBProxyEndpointProps:
|
|
|
9221
9277
|
check_type(argname="argument db_proxy_endpoint_name", value=db_proxy_endpoint_name, expected_type=type_hints["db_proxy_endpoint_name"])
|
|
9222
9278
|
check_type(argname="argument db_proxy_name", value=db_proxy_name, expected_type=type_hints["db_proxy_name"])
|
|
9223
9279
|
check_type(argname="argument vpc_subnet_ids", value=vpc_subnet_ids, expected_type=type_hints["vpc_subnet_ids"])
|
|
9280
|
+
check_type(argname="argument endpoint_network_type", value=endpoint_network_type, expected_type=type_hints["endpoint_network_type"])
|
|
9224
9281
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
9225
9282
|
check_type(argname="argument target_role", value=target_role, expected_type=type_hints["target_role"])
|
|
9226
9283
|
check_type(argname="argument vpc_security_group_ids", value=vpc_security_group_ids, expected_type=type_hints["vpc_security_group_ids"])
|
|
@@ -9229,6 +9286,8 @@ class CfnDBProxyEndpointProps:
|
|
|
9229
9286
|
"db_proxy_name": db_proxy_name,
|
|
9230
9287
|
"vpc_subnet_ids": vpc_subnet_ids,
|
|
9231
9288
|
}
|
|
9289
|
+
if endpoint_network_type is not None:
|
|
9290
|
+
self._values["endpoint_network_type"] = endpoint_network_type
|
|
9232
9291
|
if tags is not None:
|
|
9233
9292
|
self._values["tags"] = tags
|
|
9234
9293
|
if target_role is not None:
|
|
@@ -9268,6 +9327,17 @@ class CfnDBProxyEndpointProps:
|
|
|
9268
9327
|
assert result is not None, "Required property 'vpc_subnet_ids' is missing"
|
|
9269
9328
|
return typing.cast(typing.List[builtins.str], result)
|
|
9270
9329
|
|
|
9330
|
+
@builtins.property
|
|
9331
|
+
def endpoint_network_type(self) -> typing.Optional[builtins.str]:
|
|
9332
|
+
'''The network type of the DB proxy endpoint.
|
|
9333
|
+
|
|
9334
|
+
The network type determines the IP version that the proxy endpoint supports.
|
|
9335
|
+
|
|
9336
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbproxyendpoint.html#cfn-rds-dbproxyendpoint-endpointnetworktype
|
|
9337
|
+
'''
|
|
9338
|
+
result = self._values.get("endpoint_network_type")
|
|
9339
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
9340
|
+
|
|
9271
9341
|
@builtins.property
|
|
9272
9342
|
def tags(
|
|
9273
9343
|
self,
|
|
@@ -9315,15 +9385,18 @@ class CfnDBProxyEndpointProps:
|
|
|
9315
9385
|
jsii_type="aws-cdk-lib.aws_rds.CfnDBProxyProps",
|
|
9316
9386
|
jsii_struct_bases=[],
|
|
9317
9387
|
name_mapping={
|
|
9318
|
-
"auth": "auth",
|
|
9319
9388
|
"db_proxy_name": "dbProxyName",
|
|
9320
9389
|
"engine_family": "engineFamily",
|
|
9321
9390
|
"role_arn": "roleArn",
|
|
9322
9391
|
"vpc_subnet_ids": "vpcSubnetIds",
|
|
9392
|
+
"auth": "auth",
|
|
9323
9393
|
"debug_logging": "debugLogging",
|
|
9394
|
+
"default_auth_scheme": "defaultAuthScheme",
|
|
9395
|
+
"endpoint_network_type": "endpointNetworkType",
|
|
9324
9396
|
"idle_client_timeout": "idleClientTimeout",
|
|
9325
9397
|
"require_tls": "requireTls",
|
|
9326
9398
|
"tags": "tags",
|
|
9399
|
+
"target_connection_network_type": "targetConnectionNetworkType",
|
|
9327
9400
|
"vpc_security_group_ids": "vpcSecurityGroupIds",
|
|
9328
9401
|
},
|
|
9329
9402
|
)
|
|
@@ -9331,28 +9404,34 @@ class CfnDBProxyProps:
|
|
|
9331
9404
|
def __init__(
|
|
9332
9405
|
self,
|
|
9333
9406
|
*,
|
|
9334
|
-
auth: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDBProxy.AuthFormatProperty", typing.Dict[builtins.str, typing.Any]]]]],
|
|
9335
9407
|
db_proxy_name: builtins.str,
|
|
9336
9408
|
engine_family: builtins.str,
|
|
9337
9409
|
role_arn: builtins.str,
|
|
9338
9410
|
vpc_subnet_ids: typing.Sequence[builtins.str],
|
|
9411
|
+
auth: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDBProxy.AuthFormatProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
9339
9412
|
debug_logging: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
9413
|
+
default_auth_scheme: typing.Optional[builtins.str] = None,
|
|
9414
|
+
endpoint_network_type: typing.Optional[builtins.str] = None,
|
|
9340
9415
|
idle_client_timeout: typing.Optional[jsii.Number] = None,
|
|
9341
9416
|
require_tls: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
9342
9417
|
tags: typing.Optional[typing.Sequence[typing.Union["CfnDBProxy.TagFormatProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9418
|
+
target_connection_network_type: typing.Optional[builtins.str] = None,
|
|
9343
9419
|
vpc_security_group_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
9344
9420
|
) -> None:
|
|
9345
9421
|
'''Properties for defining a ``CfnDBProxy``.
|
|
9346
9422
|
|
|
9347
|
-
:param auth: The authorization mechanism that the proxy uses.
|
|
9348
9423
|
: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.
|
|
9349
9424
|
:param engine_family: The kinds of databases that the proxy can connect to. This value determines which database network protocol the proxy recognizes when it interprets network traffic to and from the database. For Aurora MySQL, RDS for MariaDB, and RDS for MySQL databases, specify ``MYSQL`` . For Aurora PostgreSQL and RDS for PostgreSQL databases, specify ``POSTGRESQL`` . For RDS for Microsoft SQL Server, specify ``SQLSERVER`` .
|
|
9350
9425
|
:param role_arn: The Amazon Resource Name (ARN) of the IAM role that the proxy uses to access secrets in AWS Secrets Manager.
|
|
9351
9426
|
:param vpc_subnet_ids: One or more VPC subnet IDs to associate with the new proxy.
|
|
9427
|
+
:param auth: The authorization mechanism that the proxy uses.
|
|
9352
9428
|
:param debug_logging: Specifies whether the proxy logs detailed connection and query information. When you enable ``DebugLogging`` , the proxy captures connection details and connection pool behavior from your queries. Debug logging increases CloudWatch costs and can impact proxy performance. Enable this option only when you need to troubleshoot connection or performance issues.
|
|
9429
|
+
:param default_auth_scheme: The default authentication scheme that the proxy uses for client connections to the proxy and connections from the proxy to the underlying database.
|
|
9430
|
+
:param endpoint_network_type: The network type of the DB proxy endpoint. The network type determines the IP version that the proxy endpoint supports.
|
|
9353
9431
|
:param idle_client_timeout: The number of seconds that a connection to the proxy can be inactive before the proxy disconnects it. You can set this value higher or lower than the connection timeout limit for the associated database.
|
|
9354
9432
|
:param require_tls: Specifies whether Transport Layer Security (TLS) encryption is required for connections to the proxy. By enabling this setting, you can enforce encrypted TLS connections to the proxy.
|
|
9355
9433
|
:param tags: An optional set of key-value pairs to associate arbitrary data of your choosing with the proxy.
|
|
9434
|
+
:param target_connection_network_type: The network type that the proxy uses to connect to the target database. The network type determines the IP version that the proxy uses for connections to the database.
|
|
9356
9435
|
:param vpc_security_group_ids: One or more VPC security group IDs to associate with the new proxy. If you plan to update the resource, don't specify VPC security groups in a shared VPC.
|
|
9357
9436
|
|
|
9358
9437
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbproxy.html
|
|
@@ -9365,6 +9444,12 @@ class CfnDBProxyProps:
|
|
|
9365
9444
|
from aws_cdk import aws_rds as rds
|
|
9366
9445
|
|
|
9367
9446
|
cfn_dBProxy_props = rds.CfnDBProxyProps(
|
|
9447
|
+
db_proxy_name="dbProxyName",
|
|
9448
|
+
engine_family="engineFamily",
|
|
9449
|
+
role_arn="roleArn",
|
|
9450
|
+
vpc_subnet_ids=["vpcSubnetIds"],
|
|
9451
|
+
|
|
9452
|
+
# the properties below are optional
|
|
9368
9453
|
auth=[rds.CfnDBProxy.AuthFormatProperty(
|
|
9369
9454
|
auth_scheme="authScheme",
|
|
9370
9455
|
client_password_auth_type="clientPasswordAuthType",
|
|
@@ -9372,64 +9457,59 @@ class CfnDBProxyProps:
|
|
|
9372
9457
|
iam_auth="iamAuth",
|
|
9373
9458
|
secret_arn="secretArn"
|
|
9374
9459
|
)],
|
|
9375
|
-
db_proxy_name="dbProxyName",
|
|
9376
|
-
engine_family="engineFamily",
|
|
9377
|
-
role_arn="roleArn",
|
|
9378
|
-
vpc_subnet_ids=["vpcSubnetIds"],
|
|
9379
|
-
|
|
9380
|
-
# the properties below are optional
|
|
9381
9460
|
debug_logging=False,
|
|
9461
|
+
default_auth_scheme="defaultAuthScheme",
|
|
9462
|
+
endpoint_network_type="endpointNetworkType",
|
|
9382
9463
|
idle_client_timeout=123,
|
|
9383
9464
|
require_tls=False,
|
|
9384
9465
|
tags=[rds.CfnDBProxy.TagFormatProperty(
|
|
9385
9466
|
key="key",
|
|
9386
9467
|
value="value"
|
|
9387
9468
|
)],
|
|
9469
|
+
target_connection_network_type="targetConnectionNetworkType",
|
|
9388
9470
|
vpc_security_group_ids=["vpcSecurityGroupIds"]
|
|
9389
9471
|
)
|
|
9390
9472
|
'''
|
|
9391
9473
|
if __debug__:
|
|
9392
9474
|
type_hints = typing.get_type_hints(_typecheckingstub__331ec6568969c058d2fc6c0482e8c31b8cc3af661d01d569ed27059f5a683e34)
|
|
9393
|
-
check_type(argname="argument auth", value=auth, expected_type=type_hints["auth"])
|
|
9394
9475
|
check_type(argname="argument db_proxy_name", value=db_proxy_name, expected_type=type_hints["db_proxy_name"])
|
|
9395
9476
|
check_type(argname="argument engine_family", value=engine_family, expected_type=type_hints["engine_family"])
|
|
9396
9477
|
check_type(argname="argument role_arn", value=role_arn, expected_type=type_hints["role_arn"])
|
|
9397
9478
|
check_type(argname="argument vpc_subnet_ids", value=vpc_subnet_ids, expected_type=type_hints["vpc_subnet_ids"])
|
|
9479
|
+
check_type(argname="argument auth", value=auth, expected_type=type_hints["auth"])
|
|
9398
9480
|
check_type(argname="argument debug_logging", value=debug_logging, expected_type=type_hints["debug_logging"])
|
|
9481
|
+
check_type(argname="argument default_auth_scheme", value=default_auth_scheme, expected_type=type_hints["default_auth_scheme"])
|
|
9482
|
+
check_type(argname="argument endpoint_network_type", value=endpoint_network_type, expected_type=type_hints["endpoint_network_type"])
|
|
9399
9483
|
check_type(argname="argument idle_client_timeout", value=idle_client_timeout, expected_type=type_hints["idle_client_timeout"])
|
|
9400
9484
|
check_type(argname="argument require_tls", value=require_tls, expected_type=type_hints["require_tls"])
|
|
9401
9485
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
9486
|
+
check_type(argname="argument target_connection_network_type", value=target_connection_network_type, expected_type=type_hints["target_connection_network_type"])
|
|
9402
9487
|
check_type(argname="argument vpc_security_group_ids", value=vpc_security_group_ids, expected_type=type_hints["vpc_security_group_ids"])
|
|
9403
9488
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
9404
|
-
"auth": auth,
|
|
9405
9489
|
"db_proxy_name": db_proxy_name,
|
|
9406
9490
|
"engine_family": engine_family,
|
|
9407
9491
|
"role_arn": role_arn,
|
|
9408
9492
|
"vpc_subnet_ids": vpc_subnet_ids,
|
|
9409
9493
|
}
|
|
9494
|
+
if auth is not None:
|
|
9495
|
+
self._values["auth"] = auth
|
|
9410
9496
|
if debug_logging is not None:
|
|
9411
9497
|
self._values["debug_logging"] = debug_logging
|
|
9498
|
+
if default_auth_scheme is not None:
|
|
9499
|
+
self._values["default_auth_scheme"] = default_auth_scheme
|
|
9500
|
+
if endpoint_network_type is not None:
|
|
9501
|
+
self._values["endpoint_network_type"] = endpoint_network_type
|
|
9412
9502
|
if idle_client_timeout is not None:
|
|
9413
9503
|
self._values["idle_client_timeout"] = idle_client_timeout
|
|
9414
9504
|
if require_tls is not None:
|
|
9415
9505
|
self._values["require_tls"] = require_tls
|
|
9416
9506
|
if tags is not None:
|
|
9417
9507
|
self._values["tags"] = tags
|
|
9508
|
+
if target_connection_network_type is not None:
|
|
9509
|
+
self._values["target_connection_network_type"] = target_connection_network_type
|
|
9418
9510
|
if vpc_security_group_ids is not None:
|
|
9419
9511
|
self._values["vpc_security_group_ids"] = vpc_security_group_ids
|
|
9420
9512
|
|
|
9421
|
-
@builtins.property
|
|
9422
|
-
def auth(
|
|
9423
|
-
self,
|
|
9424
|
-
) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnDBProxy.AuthFormatProperty"]]]:
|
|
9425
|
-
'''The authorization mechanism that the proxy uses.
|
|
9426
|
-
|
|
9427
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbproxy.html#cfn-rds-dbproxy-auth
|
|
9428
|
-
'''
|
|
9429
|
-
result = self._values.get("auth")
|
|
9430
|
-
assert result is not None, "Required property 'auth' is missing"
|
|
9431
|
-
return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnDBProxy.AuthFormatProperty"]]], result)
|
|
9432
|
-
|
|
9433
9513
|
@builtins.property
|
|
9434
9514
|
def db_proxy_name(self) -> builtins.str:
|
|
9435
9515
|
'''The identifier for the proxy.
|
|
@@ -9474,6 +9554,17 @@ class CfnDBProxyProps:
|
|
|
9474
9554
|
assert result is not None, "Required property 'vpc_subnet_ids' is missing"
|
|
9475
9555
|
return typing.cast(typing.List[builtins.str], result)
|
|
9476
9556
|
|
|
9557
|
+
@builtins.property
|
|
9558
|
+
def auth(
|
|
9559
|
+
self,
|
|
9560
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnDBProxy.AuthFormatProperty"]]]]:
|
|
9561
|
+
'''The authorization mechanism that the proxy uses.
|
|
9562
|
+
|
|
9563
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbproxy.html#cfn-rds-dbproxy-auth
|
|
9564
|
+
'''
|
|
9565
|
+
result = self._values.get("auth")
|
|
9566
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnDBProxy.AuthFormatProperty"]]]], result)
|
|
9567
|
+
|
|
9477
9568
|
@builtins.property
|
|
9478
9569
|
def debug_logging(
|
|
9479
9570
|
self,
|
|
@@ -9487,6 +9578,26 @@ class CfnDBProxyProps:
|
|
|
9487
9578
|
result = self._values.get("debug_logging")
|
|
9488
9579
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
9489
9580
|
|
|
9581
|
+
@builtins.property
|
|
9582
|
+
def default_auth_scheme(self) -> typing.Optional[builtins.str]:
|
|
9583
|
+
'''The default authentication scheme that the proxy uses for client connections to the proxy and connections from the proxy to the underlying database.
|
|
9584
|
+
|
|
9585
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbproxy.html#cfn-rds-dbproxy-defaultauthscheme
|
|
9586
|
+
'''
|
|
9587
|
+
result = self._values.get("default_auth_scheme")
|
|
9588
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
9589
|
+
|
|
9590
|
+
@builtins.property
|
|
9591
|
+
def endpoint_network_type(self) -> typing.Optional[builtins.str]:
|
|
9592
|
+
'''The network type of the DB proxy endpoint.
|
|
9593
|
+
|
|
9594
|
+
The network type determines the IP version that the proxy endpoint supports.
|
|
9595
|
+
|
|
9596
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbproxy.html#cfn-rds-dbproxy-endpointnetworktype
|
|
9597
|
+
'''
|
|
9598
|
+
result = self._values.get("endpoint_network_type")
|
|
9599
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
9600
|
+
|
|
9490
9601
|
@builtins.property
|
|
9491
9602
|
def idle_client_timeout(self) -> typing.Optional[jsii.Number]:
|
|
9492
9603
|
'''The number of seconds that a connection to the proxy can be inactive before the proxy disconnects it.
|
|
@@ -9520,6 +9631,17 @@ class CfnDBProxyProps:
|
|
|
9520
9631
|
result = self._values.get("tags")
|
|
9521
9632
|
return typing.cast(typing.Optional[typing.List["CfnDBProxy.TagFormatProperty"]], result)
|
|
9522
9633
|
|
|
9634
|
+
@builtins.property
|
|
9635
|
+
def target_connection_network_type(self) -> typing.Optional[builtins.str]:
|
|
9636
|
+
'''The network type that the proxy uses to connect to the target database.
|
|
9637
|
+
|
|
9638
|
+
The network type determines the IP version that the proxy uses for connections to the database.
|
|
9639
|
+
|
|
9640
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbproxy.html#cfn-rds-dbproxy-targetconnectionnetworktype
|
|
9641
|
+
'''
|
|
9642
|
+
result = self._values.get("target_connection_network_type")
|
|
9643
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
9644
|
+
|
|
9523
9645
|
@builtins.property
|
|
9524
9646
|
def vpc_security_group_ids(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
9525
9647
|
'''One or more VPC security group IDs to associate with the new proxy.
|
|
@@ -27537,6 +27659,12 @@ class MysqlEngineVersion(
|
|
|
27537
27659
|
'''Version "5.7.44-rds.20250508".'''
|
|
27538
27660
|
return typing.cast("MysqlEngineVersion", jsii.sget(cls, "VER_5_7_44_RDS_20250508"))
|
|
27539
27661
|
|
|
27662
|
+
@jsii.python.classproperty
|
|
27663
|
+
@jsii.member(jsii_name="VER_5_7_44_RDS_20250818")
|
|
27664
|
+
def VER_5_7_44_RDS_20250818(cls) -> "MysqlEngineVersion":
|
|
27665
|
+
'''Version "5.7.44-RDS.20250818".'''
|
|
27666
|
+
return typing.cast("MysqlEngineVersion", jsii.sget(cls, "VER_5_7_44_RDS_20250818"))
|
|
27667
|
+
|
|
27540
27668
|
@jsii.python.classproperty
|
|
27541
27669
|
@jsii.member(jsii_name="VER_8_0")
|
|
27542
27670
|
def VER_8_0(cls) -> "MysqlEngineVersion":
|
|
@@ -36683,6 +36811,7 @@ class CfnDBCluster(
|
|
|
36683
36811
|
iops=123,
|
|
36684
36812
|
kms_key_id="kmsKeyId",
|
|
36685
36813
|
manage_master_user_password=False,
|
|
36814
|
+
master_user_authentication_type="masterUserAuthenticationType",
|
|
36686
36815
|
master_username="masterUsername",
|
|
36687
36816
|
master_user_password="masterUserPassword",
|
|
36688
36817
|
master_user_secret=rds.CfnDBCluster.MasterUserSecretProperty(
|
|
@@ -36768,6 +36897,7 @@ class CfnDBCluster(
|
|
|
36768
36897
|
iops: typing.Optional[jsii.Number] = None,
|
|
36769
36898
|
kms_key_id: typing.Optional[builtins.str] = None,
|
|
36770
36899
|
manage_master_user_password: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
36900
|
+
master_user_authentication_type: typing.Optional[builtins.str] = None,
|
|
36771
36901
|
master_username: typing.Optional[builtins.str] = None,
|
|
36772
36902
|
master_user_password: typing.Optional[builtins.str] = None,
|
|
36773
36903
|
master_user_secret: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDBCluster.MasterUserSecretProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -36832,6 +36962,7 @@ class CfnDBCluster(
|
|
|
36832
36962
|
:param iops: The amount of Provisioned IOPS (input/output operations per second) to be initially allocated for each DB instance in the Multi-AZ DB cluster. For information about valid IOPS values, see `Provisioned IOPS storage <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html#USER_PIOPS>`_ in the *Amazon RDS User Guide* . This setting is required to create a Multi-AZ DB cluster. Valid for Cluster Type: Multi-AZ DB clusters only Constraints: - Must be a multiple between .5 and 50 of the storage amount for the DB cluster.
|
|
36833
36963
|
:param kms_key_id: The Amazon Resource Name (ARN) of the AWS KMS key that is used to encrypt the database instances in the DB cluster, such as ``arn:aws:kms:us-east-1:012345678910:key/abcd1234-a123-456a-a12b-a123b4cd56ef`` . If you enable the ``StorageEncrypted`` property but don't specify this property, the default KMS key is used. If you specify this property, you must set the ``StorageEncrypted`` property to ``true`` . If you specify the ``SnapshotIdentifier`` property, the ``StorageEncrypted`` property value is inherited from the snapshot, and if the DB cluster is encrypted, the specified ``KmsKeyId`` property is used. If you create a read replica of an encrypted DB cluster in another AWS Region, make sure to set ``KmsKeyId`` to a KMS key identifier that is valid in the destination AWS Region. This KMS key is used to encrypt the read replica in that AWS Region. Valid for: Aurora DB clusters and Multi-AZ DB clusters
|
|
36834
36964
|
:param manage_master_user_password: Specifies whether to manage the master user password with AWS Secrets Manager. For more information, see `Password management with AWS Secrets Manager <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html>`_ in the *Amazon RDS User Guide* and `Password management with AWS Secrets Manager <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/rds-secrets-manager.html>`_ in the *Amazon Aurora User Guide.* Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters Constraints: - Can't manage the master user password with AWS Secrets Manager if ``MasterUserPassword`` is specified.
|
|
36965
|
+
:param master_user_authentication_type: Specifies the authentication type for the master user. With IAM master user authentication, you can configure the master DB user with IAM database authentication when you create a DB cluster. You can specify one of the following values: - ``password`` - Use standard database authentication with a password. - ``iam-db-auth`` - Use IAM database authentication for the master user. Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters This option is only valid for RDS for PostgreSQL and Aurora PostgreSQL engines.
|
|
36835
36966
|
:param master_username: The name of the master user for the DB cluster. .. epigraph:: If you specify the ``SourceDBClusterIdentifier`` , ``SnapshotIdentifier`` , or ``GlobalClusterIdentifier`` property, don't specify this property. The value is inherited from the source DB cluster, the snapshot, or the primary DB cluster for the global database cluster, respectively. Valid for: Aurora DB clusters and Multi-AZ DB clusters
|
|
36836
36967
|
:param master_user_password: The master password for the DB instance. .. epigraph:: If you specify the ``SourceDBClusterIdentifier`` , ``SnapshotIdentifier`` , or ``GlobalClusterIdentifier`` property, don't specify this property. The value is inherited from the source DB cluster, the snapshot, or the primary DB cluster for the global database cluster, respectively. Valid for: Aurora DB clusters and Multi-AZ DB clusters
|
|
36837
36968
|
:param master_user_secret: The secret managed by RDS in AWS Secrets Manager for the master user password. .. epigraph:: When you restore a DB cluster from a snapshot, Amazon RDS generates a new secret instead of reusing the secret specified in the ``SecretArn`` property. This ensures that the restored DB cluster is securely managed with a dedicated secret. To maintain consistent integration with your application, you might need to update resource configurations to reference the newly created secret. For more information, see `Password management with AWS Secrets Manager <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html>`_ in the *Amazon RDS User Guide* and `Password management with AWS Secrets Manager <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/rds-secrets-manager.html>`_ in the *Amazon Aurora User Guide.*
|
|
@@ -36898,6 +37029,7 @@ class CfnDBCluster(
|
|
|
36898
37029
|
iops=iops,
|
|
36899
37030
|
kms_key_id=kms_key_id,
|
|
36900
37031
|
manage_master_user_password=manage_master_user_password,
|
|
37032
|
+
master_user_authentication_type=master_user_authentication_type,
|
|
36901
37033
|
master_username=master_username,
|
|
36902
37034
|
master_user_password=master_user_password,
|
|
36903
37035
|
master_user_secret=master_user_secret,
|
|
@@ -37575,6 +37707,22 @@ class CfnDBCluster(
|
|
|
37575
37707
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
37576
37708
|
jsii.set(self, "manageMasterUserPassword", value) # pyright: ignore[reportArgumentType]
|
|
37577
37709
|
|
|
37710
|
+
@builtins.property
|
|
37711
|
+
@jsii.member(jsii_name="masterUserAuthenticationType")
|
|
37712
|
+
def master_user_authentication_type(self) -> typing.Optional[builtins.str]:
|
|
37713
|
+
'''Specifies the authentication type for the master user.'''
|
|
37714
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "masterUserAuthenticationType"))
|
|
37715
|
+
|
|
37716
|
+
@master_user_authentication_type.setter
|
|
37717
|
+
def master_user_authentication_type(
|
|
37718
|
+
self,
|
|
37719
|
+
value: typing.Optional[builtins.str],
|
|
37720
|
+
) -> None:
|
|
37721
|
+
if __debug__:
|
|
37722
|
+
type_hints = typing.get_type_hints(_typecheckingstub__910a49e316ebe92edf4e4f3c3db84de89812fb192f5741dd59271a8ec7200008)
|
|
37723
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
37724
|
+
jsii.set(self, "masterUserAuthenticationType", value) # pyright: ignore[reportArgumentType]
|
|
37725
|
+
|
|
37578
37726
|
@builtins.property
|
|
37579
37727
|
@jsii.member(jsii_name="masterUsername")
|
|
37580
37728
|
def master_username(self) -> typing.Optional[builtins.str]:
|
|
@@ -38871,6 +39019,7 @@ class CfnDBInstance(
|
|
|
38871
39019
|
kms_key_id: typing.Optional[builtins.str] = None,
|
|
38872
39020
|
license_model: typing.Optional[builtins.str] = None,
|
|
38873
39021
|
manage_master_user_password: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
39022
|
+
master_user_authentication_type: typing.Optional[builtins.str] = None,
|
|
38874
39023
|
master_username: typing.Optional[builtins.str] = None,
|
|
38875
39024
|
master_user_password: typing.Optional[builtins.str] = None,
|
|
38876
39025
|
master_user_secret: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDBInstance.MasterUserSecretProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -38956,6 +39105,7 @@ class CfnDBInstance(
|
|
|
38956
39105
|
:param kms_key_id: The ARN of the AWS KMS key that's used to encrypt the DB instance, such as ``arn:aws:kms:us-east-1:012345678910:key/abcd1234-a123-456a-a12b-a123b4cd56ef`` . If you enable the StorageEncrypted property but don't specify this property, AWS CloudFormation uses the default KMS key. If you specify this property, you must set the StorageEncrypted property to true. If you specify the ``SourceDBInstanceIdentifier`` or ``SourceDbiResourceId`` property, don't specify this property. The value is inherited from the source DB instance, and if the DB instance is encrypted, the specified ``KmsKeyId`` property is used. However, if the source DB instance is in a different AWS Region, you must specify a KMS key ID. If you specify the ``SourceDBInstanceAutomatedBackupsArn`` property, don't specify this property. The value is inherited from the source DB instance automated backup, and if the automated backup is encrypted, the specified ``KmsKeyId`` property is used. If you create an encrypted read replica in a different AWS Region, then you must specify a KMS key for the destination AWS Region. KMS encryption keys are specific to the region that they're created in, and you can't use encryption keys from one region in another region. If you specify the ``DBSnapshotIdentifier`` property, don't specify this property. The ``StorageEncrypted`` property value is inherited from the snapshot. If the DB instance is encrypted, the specified ``KmsKeyId`` property is also inherited from the snapshot. If you specify ``DBSecurityGroups`` , AWS CloudFormation ignores this property. To specify both a security group and this property, you must use a VPC security group. For more information about Amazon RDS and VPC, see `Using Amazon RDS with Amazon VPC <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.html>`_ in the *Amazon RDS User Guide* . *Amazon Aurora* Not applicable. The KMS key identifier is managed by the DB cluster.
|
|
38957
39106
|
:param license_model: License model information for this DB instance. Valid Values: - Aurora MySQL - ``general-public-license`` - Aurora PostgreSQL - ``postgresql-license`` - RDS for Db2 - ``bring-your-own-license`` . For more information about RDS for Db2 licensing, see ` <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/db2-licensing.html>`_ in the *Amazon RDS User Guide.* - RDS for MariaDB - ``general-public-license`` - RDS for Microsoft SQL Server - ``license-included`` - RDS for MySQL - ``general-public-license`` - RDS for Oracle - ``bring-your-own-license`` or ``license-included`` - RDS for PostgreSQL - ``postgresql-license`` .. epigraph:: If you've specified ``DBSecurityGroups`` and then you update the license model, AWS CloudFormation replaces the underlying DB instance. This will incur some interruptions to database availability.
|
|
38958
39107
|
:param manage_master_user_password: Specifies whether to manage the master user password with AWS Secrets Manager. For more information, see `Password management with AWS Secrets Manager <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html>`_ in the *Amazon RDS User Guide.* Constraints: - Can't manage the master user password with AWS Secrets Manager if ``MasterUserPassword`` is specified.
|
|
39108
|
+
:param master_user_authentication_type: Specifies the authentication type for the master user. With IAM master user authentication, you can configure the master DB user with IAM database authentication when you create a DB instance. You can specify one of the following values: - ``password`` - Use standard database authentication with a password. - ``iam-db-auth`` - Use IAM database authentication for the master user. This option is only valid for RDS for PostgreSQL and Aurora PostgreSQL engines.
|
|
38959
39109
|
:param master_username: The master user name for the DB instance. .. epigraph:: If you specify the ``SourceDBInstanceIdentifier`` or ``DBSnapshotIdentifier`` property, don't specify this property. The value is inherited from the source DB instance or snapshot. When migrating a self-managed Db2 database, we recommend that you use the same master username as your self-managed Db2 instance name. *Amazon Aurora* Not applicable. The name for the master user is managed by the DB cluster. *RDS for Db2* Constraints: - Must be 1 to 16 letters or numbers. - First character must be a letter. - Can't be a reserved word for the chosen database engine. *RDS for MariaDB* Constraints: - Must be 1 to 16 letters or numbers. - Can't be a reserved word for the chosen database engine. *RDS for Microsoft SQL Server* Constraints: - Must be 1 to 128 letters or numbers. - First character must be a letter. - Can't be a reserved word for the chosen database engine. *RDS for MySQL* Constraints: - Must be 1 to 16 letters or numbers. - First character must be a letter. - Can't be a reserved word for the chosen database engine. *RDS for Oracle* Constraints: - Must be 1 to 30 letters or numbers. - First character must be a letter. - Can't be a reserved word for the chosen database engine. *RDS for PostgreSQL* Constraints: - Must be 1 to 63 letters or numbers. - First character must be a letter. - Can't be a reserved word for the chosen database engine.
|
|
38960
39110
|
:param master_user_password: The password for the master user. The password can include any printable ASCII character except "/", """, or "@". *Amazon Aurora* Not applicable. The password for the master user is managed by the DB cluster. *RDS for Db2* Must contain from 8 to 255 characters. *RDS for MariaDB* Constraints: Must contain from 8 to 41 characters. *RDS for Microsoft SQL Server* Constraints: Must contain from 8 to 128 characters. *RDS for MySQL* Constraints: Must contain from 8 to 41 characters. *RDS for Oracle* Constraints: Must contain from 8 to 30 characters. *RDS for PostgreSQL* Constraints: Must contain from 8 to 128 characters.
|
|
38961
39111
|
:param master_user_secret: The secret managed by RDS in AWS Secrets Manager for the master user password. For more information, see `Password management with AWS Secrets Manager <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html>`_ in the *Amazon RDS User Guide.*
|
|
@@ -39043,6 +39193,7 @@ class CfnDBInstance(
|
|
|
39043
39193
|
kms_key_id=kms_key_id,
|
|
39044
39194
|
license_model=license_model,
|
|
39045
39195
|
manage_master_user_password=manage_master_user_password,
|
|
39196
|
+
master_user_authentication_type=master_user_authentication_type,
|
|
39046
39197
|
master_username=master_username,
|
|
39047
39198
|
master_user_password=master_user_password,
|
|
39048
39199
|
master_user_secret=master_user_secret,
|
|
@@ -40077,6 +40228,22 @@ class CfnDBInstance(
|
|
|
40077
40228
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
40078
40229
|
jsii.set(self, "manageMasterUserPassword", value) # pyright: ignore[reportArgumentType]
|
|
40079
40230
|
|
|
40231
|
+
@builtins.property
|
|
40232
|
+
@jsii.member(jsii_name="masterUserAuthenticationType")
|
|
40233
|
+
def master_user_authentication_type(self) -> typing.Optional[builtins.str]:
|
|
40234
|
+
'''Specifies the authentication type for the master user.'''
|
|
40235
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "masterUserAuthenticationType"))
|
|
40236
|
+
|
|
40237
|
+
@master_user_authentication_type.setter
|
|
40238
|
+
def master_user_authentication_type(
|
|
40239
|
+
self,
|
|
40240
|
+
value: typing.Optional[builtins.str],
|
|
40241
|
+
) -> None:
|
|
40242
|
+
if __debug__:
|
|
40243
|
+
type_hints = typing.get_type_hints(_typecheckingstub__619116fe6142881faa76cfea60c3ef852326ec74e01502e52b5f4e5f78feb598)
|
|
40244
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
40245
|
+
jsii.set(self, "masterUserAuthenticationType", value) # pyright: ignore[reportArgumentType]
|
|
40246
|
+
|
|
40080
40247
|
@builtins.property
|
|
40081
40248
|
@jsii.member(jsii_name="masterUsername")
|
|
40082
40249
|
def master_username(self) -> typing.Optional[builtins.str]:
|
|
@@ -41331,6 +41498,12 @@ class CfnDBProxy(
|
|
|
41331
41498
|
from aws_cdk import aws_rds as rds
|
|
41332
41499
|
|
|
41333
41500
|
cfn_dBProxy = rds.CfnDBProxy(self, "MyCfnDBProxy",
|
|
41501
|
+
db_proxy_name="dbProxyName",
|
|
41502
|
+
engine_family="engineFamily",
|
|
41503
|
+
role_arn="roleArn",
|
|
41504
|
+
vpc_subnet_ids=["vpcSubnetIds"],
|
|
41505
|
+
|
|
41506
|
+
# the properties below are optional
|
|
41334
41507
|
auth=[rds.CfnDBProxy.AuthFormatProperty(
|
|
41335
41508
|
auth_scheme="authScheme",
|
|
41336
41509
|
client_password_auth_type="clientPasswordAuthType",
|
|
@@ -41338,19 +41511,16 @@ class CfnDBProxy(
|
|
|
41338
41511
|
iam_auth="iamAuth",
|
|
41339
41512
|
secret_arn="secretArn"
|
|
41340
41513
|
)],
|
|
41341
|
-
db_proxy_name="dbProxyName",
|
|
41342
|
-
engine_family="engineFamily",
|
|
41343
|
-
role_arn="roleArn",
|
|
41344
|
-
vpc_subnet_ids=["vpcSubnetIds"],
|
|
41345
|
-
|
|
41346
|
-
# the properties below are optional
|
|
41347
41514
|
debug_logging=False,
|
|
41515
|
+
default_auth_scheme="defaultAuthScheme",
|
|
41516
|
+
endpoint_network_type="endpointNetworkType",
|
|
41348
41517
|
idle_client_timeout=123,
|
|
41349
41518
|
require_tls=False,
|
|
41350
41519
|
tags=[rds.CfnDBProxy.TagFormatProperty(
|
|
41351
41520
|
key="key",
|
|
41352
41521
|
value="value"
|
|
41353
41522
|
)],
|
|
41523
|
+
target_connection_network_type="targetConnectionNetworkType",
|
|
41354
41524
|
vpc_security_group_ids=["vpcSecurityGroupIds"]
|
|
41355
41525
|
)
|
|
41356
41526
|
'''
|
|
@@ -41360,29 +41530,35 @@ class CfnDBProxy(
|
|
|
41360
41530
|
scope: _constructs_77d1e7e8.Construct,
|
|
41361
41531
|
id: builtins.str,
|
|
41362
41532
|
*,
|
|
41363
|
-
auth: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDBProxy.AuthFormatProperty", typing.Dict[builtins.str, typing.Any]]]]],
|
|
41364
41533
|
db_proxy_name: builtins.str,
|
|
41365
41534
|
engine_family: builtins.str,
|
|
41366
41535
|
role_arn: builtins.str,
|
|
41367
41536
|
vpc_subnet_ids: typing.Sequence[builtins.str],
|
|
41537
|
+
auth: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDBProxy.AuthFormatProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
41368
41538
|
debug_logging: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
41539
|
+
default_auth_scheme: typing.Optional[builtins.str] = None,
|
|
41540
|
+
endpoint_network_type: typing.Optional[builtins.str] = None,
|
|
41369
41541
|
idle_client_timeout: typing.Optional[jsii.Number] = None,
|
|
41370
41542
|
require_tls: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
41371
41543
|
tags: typing.Optional[typing.Sequence[typing.Union["CfnDBProxy.TagFormatProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
41544
|
+
target_connection_network_type: typing.Optional[builtins.str] = None,
|
|
41372
41545
|
vpc_security_group_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
41373
41546
|
) -> None:
|
|
41374
41547
|
'''
|
|
41375
41548
|
:param scope: Scope in which this resource is defined.
|
|
41376
41549
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
41377
|
-
:param auth: The authorization mechanism that the proxy uses.
|
|
41378
41550
|
: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.
|
|
41379
41551
|
:param engine_family: The kinds of databases that the proxy can connect to. This value determines which database network protocol the proxy recognizes when it interprets network traffic to and from the database. For Aurora MySQL, RDS for MariaDB, and RDS for MySQL databases, specify ``MYSQL`` . For Aurora PostgreSQL and RDS for PostgreSQL databases, specify ``POSTGRESQL`` . For RDS for Microsoft SQL Server, specify ``SQLSERVER`` .
|
|
41380
41552
|
:param role_arn: The Amazon Resource Name (ARN) of the IAM role that the proxy uses to access secrets in AWS Secrets Manager.
|
|
41381
41553
|
:param vpc_subnet_ids: One or more VPC subnet IDs to associate with the new proxy.
|
|
41554
|
+
:param auth: The authorization mechanism that the proxy uses.
|
|
41382
41555
|
:param debug_logging: Specifies whether the proxy logs detailed connection and query information. When you enable ``DebugLogging`` , the proxy captures connection details and connection pool behavior from your queries. Debug logging increases CloudWatch costs and can impact proxy performance. Enable this option only when you need to troubleshoot connection or performance issues.
|
|
41556
|
+
:param default_auth_scheme: The default authentication scheme that the proxy uses for client connections to the proxy and connections from the proxy to the underlying database.
|
|
41557
|
+
:param endpoint_network_type: The network type of the DB proxy endpoint. The network type determines the IP version that the proxy endpoint supports.
|
|
41383
41558
|
:param idle_client_timeout: The number of seconds that a connection to the proxy can be inactive before the proxy disconnects it. You can set this value higher or lower than the connection timeout limit for the associated database.
|
|
41384
41559
|
:param require_tls: Specifies whether Transport Layer Security (TLS) encryption is required for connections to the proxy. By enabling this setting, you can enforce encrypted TLS connections to the proxy.
|
|
41385
41560
|
:param tags: An optional set of key-value pairs to associate arbitrary data of your choosing with the proxy.
|
|
41561
|
+
:param target_connection_network_type: The network type that the proxy uses to connect to the target database. The network type determines the IP version that the proxy uses for connections to the database.
|
|
41386
41562
|
:param vpc_security_group_ids: One or more VPC security group IDs to associate with the new proxy. If you plan to update the resource, don't specify VPC security groups in a shared VPC.
|
|
41387
41563
|
'''
|
|
41388
41564
|
if __debug__:
|
|
@@ -41390,15 +41566,18 @@ class CfnDBProxy(
|
|
|
41390
41566
|
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
41391
41567
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
41392
41568
|
props = CfnDBProxyProps(
|
|
41393
|
-
auth=auth,
|
|
41394
41569
|
db_proxy_name=db_proxy_name,
|
|
41395
41570
|
engine_family=engine_family,
|
|
41396
41571
|
role_arn=role_arn,
|
|
41397
41572
|
vpc_subnet_ids=vpc_subnet_ids,
|
|
41573
|
+
auth=auth,
|
|
41398
41574
|
debug_logging=debug_logging,
|
|
41575
|
+
default_auth_scheme=default_auth_scheme,
|
|
41576
|
+
endpoint_network_type=endpoint_network_type,
|
|
41399
41577
|
idle_client_timeout=idle_client_timeout,
|
|
41400
41578
|
require_tls=require_tls,
|
|
41401
41579
|
tags=tags,
|
|
41580
|
+
target_connection_network_type=target_connection_network_type,
|
|
41402
41581
|
vpc_security_group_ids=vpc_security_group_ids,
|
|
41403
41582
|
)
|
|
41404
41583
|
|
|
@@ -41480,24 +41659,6 @@ class CfnDBProxy(
|
|
|
41480
41659
|
'''A reference to a DBProxy resource.'''
|
|
41481
41660
|
return typing.cast(DBProxyReference, jsii.get(self, "dbProxyRef"))
|
|
41482
41661
|
|
|
41483
|
-
@builtins.property
|
|
41484
|
-
@jsii.member(jsii_name="auth")
|
|
41485
|
-
def auth(
|
|
41486
|
-
self,
|
|
41487
|
-
) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnDBProxy.AuthFormatProperty"]]]:
|
|
41488
|
-
'''The authorization mechanism that the proxy uses.'''
|
|
41489
|
-
return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnDBProxy.AuthFormatProperty"]]], jsii.get(self, "auth"))
|
|
41490
|
-
|
|
41491
|
-
@auth.setter
|
|
41492
|
-
def auth(
|
|
41493
|
-
self,
|
|
41494
|
-
value: typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnDBProxy.AuthFormatProperty"]]],
|
|
41495
|
-
) -> None:
|
|
41496
|
-
if __debug__:
|
|
41497
|
-
type_hints = typing.get_type_hints(_typecheckingstub__869ef0e6807a044fbcf1b07244e827164f63faefbf4f14d0b5f86f685fd1c949)
|
|
41498
|
-
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
41499
|
-
jsii.set(self, "auth", value) # pyright: ignore[reportArgumentType]
|
|
41500
|
-
|
|
41501
41662
|
@builtins.property
|
|
41502
41663
|
@jsii.member(jsii_name="dbProxyName")
|
|
41503
41664
|
def db_proxy_name(self) -> builtins.str:
|
|
@@ -41550,6 +41711,24 @@ class CfnDBProxy(
|
|
|
41550
41711
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
41551
41712
|
jsii.set(self, "vpcSubnetIds", value) # pyright: ignore[reportArgumentType]
|
|
41552
41713
|
|
|
41714
|
+
@builtins.property
|
|
41715
|
+
@jsii.member(jsii_name="auth")
|
|
41716
|
+
def auth(
|
|
41717
|
+
self,
|
|
41718
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnDBProxy.AuthFormatProperty"]]]]:
|
|
41719
|
+
'''The authorization mechanism that the proxy uses.'''
|
|
41720
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnDBProxy.AuthFormatProperty"]]]], jsii.get(self, "auth"))
|
|
41721
|
+
|
|
41722
|
+
@auth.setter
|
|
41723
|
+
def auth(
|
|
41724
|
+
self,
|
|
41725
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnDBProxy.AuthFormatProperty"]]]],
|
|
41726
|
+
) -> None:
|
|
41727
|
+
if __debug__:
|
|
41728
|
+
type_hints = typing.get_type_hints(_typecheckingstub__869ef0e6807a044fbcf1b07244e827164f63faefbf4f14d0b5f86f685fd1c949)
|
|
41729
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
41730
|
+
jsii.set(self, "auth", value) # pyright: ignore[reportArgumentType]
|
|
41731
|
+
|
|
41553
41732
|
@builtins.property
|
|
41554
41733
|
@jsii.member(jsii_name="debugLogging")
|
|
41555
41734
|
def debug_logging(
|
|
@@ -41568,6 +41747,32 @@ class CfnDBProxy(
|
|
|
41568
41747
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
41569
41748
|
jsii.set(self, "debugLogging", value) # pyright: ignore[reportArgumentType]
|
|
41570
41749
|
|
|
41750
|
+
@builtins.property
|
|
41751
|
+
@jsii.member(jsii_name="defaultAuthScheme")
|
|
41752
|
+
def default_auth_scheme(self) -> typing.Optional[builtins.str]:
|
|
41753
|
+
'''The default authentication scheme that the proxy uses for client connections to the proxy and connections from the proxy to the underlying database.'''
|
|
41754
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "defaultAuthScheme"))
|
|
41755
|
+
|
|
41756
|
+
@default_auth_scheme.setter
|
|
41757
|
+
def default_auth_scheme(self, value: typing.Optional[builtins.str]) -> None:
|
|
41758
|
+
if __debug__:
|
|
41759
|
+
type_hints = typing.get_type_hints(_typecheckingstub__18dc20cb6c7198c733585aea9169142348f96482c7091e5ff56866cefa172b68)
|
|
41760
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
41761
|
+
jsii.set(self, "defaultAuthScheme", value) # pyright: ignore[reportArgumentType]
|
|
41762
|
+
|
|
41763
|
+
@builtins.property
|
|
41764
|
+
@jsii.member(jsii_name="endpointNetworkType")
|
|
41765
|
+
def endpoint_network_type(self) -> typing.Optional[builtins.str]:
|
|
41766
|
+
'''The network type of the DB proxy endpoint.'''
|
|
41767
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "endpointNetworkType"))
|
|
41768
|
+
|
|
41769
|
+
@endpoint_network_type.setter
|
|
41770
|
+
def endpoint_network_type(self, value: typing.Optional[builtins.str]) -> None:
|
|
41771
|
+
if __debug__:
|
|
41772
|
+
type_hints = typing.get_type_hints(_typecheckingstub__4b7b706fa2b81a42f739d93aa1586cfc3f9c177800bd27f17441dd2628140627)
|
|
41773
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
41774
|
+
jsii.set(self, "endpointNetworkType", value) # pyright: ignore[reportArgumentType]
|
|
41775
|
+
|
|
41571
41776
|
@builtins.property
|
|
41572
41777
|
@jsii.member(jsii_name="idleClientTimeout")
|
|
41573
41778
|
def idle_client_timeout(self) -> typing.Optional[jsii.Number]:
|
|
@@ -41615,6 +41820,22 @@ class CfnDBProxy(
|
|
|
41615
41820
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
41616
41821
|
jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
|
|
41617
41822
|
|
|
41823
|
+
@builtins.property
|
|
41824
|
+
@jsii.member(jsii_name="targetConnectionNetworkType")
|
|
41825
|
+
def target_connection_network_type(self) -> typing.Optional[builtins.str]:
|
|
41826
|
+
'''The network type that the proxy uses to connect to the target database.'''
|
|
41827
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "targetConnectionNetworkType"))
|
|
41828
|
+
|
|
41829
|
+
@target_connection_network_type.setter
|
|
41830
|
+
def target_connection_network_type(
|
|
41831
|
+
self,
|
|
41832
|
+
value: typing.Optional[builtins.str],
|
|
41833
|
+
) -> None:
|
|
41834
|
+
if __debug__:
|
|
41835
|
+
type_hints = typing.get_type_hints(_typecheckingstub__5b826621bdca40a58dfea5c6aa2d64059dae2f19860bb147be23851703e84180)
|
|
41836
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
41837
|
+
jsii.set(self, "targetConnectionNetworkType", value) # pyright: ignore[reportArgumentType]
|
|
41838
|
+
|
|
41618
41839
|
@builtins.property
|
|
41619
41840
|
@jsii.member(jsii_name="vpcSecurityGroupIds")
|
|
41620
41841
|
def vpc_security_group_ids(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
@@ -41861,6 +42082,7 @@ class CfnDBProxyEndpoint(
|
|
|
41861
42082
|
vpc_subnet_ids=["vpcSubnetIds"],
|
|
41862
42083
|
|
|
41863
42084
|
# the properties below are optional
|
|
42085
|
+
endpoint_network_type="endpointNetworkType",
|
|
41864
42086
|
tags=[rds.CfnDBProxyEndpoint.TagFormatProperty(
|
|
41865
42087
|
key="key",
|
|
41866
42088
|
value="value"
|
|
@@ -41878,6 +42100,7 @@ class CfnDBProxyEndpoint(
|
|
|
41878
42100
|
db_proxy_endpoint_name: builtins.str,
|
|
41879
42101
|
db_proxy_name: builtins.str,
|
|
41880
42102
|
vpc_subnet_ids: typing.Sequence[builtins.str],
|
|
42103
|
+
endpoint_network_type: typing.Optional[builtins.str] = None,
|
|
41881
42104
|
tags: typing.Optional[typing.Sequence[typing.Union["CfnDBProxyEndpoint.TagFormatProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
41882
42105
|
target_role: typing.Optional[builtins.str] = None,
|
|
41883
42106
|
vpc_security_group_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -41888,6 +42111,7 @@ class CfnDBProxyEndpoint(
|
|
|
41888
42111
|
:param db_proxy_endpoint_name: The name of the DB proxy endpoint to create.
|
|
41889
42112
|
:param db_proxy_name: The name of the DB proxy associated with the DB proxy endpoint that you create.
|
|
41890
42113
|
:param vpc_subnet_ids: The VPC subnet IDs for the DB proxy endpoint that you create. You can specify a different set of subnet IDs than for the original DB proxy.
|
|
42114
|
+
:param endpoint_network_type: The network type of the DB proxy endpoint. The network type determines the IP version that the proxy endpoint supports.
|
|
41891
42115
|
:param tags: An optional set of key-value pairs to associate arbitrary data of your choosing with the proxy.
|
|
41892
42116
|
:param target_role: A value that indicates whether the DB proxy endpoint can be used for read/write or read-only operations.
|
|
41893
42117
|
:param vpc_security_group_ids: The VPC security group IDs for the DB proxy endpoint that you create. You can specify a different set of security group IDs than for the original DB proxy. The default is the default security group for the VPC.
|
|
@@ -41900,6 +42124,7 @@ class CfnDBProxyEndpoint(
|
|
|
41900
42124
|
db_proxy_endpoint_name=db_proxy_endpoint_name,
|
|
41901
42125
|
db_proxy_name=db_proxy_name,
|
|
41902
42126
|
vpc_subnet_ids=vpc_subnet_ids,
|
|
42127
|
+
endpoint_network_type=endpoint_network_type,
|
|
41903
42128
|
tags=tags,
|
|
41904
42129
|
target_role=target_role,
|
|
41905
42130
|
vpc_security_group_ids=vpc_security_group_ids,
|
|
@@ -42033,6 +42258,19 @@ class CfnDBProxyEndpoint(
|
|
|
42033
42258
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
42034
42259
|
jsii.set(self, "vpcSubnetIds", value) # pyright: ignore[reportArgumentType]
|
|
42035
42260
|
|
|
42261
|
+
@builtins.property
|
|
42262
|
+
@jsii.member(jsii_name="endpointNetworkType")
|
|
42263
|
+
def endpoint_network_type(self) -> typing.Optional[builtins.str]:
|
|
42264
|
+
'''The network type of the DB proxy endpoint.'''
|
|
42265
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "endpointNetworkType"))
|
|
42266
|
+
|
|
42267
|
+
@endpoint_network_type.setter
|
|
42268
|
+
def endpoint_network_type(self, value: typing.Optional[builtins.str]) -> None:
|
|
42269
|
+
if __debug__:
|
|
42270
|
+
type_hints = typing.get_type_hints(_typecheckingstub__7c98a9244985299acd378ba6ec6338a555d6cbfb215e627bdcfcfc077fea704e)
|
|
42271
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
42272
|
+
jsii.set(self, "endpointNetworkType", value) # pyright: ignore[reportArgumentType]
|
|
42273
|
+
|
|
42036
42274
|
@builtins.property
|
|
42037
42275
|
@jsii.member(jsii_name="tags")
|
|
42038
42276
|
def tags(
|
|
@@ -43511,6 +43749,27 @@ class CfnEventSubscription(
|
|
|
43511
43749
|
|
|
43512
43750
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
43513
43751
|
|
|
43752
|
+
@jsii.member(jsii_name="fromSubscriptionName")
|
|
43753
|
+
@builtins.classmethod
|
|
43754
|
+
def from_subscription_name(
|
|
43755
|
+
cls,
|
|
43756
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
43757
|
+
id: builtins.str,
|
|
43758
|
+
subscription_name: builtins.str,
|
|
43759
|
+
) -> IEventSubscriptionRef:
|
|
43760
|
+
'''Creates a new IEventSubscriptionRef from a subscriptionName.
|
|
43761
|
+
|
|
43762
|
+
:param scope: -
|
|
43763
|
+
:param id: -
|
|
43764
|
+
:param subscription_name: -
|
|
43765
|
+
'''
|
|
43766
|
+
if __debug__:
|
|
43767
|
+
type_hints = typing.get_type_hints(_typecheckingstub__7bdfa9104a39f2dfe7d880f6e5eebfe1ae057b0ab24bc4fcb634ae8c611941a9)
|
|
43768
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
43769
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
43770
|
+
check_type(argname="argument subscription_name", value=subscription_name, expected_type=type_hints["subscription_name"])
|
|
43771
|
+
return typing.cast(IEventSubscriptionRef, jsii.sinvoke(cls, "fromSubscriptionName", [scope, id, subscription_name]))
|
|
43772
|
+
|
|
43514
43773
|
@jsii.member(jsii_name="inspect")
|
|
43515
43774
|
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
43516
43775
|
'''Examines the CloudFormation resource and discloses attributes.
|
|
@@ -44305,6 +44564,27 @@ class CfnOptionGroup(
|
|
|
44305
44564
|
|
|
44306
44565
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
44307
44566
|
|
|
44567
|
+
@jsii.member(jsii_name="fromOptionGroupName")
|
|
44568
|
+
@builtins.classmethod
|
|
44569
|
+
def from_option_group_name(
|
|
44570
|
+
cls,
|
|
44571
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
44572
|
+
id: builtins.str,
|
|
44573
|
+
option_group_name: builtins.str,
|
|
44574
|
+
) -> IOptionGroupRef:
|
|
44575
|
+
'''Creates a new IOptionGroupRef from a optionGroupName.
|
|
44576
|
+
|
|
44577
|
+
:param scope: -
|
|
44578
|
+
:param id: -
|
|
44579
|
+
:param option_group_name: -
|
|
44580
|
+
'''
|
|
44581
|
+
if __debug__:
|
|
44582
|
+
type_hints = typing.get_type_hints(_typecheckingstub__09473afac0fca649ab82afad01fdeee2e7355a6469089e5d88ea99ee003a79de)
|
|
44583
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
44584
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
44585
|
+
check_type(argname="argument option_group_name", value=option_group_name, expected_type=type_hints["option_group_name"])
|
|
44586
|
+
return typing.cast(IOptionGroupRef, jsii.sinvoke(cls, "fromOptionGroupName", [scope, id, option_group_name]))
|
|
44587
|
+
|
|
44308
44588
|
@jsii.member(jsii_name="inspect")
|
|
44309
44589
|
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
44310
44590
|
'''Examines the CloudFormation resource and discloses attributes.
|
|
@@ -51910,6 +52190,7 @@ def _typecheckingstub__aaf089104646bb0ea95e48cd2107d642585c3eb3785a21112fc029b15
|
|
|
51910
52190
|
iops: typing.Optional[jsii.Number] = None,
|
|
51911
52191
|
kms_key_id: typing.Optional[builtins.str] = None,
|
|
51912
52192
|
manage_master_user_password: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
52193
|
+
master_user_authentication_type: typing.Optional[builtins.str] = None,
|
|
51913
52194
|
master_username: typing.Optional[builtins.str] = None,
|
|
51914
52195
|
master_user_password: typing.Optional[builtins.str] = None,
|
|
51915
52196
|
master_user_secret: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDBCluster.MasterUserSecretProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -51989,6 +52270,7 @@ def _typecheckingstub__3bddb1be0bd1f1699e3a084c5859d94d8879ff15011f2f2eaac29ec16
|
|
|
51989
52270
|
kms_key_id: typing.Optional[builtins.str] = None,
|
|
51990
52271
|
license_model: typing.Optional[builtins.str] = None,
|
|
51991
52272
|
manage_master_user_password: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
52273
|
+
master_user_authentication_type: typing.Optional[builtins.str] = None,
|
|
51992
52274
|
master_username: typing.Optional[builtins.str] = None,
|
|
51993
52275
|
master_user_password: typing.Optional[builtins.str] = None,
|
|
51994
52276
|
master_user_secret: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDBInstance.MasterUserSecretProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -52044,6 +52326,7 @@ def _typecheckingstub__3a9b3c0e1e94a5b7b563dceb2d99b8e9a70c4025e99ff97121a4d04a0
|
|
|
52044
52326
|
db_proxy_endpoint_name: builtins.str,
|
|
52045
52327
|
db_proxy_name: builtins.str,
|
|
52046
52328
|
vpc_subnet_ids: typing.Sequence[builtins.str],
|
|
52329
|
+
endpoint_network_type: typing.Optional[builtins.str] = None,
|
|
52047
52330
|
tags: typing.Optional[typing.Sequence[typing.Union[CfnDBProxyEndpoint.TagFormatProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
52048
52331
|
target_role: typing.Optional[builtins.str] = None,
|
|
52049
52332
|
vpc_security_group_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -52053,15 +52336,18 @@ def _typecheckingstub__3a9b3c0e1e94a5b7b563dceb2d99b8e9a70c4025e99ff97121a4d04a0
|
|
|
52053
52336
|
|
|
52054
52337
|
def _typecheckingstub__331ec6568969c058d2fc6c0482e8c31b8cc3af661d01d569ed27059f5a683e34(
|
|
52055
52338
|
*,
|
|
52056
|
-
auth: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDBProxy.AuthFormatProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
52057
52339
|
db_proxy_name: builtins.str,
|
|
52058
52340
|
engine_family: builtins.str,
|
|
52059
52341
|
role_arn: builtins.str,
|
|
52060
52342
|
vpc_subnet_ids: typing.Sequence[builtins.str],
|
|
52343
|
+
auth: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDBProxy.AuthFormatProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
52061
52344
|
debug_logging: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
52345
|
+
default_auth_scheme: typing.Optional[builtins.str] = None,
|
|
52346
|
+
endpoint_network_type: typing.Optional[builtins.str] = None,
|
|
52062
52347
|
idle_client_timeout: typing.Optional[jsii.Number] = None,
|
|
52063
52348
|
require_tls: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
52064
52349
|
tags: typing.Optional[typing.Sequence[typing.Union[CfnDBProxy.TagFormatProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
52350
|
+
target_connection_network_type: typing.Optional[builtins.str] = None,
|
|
52065
52351
|
vpc_security_group_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
52066
52352
|
) -> None:
|
|
52067
52353
|
"""Type checking stubs"""
|
|
@@ -53830,6 +54116,7 @@ def _typecheckingstub__1eb14b9dcc306eabcc2963c7b6ef9b87bf8d616bb5691dbc6656242be
|
|
|
53830
54116
|
iops: typing.Optional[jsii.Number] = None,
|
|
53831
54117
|
kms_key_id: typing.Optional[builtins.str] = None,
|
|
53832
54118
|
manage_master_user_password: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
54119
|
+
master_user_authentication_type: typing.Optional[builtins.str] = None,
|
|
53833
54120
|
master_username: typing.Optional[builtins.str] = None,
|
|
53834
54121
|
master_user_password: typing.Optional[builtins.str] = None,
|
|
53835
54122
|
master_user_secret: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDBCluster.MasterUserSecretProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -54071,6 +54358,12 @@ def _typecheckingstub__7ca876954b5556832b0c941ce0f6ef94a61eb0cd960bb6e8a0106369c
|
|
|
54071
54358
|
"""Type checking stubs"""
|
|
54072
54359
|
pass
|
|
54073
54360
|
|
|
54361
|
+
def _typecheckingstub__910a49e316ebe92edf4e4f3c3db84de89812fb192f5741dd59271a8ec7200008(
|
|
54362
|
+
value: typing.Optional[builtins.str],
|
|
54363
|
+
) -> None:
|
|
54364
|
+
"""Type checking stubs"""
|
|
54365
|
+
pass
|
|
54366
|
+
|
|
54074
54367
|
def _typecheckingstub__0dd3cba91c2c8db72b7eb5eeec9e8fbd7f06d277b876e3e89834d03071aaf6d8(
|
|
54075
54368
|
value: typing.Optional[builtins.str],
|
|
54076
54369
|
) -> None:
|
|
@@ -54390,6 +54683,7 @@ def _typecheckingstub__255b0779ca741853674876540bf77279f6293bea05de2cd18724d2b92
|
|
|
54390
54683
|
kms_key_id: typing.Optional[builtins.str] = None,
|
|
54391
54684
|
license_model: typing.Optional[builtins.str] = None,
|
|
54392
54685
|
manage_master_user_password: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
54686
|
+
master_user_authentication_type: typing.Optional[builtins.str] = None,
|
|
54393
54687
|
master_username: typing.Optional[builtins.str] = None,
|
|
54394
54688
|
master_user_password: typing.Optional[builtins.str] = None,
|
|
54395
54689
|
master_user_secret: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDBInstance.MasterUserSecretProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -54717,6 +55011,12 @@ def _typecheckingstub__8ecef20f6921c76abf800f6b708fec7f9adf740c5601480addc60f0e3
|
|
|
54717
55011
|
"""Type checking stubs"""
|
|
54718
55012
|
pass
|
|
54719
55013
|
|
|
55014
|
+
def _typecheckingstub__619116fe6142881faa76cfea60c3ef852326ec74e01502e52b5f4e5f78feb598(
|
|
55015
|
+
value: typing.Optional[builtins.str],
|
|
55016
|
+
) -> None:
|
|
55017
|
+
"""Type checking stubs"""
|
|
55018
|
+
pass
|
|
55019
|
+
|
|
54720
55020
|
def _typecheckingstub__e4f4f227c9a762f25ad0222448fd600edf7e310cc003e4a2fed9244a343499d9(
|
|
54721
55021
|
value: typing.Optional[builtins.str],
|
|
54722
55022
|
) -> None:
|
|
@@ -55037,15 +55337,18 @@ def _typecheckingstub__4d94f4b32c99ad047b3a29dd2b83cad728335675f9397ef40b6355d8a
|
|
|
55037
55337
|
scope: _constructs_77d1e7e8.Construct,
|
|
55038
55338
|
id: builtins.str,
|
|
55039
55339
|
*,
|
|
55040
|
-
auth: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDBProxy.AuthFormatProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
55041
55340
|
db_proxy_name: builtins.str,
|
|
55042
55341
|
engine_family: builtins.str,
|
|
55043
55342
|
role_arn: builtins.str,
|
|
55044
55343
|
vpc_subnet_ids: typing.Sequence[builtins.str],
|
|
55344
|
+
auth: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDBProxy.AuthFormatProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
55045
55345
|
debug_logging: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
55346
|
+
default_auth_scheme: typing.Optional[builtins.str] = None,
|
|
55347
|
+
endpoint_network_type: typing.Optional[builtins.str] = None,
|
|
55046
55348
|
idle_client_timeout: typing.Optional[jsii.Number] = None,
|
|
55047
55349
|
require_tls: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
55048
55350
|
tags: typing.Optional[typing.Sequence[typing.Union[CfnDBProxy.TagFormatProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
55351
|
+
target_connection_network_type: typing.Optional[builtins.str] = None,
|
|
55049
55352
|
vpc_security_group_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
55050
55353
|
) -> None:
|
|
55051
55354
|
"""Type checking stubs"""
|
|
@@ -55063,12 +55366,6 @@ def _typecheckingstub__069f114e3593f89959ab0180ffc2c341744b96a557ca447e885c4c7a4
|
|
|
55063
55366
|
"""Type checking stubs"""
|
|
55064
55367
|
pass
|
|
55065
55368
|
|
|
55066
|
-
def _typecheckingstub__869ef0e6807a044fbcf1b07244e827164f63faefbf4f14d0b5f86f685fd1c949(
|
|
55067
|
-
value: typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnDBProxy.AuthFormatProperty]]],
|
|
55068
|
-
) -> None:
|
|
55069
|
-
"""Type checking stubs"""
|
|
55070
|
-
pass
|
|
55071
|
-
|
|
55072
55369
|
def _typecheckingstub__b3a9e7095215a0a9bdb8ab44b83362bbd101299c63fc799b2a6ff66bca4e33e1(
|
|
55073
55370
|
value: builtins.str,
|
|
55074
55371
|
) -> None:
|
|
@@ -55093,12 +55390,30 @@ def _typecheckingstub__41d92774518120032be7c505a800af682ea1962c565406683dc31aa33
|
|
|
55093
55390
|
"""Type checking stubs"""
|
|
55094
55391
|
pass
|
|
55095
55392
|
|
|
55393
|
+
def _typecheckingstub__869ef0e6807a044fbcf1b07244e827164f63faefbf4f14d0b5f86f685fd1c949(
|
|
55394
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnDBProxy.AuthFormatProperty]]]],
|
|
55395
|
+
) -> None:
|
|
55396
|
+
"""Type checking stubs"""
|
|
55397
|
+
pass
|
|
55398
|
+
|
|
55096
55399
|
def _typecheckingstub__74bf8fd129aa7db6aa8cbe4c31cc1e5c4cc49092cdf5e1df037dc0169913f027(
|
|
55097
55400
|
value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
|
|
55098
55401
|
) -> None:
|
|
55099
55402
|
"""Type checking stubs"""
|
|
55100
55403
|
pass
|
|
55101
55404
|
|
|
55405
|
+
def _typecheckingstub__18dc20cb6c7198c733585aea9169142348f96482c7091e5ff56866cefa172b68(
|
|
55406
|
+
value: typing.Optional[builtins.str],
|
|
55407
|
+
) -> None:
|
|
55408
|
+
"""Type checking stubs"""
|
|
55409
|
+
pass
|
|
55410
|
+
|
|
55411
|
+
def _typecheckingstub__4b7b706fa2b81a42f739d93aa1586cfc3f9c177800bd27f17441dd2628140627(
|
|
55412
|
+
value: typing.Optional[builtins.str],
|
|
55413
|
+
) -> None:
|
|
55414
|
+
"""Type checking stubs"""
|
|
55415
|
+
pass
|
|
55416
|
+
|
|
55102
55417
|
def _typecheckingstub__20d24f3922bd4d273f50d9ca90e005b2b8fc4e91024a96337ec2377ca188b833(
|
|
55103
55418
|
value: typing.Optional[jsii.Number],
|
|
55104
55419
|
) -> None:
|
|
@@ -55117,6 +55432,12 @@ def _typecheckingstub__40e4176c733c58b29a8f2c935c044c4a11574a0150e5b0cfa2bfd50ca
|
|
|
55117
55432
|
"""Type checking stubs"""
|
|
55118
55433
|
pass
|
|
55119
55434
|
|
|
55435
|
+
def _typecheckingstub__5b826621bdca40a58dfea5c6aa2d64059dae2f19860bb147be23851703e84180(
|
|
55436
|
+
value: typing.Optional[builtins.str],
|
|
55437
|
+
) -> None:
|
|
55438
|
+
"""Type checking stubs"""
|
|
55439
|
+
pass
|
|
55440
|
+
|
|
55120
55441
|
def _typecheckingstub__0e3b5046d5f0ce58c561c6efda61644df88a6d63ab0ce20e5ce3314ed37dba62(
|
|
55121
55442
|
value: typing.Optional[typing.List[builtins.str]],
|
|
55122
55443
|
) -> None:
|
|
@@ -55149,6 +55470,7 @@ def _typecheckingstub__54411dbda583caaf4997925cbfd0ea949cf7e685dcde3cdc9e9e301dc
|
|
|
55149
55470
|
db_proxy_endpoint_name: builtins.str,
|
|
55150
55471
|
db_proxy_name: builtins.str,
|
|
55151
55472
|
vpc_subnet_ids: typing.Sequence[builtins.str],
|
|
55473
|
+
endpoint_network_type: typing.Optional[builtins.str] = None,
|
|
55152
55474
|
tags: typing.Optional[typing.Sequence[typing.Union[CfnDBProxyEndpoint.TagFormatProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
55153
55475
|
target_role: typing.Optional[builtins.str] = None,
|
|
55154
55476
|
vpc_security_group_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -55186,6 +55508,12 @@ def _typecheckingstub__46c2bdfcac6804daeebeae78f3431ef98a8d5656ee2fedd5f51ebf734
|
|
|
55186
55508
|
"""Type checking stubs"""
|
|
55187
55509
|
pass
|
|
55188
55510
|
|
|
55511
|
+
def _typecheckingstub__7c98a9244985299acd378ba6ec6338a555d6cbfb215e627bdcfcfc077fea704e(
|
|
55512
|
+
value: typing.Optional[builtins.str],
|
|
55513
|
+
) -> None:
|
|
55514
|
+
"""Type checking stubs"""
|
|
55515
|
+
pass
|
|
55516
|
+
|
|
55189
55517
|
def _typecheckingstub__f6a5dc208e5f863d586ec1e35a3b9362d553db4adbb0ff7cc43308284678c640(
|
|
55190
55518
|
value: typing.Optional[typing.List[CfnDBProxyEndpoint.TagFormatProperty]],
|
|
55191
55519
|
) -> None:
|
|
@@ -55523,6 +55851,14 @@ def _typecheckingstub__0c5db068cdeb685ae34885c6eea1acaa01b83ca0af2c63429f3a30e0a
|
|
|
55523
55851
|
"""Type checking stubs"""
|
|
55524
55852
|
pass
|
|
55525
55853
|
|
|
55854
|
+
def _typecheckingstub__7bdfa9104a39f2dfe7d880f6e5eebfe1ae057b0ab24bc4fcb634ae8c611941a9(
|
|
55855
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
55856
|
+
id: builtins.str,
|
|
55857
|
+
subscription_name: builtins.str,
|
|
55858
|
+
) -> None:
|
|
55859
|
+
"""Type checking stubs"""
|
|
55860
|
+
pass
|
|
55861
|
+
|
|
55526
55862
|
def _typecheckingstub__31f076db464d46bf940b81eae58c6d887f3b50913e8d41f1e9eaf45eecb21f4a(
|
|
55527
55863
|
inspector: _TreeInspector_488e0dd5,
|
|
55528
55864
|
) -> None:
|
|
@@ -55750,6 +56086,14 @@ def _typecheckingstub__160a45fe55c01086901039aa8bde8bd5ace11ff967acd2154abcc9137
|
|
|
55750
56086
|
"""Type checking stubs"""
|
|
55751
56087
|
pass
|
|
55752
56088
|
|
|
56089
|
+
def _typecheckingstub__09473afac0fca649ab82afad01fdeee2e7355a6469089e5d88ea99ee003a79de(
|
|
56090
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
56091
|
+
id: builtins.str,
|
|
56092
|
+
option_group_name: builtins.str,
|
|
56093
|
+
) -> None:
|
|
56094
|
+
"""Type checking stubs"""
|
|
56095
|
+
pass
|
|
56096
|
+
|
|
55753
56097
|
def _typecheckingstub__695e11a3e4e7e1f79549d5c0920ec62fd0456898c348576c7f6eab74e91d5cd8(
|
|
55754
56098
|
inspector: _TreeInspector_488e0dd5,
|
|
55755
56099
|
) -> None:
|