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_dlm/__init__.py
CHANGED
|
@@ -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
|
|
@@ -764,7 +767,7 @@ class CfnLifecyclePolicy(
|
|
|
764
767
|
- You must specify either *CronExpression* , or *Interval* , *IntervalUnit* , and *Times* .
|
|
765
768
|
- If you need to specify an `ArchiveRule <https://docs.aws.amazon.com/dlm/latest/APIReference/API_ArchiveRule.html>`_ for the schedule, then you must specify a creation frequency of at least 28 days.
|
|
766
769
|
|
|
767
|
-
:param cron_expression: The schedule, as a Cron expression. The schedule interval must be between 1 hour and 1 year. For more information, see `Cron expressions <https://docs.aws.amazon.com/
|
|
770
|
+
:param cron_expression: The schedule, as a Cron expression. The schedule interval must be between 1 hour and 1 year. For more information, see the `Cron expressions reference <https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-cron-expressions.html>`_ in the *Amazon EventBridge User Guide* .
|
|
768
771
|
:param interval: The interval between snapshots. The supported values are 1, 2, 3, 4, 6, 8, 12, and 24.
|
|
769
772
|
:param interval_unit: The interval unit.
|
|
770
773
|
:param location: *[Custom snapshot policies only]* Specifies the destination for snapshots created by the policy. To create snapshots in the same Region as the source resource, specify ``CLOUD`` . To create snapshots on the same Outpost as the source resource, specify ``OUTPOST_LOCAL`` . If you omit this parameter, ``CLOUD`` is used by default. If the policy targets resources in an AWS Region , then you must create snapshots in the same Region as the source resource. If the policy targets resources on an Outpost, then you can create snapshots on the same Outpost as the source resource, or in the Region of that Outpost.
|
|
@@ -822,7 +825,7 @@ class CfnLifecyclePolicy(
|
|
|
822
825
|
def cron_expression(self) -> typing.Optional[builtins.str]:
|
|
823
826
|
'''The schedule, as a Cron expression.
|
|
824
827
|
|
|
825
|
-
The schedule interval must be between 1 hour and 1 year. For more information, see `Cron expressions <https://docs.aws.amazon.com/
|
|
828
|
+
The schedule interval must be between 1 hour and 1 year. For more information, see the `Cron expressions reference <https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-cron-expressions.html>`_ in the *Amazon EventBridge User Guide* .
|
|
826
829
|
|
|
827
830
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-createrule.html#cfn-dlm-lifecyclepolicy-createrule-cronexpression
|
|
828
831
|
'''
|
aws_cdk/aws_dms/__init__.py
CHANGED
|
@@ -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
|
|
@@ -5051,17 +5054,17 @@ class CfnEndpoint(
|
|
|
5051
5054
|
|
|
5052
5055
|
:param after_connect_script: For use with change data capture (CDC) only, this attribute has AWS DMS bypass foreign keys and user triggers to reduce the time it takes to bulk load data. Example: ``afterConnectScript=SET session_replication_role='replica'``
|
|
5053
5056
|
:param babelfish_database_name: The Babelfish for Aurora PostgreSQL database name for the endpoint.
|
|
5054
|
-
:param capture_ddls: To capture DDL events, AWS DMS creates various artifacts in the PostgreSQL database when the task starts. You can later remove these artifacts. If this value is set to ``N`` , you don't have to create tables or triggers on the source database.
|
|
5057
|
+
:param capture_ddls: To capture DDL events, AWS DMS creates various artifacts in the PostgreSQL database when the task starts. You can later remove these artifacts. The default value is ``true`` . If this value is set to ``N`` , you don't have to create tables or triggers on the source database.
|
|
5055
5058
|
:param database_mode: Specifies the default behavior of the replication's handling of PostgreSQL- compatible endpoints that require some additional configuration, such as Babelfish endpoints.
|
|
5056
|
-
:param ddl_artifacts_schema: The schema in which the operational DDL database artifacts are created. Example: ``ddlArtifactsSchema=xyzddlschema;``
|
|
5059
|
+
:param ddl_artifacts_schema: The schema in which the operational DDL database artifacts are created. The default value is ``public`` . Example: ``ddlArtifactsSchema=xyzddlschema;``
|
|
5057
5060
|
:param execute_timeout: Sets the client statement timeout for the PostgreSQL instance, in seconds. The default value is 60 seconds. Example: ``executeTimeout=100;``
|
|
5058
|
-
:param fail_tasks_on_lob_truncation: When set to ``true`` , this value causes a task to fail if the actual size of a LOB column is greater than the specified ``LobMaxSize`` . If task is set to Limited LOB mode and this option is set to true, the task fails instead of truncating the LOB data.
|
|
5059
|
-
:param heartbeat_enable: The write-ahead log (WAL) heartbeat feature mimics a dummy transaction. By doing this, it prevents idle logical replication slots from holding onto old WAL logs, which can result in storage full situations on the source. This heartbeat keeps ``restart_lsn`` moving and prevents storage full scenarios.
|
|
5060
|
-
:param heartbeat_frequency: Sets the WAL heartbeat frequency (in minutes).
|
|
5061
|
-
:param heartbeat_schema: Sets the schema in which the heartbeat artifacts are created.
|
|
5062
|
-
:param map_boolean_as_boolean: When true, lets PostgreSQL migrate the boolean type as boolean. By default, PostgreSQL migrates booleans as ``varchar(5)`` . You must set this setting on both the source and target endpoints for it to take effect.
|
|
5063
|
-
:param max_file_size: Specifies the maximum size (in KB) of any .csv file used to transfer data to PostgreSQL. Example: ``maxFileSize=512``
|
|
5064
|
-
:param plugin_name: Specifies the plugin to use to create a replication slot.
|
|
5061
|
+
:param fail_tasks_on_lob_truncation: When set to ``true`` , this value causes a task to fail if the actual size of a LOB column is greater than the specified ``LobMaxSize`` . The default value is ``false`` . If task is set to Limited LOB mode and this option is set to true, the task fails instead of truncating the LOB data.
|
|
5062
|
+
:param heartbeat_enable: The write-ahead log (WAL) heartbeat feature mimics a dummy transaction. By doing this, it prevents idle logical replication slots from holding onto old WAL logs, which can result in storage full situations on the source. This heartbeat keeps ``restart_lsn`` moving and prevents storage full scenarios. The default value is ``false`` .
|
|
5063
|
+
:param heartbeat_frequency: Sets the WAL heartbeat frequency (in minutes). The default value is 5 minutes.
|
|
5064
|
+
:param heartbeat_schema: Sets the schema in which the heartbeat artifacts are created. The default value is ``public`` .
|
|
5065
|
+
:param map_boolean_as_boolean: When true, lets PostgreSQL migrate the boolean type as boolean. By default, PostgreSQL migrates booleans as ``varchar(5)`` . You must set this setting on both the source and target endpoints for it to take effect. The default value is ``false`` .
|
|
5066
|
+
:param max_file_size: Specifies the maximum size (in KB) of any .csv file used to transfer data to PostgreSQL. The default value is 32,768 KB (32 MB). Example: ``maxFileSize=512``
|
|
5067
|
+
:param plugin_name: Specifies the plugin to use to create a replication slot. The default value is ``pglogical`` .
|
|
5065
5068
|
:param secrets_manager_access_role_arn: The full Amazon Resource Name (ARN) of the IAM role that specifies AWS DMS as the trusted entity and grants the required permissions to access the value in ``SecretsManagerSecret`` . The role must allow the ``iam:PassRole`` action. ``SecretsManagerSecret`` has the value of the AWS Secrets Manager secret that allows access to the PostgreSQL endpoint. .. epigraph:: You can specify one of two sets of values for these permissions. You can specify the values for this setting and ``SecretsManagerSecretId`` . Or you can specify clear-text values for ``UserName`` , ``Password`` , ``ServerName`` , and ``Port`` . You can't specify both. For more information on creating this ``SecretsManagerSecret`` , the corresponding ``SecretsManagerAccessRoleArn`` , and the ``SecretsManagerSecretId`` that is required to access it, see `Using secrets to access AWS Database Migration Service resources <https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Security.html#security-iam-secretsmanager>`_ in the *AWS Database Migration Service User Guide* .
|
|
5066
5069
|
:param secrets_manager_secret_id: The full ARN, partial ARN, or display name of the ``SecretsManagerSecret`` that contains the PostgreSQL endpoint connection details.
|
|
5067
5070
|
:param slot_name: Sets the name of a previously created logical replication slot for a change data capture (CDC) load of the PostgreSQL source instance. When used with the ``CdcStartPosition`` request parameter for the AWS DMS API , this attribute also makes it possible to use native CDC start points. DMS verifies that the specified logical replication slot exists before starting the CDC load task. It also verifies that the task was created with a valid setting of ``CdcStartPosition`` . If the specified slot doesn't exist or the task doesn't have a valid ``CdcStartPosition`` setting, DMS raises an error. For more information about setting the ``CdcStartPosition`` request parameter, see `Determining a CDC native start point <https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Task.CDC.html#CHAP_Task.CDC.StartPoint.Native>`_ in the *AWS Database Migration Service User Guide* . For more information about using ``CdcStartPosition`` , see `CreateReplicationTask <https://docs.aws.amazon.com/dms/latest/APIReference/API_CreateReplicationTask.html>`_ , `StartReplicationTask <https://docs.aws.amazon.com/dms/latest/APIReference/API_StartReplicationTask.html>`_ , and `ModifyReplicationTask <https://docs.aws.amazon.com/dms/latest/APIReference/API_ModifyReplicationTask.html>`_ .
|
|
@@ -5174,6 +5177,8 @@ class CfnEndpoint(
|
|
|
5174
5177
|
|
|
5175
5178
|
You can later remove these artifacts.
|
|
5176
5179
|
|
|
5180
|
+
The default value is ``true`` .
|
|
5181
|
+
|
|
5177
5182
|
If this value is set to ``N`` , you don't have to create tables or triggers on the source database.
|
|
5178
5183
|
|
|
5179
5184
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-postgresqlsettings.html#cfn-dms-endpoint-postgresqlsettings-captureddls
|
|
@@ -5194,6 +5199,8 @@ class CfnEndpoint(
|
|
|
5194
5199
|
def ddl_artifacts_schema(self) -> typing.Optional[builtins.str]:
|
|
5195
5200
|
'''The schema in which the operational DDL database artifacts are created.
|
|
5196
5201
|
|
|
5202
|
+
The default value is ``public`` .
|
|
5203
|
+
|
|
5197
5204
|
Example: ``ddlArtifactsSchema=xyzddlschema;``
|
|
5198
5205
|
|
|
5199
5206
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-postgresqlsettings.html#cfn-dms-endpoint-postgresqlsettings-ddlartifactsschema
|
|
@@ -5218,6 +5225,8 @@ class CfnEndpoint(
|
|
|
5218
5225
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
5219
5226
|
'''When set to ``true`` , this value causes a task to fail if the actual size of a LOB column is greater than the specified ``LobMaxSize`` .
|
|
5220
5227
|
|
|
5228
|
+
The default value is ``false`` .
|
|
5229
|
+
|
|
5221
5230
|
If task is set to Limited LOB mode and this option is set to true, the task fails instead of truncating the LOB data.
|
|
5222
5231
|
|
|
5223
5232
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-postgresqlsettings.html#cfn-dms-endpoint-postgresqlsettings-failtasksonlobtruncation
|
|
@@ -5233,6 +5242,8 @@ class CfnEndpoint(
|
|
|
5233
5242
|
|
|
5234
5243
|
By doing this, it prevents idle logical replication slots from holding onto old WAL logs, which can result in storage full situations on the source. This heartbeat keeps ``restart_lsn`` moving and prevents storage full scenarios.
|
|
5235
5244
|
|
|
5245
|
+
The default value is ``false`` .
|
|
5246
|
+
|
|
5236
5247
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-postgresqlsettings.html#cfn-dms-endpoint-postgresqlsettings-heartbeatenable
|
|
5237
5248
|
'''
|
|
5238
5249
|
result = self._values.get("heartbeat_enable")
|
|
@@ -5242,6 +5253,8 @@ class CfnEndpoint(
|
|
|
5242
5253
|
def heartbeat_frequency(self) -> typing.Optional[jsii.Number]:
|
|
5243
5254
|
'''Sets the WAL heartbeat frequency (in minutes).
|
|
5244
5255
|
|
|
5256
|
+
The default value is 5 minutes.
|
|
5257
|
+
|
|
5245
5258
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-postgresqlsettings.html#cfn-dms-endpoint-postgresqlsettings-heartbeatfrequency
|
|
5246
5259
|
'''
|
|
5247
5260
|
result = self._values.get("heartbeat_frequency")
|
|
@@ -5251,6 +5264,8 @@ class CfnEndpoint(
|
|
|
5251
5264
|
def heartbeat_schema(self) -> typing.Optional[builtins.str]:
|
|
5252
5265
|
'''Sets the schema in which the heartbeat artifacts are created.
|
|
5253
5266
|
|
|
5267
|
+
The default value is ``public`` .
|
|
5268
|
+
|
|
5254
5269
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-postgresqlsettings.html#cfn-dms-endpoint-postgresqlsettings-heartbeatschema
|
|
5255
5270
|
'''
|
|
5256
5271
|
result = self._values.get("heartbeat_schema")
|
|
@@ -5264,6 +5279,8 @@ class CfnEndpoint(
|
|
|
5264
5279
|
|
|
5265
5280
|
By default, PostgreSQL migrates booleans as ``varchar(5)`` . You must set this setting on both the source and target endpoints for it to take effect.
|
|
5266
5281
|
|
|
5282
|
+
The default value is ``false`` .
|
|
5283
|
+
|
|
5267
5284
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-postgresqlsettings.html#cfn-dms-endpoint-postgresqlsettings-mapbooleanasboolean
|
|
5268
5285
|
'''
|
|
5269
5286
|
result = self._values.get("map_boolean_as_boolean")
|
|
@@ -5273,6 +5290,8 @@ class CfnEndpoint(
|
|
|
5273
5290
|
def max_file_size(self) -> typing.Optional[jsii.Number]:
|
|
5274
5291
|
'''Specifies the maximum size (in KB) of any .csv file used to transfer data to PostgreSQL.
|
|
5275
5292
|
|
|
5293
|
+
The default value is 32,768 KB (32 MB).
|
|
5294
|
+
|
|
5276
5295
|
Example: ``maxFileSize=512``
|
|
5277
5296
|
|
|
5278
5297
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-postgresqlsettings.html#cfn-dms-endpoint-postgresqlsettings-maxfilesize
|
|
@@ -5284,6 +5303,8 @@ class CfnEndpoint(
|
|
|
5284
5303
|
def plugin_name(self) -> typing.Optional[builtins.str]:
|
|
5285
5304
|
'''Specifies the plugin to use to create a replication slot.
|
|
5286
5305
|
|
|
5306
|
+
The default value is ``pglogical`` .
|
|
5307
|
+
|
|
5287
5308
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-postgresqlsettings.html#cfn-dms-endpoint-postgresqlsettings-pluginname
|
|
5288
5309
|
'''
|
|
5289
5310
|
result = self._values.get("plugin_name")
|
aws_cdk/aws_docdb/__init__.py
CHANGED
|
@@ -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
|
|
@@ -77,8 +80,11 @@ class CfnCluster(
|
|
|
77
80
|
|
|
78
81
|
# the properties below are optional
|
|
79
82
|
admin_user_password="adminUserPassword",
|
|
83
|
+
backup_retention_period=123,
|
|
80
84
|
kms_key_id="kmsKeyId",
|
|
85
|
+
preferred_backup_window="preferredBackupWindow",
|
|
81
86
|
preferred_maintenance_window="preferredMaintenanceWindow",
|
|
87
|
+
shard_instance_count=123,
|
|
82
88
|
subnet_ids=["subnetIds"],
|
|
83
89
|
tags=[CfnTag(
|
|
84
90
|
key="key",
|
|
@@ -99,8 +105,11 @@ class CfnCluster(
|
|
|
99
105
|
shard_capacity: jsii.Number,
|
|
100
106
|
shard_count: jsii.Number,
|
|
101
107
|
admin_user_password: typing.Optional[builtins.str] = None,
|
|
108
|
+
backup_retention_period: typing.Optional[jsii.Number] = None,
|
|
102
109
|
kms_key_id: typing.Optional[builtins.str] = None,
|
|
110
|
+
preferred_backup_window: typing.Optional[builtins.str] = None,
|
|
103
111
|
preferred_maintenance_window: typing.Optional[builtins.str] = None,
|
|
112
|
+
shard_instance_count: typing.Optional[jsii.Number] = None,
|
|
104
113
|
subnet_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
105
114
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
106
115
|
vpc_security_group_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -114,8 +123,11 @@ class CfnCluster(
|
|
|
114
123
|
:param shard_capacity: The number of vCPUs assigned to each elastic cluster shard. Maximum is 64. Allowed values are 2, 4, 8, 16, 32, 64.
|
|
115
124
|
:param shard_count: The number of shards assigned to the elastic cluster. Maximum is 32.
|
|
116
125
|
:param admin_user_password: The password for the Elastic DocumentDB cluster administrator and can contain any printable ASCII characters. *Constraints* : - Must contain from 8 to 100 characters. - Cannot contain a forward slash (/), double quote ("), or the "at" symbol (@). - A valid ``AdminUserName`` entry is also required.
|
|
126
|
+
:param backup_retention_period: The number of days for which automatic snapshots are retained.
|
|
117
127
|
:param kms_key_id: The KMS key identifier to use to encrypt the new elastic cluster. The KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption key. If you are creating a cluster using the same Amazon account that owns this KMS encryption key, you can use the KMS key alias instead of the ARN as the KMS encryption key. If an encryption key is not specified, Amazon DocumentDB uses the default encryption key that KMS creates for your account. Your account has a different default encryption key for each Amazon Region.
|
|
128
|
+
:param preferred_backup_window: The daily time range during which automated backups are created if automated backups are enabled, as determined by ``backupRetentionPeriod`` .
|
|
118
129
|
:param preferred_maintenance_window: The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC). *Format* : ``ddd:hh24:mi-ddd:hh24:mi`` *Default* : a 30-minute window selected at random from an 8-hour block of time for each AWS Region , occurring on a random day of the week. *Valid days* : Mon, Tue, Wed, Thu, Fri, Sat, Sun *Constraints* : Minimum 30-minute window.
|
|
130
|
+
:param shard_instance_count: The number of replica instances applying to all shards in the cluster. A ``shardInstanceCount`` value of 1 means there is one writer instance, and any additional instances are replicas that can be used for reads and to improve availability.
|
|
119
131
|
:param subnet_ids: The Amazon EC2 subnet IDs for the new elastic cluster.
|
|
120
132
|
:param tags: The tags to be assigned to the new elastic cluster.
|
|
121
133
|
:param vpc_security_group_ids: A list of EC2 VPC security groups to associate with the new elastic cluster.
|
|
@@ -131,8 +143,11 @@ class CfnCluster(
|
|
|
131
143
|
shard_capacity=shard_capacity,
|
|
132
144
|
shard_count=shard_count,
|
|
133
145
|
admin_user_password=admin_user_password,
|
|
146
|
+
backup_retention_period=backup_retention_period,
|
|
134
147
|
kms_key_id=kms_key_id,
|
|
148
|
+
preferred_backup_window=preferred_backup_window,
|
|
135
149
|
preferred_maintenance_window=preferred_maintenance_window,
|
|
150
|
+
shard_instance_count=shard_instance_count,
|
|
136
151
|
subnet_ids=subnet_ids,
|
|
137
152
|
tags=tags,
|
|
138
153
|
vpc_security_group_ids=vpc_security_group_ids,
|
|
@@ -279,6 +294,19 @@ class CfnCluster(
|
|
|
279
294
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
280
295
|
jsii.set(self, "adminUserPassword", value)
|
|
281
296
|
|
|
297
|
+
@builtins.property
|
|
298
|
+
@jsii.member(jsii_name="backupRetentionPeriod")
|
|
299
|
+
def backup_retention_period(self) -> typing.Optional[jsii.Number]:
|
|
300
|
+
'''The number of days for which automatic snapshots are retained.'''
|
|
301
|
+
return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "backupRetentionPeriod"))
|
|
302
|
+
|
|
303
|
+
@backup_retention_period.setter
|
|
304
|
+
def backup_retention_period(self, value: typing.Optional[jsii.Number]) -> None:
|
|
305
|
+
if __debug__:
|
|
306
|
+
type_hints = typing.get_type_hints(_typecheckingstub__d81338ed2d2b35425bdc6b440d859bf6f7104c7d3e66fb0b6a4b0b6ed4baaf00)
|
|
307
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
308
|
+
jsii.set(self, "backupRetentionPeriod", value)
|
|
309
|
+
|
|
282
310
|
@builtins.property
|
|
283
311
|
@jsii.member(jsii_name="kmsKeyId")
|
|
284
312
|
def kms_key_id(self) -> typing.Optional[builtins.str]:
|
|
@@ -292,6 +320,19 @@ class CfnCluster(
|
|
|
292
320
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
293
321
|
jsii.set(self, "kmsKeyId", value)
|
|
294
322
|
|
|
323
|
+
@builtins.property
|
|
324
|
+
@jsii.member(jsii_name="preferredBackupWindow")
|
|
325
|
+
def preferred_backup_window(self) -> typing.Optional[builtins.str]:
|
|
326
|
+
'''The daily time range during which automated backups are created if automated backups are enabled, as determined by ``backupRetentionPeriod`` .'''
|
|
327
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "preferredBackupWindow"))
|
|
328
|
+
|
|
329
|
+
@preferred_backup_window.setter
|
|
330
|
+
def preferred_backup_window(self, value: typing.Optional[builtins.str]) -> None:
|
|
331
|
+
if __debug__:
|
|
332
|
+
type_hints = typing.get_type_hints(_typecheckingstub__8c4acb4ae8cd439155ec33ec8e279ea4474d4a87642ef3d269a76e5647be02bf)
|
|
333
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
334
|
+
jsii.set(self, "preferredBackupWindow", value)
|
|
335
|
+
|
|
295
336
|
@builtins.property
|
|
296
337
|
@jsii.member(jsii_name="preferredMaintenanceWindow")
|
|
297
338
|
def preferred_maintenance_window(self) -> typing.Optional[builtins.str]:
|
|
@@ -308,6 +349,19 @@ class CfnCluster(
|
|
|
308
349
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
309
350
|
jsii.set(self, "preferredMaintenanceWindow", value)
|
|
310
351
|
|
|
352
|
+
@builtins.property
|
|
353
|
+
@jsii.member(jsii_name="shardInstanceCount")
|
|
354
|
+
def shard_instance_count(self) -> typing.Optional[jsii.Number]:
|
|
355
|
+
'''The number of replica instances applying to all shards in the cluster.'''
|
|
356
|
+
return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "shardInstanceCount"))
|
|
357
|
+
|
|
358
|
+
@shard_instance_count.setter
|
|
359
|
+
def shard_instance_count(self, value: typing.Optional[jsii.Number]) -> None:
|
|
360
|
+
if __debug__:
|
|
361
|
+
type_hints = typing.get_type_hints(_typecheckingstub__2081e1f0fbadf01af64a49f199c20e8ba4209c58b855709e74d727666c656b34)
|
|
362
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
363
|
+
jsii.set(self, "shardInstanceCount", value)
|
|
364
|
+
|
|
311
365
|
@builtins.property
|
|
312
366
|
@jsii.member(jsii_name="subnetIds")
|
|
313
367
|
def subnet_ids(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
@@ -361,8 +415,11 @@ class CfnCluster(
|
|
|
361
415
|
"shard_capacity": "shardCapacity",
|
|
362
416
|
"shard_count": "shardCount",
|
|
363
417
|
"admin_user_password": "adminUserPassword",
|
|
418
|
+
"backup_retention_period": "backupRetentionPeriod",
|
|
364
419
|
"kms_key_id": "kmsKeyId",
|
|
420
|
+
"preferred_backup_window": "preferredBackupWindow",
|
|
365
421
|
"preferred_maintenance_window": "preferredMaintenanceWindow",
|
|
422
|
+
"shard_instance_count": "shardInstanceCount",
|
|
366
423
|
"subnet_ids": "subnetIds",
|
|
367
424
|
"tags": "tags",
|
|
368
425
|
"vpc_security_group_ids": "vpcSecurityGroupIds",
|
|
@@ -378,8 +435,11 @@ class CfnClusterProps:
|
|
|
378
435
|
shard_capacity: jsii.Number,
|
|
379
436
|
shard_count: jsii.Number,
|
|
380
437
|
admin_user_password: typing.Optional[builtins.str] = None,
|
|
438
|
+
backup_retention_period: typing.Optional[jsii.Number] = None,
|
|
381
439
|
kms_key_id: typing.Optional[builtins.str] = None,
|
|
440
|
+
preferred_backup_window: typing.Optional[builtins.str] = None,
|
|
382
441
|
preferred_maintenance_window: typing.Optional[builtins.str] = None,
|
|
442
|
+
shard_instance_count: typing.Optional[jsii.Number] = None,
|
|
383
443
|
subnet_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
384
444
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
385
445
|
vpc_security_group_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -392,8 +452,11 @@ class CfnClusterProps:
|
|
|
392
452
|
:param shard_capacity: The number of vCPUs assigned to each elastic cluster shard. Maximum is 64. Allowed values are 2, 4, 8, 16, 32, 64.
|
|
393
453
|
:param shard_count: The number of shards assigned to the elastic cluster. Maximum is 32.
|
|
394
454
|
:param admin_user_password: The password for the Elastic DocumentDB cluster administrator and can contain any printable ASCII characters. *Constraints* : - Must contain from 8 to 100 characters. - Cannot contain a forward slash (/), double quote ("), or the "at" symbol (@). - A valid ``AdminUserName`` entry is also required.
|
|
455
|
+
:param backup_retention_period: The number of days for which automatic snapshots are retained.
|
|
395
456
|
:param kms_key_id: The KMS key identifier to use to encrypt the new elastic cluster. The KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption key. If you are creating a cluster using the same Amazon account that owns this KMS encryption key, you can use the KMS key alias instead of the ARN as the KMS encryption key. If an encryption key is not specified, Amazon DocumentDB uses the default encryption key that KMS creates for your account. Your account has a different default encryption key for each Amazon Region.
|
|
457
|
+
:param preferred_backup_window: The daily time range during which automated backups are created if automated backups are enabled, as determined by ``backupRetentionPeriod`` .
|
|
396
458
|
:param preferred_maintenance_window: The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC). *Format* : ``ddd:hh24:mi-ddd:hh24:mi`` *Default* : a 30-minute window selected at random from an 8-hour block of time for each AWS Region , occurring on a random day of the week. *Valid days* : Mon, Tue, Wed, Thu, Fri, Sat, Sun *Constraints* : Minimum 30-minute window.
|
|
459
|
+
:param shard_instance_count: The number of replica instances applying to all shards in the cluster. A ``shardInstanceCount`` value of 1 means there is one writer instance, and any additional instances are replicas that can be used for reads and to improve availability.
|
|
397
460
|
:param subnet_ids: The Amazon EC2 subnet IDs for the new elastic cluster.
|
|
398
461
|
:param tags: The tags to be assigned to the new elastic cluster.
|
|
399
462
|
:param vpc_security_group_ids: A list of EC2 VPC security groups to associate with the new elastic cluster.
|
|
@@ -416,8 +479,11 @@ class CfnClusterProps:
|
|
|
416
479
|
|
|
417
480
|
# the properties below are optional
|
|
418
481
|
admin_user_password="adminUserPassword",
|
|
482
|
+
backup_retention_period=123,
|
|
419
483
|
kms_key_id="kmsKeyId",
|
|
484
|
+
preferred_backup_window="preferredBackupWindow",
|
|
420
485
|
preferred_maintenance_window="preferredMaintenanceWindow",
|
|
486
|
+
shard_instance_count=123,
|
|
421
487
|
subnet_ids=["subnetIds"],
|
|
422
488
|
tags=[CfnTag(
|
|
423
489
|
key="key",
|
|
@@ -434,8 +500,11 @@ class CfnClusterProps:
|
|
|
434
500
|
check_type(argname="argument shard_capacity", value=shard_capacity, expected_type=type_hints["shard_capacity"])
|
|
435
501
|
check_type(argname="argument shard_count", value=shard_count, expected_type=type_hints["shard_count"])
|
|
436
502
|
check_type(argname="argument admin_user_password", value=admin_user_password, expected_type=type_hints["admin_user_password"])
|
|
503
|
+
check_type(argname="argument backup_retention_period", value=backup_retention_period, expected_type=type_hints["backup_retention_period"])
|
|
437
504
|
check_type(argname="argument kms_key_id", value=kms_key_id, expected_type=type_hints["kms_key_id"])
|
|
505
|
+
check_type(argname="argument preferred_backup_window", value=preferred_backup_window, expected_type=type_hints["preferred_backup_window"])
|
|
438
506
|
check_type(argname="argument preferred_maintenance_window", value=preferred_maintenance_window, expected_type=type_hints["preferred_maintenance_window"])
|
|
507
|
+
check_type(argname="argument shard_instance_count", value=shard_instance_count, expected_type=type_hints["shard_instance_count"])
|
|
439
508
|
check_type(argname="argument subnet_ids", value=subnet_ids, expected_type=type_hints["subnet_ids"])
|
|
440
509
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
441
510
|
check_type(argname="argument vpc_security_group_ids", value=vpc_security_group_ids, expected_type=type_hints["vpc_security_group_ids"])
|
|
@@ -448,10 +517,16 @@ class CfnClusterProps:
|
|
|
448
517
|
}
|
|
449
518
|
if admin_user_password is not None:
|
|
450
519
|
self._values["admin_user_password"] = admin_user_password
|
|
520
|
+
if backup_retention_period is not None:
|
|
521
|
+
self._values["backup_retention_period"] = backup_retention_period
|
|
451
522
|
if kms_key_id is not None:
|
|
452
523
|
self._values["kms_key_id"] = kms_key_id
|
|
524
|
+
if preferred_backup_window is not None:
|
|
525
|
+
self._values["preferred_backup_window"] = preferred_backup_window
|
|
453
526
|
if preferred_maintenance_window is not None:
|
|
454
527
|
self._values["preferred_maintenance_window"] = preferred_maintenance_window
|
|
528
|
+
if shard_instance_count is not None:
|
|
529
|
+
self._values["shard_instance_count"] = shard_instance_count
|
|
455
530
|
if subnet_ids is not None:
|
|
456
531
|
self._values["subnet_ids"] = subnet_ids
|
|
457
532
|
if tags is not None:
|
|
@@ -544,6 +619,15 @@ class CfnClusterProps:
|
|
|
544
619
|
result = self._values.get("admin_user_password")
|
|
545
620
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
546
621
|
|
|
622
|
+
@builtins.property
|
|
623
|
+
def backup_retention_period(self) -> typing.Optional[jsii.Number]:
|
|
624
|
+
'''The number of days for which automatic snapshots are retained.
|
|
625
|
+
|
|
626
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdbelastic-cluster.html#cfn-docdbelastic-cluster-backupretentionperiod
|
|
627
|
+
'''
|
|
628
|
+
result = self._values.get("backup_retention_period")
|
|
629
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
630
|
+
|
|
547
631
|
@builtins.property
|
|
548
632
|
def kms_key_id(self) -> typing.Optional[builtins.str]:
|
|
549
633
|
'''The KMS key identifier to use to encrypt the new elastic cluster.
|
|
@@ -557,6 +641,15 @@ class CfnClusterProps:
|
|
|
557
641
|
result = self._values.get("kms_key_id")
|
|
558
642
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
559
643
|
|
|
644
|
+
@builtins.property
|
|
645
|
+
def preferred_backup_window(self) -> typing.Optional[builtins.str]:
|
|
646
|
+
'''The daily time range during which automated backups are created if automated backups are enabled, as determined by ``backupRetentionPeriod`` .
|
|
647
|
+
|
|
648
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdbelastic-cluster.html#cfn-docdbelastic-cluster-preferredbackupwindow
|
|
649
|
+
'''
|
|
650
|
+
result = self._values.get("preferred_backup_window")
|
|
651
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
652
|
+
|
|
560
653
|
@builtins.property
|
|
561
654
|
def preferred_maintenance_window(self) -> typing.Optional[builtins.str]:
|
|
562
655
|
'''The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
|
|
@@ -574,6 +667,17 @@ class CfnClusterProps:
|
|
|
574
667
|
result = self._values.get("preferred_maintenance_window")
|
|
575
668
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
576
669
|
|
|
670
|
+
@builtins.property
|
|
671
|
+
def shard_instance_count(self) -> typing.Optional[jsii.Number]:
|
|
672
|
+
'''The number of replica instances applying to all shards in the cluster.
|
|
673
|
+
|
|
674
|
+
A ``shardInstanceCount`` value of 1 means there is one writer instance, and any additional instances are replicas that can be used for reads and to improve availability.
|
|
675
|
+
|
|
676
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdbelastic-cluster.html#cfn-docdbelastic-cluster-shardinstancecount
|
|
677
|
+
'''
|
|
678
|
+
result = self._values.get("shard_instance_count")
|
|
679
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
680
|
+
|
|
577
681
|
@builtins.property
|
|
578
682
|
def subnet_ids(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
579
683
|
'''The Amazon EC2 subnet IDs for the new elastic cluster.
|
|
@@ -630,8 +734,11 @@ def _typecheckingstub__d18e65300a117432acf21688bd5e6ea35e026a31a5e4e4867ff7ee2d8
|
|
|
630
734
|
shard_capacity: jsii.Number,
|
|
631
735
|
shard_count: jsii.Number,
|
|
632
736
|
admin_user_password: typing.Optional[builtins.str] = None,
|
|
737
|
+
backup_retention_period: typing.Optional[jsii.Number] = None,
|
|
633
738
|
kms_key_id: typing.Optional[builtins.str] = None,
|
|
739
|
+
preferred_backup_window: typing.Optional[builtins.str] = None,
|
|
634
740
|
preferred_maintenance_window: typing.Optional[builtins.str] = None,
|
|
741
|
+
shard_instance_count: typing.Optional[jsii.Number] = None,
|
|
635
742
|
subnet_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
636
743
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
637
744
|
vpc_security_group_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -687,18 +794,36 @@ def _typecheckingstub__470579f0ad58114a88b5ed48276c3b18996b7302a73c462a28c5fe499
|
|
|
687
794
|
"""Type checking stubs"""
|
|
688
795
|
pass
|
|
689
796
|
|
|
797
|
+
def _typecheckingstub__d81338ed2d2b35425bdc6b440d859bf6f7104c7d3e66fb0b6a4b0b6ed4baaf00(
|
|
798
|
+
value: typing.Optional[jsii.Number],
|
|
799
|
+
) -> None:
|
|
800
|
+
"""Type checking stubs"""
|
|
801
|
+
pass
|
|
802
|
+
|
|
690
803
|
def _typecheckingstub__0953a51d1454415947e4ab62061cf85963bc67eaf8b442f55611367c42e51638(
|
|
691
804
|
value: typing.Optional[builtins.str],
|
|
692
805
|
) -> None:
|
|
693
806
|
"""Type checking stubs"""
|
|
694
807
|
pass
|
|
695
808
|
|
|
809
|
+
def _typecheckingstub__8c4acb4ae8cd439155ec33ec8e279ea4474d4a87642ef3d269a76e5647be02bf(
|
|
810
|
+
value: typing.Optional[builtins.str],
|
|
811
|
+
) -> None:
|
|
812
|
+
"""Type checking stubs"""
|
|
813
|
+
pass
|
|
814
|
+
|
|
696
815
|
def _typecheckingstub__0ffa8d3c73f9cb8dbb10a83c94105842d5c99d4532516cfb2e94ac10a5760cd3(
|
|
697
816
|
value: typing.Optional[builtins.str],
|
|
698
817
|
) -> None:
|
|
699
818
|
"""Type checking stubs"""
|
|
700
819
|
pass
|
|
701
820
|
|
|
821
|
+
def _typecheckingstub__2081e1f0fbadf01af64a49f199c20e8ba4209c58b855709e74d727666c656b34(
|
|
822
|
+
value: typing.Optional[jsii.Number],
|
|
823
|
+
) -> None:
|
|
824
|
+
"""Type checking stubs"""
|
|
825
|
+
pass
|
|
826
|
+
|
|
702
827
|
def _typecheckingstub__c59fae2991fdf99f407d97835ea06b1afbfc6a97c5607c1b1b36dfc5aad6bb97(
|
|
703
828
|
value: typing.Optional[typing.List[builtins.str]],
|
|
704
829
|
) -> None:
|
|
@@ -725,8 +850,11 @@ def _typecheckingstub__2b5fe934af328fd508365294b2de9cfcaa71e04fad229d22243ec4156
|
|
|
725
850
|
shard_capacity: jsii.Number,
|
|
726
851
|
shard_count: jsii.Number,
|
|
727
852
|
admin_user_password: typing.Optional[builtins.str] = None,
|
|
853
|
+
backup_retention_period: typing.Optional[jsii.Number] = None,
|
|
728
854
|
kms_key_id: typing.Optional[builtins.str] = None,
|
|
855
|
+
preferred_backup_window: typing.Optional[builtins.str] = None,
|
|
729
856
|
preferred_maintenance_window: typing.Optional[builtins.str] = None,
|
|
857
|
+
shard_instance_count: typing.Optional[jsii.Number] = None,
|
|
730
858
|
subnet_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
731
859
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
732
860
|
vpc_security_group_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|