aws-cdk-lib 2.133.0__py3-none-any.whl → 2.135.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.
- aws_cdk/__init__.py +14 -1
- aws_cdk/_jsii/__init__.py +4 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.133.0.jsii.tgz → aws-cdk-lib@2.135.0.jsii.tgz} +0 -0
- aws_cdk/alexa_ask/__init__.py +3 -0
- aws_cdk/assertions/__init__.py +3 -0
- aws_cdk/aws_accessanalyzer/__init__.py +3 -0
- aws_cdk/aws_acmpca/__init__.py +3 -0
- aws_cdk/aws_amazonmq/__init__.py +3 -0
- aws_cdk/aws_amplify/__init__.py +3 -0
- aws_cdk/aws_amplifyuibuilder/__init__.py +3 -0
- aws_cdk/aws_apigateway/__init__.py +3 -0
- aws_cdk/aws_apigatewayv2/__init__.py +108 -3
- aws_cdk/aws_apigatewayv2_authorizers/__init__.py +3 -0
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +158 -3
- aws_cdk/aws_appconfig/__init__.py +189 -8
- aws_cdk/aws_appflow/__init__.py +3 -0
- aws_cdk/aws_appintegrations/__init__.py +560 -0
- aws_cdk/aws_applicationautoscaling/__init__.py +4 -1
- aws_cdk/aws_applicationinsights/__init__.py +3 -0
- aws_cdk/aws_appmesh/__init__.py +4 -1
- aws_cdk/aws_apprunner/__init__.py +3 -0
- aws_cdk/aws_appstream/__init__.py +3 -0
- aws_cdk/aws_appsync/__init__.py +74 -0
- aws_cdk/aws_aps/__init__.py +805 -1
- aws_cdk/aws_arczonalshift/__init__.py +3 -0
- aws_cdk/aws_athena/__init__.py +3 -0
- aws_cdk/aws_auditmanager/__init__.py +3 -0
- aws_cdk/aws_autoscaling/__init__.py +9 -4
- aws_cdk/aws_autoscaling_common/__init__.py +3 -0
- aws_cdk/aws_autoscaling_hooktargets/__init__.py +3 -0
- aws_cdk/aws_autoscalingplans/__init__.py +3 -0
- aws_cdk/aws_b2bi/__init__.py +3 -0
- aws_cdk/aws_backup/__init__.py +26 -12
- aws_cdk/aws_backupgateway/__init__.py +3 -0
- aws_cdk/aws_batch/__init__.py +426 -73
- aws_cdk/aws_bedrock/__init__.py +200 -2
- aws_cdk/aws_billingconductor/__init__.py +3 -0
- aws_cdk/aws_budgets/__init__.py +3 -0
- aws_cdk/aws_cassandra/__init__.py +3 -0
- aws_cdk/aws_ce/__init__.py +3 -0
- aws_cdk/aws_certificatemanager/__init__.py +3 -0
- aws_cdk/aws_chatbot/__init__.py +3 -0
- aws_cdk/aws_cleanrooms/__init__.py +183 -6
- aws_cdk/aws_cloud9/__init__.py +3 -0
- aws_cdk/aws_cloudformation/__init__.py +4 -1
- aws_cdk/aws_cloudfront/__init__.py +5 -2
- aws_cdk/aws_cloudfront/experimental/__init__.py +3 -0
- aws_cdk/aws_cloudfront_origins/__init__.py +3 -0
- aws_cdk/aws_cloudtrail/__init__.py +47 -14
- aws_cdk/aws_cloudwatch/__init__.py +21 -0
- aws_cdk/aws_cloudwatch_actions/__init__.py +3 -0
- aws_cdk/aws_codeartifact/__init__.py +815 -2
- aws_cdk/aws_codebuild/__init__.py +38 -16
- aws_cdk/aws_codecommit/__init__.py +3 -0
- aws_cdk/aws_codedeploy/__init__.py +3 -0
- aws_cdk/aws_codeguruprofiler/__init__.py +3 -0
- aws_cdk/aws_codegurureviewer/__init__.py +3 -0
- aws_cdk/aws_codepipeline/__init__.py +27 -8
- aws_cdk/aws_codepipeline_actions/__init__.py +3 -0
- aws_cdk/aws_codestar/__init__.py +3 -0
- aws_cdk/aws_codestarconnections/__init__.py +91 -2
- aws_cdk/aws_codestarnotifications/__init__.py +3 -0
- aws_cdk/aws_cognito/__init__.py +44 -40
- aws_cdk/aws_comprehend/__init__.py +3 -0
- aws_cdk/aws_config/__init__.py +3 -0
- aws_cdk/aws_connect/__init__.py +277 -0
- aws_cdk/aws_connectcampaigns/__init__.py +3 -0
- aws_cdk/aws_controltower/__init__.py +3 -0
- aws_cdk/aws_cur/__init__.py +3 -0
- aws_cdk/aws_customerprofiles/__init__.py +3 -0
- aws_cdk/aws_databrew/__init__.py +3 -0
- aws_cdk/aws_datapipeline/__init__.py +3 -0
- aws_cdk/aws_datasync/__init__.py +396 -13
- aws_cdk/aws_datazone/__init__.py +3 -0
- aws_cdk/aws_dax/__init__.py +3 -0
- aws_cdk/aws_detective/__init__.py +3 -0
- aws_cdk/aws_devicefarm/__init__.py +3 -0
- aws_cdk/aws_devopsguru/__init__.py +3 -0
- aws_cdk/aws_directoryservice/__init__.py +3 -0
- aws_cdk/aws_dlm/__init__.py +5 -2
- aws_cdk/aws_dms/__init__.py +30 -9
- aws_cdk/aws_docdb/__init__.py +3 -0
- aws_cdk/aws_docdbelastic/__init__.py +128 -0
- aws_cdk/aws_dynamodb/__init__.py +419 -5
- aws_cdk/aws_ec2/__init__.py +3530 -504
- aws_cdk/aws_ecr/__init__.py +3 -0
- aws_cdk/aws_ecr_assets/__init__.py +3 -0
- aws_cdk/aws_ecs/__init__.py +12 -4
- aws_cdk/aws_ecs_patterns/__init__.py +3 -0
- aws_cdk/aws_efs/__init__.py +3 -0
- aws_cdk/aws_eks/__init__.py +69 -47
- aws_cdk/aws_elasticache/__init__.py +3 -0
- aws_cdk/aws_elasticbeanstalk/__init__.py +3 -0
- aws_cdk/aws_elasticloadbalancing/__init__.py +3 -0
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +431 -72
- aws_cdk/aws_elasticloadbalancingv2_actions/__init__.py +3 -0
- aws_cdk/aws_elasticloadbalancingv2_targets/__init__.py +3 -0
- aws_cdk/aws_elasticsearch/__init__.py +3 -0
- aws_cdk/aws_emr/__init__.py +3 -0
- aws_cdk/aws_emrcontainers/__init__.py +3 -0
- aws_cdk/aws_emrserverless/__init__.py +3 -0
- aws_cdk/aws_entityresolution/__init__.py +96 -66
- aws_cdk/aws_events/__init__.py +3 -0
- aws_cdk/aws_events_targets/__init__.py +3 -0
- aws_cdk/aws_eventschemas/__init__.py +3 -0
- aws_cdk/aws_evidently/__init__.py +3 -0
- aws_cdk/aws_finspace/__init__.py +3 -0
- aws_cdk/aws_fis/__init__.py +3 -0
- aws_cdk/aws_fms/__init__.py +3 -0
- aws_cdk/aws_forecast/__init__.py +3 -0
- aws_cdk/aws_frauddetector/__init__.py +3 -0
- aws_cdk/aws_fsx/__init__.py +3 -0
- aws_cdk/aws_gamelift/__init__.py +3 -0
- aws_cdk/aws_globalaccelerator/__init__.py +5 -2
- aws_cdk/aws_globalaccelerator_endpoints/__init__.py +3 -0
- aws_cdk/aws_glue/__init__.py +147 -3
- aws_cdk/aws_grafana/__init__.py +3 -0
- aws_cdk/aws_greengrass/__init__.py +3 -0
- aws_cdk/aws_greengrassv2/__init__.py +3 -0
- aws_cdk/aws_groundstation/__init__.py +3 -0
- aws_cdk/aws_guardduty/__init__.py +3 -0
- aws_cdk/aws_healthimaging/__init__.py +3 -0
- aws_cdk/aws_healthlake/__init__.py +3 -0
- aws_cdk/aws_iam/__init__.py +12 -10
- aws_cdk/aws_identitystore/__init__.py +3 -0
- aws_cdk/aws_imagebuilder/__init__.py +3 -0
- aws_cdk/aws_inspector/__init__.py +3 -0
- aws_cdk/aws_inspectorv2/__init__.py +3 -0
- aws_cdk/aws_internetmonitor/__init__.py +88 -0
- aws_cdk/aws_iot/__init__.py +3 -0
- aws_cdk/aws_iot1click/__init__.py +3 -0
- aws_cdk/aws_iotanalytics/__init__.py +3 -0
- aws_cdk/aws_iotcoredeviceadvisor/__init__.py +3 -0
- aws_cdk/aws_iotevents/__init__.py +3 -0
- aws_cdk/aws_iotfleethub/__init__.py +3 -0
- aws_cdk/aws_iotfleetwise/__init__.py +3 -0
- aws_cdk/aws_iotsitewise/__init__.py +138 -55
- aws_cdk/aws_iotthingsgraph/__init__.py +3 -0
- aws_cdk/aws_iottwinmaker/__init__.py +3 -0
- aws_cdk/aws_iotwireless/__init__.py +3 -0
- aws_cdk/aws_ivs/__init__.py +3 -0
- aws_cdk/aws_ivschat/__init__.py +3 -0
- aws_cdk/aws_kafkaconnect/__init__.py +1239 -161
- aws_cdk/aws_kendra/__init__.py +56 -39
- aws_cdk/aws_kendraranking/__init__.py +3 -0
- aws_cdk/aws_kinesis/__init__.py +3 -0
- aws_cdk/aws_kinesisanalytics/__init__.py +40 -37
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +40 -37
- aws_cdk/aws_kinesisfirehose/__init__.py +14 -3
- aws_cdk/aws_kinesisvideo/__init__.py +3 -0
- aws_cdk/aws_kms/__init__.py +3 -0
- aws_cdk/aws_lakeformation/__init__.py +3 -0
- aws_cdk/aws_lambda/__init__.py +9 -0
- aws_cdk/aws_lambda_destinations/__init__.py +3 -0
- aws_cdk/aws_lambda_event_sources/__init__.py +45 -18
- aws_cdk/aws_lambda_nodejs/__init__.py +3 -0
- aws_cdk/aws_lex/__init__.py +3 -0
- aws_cdk/aws_licensemanager/__init__.py +3 -0
- aws_cdk/aws_lightsail/__init__.py +3 -0
- aws_cdk/aws_location/__init__.py +3 -0
- aws_cdk/aws_logs/__init__.py +3 -0
- aws_cdk/aws_logs_destinations/__init__.py +3 -0
- aws_cdk/aws_lookoutequipment/__init__.py +3 -0
- aws_cdk/aws_lookoutmetrics/__init__.py +3 -0
- aws_cdk/aws_lookoutvision/__init__.py +3 -0
- aws_cdk/aws_m2/__init__.py +3 -0
- aws_cdk/aws_macie/__init__.py +3 -0
- aws_cdk/aws_managedblockchain/__init__.py +5 -3
- aws_cdk/aws_mediaconnect/__init__.py +3 -0
- aws_cdk/aws_mediaconvert/__init__.py +3 -0
- aws_cdk/aws_medialive/__init__.py +3 -0
- aws_cdk/aws_mediapackage/__init__.py +3 -0
- aws_cdk/aws_mediapackagev2/__init__.py +3 -0
- aws_cdk/aws_mediastore/__init__.py +3 -0
- aws_cdk/aws_mediatailor/__init__.py +3 -0
- aws_cdk/aws_memorydb/__init__.py +3 -0
- aws_cdk/aws_msk/__init__.py +91 -0
- aws_cdk/aws_mwaa/__init__.py +3 -0
- aws_cdk/aws_neptune/__init__.py +3 -0
- aws_cdk/aws_neptunegraph/__init__.py +3 -0
- aws_cdk/aws_networkfirewall/__init__.py +3 -0
- aws_cdk/aws_networkmanager/__init__.py +3 -0
- aws_cdk/aws_nimblestudio/__init__.py +3 -0
- aws_cdk/aws_oam/__init__.py +6 -3
- aws_cdk/aws_omics/__init__.py +3 -0
- aws_cdk/aws_opensearchserverless/__init__.py +3 -0
- aws_cdk/aws_opensearchservice/__init__.py +26 -18
- aws_cdk/aws_opsworks/__init__.py +3 -0
- aws_cdk/aws_opsworkscm/__init__.py +3 -0
- aws_cdk/aws_organizations/__init__.py +3 -0
- aws_cdk/aws_osis/__init__.py +3 -0
- aws_cdk/aws_panorama/__init__.py +3 -0
- aws_cdk/aws_pcaconnectorad/__init__.py +3 -0
- aws_cdk/aws_personalize/__init__.py +3 -0
- aws_cdk/aws_pinpoint/__init__.py +45 -0
- aws_cdk/aws_pinpointemail/__init__.py +3 -0
- aws_cdk/aws_pipes/__init__.py +3 -0
- aws_cdk/aws_proton/__init__.py +3 -0
- aws_cdk/aws_qldb/__init__.py +3 -0
- aws_cdk/aws_quicksight/__init__.py +3 -0
- aws_cdk/aws_ram/__init__.py +3 -0
- aws_cdk/aws_rds/__init__.py +150 -27
- aws_cdk/aws_redshift/__init__.py +3 -0
- aws_cdk/aws_redshiftserverless/__init__.py +3 -0
- aws_cdk/aws_refactorspaces/__init__.py +3 -0
- aws_cdk/aws_rekognition/__init__.py +3 -0
- aws_cdk/aws_resiliencehub/__init__.py +3 -0
- aws_cdk/aws_resourceexplorer2/__init__.py +3 -0
- aws_cdk/aws_resourcegroups/__init__.py +3 -0
- aws_cdk/aws_robomaker/__init__.py +3 -0
- aws_cdk/aws_rolesanywhere/__init__.py +3 -0
- aws_cdk/aws_route53/__init__.py +52 -0
- aws_cdk/aws_route53_patterns/__init__.py +3 -0
- aws_cdk/aws_route53_targets/__init__.py +3 -0
- aws_cdk/aws_route53recoverycontrol/__init__.py +3 -0
- aws_cdk/aws_route53recoveryreadiness/__init__.py +3 -0
- aws_cdk/aws_route53resolver/__init__.py +3 -0
- aws_cdk/aws_rum/__init__.py +3 -0
- aws_cdk/aws_s3/__init__.py +3 -0
- aws_cdk/aws_s3_assets/__init__.py +3 -0
- aws_cdk/aws_s3_deployment/__init__.py +3 -0
- aws_cdk/aws_s3_notifications/__init__.py +3 -0
- aws_cdk/aws_s3express/__init__.py +3 -0
- aws_cdk/aws_s3objectlambda/__init__.py +3 -0
- aws_cdk/aws_s3outposts/__init__.py +3 -0
- aws_cdk/aws_sagemaker/__init__.py +5 -2
- aws_cdk/aws_sam/__init__.py +3 -0
- aws_cdk/aws_scheduler/__init__.py +3 -0
- aws_cdk/aws_sdb/__init__.py +3 -0
- aws_cdk/aws_secretsmanager/__init__.py +3 -0
- aws_cdk/aws_securityhub/__init__.py +59 -14
- aws_cdk/aws_securitylake/__init__.py +859 -0
- aws_cdk/aws_servicecatalog/__init__.py +3 -0
- aws_cdk/aws_servicecatalogappregistry/__init__.py +3 -0
- aws_cdk/aws_servicediscovery/__init__.py +3 -0
- aws_cdk/aws_ses/__init__.py +3 -0
- aws_cdk/aws_ses_actions/__init__.py +3 -0
- aws_cdk/aws_shield/__init__.py +3 -0
- aws_cdk/aws_signer/__init__.py +3 -0
- aws_cdk/aws_simspaceweaver/__init__.py +3 -0
- aws_cdk/aws_sns/__init__.py +48 -13
- aws_cdk/aws_sns_subscriptions/__init__.py +3 -0
- aws_cdk/aws_sqs/__init__.py +3 -0
- aws_cdk/aws_ssm/__init__.py +6 -3
- aws_cdk/aws_ssmcontacts/__init__.py +3 -0
- aws_cdk/aws_ssmincidents/__init__.py +3 -0
- aws_cdk/aws_sso/__init__.py +3 -0
- aws_cdk/aws_stepfunctions/__init__.py +3 -0
- aws_cdk/aws_stepfunctions_tasks/__init__.py +26 -0
- aws_cdk/aws_supportapp/__init__.py +3 -0
- aws_cdk/aws_synthetics/__init__.py +77 -14
- aws_cdk/aws_systemsmanagersap/__init__.py +3 -0
- aws_cdk/aws_timestream/__init__.py +3 -0
- aws_cdk/aws_transfer/__init__.py +7 -3
- aws_cdk/aws_verifiedpermissions/__init__.py +3 -0
- aws_cdk/aws_voiceid/__init__.py +3 -0
- aws_cdk/aws_vpclattice/__init__.py +3 -0
- aws_cdk/aws_waf/__init__.py +3 -0
- aws_cdk/aws_wafregional/__init__.py +3 -0
- aws_cdk/aws_wafv2/__init__.py +99 -46
- aws_cdk/aws_wisdom/__init__.py +3 -0
- aws_cdk/aws_workspaces/__init__.py +3 -0
- aws_cdk/aws_workspacesthinclient/__init__.py +3 -0
- aws_cdk/aws_workspacesweb/__init__.py +3 -0
- aws_cdk/aws_xray/__init__.py +3 -0
- aws_cdk/cloud_assembly_schema/__init__.py +3 -0
- aws_cdk/cloudformation_include/__init__.py +3 -0
- aws_cdk/custom_resources/__init__.py +7 -4
- aws_cdk/cx_api/__init__.py +20 -0
- aws_cdk/lambda_layer_awscli/__init__.py +3 -0
- aws_cdk/lambda_layer_kubectl/__init__.py +3 -0
- aws_cdk/lambda_layer_node_proxy_agent/__init__.py +3 -0
- aws_cdk/pipelines/__init__.py +3 -0
- aws_cdk/region_info/__init__.py +3 -0
- aws_cdk/triggers/__init__.py +3 -0
- {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.135.0.dist-info}/METADATA +2 -2
- aws_cdk_lib-2.135.0.dist-info/RECORD +282 -0
- aws_cdk_lib-2.133.0.dist-info/RECORD +0 -281
- {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.135.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.135.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.135.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.135.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_rds/__init__.py
CHANGED
|
@@ -1409,8 +1409,6 @@ cluster = rds.DatabaseCluster(self, "Cluster",
|
|
|
1409
1409
|
enable_data_api=True
|
|
1410
1410
|
)
|
|
1411
1411
|
cluster.grant_data_api_access(fn)
|
|
1412
|
-
# It is necessary to grant the function access to the secret associated with the cluster for `DatabaseCluster`.
|
|
1413
|
-
cluster.secret.grant_read(fn)
|
|
1414
1412
|
```
|
|
1415
1413
|
|
|
1416
1414
|
**Note**: To invoke the Data API, the resource will need to read the secret associated with the cluster.
|
|
@@ -1446,6 +1444,9 @@ rds.DatabaseCluster(self, "DatabaseCluster",
|
|
|
1446
1444
|
)
|
|
1447
1445
|
```
|
|
1448
1446
|
'''
|
|
1447
|
+
from pkgutil import extend_path
|
|
1448
|
+
__path__ = extend_path(__path__, __name__)
|
|
1449
|
+
|
|
1449
1450
|
import abc
|
|
1450
1451
|
import builtins
|
|
1451
1452
|
import datetime
|
|
@@ -4280,7 +4281,7 @@ class CfnDBCluster(
|
|
|
4280
4281
|
:param enable_http_endpoint: Specifies whether to enable the HTTP endpoint for the DB cluster. By default, the HTTP endpoint isn't enabled. When enabled, the HTTP endpoint provides a connectionless web service API (RDS Data API) for running SQL queries on the DB cluster. You can also query your database from inside the RDS console with the RDS query editor. RDS Data API is supported with the following DB clusters: - Aurora PostgreSQL Serverless v2 and provisioned - Aurora PostgreSQL and Aurora MySQL Serverless v1 For more information, see `Using RDS Data API <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/data-api.html>`_ in the *Amazon Aurora User Guide* . Valid for Cluster Type: Aurora DB clusters only
|
|
4281
4282
|
:param enable_iam_database_authentication: A value that indicates whether to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts. By default, mapping is disabled. For more information, see `IAM Database Authentication <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.IAMDBAuth.html>`_ in the *Amazon Aurora User Guide.* Valid for: Aurora DB clusters only
|
|
4282
4283
|
:param engine: The name of the database engine to be used for this DB cluster. Valid Values: - ``aurora-mysql`` - ``aurora-postgresql`` - ``mysql`` - ``postgres`` Valid for: Aurora DB clusters and Multi-AZ DB clusters
|
|
4283
|
-
:param engine_mode: The DB engine mode of the DB cluster, either ``provisioned`` or ``serverless`` . The ``serverless`` engine mode only
|
|
4284
|
+
:param engine_mode: The DB engine mode of the DB cluster, either ``provisioned`` or ``serverless`` . The ``serverless`` engine mode only applies for Aurora Serverless v1 DB clusters. For information about limitations and requirements for Serverless DB clusters, see the following sections in the *Amazon Aurora User Guide* : - `Limitations of Aurora Serverless v1 <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.html#aurora-serverless.limitations>`_ - `Requirements for Aurora Serverless v2 <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.requirements.html>`_ Valid for Cluster Type: Aurora DB clusters only
|
|
4284
4285
|
:param engine_version: The version number of the database engine to use. To list all of the available engine versions for Aurora MySQL version 2 (5.7-compatible) and version 3 (8.0-compatible), use the following command: ``aws rds describe-db-engine-versions --engine aurora-mysql --query "DBEngineVersions[].EngineVersion"`` You can supply either ``5.7`` or ``8.0`` to use the default engine version for Aurora MySQL version 2 or version 3, respectively. To list all of the available engine versions for Aurora PostgreSQL, use the following command: ``aws rds describe-db-engine-versions --engine aurora-postgresql --query "DBEngineVersions[].EngineVersion"`` To list all of the available engine versions for RDS for MySQL, use the following command: ``aws rds describe-db-engine-versions --engine mysql --query "DBEngineVersions[].EngineVersion"`` To list all of the available engine versions for RDS for PostgreSQL, use the following command: ``aws rds describe-db-engine-versions --engine postgres --query "DBEngineVersions[].EngineVersion"`` *Aurora MySQL* For information, see `Database engine updates for Amazon Aurora MySQL <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.Updates.html>`_ in the *Amazon Aurora User Guide* . *Aurora PostgreSQL* For information, see `Amazon Aurora PostgreSQL releases and engine versions <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraPostgreSQL.Updates.20180305.html>`_ in the *Amazon Aurora User Guide* . *MySQL* For information, see `Amazon RDS for MySQL <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MySQL.html#MySQL.Concepts.VersionMgmt>`_ in the *Amazon RDS User Guide* . *PostgreSQL* For information, see `Amazon RDS for PostgreSQL <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_PostgreSQL.html#PostgreSQL.Concepts>`_ in the *Amazon RDS User Guide* . Valid for: Aurora DB clusters and Multi-AZ DB clusters
|
|
4285
4286
|
:param global_cluster_identifier: If you are configuring an Aurora global database cluster and want your Aurora DB cluster to be a secondary member in the global database cluster, specify the global cluster ID of the global database cluster. To define the primary database cluster of the global cluster, use the `AWS::RDS::GlobalCluster <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-globalcluster.html>`_ resource. If you aren't configuring a global database cluster, don't specify this property. .. epigraph:: To remove the DB cluster from a global database cluster, specify an empty value for the ``GlobalClusterIdentifier`` property. For information about Aurora global databases, see `Working with Amazon Aurora Global Databases <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-global-database.html>`_ in the *Amazon Aurora User Guide* . Valid for: Aurora DB clusters only
|
|
4286
4287
|
: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.
|
|
@@ -4302,8 +4303,8 @@ class CfnDBCluster(
|
|
|
4302
4303
|
:param replication_source_identifier: The Amazon Resource Name (ARN) of the source DB instance or DB cluster if this DB cluster is created as a read replica. Valid for: Aurora DB clusters only
|
|
4303
4304
|
:param restore_to_time: The date and time to restore the DB cluster to. Valid Values: Value must be a time in Universal Coordinated Time (UTC) format Constraints: - Must be before the latest restorable time for the DB instance - Must be specified if ``UseLatestRestorableTime`` parameter isn't provided - Can't be specified if the ``UseLatestRestorableTime`` parameter is enabled - Can't be specified if the ``RestoreType`` parameter is ``copy-on-write`` This property must be used with ``SourceDBClusterIdentifier`` property. The resulting cluster will have the identifier that matches the value of the ``DBclusterIdentifier`` property. Example: ``2015-03-07T23:45:00Z`` Valid for: Aurora DB clusters and Multi-AZ DB clusters
|
|
4304
4305
|
:param restore_type: The type of restore to be performed. You can specify one of the following values:. - ``full-copy`` - The new DB cluster is restored as a full copy of the source DB cluster. - ``copy-on-write`` - The new DB cluster is restored as a clone of the source DB cluster. If you don't specify a ``RestoreType`` value, then the new DB cluster is restored as a full copy of the source DB cluster. Valid for: Aurora DB clusters and Multi-AZ DB clusters Default: - "full-copy"
|
|
4305
|
-
:param scaling_configuration: The
|
|
4306
|
-
:param serverless_v2_scaling_configuration: The
|
|
4306
|
+
:param scaling_configuration: The scaling configuration of an Aurora Serverless v1 DB cluster. This property is only supported for Aurora Serverless v1. For Aurora Serverless v2, Use the ``ServerlessV2ScalingConfiguration`` property. Valid for: Aurora Serverless v1 DB clusters only
|
|
4307
|
+
:param serverless_v2_scaling_configuration: The scaling configuration of an Aurora Serverless V2 DB cluster. This property is only supported for Aurora Serverless v2. For Aurora Serverless v1, Use the ``ScalingConfiguration`` property. Valid for: Aurora Serverless v2 DB clusters only
|
|
4307
4308
|
:param snapshot_identifier: The identifier for the DB snapshot or DB cluster snapshot to restore from. You can use either the name or the Amazon Resource Name (ARN) to specify a DB cluster snapshot. However, you can use only the ARN to specify a DB snapshot. After you restore a DB cluster with a ``SnapshotIdentifier`` property, you must specify the same ``SnapshotIdentifier`` property for any future updates to the DB cluster. When you specify this property for an update, the DB cluster is not restored from the snapshot again, and the data in the database is not changed. However, if you don't specify the ``SnapshotIdentifier`` property, an empty DB cluster is created, and the original DB cluster is deleted. If you specify a property that is different from the previous snapshot restore property, a new DB cluster is restored from the specified ``SnapshotIdentifier`` property, and the original DB cluster is deleted. If you specify the ``SnapshotIdentifier`` property to restore a DB cluster (as opposed to specifying it for DB cluster updates), then don't specify the following properties: - ``GlobalClusterIdentifier`` - ``MasterUsername`` - ``MasterUserPassword`` - ``ReplicationSourceIdentifier`` - ``RestoreType`` - ``SourceDBClusterIdentifier`` - ``SourceRegion`` - ``StorageEncrypted`` (for an encrypted snapshot) - ``UseLatestRestorableTime`` Constraints: - Must match the identifier of an existing Snapshot. Valid for: Aurora DB clusters and Multi-AZ DB clusters
|
|
4308
4309
|
:param source_db_cluster_identifier: When restoring a DB cluster to a point in time, the identifier of the source DB cluster from which to restore. Constraints: - Must match the identifier of an existing DBCluster. Valid for: Aurora DB clusters and Multi-AZ DB clusters
|
|
4309
4310
|
:param source_region: The AWS Region which contains the source DB cluster when replicating a DB cluster. For example, ``us-east-1`` . Valid for: Aurora DB clusters only
|
|
@@ -5178,7 +5179,7 @@ class CfnDBCluster(
|
|
|
5178
5179
|
def scaling_configuration(
|
|
5179
5180
|
self,
|
|
5180
5181
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDBCluster.ScalingConfigurationProperty"]]:
|
|
5181
|
-
'''The
|
|
5182
|
+
'''The scaling configuration of an Aurora Serverless v1 DB cluster.'''
|
|
5182
5183
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDBCluster.ScalingConfigurationProperty"]], jsii.get(self, "scalingConfiguration"))
|
|
5183
5184
|
|
|
5184
5185
|
@scaling_configuration.setter
|
|
@@ -5196,7 +5197,7 @@ class CfnDBCluster(
|
|
|
5196
5197
|
def serverless_v2_scaling_configuration(
|
|
5197
5198
|
self,
|
|
5198
5199
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDBCluster.ServerlessV2ScalingConfigurationProperty"]]:
|
|
5199
|
-
'''The
|
|
5200
|
+
'''The scaling configuration of an Aurora Serverless V2 DB cluster.'''
|
|
5200
5201
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDBCluster.ServerlessV2ScalingConfigurationProperty"]], jsii.get(self, "serverlessV2ScalingConfiguration"))
|
|
5201
5202
|
|
|
5202
5203
|
@serverless_v2_scaling_configuration.setter
|
|
@@ -5629,13 +5630,13 @@ class CfnDBCluster(
|
|
|
5629
5630
|
seconds_until_auto_pause: typing.Optional[jsii.Number] = None,
|
|
5630
5631
|
timeout_action: typing.Optional[builtins.str] = None,
|
|
5631
5632
|
) -> None:
|
|
5632
|
-
'''The ``ScalingConfiguration`` property type specifies the scaling configuration of an Aurora Serverless DB cluster.
|
|
5633
|
+
'''The ``ScalingConfiguration`` property type specifies the scaling configuration of an Aurora Serverless v1 DB cluster.
|
|
5633
5634
|
|
|
5634
5635
|
For more information, see `Using Amazon Aurora Serverless <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.html>`_ in the *Amazon Aurora User Guide* .
|
|
5635
5636
|
|
|
5636
5637
|
This property is only supported for Aurora Serverless v1. For Aurora Serverless v2, Use the ``ServerlessV2ScalingConfiguration`` property.
|
|
5637
5638
|
|
|
5638
|
-
Valid for: Aurora DB clusters only
|
|
5639
|
+
Valid for: Aurora Serverless v1 DB clusters only
|
|
5639
5640
|
|
|
5640
5641
|
:param auto_pause: Indicates whether to allow or disallow automatic pause for an Aurora DB cluster in ``serverless`` DB engine mode. A DB cluster can be paused only when it's idle (it has no connections). .. epigraph:: If a DB cluster is paused for more than seven days, the DB cluster might be backed up with a snapshot. In this case, the DB cluster is restored when there is a request to connect to it.
|
|
5641
5642
|
:param max_capacity: The maximum capacity for an Aurora DB cluster in ``serverless`` DB engine mode. For Aurora MySQL, valid capacity values are ``1`` , ``2`` , ``4`` , ``8`` , ``16`` , ``32`` , ``64`` , ``128`` , and ``256`` . For Aurora PostgreSQL, valid capacity values are ``2`` , ``4`` , ``8`` , ``16`` , ``32`` , ``64`` , ``192`` , and ``384`` . The maximum capacity must be greater than or equal to the minimum capacity.
|
|
@@ -5801,7 +5802,9 @@ class CfnDBCluster(
|
|
|
5801
5802
|
|
|
5802
5803
|
If you have an Aurora cluster, you must set the ``ScalingConfigurationInfo`` attribute before you add a DB instance that uses the ``db.serverless`` DB instance class. For more information, see `Clusters that use Aurora Serverless v2 must have a capacity range specified <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.requirements.html#aurora-serverless-v2.requirements.capacity-range>`_ in the *Amazon Aurora User Guide* .
|
|
5803
5804
|
|
|
5804
|
-
This property is only supported for Aurora Serverless v2. For Aurora Serverless v1,
|
|
5805
|
+
This property is only supported for Aurora Serverless v2. For Aurora Serverless v1, use the ``ScalingConfiguration`` property.
|
|
5806
|
+
|
|
5807
|
+
Valid for: Aurora Serverless v2 DB clusters
|
|
5805
5808
|
|
|
5806
5809
|
:param max_capacity: The maximum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster. You can specify ACU values in half-step increments, such as 40, 40.5, 41, and so on. The largest value that you can use is 128. The maximum capacity must be higher than 0.5 ACUs. For more information, see `Choosing the maximum Aurora Serverless v2 capacity setting for a cluster <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.setting-capacity.html#aurora-serverless-v2.max_capacity_considerations>`_ in the *Amazon Aurora User Guide* .
|
|
5807
5810
|
:param min_capacity: The minimum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster. You can specify ACU values in half-step increments, such as 8, 8.5, 9, and so on. The smallest value that you can use is 0.5.
|
|
@@ -6346,7 +6349,7 @@ class CfnDBClusterProps:
|
|
|
6346
6349
|
:param enable_http_endpoint: Specifies whether to enable the HTTP endpoint for the DB cluster. By default, the HTTP endpoint isn't enabled. When enabled, the HTTP endpoint provides a connectionless web service API (RDS Data API) for running SQL queries on the DB cluster. You can also query your database from inside the RDS console with the RDS query editor. RDS Data API is supported with the following DB clusters: - Aurora PostgreSQL Serverless v2 and provisioned - Aurora PostgreSQL and Aurora MySQL Serverless v1 For more information, see `Using RDS Data API <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/data-api.html>`_ in the *Amazon Aurora User Guide* . Valid for Cluster Type: Aurora DB clusters only
|
|
6347
6350
|
:param enable_iam_database_authentication: A value that indicates whether to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts. By default, mapping is disabled. For more information, see `IAM Database Authentication <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.IAMDBAuth.html>`_ in the *Amazon Aurora User Guide.* Valid for: Aurora DB clusters only
|
|
6348
6351
|
:param engine: The name of the database engine to be used for this DB cluster. Valid Values: - ``aurora-mysql`` - ``aurora-postgresql`` - ``mysql`` - ``postgres`` Valid for: Aurora DB clusters and Multi-AZ DB clusters
|
|
6349
|
-
:param engine_mode: The DB engine mode of the DB cluster, either ``provisioned`` or ``serverless`` . The ``serverless`` engine mode only
|
|
6352
|
+
:param engine_mode: The DB engine mode of the DB cluster, either ``provisioned`` or ``serverless`` . The ``serverless`` engine mode only applies for Aurora Serverless v1 DB clusters. For information about limitations and requirements for Serverless DB clusters, see the following sections in the *Amazon Aurora User Guide* : - `Limitations of Aurora Serverless v1 <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.html#aurora-serverless.limitations>`_ - `Requirements for Aurora Serverless v2 <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.requirements.html>`_ Valid for Cluster Type: Aurora DB clusters only
|
|
6350
6353
|
:param engine_version: The version number of the database engine to use. To list all of the available engine versions for Aurora MySQL version 2 (5.7-compatible) and version 3 (8.0-compatible), use the following command: ``aws rds describe-db-engine-versions --engine aurora-mysql --query "DBEngineVersions[].EngineVersion"`` You can supply either ``5.7`` or ``8.0`` to use the default engine version for Aurora MySQL version 2 or version 3, respectively. To list all of the available engine versions for Aurora PostgreSQL, use the following command: ``aws rds describe-db-engine-versions --engine aurora-postgresql --query "DBEngineVersions[].EngineVersion"`` To list all of the available engine versions for RDS for MySQL, use the following command: ``aws rds describe-db-engine-versions --engine mysql --query "DBEngineVersions[].EngineVersion"`` To list all of the available engine versions for RDS for PostgreSQL, use the following command: ``aws rds describe-db-engine-versions --engine postgres --query "DBEngineVersions[].EngineVersion"`` *Aurora MySQL* For information, see `Database engine updates for Amazon Aurora MySQL <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.Updates.html>`_ in the *Amazon Aurora User Guide* . *Aurora PostgreSQL* For information, see `Amazon Aurora PostgreSQL releases and engine versions <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraPostgreSQL.Updates.20180305.html>`_ in the *Amazon Aurora User Guide* . *MySQL* For information, see `Amazon RDS for MySQL <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MySQL.html#MySQL.Concepts.VersionMgmt>`_ in the *Amazon RDS User Guide* . *PostgreSQL* For information, see `Amazon RDS for PostgreSQL <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_PostgreSQL.html#PostgreSQL.Concepts>`_ in the *Amazon RDS User Guide* . Valid for: Aurora DB clusters and Multi-AZ DB clusters
|
|
6351
6354
|
:param global_cluster_identifier: If you are configuring an Aurora global database cluster and want your Aurora DB cluster to be a secondary member in the global database cluster, specify the global cluster ID of the global database cluster. To define the primary database cluster of the global cluster, use the `AWS::RDS::GlobalCluster <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-globalcluster.html>`_ resource. If you aren't configuring a global database cluster, don't specify this property. .. epigraph:: To remove the DB cluster from a global database cluster, specify an empty value for the ``GlobalClusterIdentifier`` property. For information about Aurora global databases, see `Working with Amazon Aurora Global Databases <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-global-database.html>`_ in the *Amazon Aurora User Guide* . Valid for: Aurora DB clusters only
|
|
6352
6355
|
: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.
|
|
@@ -6368,8 +6371,8 @@ class CfnDBClusterProps:
|
|
|
6368
6371
|
:param replication_source_identifier: The Amazon Resource Name (ARN) of the source DB instance or DB cluster if this DB cluster is created as a read replica. Valid for: Aurora DB clusters only
|
|
6369
6372
|
:param restore_to_time: The date and time to restore the DB cluster to. Valid Values: Value must be a time in Universal Coordinated Time (UTC) format Constraints: - Must be before the latest restorable time for the DB instance - Must be specified if ``UseLatestRestorableTime`` parameter isn't provided - Can't be specified if the ``UseLatestRestorableTime`` parameter is enabled - Can't be specified if the ``RestoreType`` parameter is ``copy-on-write`` This property must be used with ``SourceDBClusterIdentifier`` property. The resulting cluster will have the identifier that matches the value of the ``DBclusterIdentifier`` property. Example: ``2015-03-07T23:45:00Z`` Valid for: Aurora DB clusters and Multi-AZ DB clusters
|
|
6370
6373
|
:param restore_type: The type of restore to be performed. You can specify one of the following values:. - ``full-copy`` - The new DB cluster is restored as a full copy of the source DB cluster. - ``copy-on-write`` - The new DB cluster is restored as a clone of the source DB cluster. If you don't specify a ``RestoreType`` value, then the new DB cluster is restored as a full copy of the source DB cluster. Valid for: Aurora DB clusters and Multi-AZ DB clusters Default: - "full-copy"
|
|
6371
|
-
:param scaling_configuration: The
|
|
6372
|
-
:param serverless_v2_scaling_configuration: The
|
|
6374
|
+
:param scaling_configuration: The scaling configuration of an Aurora Serverless v1 DB cluster. This property is only supported for Aurora Serverless v1. For Aurora Serverless v2, Use the ``ServerlessV2ScalingConfiguration`` property. Valid for: Aurora Serverless v1 DB clusters only
|
|
6375
|
+
:param serverless_v2_scaling_configuration: The scaling configuration of an Aurora Serverless V2 DB cluster. This property is only supported for Aurora Serverless v2. For Aurora Serverless v1, Use the ``ScalingConfiguration`` property. Valid for: Aurora Serverless v2 DB clusters only
|
|
6373
6376
|
:param snapshot_identifier: The identifier for the DB snapshot or DB cluster snapshot to restore from. You can use either the name or the Amazon Resource Name (ARN) to specify a DB cluster snapshot. However, you can use only the ARN to specify a DB snapshot. After you restore a DB cluster with a ``SnapshotIdentifier`` property, you must specify the same ``SnapshotIdentifier`` property for any future updates to the DB cluster. When you specify this property for an update, the DB cluster is not restored from the snapshot again, and the data in the database is not changed. However, if you don't specify the ``SnapshotIdentifier`` property, an empty DB cluster is created, and the original DB cluster is deleted. If you specify a property that is different from the previous snapshot restore property, a new DB cluster is restored from the specified ``SnapshotIdentifier`` property, and the original DB cluster is deleted. If you specify the ``SnapshotIdentifier`` property to restore a DB cluster (as opposed to specifying it for DB cluster updates), then don't specify the following properties: - ``GlobalClusterIdentifier`` - ``MasterUsername`` - ``MasterUserPassword`` - ``ReplicationSourceIdentifier`` - ``RestoreType`` - ``SourceDBClusterIdentifier`` - ``SourceRegion`` - ``StorageEncrypted`` (for an encrypted snapshot) - ``UseLatestRestorableTime`` Constraints: - Must match the identifier of an existing Snapshot. Valid for: Aurora DB clusters and Multi-AZ DB clusters
|
|
6374
6377
|
:param source_db_cluster_identifier: When restoring a DB cluster to a point in time, the identifier of the source DB cluster from which to restore. Constraints: - Must match the identifier of an existing DBCluster. Valid for: Aurora DB clusters and Multi-AZ DB clusters
|
|
6375
6378
|
:param source_region: The AWS Region which contains the source DB cluster when replicating a DB cluster. For example, ``us-east-1`` . Valid for: Aurora DB clusters only
|
|
@@ -6998,16 +7001,14 @@ class CfnDBClusterProps:
|
|
|
6998
7001
|
def engine_mode(self) -> typing.Optional[builtins.str]:
|
|
6999
7002
|
'''The DB engine mode of the DB cluster, either ``provisioned`` or ``serverless`` .
|
|
7000
7003
|
|
|
7001
|
-
The ``serverless`` engine mode only
|
|
7004
|
+
The ``serverless`` engine mode only applies for Aurora Serverless v1 DB clusters.
|
|
7002
7005
|
|
|
7003
|
-
|
|
7006
|
+
For information about limitations and requirements for Serverless DB clusters, see the following sections in the *Amazon Aurora User Guide* :
|
|
7004
7007
|
|
|
7005
7008
|
- `Limitations of Aurora Serverless v1 <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.html#aurora-serverless.limitations>`_
|
|
7006
7009
|
- `Requirements for Aurora Serverless v2 <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.requirements.html>`_
|
|
7007
|
-
- `Limitations of parallel query <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-mysql-parallel-query.html#aurora-mysql-parallel-query-limitations>`_
|
|
7008
|
-
- `Limitations of Aurora global databases <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-global-database.html#aurora-global-database.limitations>`_
|
|
7009
7010
|
|
|
7010
|
-
Valid for: Aurora DB clusters only
|
|
7011
|
+
Valid for Cluster Type: Aurora DB clusters only
|
|
7011
7012
|
|
|
7012
7013
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-enginemode
|
|
7013
7014
|
'''
|
|
@@ -7431,11 +7432,11 @@ class CfnDBClusterProps:
|
|
|
7431
7432
|
def scaling_configuration(
|
|
7432
7433
|
self,
|
|
7433
7434
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnDBCluster.ScalingConfigurationProperty]]:
|
|
7434
|
-
'''The
|
|
7435
|
+
'''The scaling configuration of an Aurora Serverless v1 DB cluster.
|
|
7435
7436
|
|
|
7436
7437
|
This property is only supported for Aurora Serverless v1. For Aurora Serverless v2, Use the ``ServerlessV2ScalingConfiguration`` property.
|
|
7437
7438
|
|
|
7438
|
-
Valid for: Aurora DB clusters only
|
|
7439
|
+
Valid for: Aurora Serverless v1 DB clusters only
|
|
7439
7440
|
|
|
7440
7441
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-scalingconfiguration
|
|
7441
7442
|
'''
|
|
@@ -7446,11 +7447,11 @@ class CfnDBClusterProps:
|
|
|
7446
7447
|
def serverless_v2_scaling_configuration(
|
|
7447
7448
|
self,
|
|
7448
7449
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnDBCluster.ServerlessV2ScalingConfigurationProperty]]:
|
|
7449
|
-
'''The
|
|
7450
|
+
'''The scaling configuration of an Aurora Serverless V2 DB cluster.
|
|
7450
7451
|
|
|
7451
7452
|
This property is only supported for Aurora Serverless v2. For Aurora Serverless v1, Use the ``ScalingConfiguration`` property.
|
|
7452
7453
|
|
|
7453
|
-
Valid for: Aurora DB clusters only
|
|
7454
|
+
Valid for: Aurora Serverless v2 DB clusters only
|
|
7454
7455
|
|
|
7455
7456
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-serverlessv2scalingconfiguration
|
|
7456
7457
|
'''
|
|
@@ -7891,7 +7892,7 @@ class CfnDBInstance(
|
|
|
7891
7892
|
:param enable_iam_database_authentication: A value that indicates whether to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts. By default, mapping is disabled. This property is supported for RDS for MariaDB, RDS for MySQL, and RDS for PostgreSQL. For more information, see `IAM Database Authentication for MariaDB, MySQL, and PostgreSQL <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.html>`_ in the *Amazon RDS User Guide.* *Amazon Aurora* Not applicable. Mapping AWS IAM accounts to database accounts is managed by the DB cluster.
|
|
7892
7893
|
:param enable_performance_insights: Specifies whether to enable Performance Insights for the DB instance. For more information, see `Using Amazon Performance Insights <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.html>`_ in the *Amazon RDS User Guide* . This setting doesn't apply to RDS Custom DB instances.
|
|
7893
7894
|
:param endpoint: The connection endpoint for the DB instance. .. epigraph:: The endpoint might not be shown for instances with the status of ``creating`` .
|
|
7894
|
-
:param engine: The name of the database engine
|
|
7895
|
+
:param engine: The name of the database engine to use for this DB instance. Not every database engine is available in every AWS Region. This property is required when creating a DB instance. .. epigraph:: You can change the architecture of an Oracle database from the non-container database (CDB) architecture to the CDB architecture by updating the ``Engine`` value in your templates from ``oracle-ee`` or ``oracle-ee-cdb`` to ``oracle-se2-cdb`` . Converting to the CDB architecture requires an interruption. Valid Values: - ``aurora-mysql`` (for Aurora MySQL DB instances) - ``aurora-postgresql`` (for Aurora PostgreSQL DB instances) - ``custom-oracle-ee`` (for RDS Custom for Oracle DB instances) - ``custom-oracle-ee-cdb`` (for RDS Custom for Oracle DB instances) - ``custom-sqlserver-ee`` (for RDS Custom for SQL Server DB instances) - ``custom-sqlserver-se`` (for RDS Custom for SQL Server DB instances) - ``custom-sqlserver-web`` (for RDS Custom for SQL Server DB instances) - ``db2-ae`` - ``db2-se`` - ``mariadb`` - ``mysql`` - ``oracle-ee`` - ``oracle-ee-cdb`` - ``oracle-se2`` - ``oracle-se2-cdb`` - ``postgres`` - ``sqlserver-ee`` - ``sqlserver-se`` - ``sqlserver-ex`` - ``sqlserver-web``
|
|
7895
7896
|
:param engine_version: The version number of the database engine to use. For a list of valid engine versions, use the ``DescribeDBEngineVersions`` action. The following are the database engines and links to information about the major and minor versions that are available with Amazon RDS. Not every database engine is available for every AWS Region. *Amazon Aurora* Not applicable. The version number of the database engine to be used by the DB instance is managed by the DB cluster. *Db2* See `Amazon RDS for Db2 <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Db2.html#Db2.Concepts.VersionMgmt>`_ in the *Amazon RDS User Guide.* *MariaDB* See `MariaDB on Amazon RDS Versions <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MariaDB.html#MariaDB.Concepts.VersionMgmt>`_ in the *Amazon RDS User Guide.* *Microsoft SQL Server* See `Microsoft SQL Server Versions on Amazon RDS <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SQLServer.html#SQLServer.Concepts.General.VersionSupport>`_ in the *Amazon RDS User Guide.* *MySQL* See `MySQL on Amazon RDS Versions <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MySQL.html#MySQL.Concepts.VersionMgmt>`_ in the *Amazon RDS User Guide.* *Oracle* See `Oracle Database Engine Release Notes <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.Oracle.PatchComposition.html>`_ in the *Amazon RDS User Guide.* *PostgreSQL* See `Supported PostgreSQL Database Versions <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_PostgreSQL.html#PostgreSQL.Concepts.General.DBVersions>`_ in the *Amazon RDS User Guide.*
|
|
7896
7897
|
:param iops: The number of I/O operations per second (IOPS) that the database provisions. The value must be equal to or greater than 1000. If you specify this property, you must follow the range of allowed ratios of your requested IOPS rate to the amount of storage that you allocate (IOPS to allocated storage). For example, you can provision an Oracle database instance with 1000 IOPS and 200 GiB of storage (a ratio of 5:1), or specify 2000 IOPS with 200 GiB of storage (a ratio of 10:1). For more information, see `Amazon RDS Provisioned IOPS Storage to Improve Performance <https://docs.aws.amazon.com/AmazonRDS/latest/DeveloperGuide/CHAP_Storage.html#USER_PIOPS>`_ in the *Amazon RDS User Guide* . .. epigraph:: If you specify ``io1`` for the ``StorageType`` property, then you must also specify the ``Iops`` property. Constraints: - For RDS for Db2, MariaDB, MySQL, Oracle, and PostgreSQL - Must be a multiple between .5 and 50 of the storage amount for the DB instance. - For RDS for SQL Server - Must be a multiple between 1 and 50 of the storage amount for the DB instance.
|
|
7897
7898
|
: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`` property, the value is inherited from the source DB instance if the read replica is created in the same region. 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 ``SnapshotIdentifier`` property, the ``StorageEncrypted`` property value is inherited from the snapshot, and if the DB instance is encrypted, the specified ``KmsKeyId`` property is used. 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.
|
|
@@ -8682,7 +8683,7 @@ class CfnDBInstance(
|
|
|
8682
8683
|
@builtins.property
|
|
8683
8684
|
@jsii.member(jsii_name="engine")
|
|
8684
8685
|
def engine(self) -> typing.Optional[builtins.str]:
|
|
8685
|
-
'''The name of the database engine
|
|
8686
|
+
'''The name of the database engine to use for this DB instance.'''
|
|
8686
8687
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "engine"))
|
|
8687
8688
|
|
|
8688
8689
|
@engine.setter
|
|
@@ -9877,7 +9878,7 @@ class CfnDBInstanceProps:
|
|
|
9877
9878
|
:param enable_iam_database_authentication: A value that indicates whether to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts. By default, mapping is disabled. This property is supported for RDS for MariaDB, RDS for MySQL, and RDS for PostgreSQL. For more information, see `IAM Database Authentication for MariaDB, MySQL, and PostgreSQL <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.html>`_ in the *Amazon RDS User Guide.* *Amazon Aurora* Not applicable. Mapping AWS IAM accounts to database accounts is managed by the DB cluster.
|
|
9878
9879
|
:param enable_performance_insights: Specifies whether to enable Performance Insights for the DB instance. For more information, see `Using Amazon Performance Insights <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.html>`_ in the *Amazon RDS User Guide* . This setting doesn't apply to RDS Custom DB instances.
|
|
9879
9880
|
:param endpoint: The connection endpoint for the DB instance. .. epigraph:: The endpoint might not be shown for instances with the status of ``creating`` .
|
|
9880
|
-
:param engine: The name of the database engine
|
|
9881
|
+
:param engine: The name of the database engine to use for this DB instance. Not every database engine is available in every AWS Region. This property is required when creating a DB instance. .. epigraph:: You can change the architecture of an Oracle database from the non-container database (CDB) architecture to the CDB architecture by updating the ``Engine`` value in your templates from ``oracle-ee`` or ``oracle-ee-cdb`` to ``oracle-se2-cdb`` . Converting to the CDB architecture requires an interruption. Valid Values: - ``aurora-mysql`` (for Aurora MySQL DB instances) - ``aurora-postgresql`` (for Aurora PostgreSQL DB instances) - ``custom-oracle-ee`` (for RDS Custom for Oracle DB instances) - ``custom-oracle-ee-cdb`` (for RDS Custom for Oracle DB instances) - ``custom-sqlserver-ee`` (for RDS Custom for SQL Server DB instances) - ``custom-sqlserver-se`` (for RDS Custom for SQL Server DB instances) - ``custom-sqlserver-web`` (for RDS Custom for SQL Server DB instances) - ``db2-ae`` - ``db2-se`` - ``mariadb`` - ``mysql`` - ``oracle-ee`` - ``oracle-ee-cdb`` - ``oracle-se2`` - ``oracle-se2-cdb`` - ``postgres`` - ``sqlserver-ee`` - ``sqlserver-se`` - ``sqlserver-ex`` - ``sqlserver-web``
|
|
9881
9882
|
:param engine_version: The version number of the database engine to use. For a list of valid engine versions, use the ``DescribeDBEngineVersions`` action. The following are the database engines and links to information about the major and minor versions that are available with Amazon RDS. Not every database engine is available for every AWS Region. *Amazon Aurora* Not applicable. The version number of the database engine to be used by the DB instance is managed by the DB cluster. *Db2* See `Amazon RDS for Db2 <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Db2.html#Db2.Concepts.VersionMgmt>`_ in the *Amazon RDS User Guide.* *MariaDB* See `MariaDB on Amazon RDS Versions <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MariaDB.html#MariaDB.Concepts.VersionMgmt>`_ in the *Amazon RDS User Guide.* *Microsoft SQL Server* See `Microsoft SQL Server Versions on Amazon RDS <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SQLServer.html#SQLServer.Concepts.General.VersionSupport>`_ in the *Amazon RDS User Guide.* *MySQL* See `MySQL on Amazon RDS Versions <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MySQL.html#MySQL.Concepts.VersionMgmt>`_ in the *Amazon RDS User Guide.* *Oracle* See `Oracle Database Engine Release Notes <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.Oracle.PatchComposition.html>`_ in the *Amazon RDS User Guide.* *PostgreSQL* See `Supported PostgreSQL Database Versions <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_PostgreSQL.html#PostgreSQL.Concepts.General.DBVersions>`_ in the *Amazon RDS User Guide.*
|
|
9882
9883
|
:param iops: The number of I/O operations per second (IOPS) that the database provisions. The value must be equal to or greater than 1000. If you specify this property, you must follow the range of allowed ratios of your requested IOPS rate to the amount of storage that you allocate (IOPS to allocated storage). For example, you can provision an Oracle database instance with 1000 IOPS and 200 GiB of storage (a ratio of 5:1), or specify 2000 IOPS with 200 GiB of storage (a ratio of 10:1). For more information, see `Amazon RDS Provisioned IOPS Storage to Improve Performance <https://docs.aws.amazon.com/AmazonRDS/latest/DeveloperGuide/CHAP_Storage.html#USER_PIOPS>`_ in the *Amazon RDS User Guide* . .. epigraph:: If you specify ``io1`` for the ``StorageType`` property, then you must also specify the ``Iops`` property. Constraints: - For RDS for Db2, MariaDB, MySQL, Oracle, and PostgreSQL - Must be a multiple between .5 and 50 of the storage amount for the DB instance. - For RDS for SQL Server - Must be a multiple between 1 and 50 of the storage amount for the DB instance.
|
|
9883
9884
|
: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`` property, the value is inherited from the source DB instance if the read replica is created in the same region. 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 ``SnapshotIdentifier`` property, the ``StorageEncrypted`` property value is inherited from the snapshot, and if the DB instance is encrypted, the specified ``KmsKeyId`` property is used. 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.
|
|
@@ -10978,12 +10979,14 @@ class CfnDBInstanceProps:
|
|
|
10978
10979
|
|
|
10979
10980
|
@builtins.property
|
|
10980
10981
|
def engine(self) -> typing.Optional[builtins.str]:
|
|
10981
|
-
'''The name of the database engine
|
|
10982
|
+
'''The name of the database engine to use for this DB instance.
|
|
10982
10983
|
|
|
10983
10984
|
Not every database engine is available in every AWS Region.
|
|
10985
|
+
|
|
10986
|
+
This property is required when creating a DB instance.
|
|
10984
10987
|
.. epigraph::
|
|
10985
10988
|
|
|
10986
|
-
|
|
10989
|
+
You can change the architecture of an Oracle database from the non-container database (CDB) architecture to the CDB architecture by updating the ``Engine`` value in your templates from ``oracle-ee`` or ``oracle-ee-cdb`` to ``oracle-se2-cdb`` . Converting to the CDB architecture requires an interruption.
|
|
10987
10990
|
|
|
10988
10991
|
Valid Values:
|
|
10989
10992
|
|
|
@@ -15667,6 +15670,8 @@ class CfnIntegration(
|
|
|
15667
15670
|
additional_encryption_context={
|
|
15668
15671
|
"additional_encryption_context_key": "additionalEncryptionContext"
|
|
15669
15672
|
},
|
|
15673
|
+
data_filter="dataFilter",
|
|
15674
|
+
description="description",
|
|
15670
15675
|
integration_name="integrationName",
|
|
15671
15676
|
kms_key_id="kmsKeyId",
|
|
15672
15677
|
tags=[CfnTag(
|
|
@@ -15684,6 +15689,8 @@ class CfnIntegration(
|
|
|
15684
15689
|
source_arn: builtins.str,
|
|
15685
15690
|
target_arn: builtins.str,
|
|
15686
15691
|
additional_encryption_context: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]] = None,
|
|
15692
|
+
data_filter: typing.Optional[builtins.str] = None,
|
|
15693
|
+
description: typing.Optional[builtins.str] = None,
|
|
15687
15694
|
integration_name: typing.Optional[builtins.str] = None,
|
|
15688
15695
|
kms_key_id: typing.Optional[builtins.str] = None,
|
|
15689
15696
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -15694,6 +15701,8 @@ class CfnIntegration(
|
|
|
15694
15701
|
:param source_arn: The Amazon Resource Name (ARN) of the database to use as the source for replication.
|
|
15695
15702
|
:param target_arn: The ARN of the Redshift data warehouse to use as the target for replication.
|
|
15696
15703
|
:param additional_encryption_context: An optional set of non-secret key–value pairs that contains additional contextual information about the data. For more information, see `Encryption context <https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context>`_ in the *AWS Key Management Service Developer Guide* . You can only include this parameter if you specify the ``KMSKeyId`` parameter.
|
|
15704
|
+
:param data_filter: Data filters for the integration. These filters determine which tables from the source database are sent to the target Amazon Redshift data warehouse.
|
|
15705
|
+
:param description: A description of the integration.
|
|
15697
15706
|
:param integration_name: The name of the integration.
|
|
15698
15707
|
:param kms_key_id: The AWS Key Management System ( AWS KMS) key identifier for the key to use to encrypt the integration. If you don't specify an encryption key, RDS uses a default AWS owned key.
|
|
15699
15708
|
:param tags: A list of tags. For more information, see `Tagging Amazon RDS Resources <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html>`_ in the *Amazon RDS User Guide.* .
|
|
@@ -15706,6 +15715,8 @@ class CfnIntegration(
|
|
|
15706
15715
|
source_arn=source_arn,
|
|
15707
15716
|
target_arn=target_arn,
|
|
15708
15717
|
additional_encryption_context=additional_encryption_context,
|
|
15718
|
+
data_filter=data_filter,
|
|
15719
|
+
description=description,
|
|
15709
15720
|
integration_name=integration_name,
|
|
15710
15721
|
kms_key_id=kms_key_id,
|
|
15711
15722
|
tags=tags,
|
|
@@ -15816,6 +15827,32 @@ class CfnIntegration(
|
|
|
15816
15827
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
15817
15828
|
jsii.set(self, "additionalEncryptionContext", value)
|
|
15818
15829
|
|
|
15830
|
+
@builtins.property
|
|
15831
|
+
@jsii.member(jsii_name="dataFilter")
|
|
15832
|
+
def data_filter(self) -> typing.Optional[builtins.str]:
|
|
15833
|
+
'''Data filters for the integration.'''
|
|
15834
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "dataFilter"))
|
|
15835
|
+
|
|
15836
|
+
@data_filter.setter
|
|
15837
|
+
def data_filter(self, value: typing.Optional[builtins.str]) -> None:
|
|
15838
|
+
if __debug__:
|
|
15839
|
+
type_hints = typing.get_type_hints(_typecheckingstub__8f252e37d51ec7f1680d3efcea4e0b7e52aad4f42ab7602e3513cfddd333cc79)
|
|
15840
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
15841
|
+
jsii.set(self, "dataFilter", value)
|
|
15842
|
+
|
|
15843
|
+
@builtins.property
|
|
15844
|
+
@jsii.member(jsii_name="description")
|
|
15845
|
+
def description(self) -> typing.Optional[builtins.str]:
|
|
15846
|
+
'''A description of the integration.'''
|
|
15847
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "description"))
|
|
15848
|
+
|
|
15849
|
+
@description.setter
|
|
15850
|
+
def description(self, value: typing.Optional[builtins.str]) -> None:
|
|
15851
|
+
if __debug__:
|
|
15852
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f153335081bdb228cf54af39607edd8cc138405105c83cea1f20045a38af6740)
|
|
15853
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
15854
|
+
jsii.set(self, "description", value)
|
|
15855
|
+
|
|
15819
15856
|
@builtins.property
|
|
15820
15857
|
@jsii.member(jsii_name="integrationName")
|
|
15821
15858
|
def integration_name(self) -> typing.Optional[builtins.str]:
|
|
@@ -15863,6 +15900,8 @@ class CfnIntegration(
|
|
|
15863
15900
|
"source_arn": "sourceArn",
|
|
15864
15901
|
"target_arn": "targetArn",
|
|
15865
15902
|
"additional_encryption_context": "additionalEncryptionContext",
|
|
15903
|
+
"data_filter": "dataFilter",
|
|
15904
|
+
"description": "description",
|
|
15866
15905
|
"integration_name": "integrationName",
|
|
15867
15906
|
"kms_key_id": "kmsKeyId",
|
|
15868
15907
|
"tags": "tags",
|
|
@@ -15875,6 +15914,8 @@ class CfnIntegrationProps:
|
|
|
15875
15914
|
source_arn: builtins.str,
|
|
15876
15915
|
target_arn: builtins.str,
|
|
15877
15916
|
additional_encryption_context: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]] = None,
|
|
15917
|
+
data_filter: typing.Optional[builtins.str] = None,
|
|
15918
|
+
description: typing.Optional[builtins.str] = None,
|
|
15878
15919
|
integration_name: typing.Optional[builtins.str] = None,
|
|
15879
15920
|
kms_key_id: typing.Optional[builtins.str] = None,
|
|
15880
15921
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -15884,6 +15925,8 @@ class CfnIntegrationProps:
|
|
|
15884
15925
|
:param source_arn: The Amazon Resource Name (ARN) of the database to use as the source for replication.
|
|
15885
15926
|
:param target_arn: The ARN of the Redshift data warehouse to use as the target for replication.
|
|
15886
15927
|
:param additional_encryption_context: An optional set of non-secret key–value pairs that contains additional contextual information about the data. For more information, see `Encryption context <https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context>`_ in the *AWS Key Management Service Developer Guide* . You can only include this parameter if you specify the ``KMSKeyId`` parameter.
|
|
15928
|
+
:param data_filter: Data filters for the integration. These filters determine which tables from the source database are sent to the target Amazon Redshift data warehouse.
|
|
15929
|
+
:param description: A description of the integration.
|
|
15887
15930
|
:param integration_name: The name of the integration.
|
|
15888
15931
|
:param kms_key_id: The AWS Key Management System ( AWS KMS) key identifier for the key to use to encrypt the integration. If you don't specify an encryption key, RDS uses a default AWS owned key.
|
|
15889
15932
|
:param tags: A list of tags. For more information, see `Tagging Amazon RDS Resources <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html>`_ in the *Amazon RDS User Guide.* .
|
|
@@ -15905,6 +15948,8 @@ class CfnIntegrationProps:
|
|
|
15905
15948
|
additional_encryption_context={
|
|
15906
15949
|
"additional_encryption_context_key": "additionalEncryptionContext"
|
|
15907
15950
|
},
|
|
15951
|
+
data_filter="dataFilter",
|
|
15952
|
+
description="description",
|
|
15908
15953
|
integration_name="integrationName",
|
|
15909
15954
|
kms_key_id="kmsKeyId",
|
|
15910
15955
|
tags=[CfnTag(
|
|
@@ -15918,6 +15963,8 @@ class CfnIntegrationProps:
|
|
|
15918
15963
|
check_type(argname="argument source_arn", value=source_arn, expected_type=type_hints["source_arn"])
|
|
15919
15964
|
check_type(argname="argument target_arn", value=target_arn, expected_type=type_hints["target_arn"])
|
|
15920
15965
|
check_type(argname="argument additional_encryption_context", value=additional_encryption_context, expected_type=type_hints["additional_encryption_context"])
|
|
15966
|
+
check_type(argname="argument data_filter", value=data_filter, expected_type=type_hints["data_filter"])
|
|
15967
|
+
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
15921
15968
|
check_type(argname="argument integration_name", value=integration_name, expected_type=type_hints["integration_name"])
|
|
15922
15969
|
check_type(argname="argument kms_key_id", value=kms_key_id, expected_type=type_hints["kms_key_id"])
|
|
15923
15970
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
@@ -15927,6 +15974,10 @@ class CfnIntegrationProps:
|
|
|
15927
15974
|
}
|
|
15928
15975
|
if additional_encryption_context is not None:
|
|
15929
15976
|
self._values["additional_encryption_context"] = additional_encryption_context
|
|
15977
|
+
if data_filter is not None:
|
|
15978
|
+
self._values["data_filter"] = data_filter
|
|
15979
|
+
if description is not None:
|
|
15980
|
+
self._values["description"] = description
|
|
15930
15981
|
if integration_name is not None:
|
|
15931
15982
|
self._values["integration_name"] = integration_name
|
|
15932
15983
|
if kms_key_id is not None:
|
|
@@ -15969,6 +16020,26 @@ class CfnIntegrationProps:
|
|
|
15969
16020
|
result = self._values.get("additional_encryption_context")
|
|
15970
16021
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]], result)
|
|
15971
16022
|
|
|
16023
|
+
@builtins.property
|
|
16024
|
+
def data_filter(self) -> typing.Optional[builtins.str]:
|
|
16025
|
+
'''Data filters for the integration.
|
|
16026
|
+
|
|
16027
|
+
These filters determine which tables from the source database are sent to the target Amazon Redshift data warehouse.
|
|
16028
|
+
|
|
16029
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-integration.html#cfn-rds-integration-datafilter
|
|
16030
|
+
'''
|
|
16031
|
+
result = self._values.get("data_filter")
|
|
16032
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
16033
|
+
|
|
16034
|
+
@builtins.property
|
|
16035
|
+
def description(self) -> typing.Optional[builtins.str]:
|
|
16036
|
+
'''A description of the integration.
|
|
16037
|
+
|
|
16038
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-integration.html#cfn-rds-integration-description
|
|
16039
|
+
'''
|
|
16040
|
+
result = self._values.get("description")
|
|
16041
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
16042
|
+
|
|
15972
16043
|
@builtins.property
|
|
15973
16044
|
def integration_name(self) -> typing.Optional[builtins.str]:
|
|
15974
16045
|
'''The name of the integration.
|
|
@@ -18525,6 +18596,7 @@ class DBClusterStorageType(enum.Enum):
|
|
|
18525
18596
|
"instance_identifiers": "instanceIdentifiers",
|
|
18526
18597
|
"port": "port",
|
|
18527
18598
|
"reader_endpoint_address": "readerEndpointAddress",
|
|
18599
|
+
"secret": "secret",
|
|
18528
18600
|
"security_groups": "securityGroups",
|
|
18529
18601
|
},
|
|
18530
18602
|
)
|
|
@@ -18540,6 +18612,7 @@ class DatabaseClusterAttributes:
|
|
|
18540
18612
|
instance_identifiers: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
18541
18613
|
port: typing.Optional[jsii.Number] = None,
|
|
18542
18614
|
reader_endpoint_address: typing.Optional[builtins.str] = None,
|
|
18615
|
+
secret: typing.Optional[_ISecret_6e020e6a] = None,
|
|
18543
18616
|
security_groups: typing.Optional[typing.Sequence[_ISecurityGroup_acf8a799]] = None,
|
|
18544
18617
|
) -> None:
|
|
18545
18618
|
'''Properties that describe an existing cluster instance.
|
|
@@ -18552,6 +18625,7 @@ class DatabaseClusterAttributes:
|
|
|
18552
18625
|
:param instance_identifiers: Identifier for the instances. Default: - no instance identifiers
|
|
18553
18626
|
:param port: The database port. Default: - none
|
|
18554
18627
|
:param reader_endpoint_address: Reader endpoint address. Default: - no reader address
|
|
18628
|
+
:param secret: The secret attached to the database cluster. Default: - the imported Cluster's secret is unknown
|
|
18555
18629
|
:param security_groups: The security groups of the database cluster. Default: - no security groups
|
|
18556
18630
|
|
|
18557
18631
|
:exampleMetadata: fixture=_generated
|
|
@@ -18562,8 +18636,10 @@ class DatabaseClusterAttributes:
|
|
|
18562
18636
|
# The values are placeholders you should change.
|
|
18563
18637
|
from aws_cdk import aws_ec2 as ec2
|
|
18564
18638
|
from aws_cdk import aws_rds as rds
|
|
18639
|
+
from aws_cdk import aws_secretsmanager as secretsmanager
|
|
18565
18640
|
|
|
18566
18641
|
# cluster_engine: rds.IClusterEngine
|
|
18642
|
+
# secret: secretsmanager.Secret
|
|
18567
18643
|
# security_group: ec2.SecurityGroup
|
|
18568
18644
|
|
|
18569
18645
|
database_cluster_attributes = rds.DatabaseClusterAttributes(
|
|
@@ -18577,6 +18653,7 @@ class DatabaseClusterAttributes:
|
|
|
18577
18653
|
instance_identifiers=["instanceIdentifiers"],
|
|
18578
18654
|
port=123,
|
|
18579
18655
|
reader_endpoint_address="readerEndpointAddress",
|
|
18656
|
+
secret=secret,
|
|
18580
18657
|
security_groups=[security_group]
|
|
18581
18658
|
)
|
|
18582
18659
|
'''
|
|
@@ -18590,6 +18667,7 @@ class DatabaseClusterAttributes:
|
|
|
18590
18667
|
check_type(argname="argument instance_identifiers", value=instance_identifiers, expected_type=type_hints["instance_identifiers"])
|
|
18591
18668
|
check_type(argname="argument port", value=port, expected_type=type_hints["port"])
|
|
18592
18669
|
check_type(argname="argument reader_endpoint_address", value=reader_endpoint_address, expected_type=type_hints["reader_endpoint_address"])
|
|
18670
|
+
check_type(argname="argument secret", value=secret, expected_type=type_hints["secret"])
|
|
18593
18671
|
check_type(argname="argument security_groups", value=security_groups, expected_type=type_hints["security_groups"])
|
|
18594
18672
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
18595
18673
|
"cluster_identifier": cluster_identifier,
|
|
@@ -18608,6 +18686,8 @@ class DatabaseClusterAttributes:
|
|
|
18608
18686
|
self._values["port"] = port
|
|
18609
18687
|
if reader_endpoint_address is not None:
|
|
18610
18688
|
self._values["reader_endpoint_address"] = reader_endpoint_address
|
|
18689
|
+
if secret is not None:
|
|
18690
|
+
self._values["secret"] = secret
|
|
18611
18691
|
if security_groups is not None:
|
|
18612
18692
|
self._values["security_groups"] = security_groups
|
|
18613
18693
|
|
|
@@ -18683,6 +18763,15 @@ class DatabaseClusterAttributes:
|
|
|
18683
18763
|
result = self._values.get("reader_endpoint_address")
|
|
18684
18764
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
18685
18765
|
|
|
18766
|
+
@builtins.property
|
|
18767
|
+
def secret(self) -> typing.Optional[_ISecret_6e020e6a]:
|
|
18768
|
+
'''The secret attached to the database cluster.
|
|
18769
|
+
|
|
18770
|
+
:default: - the imported Cluster's secret is unknown
|
|
18771
|
+
'''
|
|
18772
|
+
result = self._values.get("secret")
|
|
18773
|
+
return typing.cast(typing.Optional[_ISecret_6e020e6a], result)
|
|
18774
|
+
|
|
18686
18775
|
@builtins.property
|
|
18687
18776
|
def security_groups(self) -> typing.Optional[typing.List[_ISecurityGroup_acf8a799]]:
|
|
18688
18777
|
'''The security groups of the database cluster.
|
|
@@ -37972,6 +38061,13 @@ class DatabaseClusterBase(
|
|
|
37972
38061
|
'''
|
|
37973
38062
|
...
|
|
37974
38063
|
|
|
38064
|
+
@builtins.property
|
|
38065
|
+
@jsii.member(jsii_name="secret")
|
|
38066
|
+
@abc.abstractmethod
|
|
38067
|
+
def secret(self) -> typing.Optional[_ISecret_6e020e6a]:
|
|
38068
|
+
'''Secret in SecretsManager to store the database cluster user credentials.'''
|
|
38069
|
+
...
|
|
38070
|
+
|
|
37975
38071
|
@builtins.property
|
|
37976
38072
|
@jsii.member(jsii_name="enableDataApi")
|
|
37977
38073
|
@abc.abstractmethod
|
|
@@ -38042,6 +38138,12 @@ class _DatabaseClusterBaseProxy(
|
|
|
38042
38138
|
'''
|
|
38043
38139
|
return typing.cast(typing.Optional["IClusterEngine"], jsii.get(self, "engine"))
|
|
38044
38140
|
|
|
38141
|
+
@builtins.property
|
|
38142
|
+
@jsii.member(jsii_name="secret")
|
|
38143
|
+
def secret(self) -> typing.Optional[_ISecret_6e020e6a]:
|
|
38144
|
+
'''Secret in SecretsManager to store the database cluster user credentials.'''
|
|
38145
|
+
return typing.cast(typing.Optional[_ISecret_6e020e6a], jsii.get(self, "secret"))
|
|
38146
|
+
|
|
38045
38147
|
@builtins.property
|
|
38046
38148
|
@jsii.member(jsii_name="enableDataApi")
|
|
38047
38149
|
def _enable_data_api(self) -> typing.Optional[builtins.bool]:
|
|
@@ -42238,6 +42340,7 @@ class DatabaseCluster(
|
|
|
42238
42340
|
instance_identifiers: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
42239
42341
|
port: typing.Optional[jsii.Number] = None,
|
|
42240
42342
|
reader_endpoint_address: typing.Optional[builtins.str] = None,
|
|
42343
|
+
secret: typing.Optional[_ISecret_6e020e6a] = None,
|
|
42241
42344
|
security_groups: typing.Optional[typing.Sequence[_ISecurityGroup_acf8a799]] = None,
|
|
42242
42345
|
) -> IDatabaseCluster:
|
|
42243
42346
|
'''Import an existing DatabaseCluster from properties.
|
|
@@ -42252,6 +42355,7 @@ class DatabaseCluster(
|
|
|
42252
42355
|
:param instance_identifiers: Identifier for the instances. Default: - no instance identifiers
|
|
42253
42356
|
:param port: The database port. Default: - none
|
|
42254
42357
|
:param reader_endpoint_address: Reader endpoint address. Default: - no reader address
|
|
42358
|
+
:param secret: The secret attached to the database cluster. Default: - the imported Cluster's secret is unknown
|
|
42255
42359
|
:param security_groups: The security groups of the database cluster. Default: - no security groups
|
|
42256
42360
|
'''
|
|
42257
42361
|
if __debug__:
|
|
@@ -42267,6 +42371,7 @@ class DatabaseCluster(
|
|
|
42267
42371
|
instance_identifiers=instance_identifiers,
|
|
42268
42372
|
port=port,
|
|
42269
42373
|
reader_endpoint_address=reader_endpoint_address,
|
|
42374
|
+
secret=secret,
|
|
42270
42375
|
security_groups=security_groups,
|
|
42271
42376
|
)
|
|
42272
42377
|
|
|
@@ -45258,6 +45363,8 @@ def _typecheckingstub__0596ec891883071cc8cc2bad7e4e8120eefe68f759bfc17fdbfc1a525
|
|
|
45258
45363
|
source_arn: builtins.str,
|
|
45259
45364
|
target_arn: builtins.str,
|
|
45260
45365
|
additional_encryption_context: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]] = None,
|
|
45366
|
+
data_filter: typing.Optional[builtins.str] = None,
|
|
45367
|
+
description: typing.Optional[builtins.str] = None,
|
|
45261
45368
|
integration_name: typing.Optional[builtins.str] = None,
|
|
45262
45369
|
kms_key_id: typing.Optional[builtins.str] = None,
|
|
45263
45370
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -45295,6 +45402,18 @@ def _typecheckingstub__f7fbdfa17cddec711beb6235c912d759435b5df9d3a68892f8c59ac57
|
|
|
45295
45402
|
"""Type checking stubs"""
|
|
45296
45403
|
pass
|
|
45297
45404
|
|
|
45405
|
+
def _typecheckingstub__8f252e37d51ec7f1680d3efcea4e0b7e52aad4f42ab7602e3513cfddd333cc79(
|
|
45406
|
+
value: typing.Optional[builtins.str],
|
|
45407
|
+
) -> None:
|
|
45408
|
+
"""Type checking stubs"""
|
|
45409
|
+
pass
|
|
45410
|
+
|
|
45411
|
+
def _typecheckingstub__f153335081bdb228cf54af39607edd8cc138405105c83cea1f20045a38af6740(
|
|
45412
|
+
value: typing.Optional[builtins.str],
|
|
45413
|
+
) -> None:
|
|
45414
|
+
"""Type checking stubs"""
|
|
45415
|
+
pass
|
|
45416
|
+
|
|
45298
45417
|
def _typecheckingstub__d5b123c2905fc9a976f7d4b785712c7b5d8b6b3c679debd526c66604c144a9d7(
|
|
45299
45418
|
value: typing.Optional[builtins.str],
|
|
45300
45419
|
) -> None:
|
|
@@ -45318,6 +45437,8 @@ def _typecheckingstub__69f4caa1fd2b447a305e7c18241756ad629a86b97bd052f17e677fc84
|
|
|
45318
45437
|
source_arn: builtins.str,
|
|
45319
45438
|
target_arn: builtins.str,
|
|
45320
45439
|
additional_encryption_context: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]] = None,
|
|
45440
|
+
data_filter: typing.Optional[builtins.str] = None,
|
|
45441
|
+
description: typing.Optional[builtins.str] = None,
|
|
45321
45442
|
integration_name: typing.Optional[builtins.str] = None,
|
|
45322
45443
|
kms_key_id: typing.Optional[builtins.str] = None,
|
|
45323
45444
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -45585,6 +45706,7 @@ def _typecheckingstub__ed300072ed57a352a09d26b0a71ae628bf48c46f003dddeb880d02b1b
|
|
|
45585
45706
|
instance_identifiers: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
45586
45707
|
port: typing.Optional[jsii.Number] = None,
|
|
45587
45708
|
reader_endpoint_address: typing.Optional[builtins.str] = None,
|
|
45709
|
+
secret: typing.Optional[_ISecret_6e020e6a] = None,
|
|
45588
45710
|
security_groups: typing.Optional[typing.Sequence[_ISecurityGroup_acf8a799]] = None,
|
|
45589
45711
|
) -> None:
|
|
45590
45712
|
"""Type checking stubs"""
|
|
@@ -47371,6 +47493,7 @@ def _typecheckingstub__d7cb0d9ec8799a7f25049acfbf2838c0699426663debfac03fac47054
|
|
|
47371
47493
|
instance_identifiers: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
47372
47494
|
port: typing.Optional[jsii.Number] = None,
|
|
47373
47495
|
reader_endpoint_address: typing.Optional[builtins.str] = None,
|
|
47496
|
+
secret: typing.Optional[_ISecret_6e020e6a] = None,
|
|
47374
47497
|
security_groups: typing.Optional[typing.Sequence[_ISecurityGroup_acf8a799]] = None,
|
|
47375
47498
|
) -> None:
|
|
47376
47499
|
"""Type checking stubs"""
|
aws_cdk/aws_redshift/__init__.py
CHANGED
|
@@ -30,6 +30,9 @@ For more information on the resources and properties available for this service,
|
|
|
30
30
|
|
|
31
31
|
<!--END CFNONLY DISCLAIMER-->
|
|
32
32
|
'''
|
|
33
|
+
from pkgutil import extend_path
|
|
34
|
+
__path__ = extend_path(__path__, __name__)
|
|
35
|
+
|
|
33
36
|
import abc
|
|
34
37
|
import builtins
|
|
35
38
|
import datetime
|
|
@@ -25,6 +25,9 @@ For more information on the resources and properties available for this service,
|
|
|
25
25
|
|
|
26
26
|
<!--END CFNONLY DISCLAIMER-->
|
|
27
27
|
'''
|
|
28
|
+
from pkgutil import extend_path
|
|
29
|
+
__path__ = extend_path(__path__, __name__)
|
|
30
|
+
|
|
28
31
|
import abc
|
|
29
32
|
import builtins
|
|
30
33
|
import datetime
|
|
@@ -25,6 +25,9 @@ For more information on the resources and properties available for this service,
|
|
|
25
25
|
|
|
26
26
|
<!--END CFNONLY DISCLAIMER-->
|
|
27
27
|
'''
|
|
28
|
+
from pkgutil import extend_path
|
|
29
|
+
__path__ = extend_path(__path__, __name__)
|
|
30
|
+
|
|
28
31
|
import abc
|
|
29
32
|
import builtins
|
|
30
33
|
import datetime
|
|
@@ -25,6 +25,9 @@ For more information on the resources and properties available for this service,
|
|
|
25
25
|
|
|
26
26
|
<!--END CFNONLY DISCLAIMER-->
|
|
27
27
|
'''
|
|
28
|
+
from pkgutil import extend_path
|
|
29
|
+
__path__ = extend_path(__path__, __name__)
|
|
30
|
+
|
|
28
31
|
import abc
|
|
29
32
|
import builtins
|
|
30
33
|
import datetime
|