aws-cdk-lib 2.75.1__py3-none-any.whl → 2.76.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of aws-cdk-lib might be problematic. Click here for more details.
- aws_cdk/__init__.py +245 -259
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.75.1.jsii.tgz → aws-cdk-lib@2.76.0.jsii.tgz} +0 -0
- aws_cdk/aws_amplifyuibuilder/__init__.py +184 -216
- aws_cdk/aws_apigateway/__init__.py +95 -148
- aws_cdk/aws_appconfig/__init__.py +8 -4
- aws_cdk/aws_appflow/__init__.py +27 -52
- aws_cdk/aws_appmesh/__init__.py +91 -200
- aws_cdk/aws_apprunner/__init__.py +4 -16
- aws_cdk/aws_appstream/__init__.py +18 -82
- aws_cdk/aws_athena/__init__.py +18 -32
- aws_cdk/aws_backup/__init__.py +48 -86
- aws_cdk/aws_billingconductor/__init__.py +12 -7
- aws_cdk/aws_budgets/__init__.py +8 -17
- aws_cdk/aws_certificatemanager/__init__.py +7 -4
- aws_cdk/aws_cloudfront/__init__.py +14 -11
- aws_cdk/aws_cloudfront_origins/__init__.py +18 -8
- aws_cdk/aws_cloudtrail/__init__.py +7 -10
- aws_cdk/aws_cloudwatch/__init__.py +63 -35
- aws_cdk/aws_codebuild/__init__.py +10 -13
- aws_cdk/aws_codecommit/__init__.py +0 -1
- aws_cdk/aws_codedeploy/__init__.py +165 -162
- aws_cdk/aws_codepipeline/__init__.py +0 -4
- aws_cdk/aws_codepipeline_actions/__init__.py +16 -164
- aws_cdk/aws_cognito/__init__.py +195 -100
- aws_cdk/aws_config/__init__.py +28 -51
- aws_cdk/aws_connectcampaigns/__init__.py +5 -6
- aws_cdk/aws_databrew/__init__.py +5 -6
- aws_cdk/aws_dlm/__init__.py +33 -71
- aws_cdk/aws_docdb/__init__.py +20 -76
- aws_cdk/aws_dynamodb/__init__.py +7 -14
- aws_cdk/aws_ec2/__init__.py +1846 -421
- aws_cdk/aws_ecr/__init__.py +1 -2
- aws_cdk/aws_ecr_assets/__init__.py +27 -14
- aws_cdk/aws_ecs/__init__.py +241 -111
- aws_cdk/aws_ecs_patterns/__init__.py +13 -11
- aws_cdk/aws_eks/__init__.py +13 -8
- aws_cdk/aws_elasticloadbalancing/__init__.py +16 -9
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +142 -82
- aws_cdk/aws_elasticloadbalancingv2_actions/__init__.py +126 -61
- aws_cdk/aws_elasticsearch/__init__.py +0 -7
- aws_cdk/aws_emr/__init__.py +7 -16
- aws_cdk/aws_emrserverless/__init__.py +14 -18
- aws_cdk/aws_events/__init__.py +33 -29
- aws_cdk/aws_events_targets/__init__.py +248 -89
- aws_cdk/aws_frauddetector/__init__.py +3 -4
- aws_cdk/aws_fsx/__init__.py +13 -7
- aws_cdk/aws_gamelift/__init__.py +11 -20
- aws_cdk/aws_iam/__init__.py +21 -25
- aws_cdk/aws_imagebuilder/__init__.py +58 -80
- aws_cdk/aws_iot/__init__.py +16 -10
- aws_cdk/aws_iotcoredeviceadvisor/__init__.py +16 -26
- aws_cdk/aws_iotevents/__init__.py +6 -4
- aws_cdk/aws_iotfleetwise/__init__.py +27 -40
- aws_cdk/aws_iotsitewise/__init__.py +8 -5
- aws_cdk/aws_kinesisfirehose/__init__.py +21 -38
- aws_cdk/aws_lambda/__init__.py +59 -48
- aws_cdk/aws_lambda_event_sources/__init__.py +6 -21
- aws_cdk/aws_logs/__init__.py +5 -7
- aws_cdk/aws_macie/__init__.py +22 -15
- aws_cdk/aws_mediaconnect/__init__.py +5 -8
- aws_cdk/aws_medialive/__init__.py +2 -4
- aws_cdk/aws_mediapackage/__init__.py +9 -18
- aws_cdk/aws_memorydb/__init__.py +5 -10
- aws_cdk/aws_mwaa/__init__.py +8 -4
- aws_cdk/aws_nimblestudio/__init__.py +25 -45
- aws_cdk/aws_opensearchservice/__init__.py +0 -1
- aws_cdk/aws_panorama/__init__.py +11 -12
- aws_cdk/aws_personalize/__init__.py +46 -72
- aws_cdk/aws_pinpoint/__init__.py +36 -65
- aws_cdk/aws_quicksight/__init__.py +9972 -13374
- aws_cdk/aws_rds/__init__.py +23 -22
- aws_cdk/aws_route53/__init__.py +8 -16
- aws_cdk/aws_route53_targets/__init__.py +2 -4
- aws_cdk/aws_s3/__init__.py +25 -85
- aws_cdk/aws_s3_notifications/__init__.py +0 -3
- aws_cdk/aws_sagemaker/__init__.py +6 -2
- aws_cdk/aws_secretsmanager/__init__.py +17 -14
- aws_cdk/aws_servicecatalog/__init__.py +58 -82
- aws_cdk/aws_servicediscovery/__init__.py +4 -6
- aws_cdk/aws_ses/__init__.py +21 -34
- aws_cdk/aws_sns/__init__.py +4 -8
- aws_cdk/aws_ssm/__init__.py +19 -23
- aws_cdk/aws_ssmcontacts/__init__.py +10 -6
- aws_cdk/aws_stepfunctions/__init__.py +3 -12
- aws_cdk/aws_stepfunctions_tasks/__init__.py +7 -12
- aws_cdk/aws_timestream/__init__.py +22 -28
- aws_cdk/aws_xray/__init__.py +15 -22
- aws_cdk/cloud_assembly_schema/__init__.py +14 -6
- aws_cdk/custom_resources/__init__.py +2 -3
- aws_cdk/pipelines/__init__.py +84 -134
- aws_cdk/triggers/__init__.py +46 -61
- {aws_cdk_lib-2.75.1.dist-info → aws_cdk_lib-2.76.0.dist-info}/METADATA +47 -92
- {aws_cdk_lib-2.75.1.dist-info → aws_cdk_lib-2.76.0.dist-info}/RECORD +98 -98
- {aws_cdk_lib-2.75.1.dist-info → aws_cdk_lib-2.76.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.75.1.dist-info → aws_cdk_lib-2.76.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.75.1.dist-info → aws_cdk_lib-2.76.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.75.1.dist-info → aws_cdk_lib-2.76.0.dist-info}/top_level.txt +0 -0
|
@@ -277,9 +277,8 @@ class CfnCampaign(
|
|
|
277
277
|
*,
|
|
278
278
|
enable_answer_machine_detection: typing.Union[builtins.bool, _IResolvable_da3f097b],
|
|
279
279
|
) -> None:
|
|
280
|
-
'''
|
|
281
|
-
|
|
282
|
-
:param enable_answer_machine_detection: Whether answering machine detection is enabled.
|
|
280
|
+
'''
|
|
281
|
+
:param enable_answer_machine_detection: ``CfnCampaign.AnswerMachineDetectionConfigProperty.EnableAnswerMachineDetection``.
|
|
283
282
|
|
|
284
283
|
:link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaigns-campaign-answermachinedetectionconfig.html
|
|
285
284
|
:exampleMetadata: fixture=_generated
|
|
@@ -305,7 +304,7 @@ class CfnCampaign(
|
|
|
305
304
|
def enable_answer_machine_detection(
|
|
306
305
|
self,
|
|
307
306
|
) -> typing.Union[builtins.bool, _IResolvable_da3f097b]:
|
|
308
|
-
'''
|
|
307
|
+
'''``CfnCampaign.AnswerMachineDetectionConfigProperty.EnableAnswerMachineDetection``.
|
|
309
308
|
|
|
310
309
|
:link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaigns-campaign-answermachinedetectionconfig.html#cfn-connectcampaigns-campaign-answermachinedetectionconfig-enableanswermachinedetection
|
|
311
310
|
'''
|
|
@@ -428,7 +427,7 @@ class CfnCampaign(
|
|
|
428
427
|
|
|
429
428
|
:param connect_contact_flow_arn: The Amazon Resource Name (ARN) of the flow.
|
|
430
429
|
:param connect_queue_arn: The Amazon Resource Name (ARN) of the queue.
|
|
431
|
-
:param answer_machine_detection_config:
|
|
430
|
+
:param answer_machine_detection_config: ``CfnCampaign.OutboundCallConfigProperty.AnswerMachineDetectionConfig``.
|
|
432
431
|
:param connect_source_phone_number: The phone number associated with the outbound call. This is the caller ID that is displayed to customers when an agent calls them.
|
|
433
432
|
|
|
434
433
|
:link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaigns-campaign-outboundcallconfig.html
|
|
@@ -490,7 +489,7 @@ class CfnCampaign(
|
|
|
490
489
|
def answer_machine_detection_config(
|
|
491
490
|
self,
|
|
492
491
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCampaign.AnswerMachineDetectionConfigProperty"]]:
|
|
493
|
-
'''
|
|
492
|
+
'''``CfnCampaign.OutboundCallConfigProperty.AnswerMachineDetectionConfig``.
|
|
494
493
|
|
|
495
494
|
:link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaigns-campaign-outboundcallconfig.html#cfn-connectcampaigns-campaign-outboundcallconfig-answermachinedetectionconfig
|
|
496
495
|
'''
|
aws_cdk/aws_databrew/__init__.py
CHANGED
|
@@ -5969,10 +5969,9 @@ class CfnRecipe(
|
|
|
5969
5969
|
data_catalog_input_definition: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnRecipe.DataCatalogInputDefinitionProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5970
5970
|
s3_input_definition: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnRecipe.S3LocationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5971
5971
|
) -> None:
|
|
5972
|
-
'''
|
|
5973
|
-
|
|
5974
|
-
:param
|
|
5975
|
-
:param s3_input_definition: The Amazon S3 location where the data is stored.
|
|
5972
|
+
'''
|
|
5973
|
+
:param data_catalog_input_definition: ``CfnRecipe.InputProperty.DataCatalogInputDefinition``.
|
|
5974
|
+
:param s3_input_definition: ``CfnRecipe.InputProperty.S3InputDefinition``.
|
|
5976
5975
|
|
|
5977
5976
|
:link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-input.html
|
|
5978
5977
|
:exampleMetadata: fixture=_generated
|
|
@@ -6017,7 +6016,7 @@ class CfnRecipe(
|
|
|
6017
6016
|
def data_catalog_input_definition(
|
|
6018
6017
|
self,
|
|
6019
6018
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnRecipe.DataCatalogInputDefinitionProperty"]]:
|
|
6020
|
-
'''
|
|
6019
|
+
'''``CfnRecipe.InputProperty.DataCatalogInputDefinition``.
|
|
6021
6020
|
|
|
6022
6021
|
:link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-input.html#cfn-databrew-recipe-input-datacataloginputdefinition
|
|
6023
6022
|
'''
|
|
@@ -6028,7 +6027,7 @@ class CfnRecipe(
|
|
|
6028
6027
|
def s3_input_definition(
|
|
6029
6028
|
self,
|
|
6030
6029
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnRecipe.S3LocationProperty"]]:
|
|
6031
|
-
'''
|
|
6030
|
+
'''``CfnRecipe.InputProperty.S3InputDefinition``.
|
|
6032
6031
|
|
|
6033
6032
|
:link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-input.html#cfn-databrew-recipe-input-s3inputdefinition
|
|
6034
6033
|
'''
|
aws_cdk/aws_dlm/__init__.py
CHANGED
|
@@ -453,9 +453,8 @@ class CfnLifecyclePolicy(
|
|
|
453
453
|
*,
|
|
454
454
|
retention_archive_tier: typing.Union[_IResolvable_da3f097b, typing.Union["CfnLifecyclePolicy.RetentionArchiveTierProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
455
455
|
) -> None:
|
|
456
|
-
'''
|
|
457
|
-
|
|
458
|
-
:param retention_archive_tier: Information about retention period in the Amazon EBS Snapshots Archive. For more information, see `Archive Amazon EBS snapshots <https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/snapshot-archive.html>`_ .
|
|
456
|
+
'''
|
|
457
|
+
:param retention_archive_tier: ``CfnLifecyclePolicy.ArchiveRetainRuleProperty.RetentionArchiveTier``.
|
|
459
458
|
|
|
460
459
|
:link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-archiveretainrule.html
|
|
461
460
|
:exampleMetadata: fixture=_generated
|
|
@@ -485,9 +484,7 @@ class CfnLifecyclePolicy(
|
|
|
485
484
|
def retention_archive_tier(
|
|
486
485
|
self,
|
|
487
486
|
) -> typing.Union[_IResolvable_da3f097b, "CfnLifecyclePolicy.RetentionArchiveTierProperty"]:
|
|
488
|
-
'''
|
|
489
|
-
|
|
490
|
-
For more information, see `Archive Amazon EBS snapshots <https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/snapshot-archive.html>`_ .
|
|
487
|
+
'''``CfnLifecyclePolicy.ArchiveRetainRuleProperty.RetentionArchiveTier``.
|
|
491
488
|
|
|
492
489
|
:link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-archiveretainrule.html#cfn-dlm-lifecyclepolicy-archiveretainrule-retentionarchivetier
|
|
493
490
|
'''
|
|
@@ -517,9 +514,8 @@ class CfnLifecyclePolicy(
|
|
|
517
514
|
*,
|
|
518
515
|
retain_rule: typing.Union[_IResolvable_da3f097b, typing.Union["CfnLifecyclePolicy.ArchiveRetainRuleProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
519
516
|
) -> None:
|
|
520
|
-
'''
|
|
521
|
-
|
|
522
|
-
:param retain_rule: Information about the retention period for the snapshot archiving rule.
|
|
517
|
+
'''
|
|
518
|
+
:param retain_rule: ``CfnLifecyclePolicy.ArchiveRuleProperty.RetainRule``.
|
|
523
519
|
|
|
524
520
|
:link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-archiverule.html
|
|
525
521
|
:exampleMetadata: fixture=_generated
|
|
@@ -551,7 +547,7 @@ class CfnLifecyclePolicy(
|
|
|
551
547
|
def retain_rule(
|
|
552
548
|
self,
|
|
553
549
|
) -> typing.Union[_IResolvable_da3f097b, "CfnLifecyclePolicy.ArchiveRetainRuleProperty"]:
|
|
554
|
-
'''
|
|
550
|
+
'''``CfnLifecyclePolicy.ArchiveRuleProperty.RetainRule``.
|
|
555
551
|
|
|
556
552
|
:link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-archiverule.html#cfn-dlm-lifecyclepolicy-archiverule-retainrule
|
|
557
553
|
'''
|
|
@@ -828,10 +824,9 @@ class CfnLifecyclePolicy(
|
|
|
828
824
|
interval: jsii.Number,
|
|
829
825
|
interval_unit: builtins.str,
|
|
830
826
|
) -> None:
|
|
831
|
-
'''
|
|
832
|
-
|
|
833
|
-
:param
|
|
834
|
-
:param interval_unit: The unit of time in which to measure the *Interval* . For example, to deprecate a cross-Region AMI copy after 3 months, specify ``Interval=3`` and ``IntervalUnit=MONTHS`` .
|
|
827
|
+
'''
|
|
828
|
+
:param interval: ``CfnLifecyclePolicy.CrossRegionCopyDeprecateRuleProperty.Interval``.
|
|
829
|
+
:param interval_unit: ``CfnLifecyclePolicy.CrossRegionCopyDeprecateRuleProperty.IntervalUnit``.
|
|
835
830
|
|
|
836
831
|
:link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-crossregioncopydeprecaterule.html
|
|
837
832
|
:exampleMetadata: fixture=_generated
|
|
@@ -858,9 +853,7 @@ class CfnLifecyclePolicy(
|
|
|
858
853
|
|
|
859
854
|
@builtins.property
|
|
860
855
|
def interval(self) -> jsii.Number:
|
|
861
|
-
'''
|
|
862
|
-
|
|
863
|
-
The period must be less than or equal to the cross-Region AMI copy retention period, and it can't be greater than 10 years. This is equivalent to 120 months, 520 weeks, or 3650 days.
|
|
856
|
+
'''``CfnLifecyclePolicy.CrossRegionCopyDeprecateRuleProperty.Interval``.
|
|
864
857
|
|
|
865
858
|
:link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-crossregioncopydeprecaterule.html#cfn-dlm-lifecyclepolicy-crossregioncopydeprecaterule-interval
|
|
866
859
|
'''
|
|
@@ -870,9 +863,7 @@ class CfnLifecyclePolicy(
|
|
|
870
863
|
|
|
871
864
|
@builtins.property
|
|
872
865
|
def interval_unit(self) -> builtins.str:
|
|
873
|
-
'''
|
|
874
|
-
|
|
875
|
-
For example, to deprecate a cross-Region AMI copy after 3 months, specify ``Interval=3`` and ``IntervalUnit=MONTHS`` .
|
|
866
|
+
'''``CfnLifecyclePolicy.CrossRegionCopyDeprecateRuleProperty.IntervalUnit``.
|
|
876
867
|
|
|
877
868
|
:link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-crossregioncopydeprecaterule.html#cfn-dlm-lifecyclepolicy-crossregioncopydeprecaterule-intervalunit
|
|
878
869
|
'''
|
|
@@ -1002,7 +993,7 @@ class CfnLifecyclePolicy(
|
|
|
1002
993
|
:param encrypted: To encrypt a copy of an unencrypted snapshot if encryption by default is not enabled, enable encryption using this parameter. Copies of encrypted snapshots are encrypted, even if this parameter is false or if encryption by default is not enabled.
|
|
1003
994
|
:param cmk_arn: The Amazon Resource Name (ARN) of the AWS KMS key to use for EBS encryption. If this parameter is not specified, the default KMS key for the account is used.
|
|
1004
995
|
:param copy_tags: Indicates whether to copy all user-defined tags from the source snapshot or AMI to the cross-Region copy.
|
|
1005
|
-
:param deprecate_rule:
|
|
996
|
+
:param deprecate_rule: ``CfnLifecyclePolicy.CrossRegionCopyRuleProperty.DeprecateRule``.
|
|
1006
997
|
:param retain_rule: The retention rule that indicates how long the cross-Region snapshot or AMI copies are to be retained in the destination Region.
|
|
1007
998
|
:param target: The target Region or the Amazon Resource Name (ARN) of the target Outpost for the snapshot copies. Use this parameter instead of *TargetRegion* . Do not specify both.
|
|
1008
999
|
:param target_region: .. epigraph:: Avoid using this parameter when creating new policies. Instead, use *Target* to specify a target Region or a target Outpost for snapshot copies. .. epigraph:: For policies created before the *Target* parameter was introduced, this parameter indicates the target Region for snapshot copies.
|
|
@@ -1097,7 +1088,7 @@ class CfnLifecyclePolicy(
|
|
|
1097
1088
|
def deprecate_rule(
|
|
1098
1089
|
self,
|
|
1099
1090
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnLifecyclePolicy.CrossRegionCopyDeprecateRuleProperty"]]:
|
|
1100
|
-
'''
|
|
1091
|
+
'''``CfnLifecyclePolicy.CrossRegionCopyRuleProperty.DeprecateRule``.
|
|
1101
1092
|
|
|
1102
1093
|
:link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-crossregioncopyrule.html#cfn-dlm-lifecyclepolicy-crossregioncopyrule-deprecaterule
|
|
1103
1094
|
'''
|
|
@@ -1170,13 +1161,10 @@ class CfnLifecyclePolicy(
|
|
|
1170
1161
|
interval: typing.Optional[jsii.Number] = None,
|
|
1171
1162
|
interval_unit: typing.Optional[builtins.str] = None,
|
|
1172
1163
|
) -> None:
|
|
1173
|
-
'''
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
:param count: If the schedule has a count-based retention rule, this parameter specifies the number of oldest AMIs to deprecate. The count must be less than or equal to the schedule's retention count, and it can't be greater than 1000.
|
|
1178
|
-
:param interval: If the schedule has an age-based retention rule, this parameter specifies the period after which to deprecate AMIs created by the schedule. The period must be less than or equal to the schedule's retention period, and it can't be greater than 10 years. This is equivalent to 120 months, 520 weeks, or 3650 days.
|
|
1179
|
-
:param interval_unit: The unit of time in which to measure the *Interval* .
|
|
1164
|
+
'''
|
|
1165
|
+
:param count: ``CfnLifecyclePolicy.DeprecateRuleProperty.Count``.
|
|
1166
|
+
:param interval: ``CfnLifecyclePolicy.DeprecateRuleProperty.Interval``.
|
|
1167
|
+
:param interval_unit: ``CfnLifecyclePolicy.DeprecateRuleProperty.IntervalUnit``.
|
|
1180
1168
|
|
|
1181
1169
|
:link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-deprecaterule.html
|
|
1182
1170
|
:exampleMetadata: fixture=_generated
|
|
@@ -1208,9 +1196,7 @@ class CfnLifecyclePolicy(
|
|
|
1208
1196
|
|
|
1209
1197
|
@builtins.property
|
|
1210
1198
|
def count(self) -> typing.Optional[jsii.Number]:
|
|
1211
|
-
'''
|
|
1212
|
-
|
|
1213
|
-
The count must be less than or equal to the schedule's retention count, and it can't be greater than 1000.
|
|
1199
|
+
'''``CfnLifecyclePolicy.DeprecateRuleProperty.Count``.
|
|
1214
1200
|
|
|
1215
1201
|
:link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-deprecaterule.html#cfn-dlm-lifecyclepolicy-deprecaterule-count
|
|
1216
1202
|
'''
|
|
@@ -1219,9 +1205,7 @@ class CfnLifecyclePolicy(
|
|
|
1219
1205
|
|
|
1220
1206
|
@builtins.property
|
|
1221
1207
|
def interval(self) -> typing.Optional[jsii.Number]:
|
|
1222
|
-
'''
|
|
1223
|
-
|
|
1224
|
-
The period must be less than or equal to the schedule's retention period, and it can't be greater than 10 years. This is equivalent to 120 months, 520 weeks, or 3650 days.
|
|
1208
|
+
'''``CfnLifecyclePolicy.DeprecateRuleProperty.Interval``.
|
|
1225
1209
|
|
|
1226
1210
|
:link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-deprecaterule.html#cfn-dlm-lifecyclepolicy-deprecaterule-interval
|
|
1227
1211
|
'''
|
|
@@ -1230,7 +1214,7 @@ class CfnLifecyclePolicy(
|
|
|
1230
1214
|
|
|
1231
1215
|
@builtins.property
|
|
1232
1216
|
def interval_unit(self) -> typing.Optional[builtins.str]:
|
|
1233
|
-
'''
|
|
1217
|
+
'''``CfnLifecyclePolicy.DeprecateRuleProperty.IntervalUnit``.
|
|
1234
1218
|
|
|
1235
1219
|
:link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-deprecaterule.html#cfn-dlm-lifecyclepolicy-deprecaterule-intervalunit
|
|
1236
1220
|
'''
|
|
@@ -1641,7 +1625,7 @@ class CfnLifecyclePolicy(
|
|
|
1641
1625
|
If you choose to exclude boot volumes and you specify tags that consequently exclude all of the additional data volumes attached to an instance, then Amazon Data Lifecycle Manager will not create any snapshots for the affected instance, and it will emit a ``SnapshotsCreateFailed`` Amazon CloudWatch metric. For more information, see `Monitor your policies using Amazon CloudWatch <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/monitor-dlm-cw-metrics.html>`_ .
|
|
1642
1626
|
|
|
1643
1627
|
:param exclude_boot_volume: *[Snapshot policies that target instances only]* Indicates whether to exclude the root volume from multi-volume snapshot sets. The default is ``false`` . If you specify ``true`` , then the root volumes attached to targeted instances will be excluded from the multi-volume snapshot sets created by the policy.
|
|
1644
|
-
:param exclude_data_volume_tags:
|
|
1628
|
+
:param exclude_data_volume_tags: ``CfnLifecyclePolicy.ParametersProperty.ExcludeDataVolumeTags``.
|
|
1645
1629
|
:param no_reboot: *[AMI policies only]* Indicates whether targeted instances are rebooted when the lifecycle policy runs. ``true`` indicates that targeted instances are not rebooted when the policy runs. ``false`` indicates that target instances are rebooted when the policy runs. The default is ``true`` (instances are not rebooted).
|
|
1646
1630
|
|
|
1647
1631
|
:link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-parameters.html
|
|
@@ -1692,9 +1676,7 @@ class CfnLifecyclePolicy(
|
|
|
1692
1676
|
def exclude_data_volume_tags(
|
|
1693
1677
|
self,
|
|
1694
1678
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, _CfnTag_f6864754]]]]:
|
|
1695
|
-
'''
|
|
1696
|
-
|
|
1697
|
-
If you create a snapshot lifecycle policy that targets instances and you specify tags for this parameter, then data volumes with the specified tags that are attached to targeted instances will be excluded from the multi-volume snapshot sets created by the policy.
|
|
1679
|
+
'''``CfnLifecyclePolicy.ParametersProperty.ExcludeDataVolumeTags``.
|
|
1698
1680
|
|
|
1699
1681
|
:link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-parameters.html#cfn-dlm-lifecyclepolicy-parameters-excludedatavolumetags
|
|
1700
1682
|
'''
|
|
@@ -2153,20 +2135,10 @@ class CfnLifecyclePolicy(
|
|
|
2153
2135
|
interval: typing.Optional[jsii.Number] = None,
|
|
2154
2136
|
interval_unit: typing.Optional[builtins.str] = None,
|
|
2155
2137
|
) -> None:
|
|
2156
|
-
'''
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
The archive retention rule must retain snapshots in the archive tier for a minimum of 90 days.
|
|
2162
|
-
|
|
2163
|
-
For *count-based schedules* , you must specify *Count* . For *age-based schedules* , you must specify *Interval* and *IntervalUnit* .
|
|
2164
|
-
|
|
2165
|
-
For more information about using snapshot archiving, see `Considerations for snapshot lifecycle policies <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshot-ami-policy.html#dlm-archive>`_ .
|
|
2166
|
-
|
|
2167
|
-
:param count: The maximum number of snapshots to retain in the archive storage tier for each volume. The count must ensure that each snapshot remains in the archive tier for at least 90 days. For example, if the schedule creates snapshots every 30 days, you must specify a count of 3 or more to ensure that each snapshot is archived for at least 90 days.
|
|
2168
|
-
:param interval: Specifies the period of time to retain snapshots in the archive tier. After this period expires, the snapshot is permanently deleted.
|
|
2169
|
-
:param interval_unit: The unit of time in which to measure the *Interval* . For example, to retain a snapshots in the archive tier for 6 months, specify ``Interval=6`` and ``IntervalUnit=MONTHS`` .
|
|
2138
|
+
'''
|
|
2139
|
+
:param count: ``CfnLifecyclePolicy.RetentionArchiveTierProperty.Count``.
|
|
2140
|
+
:param interval: ``CfnLifecyclePolicy.RetentionArchiveTierProperty.Interval``.
|
|
2141
|
+
:param interval_unit: ``CfnLifecyclePolicy.RetentionArchiveTierProperty.IntervalUnit``.
|
|
2170
2142
|
|
|
2171
2143
|
:link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-retentionarchivetier.html
|
|
2172
2144
|
:exampleMetadata: fixture=_generated
|
|
@@ -2198,9 +2170,7 @@ class CfnLifecyclePolicy(
|
|
|
2198
2170
|
|
|
2199
2171
|
@builtins.property
|
|
2200
2172
|
def count(self) -> typing.Optional[jsii.Number]:
|
|
2201
|
-
'''
|
|
2202
|
-
|
|
2203
|
-
The count must ensure that each snapshot remains in the archive tier for at least 90 days. For example, if the schedule creates snapshots every 30 days, you must specify a count of 3 or more to ensure that each snapshot is archived for at least 90 days.
|
|
2173
|
+
'''``CfnLifecyclePolicy.RetentionArchiveTierProperty.Count``.
|
|
2204
2174
|
|
|
2205
2175
|
:link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-retentionarchivetier.html#cfn-dlm-lifecyclepolicy-retentionarchivetier-count
|
|
2206
2176
|
'''
|
|
@@ -2209,9 +2179,7 @@ class CfnLifecyclePolicy(
|
|
|
2209
2179
|
|
|
2210
2180
|
@builtins.property
|
|
2211
2181
|
def interval(self) -> typing.Optional[jsii.Number]:
|
|
2212
|
-
'''
|
|
2213
|
-
|
|
2214
|
-
After this period expires, the snapshot is permanently deleted.
|
|
2182
|
+
'''``CfnLifecyclePolicy.RetentionArchiveTierProperty.Interval``.
|
|
2215
2183
|
|
|
2216
2184
|
:link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-retentionarchivetier.html#cfn-dlm-lifecyclepolicy-retentionarchivetier-interval
|
|
2217
2185
|
'''
|
|
@@ -2220,9 +2188,7 @@ class CfnLifecyclePolicy(
|
|
|
2220
2188
|
|
|
2221
2189
|
@builtins.property
|
|
2222
2190
|
def interval_unit(self) -> typing.Optional[builtins.str]:
|
|
2223
|
-
'''
|
|
2224
|
-
|
|
2225
|
-
For example, to retain a snapshots in the archive tier for 6 months, specify ``Interval=6`` and ``IntervalUnit=MONTHS`` .
|
|
2191
|
+
'''``CfnLifecyclePolicy.RetentionArchiveTierProperty.IntervalUnit``.
|
|
2226
2192
|
|
|
2227
2193
|
:link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-retentionarchivetier.html#cfn-dlm-lifecyclepolicy-retentionarchivetier-intervalunit
|
|
2228
2194
|
'''
|
|
@@ -2275,11 +2241,11 @@ class CfnLifecyclePolicy(
|
|
|
2275
2241
|
) -> None:
|
|
2276
2242
|
'''*[Snapshot and AMI policies only]* Specifies a schedule for a snapshot or AMI lifecycle policy.
|
|
2277
2243
|
|
|
2278
|
-
:param archive_rule:
|
|
2244
|
+
:param archive_rule: ``CfnLifecyclePolicy.ScheduleProperty.ArchiveRule``.
|
|
2279
2245
|
:param copy_tags: Copy all user-defined tags on a source volume to snapshots of the volume created by this policy.
|
|
2280
2246
|
:param create_rule: The creation rule.
|
|
2281
2247
|
:param cross_region_copy_rules: Specifies a rule for copying snapshots or AMIs across regions. .. epigraph:: You can't specify cross-Region copy rules for policies that create snapshots on an Outpost. If the policy creates snapshots in a Region, then snapshots can be copied to up to three Regions or Outposts.
|
|
2282
|
-
:param deprecate_rule:
|
|
2248
|
+
:param deprecate_rule: ``CfnLifecyclePolicy.ScheduleProperty.DeprecateRule``.
|
|
2283
2249
|
:param fast_restore_rule: *[Snapshot policies only]* The rule for enabling fast snapshot restore.
|
|
2284
2250
|
:param name: The name of the schedule.
|
|
2285
2251
|
:param retain_rule: The retention rule for snapshots or AMIs created by the policy.
|
|
@@ -2404,11 +2370,7 @@ class CfnLifecyclePolicy(
|
|
|
2404
2370
|
def archive_rule(
|
|
2405
2371
|
self,
|
|
2406
2372
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnLifecyclePolicy.ArchiveRuleProperty"]]:
|
|
2407
|
-
'''
|
|
2408
|
-
|
|
2409
|
-
When you specify an archiving rule, snapshots are automatically moved from the standard tier to the archive tier once the schedule's retention threshold is met. Snapshots are then retained in the archive tier for the archive retention period that you specify.
|
|
2410
|
-
|
|
2411
|
-
For more information about using snapshot archiving, see `Considerations for snapshot lifecycle policies <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshot-ami-policy.html#dlm-archive>`_ .
|
|
2373
|
+
'''``CfnLifecyclePolicy.ScheduleProperty.ArchiveRule``.
|
|
2412
2374
|
|
|
2413
2375
|
:link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-schedule.html#cfn-dlm-lifecyclepolicy-schedule-archiverule
|
|
2414
2376
|
'''
|
|
@@ -2456,7 +2418,7 @@ class CfnLifecyclePolicy(
|
|
|
2456
2418
|
def deprecate_rule(
|
|
2457
2419
|
self,
|
|
2458
2420
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnLifecyclePolicy.DeprecateRuleProperty"]]:
|
|
2459
|
-
'''
|
|
2421
|
+
'''``CfnLifecyclePolicy.ScheduleProperty.DeprecateRule``.
|
|
2460
2422
|
|
|
2461
2423
|
:link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-schedule.html#cfn-dlm-lifecyclepolicy-schedule-deprecaterule
|
|
2462
2424
|
'''
|
aws_cdk/aws_docdb/__init__.py
CHANGED
|
@@ -424,13 +424,13 @@ class CfnDBCluster(
|
|
|
424
424
|
:param port: Specifies the port that the database engine is listening on.
|
|
425
425
|
:param preferred_backup_window: The daily time range during which automated backups are created if automated backups are enabled using the ``BackupRetentionPeriod`` parameter. The default is a 30-minute window selected at random from an 8-hour block of time for each AWS Region . Constraints: - Must be in the format ``hh24:mi-hh24:mi`` . - Must be in Universal Coordinated Time (UTC). - Must not conflict with the preferred maintenance window. - Must be at least 30 minutes.
|
|
426
426
|
:param preferred_maintenance_window: The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC). Format: ``ddd:hh24:mi-ddd:hh24:mi`` The default is a 30-minute window selected at random from an 8-hour block of time for each AWS Region , occurring on a random day of the week. Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun Constraints: Minimum 30-minute window.
|
|
427
|
-
:param restore_to_time:
|
|
428
|
-
:param restore_type:
|
|
427
|
+
:param restore_to_time: ``AWS::DocDB::DBCluster.RestoreToTime``.
|
|
428
|
+
:param restore_type: ``AWS::DocDB::DBCluster.RestoreType``.
|
|
429
429
|
:param snapshot_identifier: The identifier for the snapshot or cluster snapshot to restore from. You can use either the name or the Amazon Resource Name (ARN) to specify a cluster snapshot. However, you can use only the ARN to specify a snapshot. Constraints: - Must match the identifier of an existing snapshot.
|
|
430
|
-
:param source_db_cluster_identifier:
|
|
430
|
+
:param source_db_cluster_identifier: ``AWS::DocDB::DBCluster.SourceDBClusterIdentifier``.
|
|
431
431
|
:param storage_encrypted: Specifies whether the cluster is encrypted.
|
|
432
432
|
:param tags: The tags to be assigned to the cluster.
|
|
433
|
-
:param use_latest_restorable_time:
|
|
433
|
+
:param use_latest_restorable_time: ``AWS::DocDB::DBCluster.UseLatestRestorableTime``.
|
|
434
434
|
:param vpc_security_group_ids: A list of EC2 VPC security groups to associate with this cluster.
|
|
435
435
|
'''
|
|
436
436
|
if __debug__:
|
|
@@ -877,18 +877,7 @@ class CfnDBCluster(
|
|
|
877
877
|
@builtins.property
|
|
878
878
|
@jsii.member(jsii_name="restoreToTime")
|
|
879
879
|
def restore_to_time(self) -> typing.Optional[builtins.str]:
|
|
880
|
-
'''
|
|
881
|
-
|
|
882
|
-
Valid values: A time in Universal Coordinated Time (UTC) format.
|
|
883
|
-
|
|
884
|
-
Constraints:
|
|
885
|
-
|
|
886
|
-
- Must be before the latest restorable time for the instance.
|
|
887
|
-
- Must be specified if the ``UseLatestRestorableTime`` parameter is not provided.
|
|
888
|
-
- Cannot be specified if the ``UseLatestRestorableTime`` parameter is ``true`` .
|
|
889
|
-
- Cannot be specified if the ``RestoreType`` parameter is ``copy-on-write`` .
|
|
890
|
-
|
|
891
|
-
Example: ``2015-03-07T23:45:00Z``
|
|
880
|
+
'''``AWS::DocDB::DBCluster.RestoreToTime``.
|
|
892
881
|
|
|
893
882
|
:link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbcluster.html#cfn-docdb-dbcluster-restoretotime
|
|
894
883
|
'''
|
|
@@ -904,14 +893,7 @@ class CfnDBCluster(
|
|
|
904
893
|
@builtins.property
|
|
905
894
|
@jsii.member(jsii_name="restoreType")
|
|
906
895
|
def restore_type(self) -> typing.Optional[builtins.str]:
|
|
907
|
-
'''
|
|
908
|
-
|
|
909
|
-
- ``full-copy`` - The new DB cluster is restored as a full copy of the source DB cluster.
|
|
910
|
-
- ``copy-on-write`` - The new DB cluster is restored as a clone of the source DB cluster.
|
|
911
|
-
|
|
912
|
-
Constraints: You can't specify ``copy-on-write`` if the engine version of the source DB cluster is earlier than 1.11.
|
|
913
|
-
|
|
914
|
-
If you don't specify a ``RestoreType`` value, then the new DB cluster is restored as a full copy of the source DB cluster.
|
|
896
|
+
'''``AWS::DocDB::DBCluster.RestoreType``.
|
|
915
897
|
|
|
916
898
|
:link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbcluster.html#cfn-docdb-dbcluster-restoretype
|
|
917
899
|
'''
|
|
@@ -949,11 +931,7 @@ class CfnDBCluster(
|
|
|
949
931
|
@builtins.property
|
|
950
932
|
@jsii.member(jsii_name="sourceDbClusterIdentifier")
|
|
951
933
|
def source_db_cluster_identifier(self) -> typing.Optional[builtins.str]:
|
|
952
|
-
'''
|
|
953
|
-
|
|
954
|
-
Constraints:
|
|
955
|
-
|
|
956
|
-
- Must match the identifier of an existing ``DBCluster`` .
|
|
934
|
+
'''``AWS::DocDB::DBCluster.SourceDBClusterIdentifier``.
|
|
957
935
|
|
|
958
936
|
:link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbcluster.html#cfn-docdb-dbcluster-sourcedbclusteridentifier
|
|
959
937
|
'''
|
|
@@ -995,11 +973,7 @@ class CfnDBCluster(
|
|
|
995
973
|
def use_latest_restorable_time(
|
|
996
974
|
self,
|
|
997
975
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
998
|
-
'''
|
|
999
|
-
|
|
1000
|
-
Default: ``false``
|
|
1001
|
-
|
|
1002
|
-
Constraints: Cannot be specified if the ``RestoreToTime`` parameter is provided.
|
|
976
|
+
'''``AWS::DocDB::DBCluster.UseLatestRestorableTime``.
|
|
1003
977
|
|
|
1004
978
|
:link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbcluster.html#cfn-docdb-dbcluster-uselatestrestorabletime
|
|
1005
979
|
'''
|
|
@@ -1442,13 +1416,13 @@ class CfnDBClusterProps:
|
|
|
1442
1416
|
:param port: Specifies the port that the database engine is listening on.
|
|
1443
1417
|
:param preferred_backup_window: The daily time range during which automated backups are created if automated backups are enabled using the ``BackupRetentionPeriod`` parameter. The default is a 30-minute window selected at random from an 8-hour block of time for each AWS Region . Constraints: - Must be in the format ``hh24:mi-hh24:mi`` . - Must be in Universal Coordinated Time (UTC). - Must not conflict with the preferred maintenance window. - Must be at least 30 minutes.
|
|
1444
1418
|
:param preferred_maintenance_window: The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC). Format: ``ddd:hh24:mi-ddd:hh24:mi`` The default is a 30-minute window selected at random from an 8-hour block of time for each AWS Region , occurring on a random day of the week. Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun Constraints: Minimum 30-minute window.
|
|
1445
|
-
:param restore_to_time:
|
|
1446
|
-
:param restore_type:
|
|
1419
|
+
:param restore_to_time: ``AWS::DocDB::DBCluster.RestoreToTime``.
|
|
1420
|
+
:param restore_type: ``AWS::DocDB::DBCluster.RestoreType``.
|
|
1447
1421
|
:param snapshot_identifier: The identifier for the snapshot or cluster snapshot to restore from. You can use either the name or the Amazon Resource Name (ARN) to specify a cluster snapshot. However, you can use only the ARN to specify a snapshot. Constraints: - Must match the identifier of an existing snapshot.
|
|
1448
|
-
:param source_db_cluster_identifier:
|
|
1422
|
+
:param source_db_cluster_identifier: ``AWS::DocDB::DBCluster.SourceDBClusterIdentifier``.
|
|
1449
1423
|
:param storage_encrypted: Specifies whether the cluster is encrypted.
|
|
1450
1424
|
:param tags: The tags to be assigned to the cluster.
|
|
1451
|
-
:param use_latest_restorable_time:
|
|
1425
|
+
:param use_latest_restorable_time: ``AWS::DocDB::DBCluster.UseLatestRestorableTime``.
|
|
1452
1426
|
:param vpc_security_group_ids: A list of EC2 VPC security groups to associate with this cluster.
|
|
1453
1427
|
|
|
1454
1428
|
:link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbcluster.html
|
|
@@ -1764,18 +1738,7 @@ class CfnDBClusterProps:
|
|
|
1764
1738
|
|
|
1765
1739
|
@builtins.property
|
|
1766
1740
|
def restore_to_time(self) -> typing.Optional[builtins.str]:
|
|
1767
|
-
'''
|
|
1768
|
-
|
|
1769
|
-
Valid values: A time in Universal Coordinated Time (UTC) format.
|
|
1770
|
-
|
|
1771
|
-
Constraints:
|
|
1772
|
-
|
|
1773
|
-
- Must be before the latest restorable time for the instance.
|
|
1774
|
-
- Must be specified if the ``UseLatestRestorableTime`` parameter is not provided.
|
|
1775
|
-
- Cannot be specified if the ``UseLatestRestorableTime`` parameter is ``true`` .
|
|
1776
|
-
- Cannot be specified if the ``RestoreType`` parameter is ``copy-on-write`` .
|
|
1777
|
-
|
|
1778
|
-
Example: ``2015-03-07T23:45:00Z``
|
|
1741
|
+
'''``AWS::DocDB::DBCluster.RestoreToTime``.
|
|
1779
1742
|
|
|
1780
1743
|
:link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbcluster.html#cfn-docdb-dbcluster-restoretotime
|
|
1781
1744
|
'''
|
|
@@ -1784,14 +1747,7 @@ class CfnDBClusterProps:
|
|
|
1784
1747
|
|
|
1785
1748
|
@builtins.property
|
|
1786
1749
|
def restore_type(self) -> typing.Optional[builtins.str]:
|
|
1787
|
-
'''
|
|
1788
|
-
|
|
1789
|
-
- ``full-copy`` - The new DB cluster is restored as a full copy of the source DB cluster.
|
|
1790
|
-
- ``copy-on-write`` - The new DB cluster is restored as a clone of the source DB cluster.
|
|
1791
|
-
|
|
1792
|
-
Constraints: You can't specify ``copy-on-write`` if the engine version of the source DB cluster is earlier than 1.11.
|
|
1793
|
-
|
|
1794
|
-
If you don't specify a ``RestoreType`` value, then the new DB cluster is restored as a full copy of the source DB cluster.
|
|
1750
|
+
'''``AWS::DocDB::DBCluster.RestoreType``.
|
|
1795
1751
|
|
|
1796
1752
|
:link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbcluster.html#cfn-docdb-dbcluster-restoretype
|
|
1797
1753
|
'''
|
|
@@ -1815,11 +1771,7 @@ class CfnDBClusterProps:
|
|
|
1815
1771
|
|
|
1816
1772
|
@builtins.property
|
|
1817
1773
|
def source_db_cluster_identifier(self) -> typing.Optional[builtins.str]:
|
|
1818
|
-
'''
|
|
1819
|
-
|
|
1820
|
-
Constraints:
|
|
1821
|
-
|
|
1822
|
-
- Must match the identifier of an existing ``DBCluster`` .
|
|
1774
|
+
'''``AWS::DocDB::DBCluster.SourceDBClusterIdentifier``.
|
|
1823
1775
|
|
|
1824
1776
|
:link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbcluster.html#cfn-docdb-dbcluster-sourcedbclusteridentifier
|
|
1825
1777
|
'''
|
|
@@ -1850,11 +1802,7 @@ class CfnDBClusterProps:
|
|
|
1850
1802
|
def use_latest_restorable_time(
|
|
1851
1803
|
self,
|
|
1852
1804
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
1853
|
-
'''
|
|
1854
|
-
|
|
1855
|
-
Default: ``false``
|
|
1856
|
-
|
|
1857
|
-
Constraints: Cannot be specified if the ``RestoreToTime`` parameter is provided.
|
|
1805
|
+
'''``AWS::DocDB::DBCluster.UseLatestRestorableTime``.
|
|
1858
1806
|
|
|
1859
1807
|
:link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbcluster.html#cfn-docdb-dbcluster-uselatestrestorabletime
|
|
1860
1808
|
'''
|
|
@@ -1942,7 +1890,7 @@ class CfnDBInstance(
|
|
|
1942
1890
|
:param auto_minor_version_upgrade: This parameter does not apply to Amazon DocumentDB. Amazon DocumentDB does not perform minor version upgrades regardless of the value set. Default: ``false``
|
|
1943
1891
|
:param availability_zone: The Amazon EC2 Availability Zone that the instance is created in. Default: A random, system-chosen Availability Zone in the endpoint's AWS Region . Example: ``us-east-1d``
|
|
1944
1892
|
:param db_instance_identifier: The instance identifier. This parameter is stored as a lowercase string. Constraints: - Must contain from 1 to 63 letters, numbers, or hyphens. - The first character must be a letter. - Cannot end with a hyphen or contain two consecutive hyphens. Example: ``mydbinstance``
|
|
1945
|
-
:param enable_performance_insights:
|
|
1893
|
+
:param enable_performance_insights: ``AWS::DocDB::DBInstance.EnablePerformanceInsights``.
|
|
1946
1894
|
:param preferred_maintenance_window: The time range each week during which system maintenance can occur, in Universal Coordinated Time (UTC). Format: ``ddd:hh24:mi-ddd:hh24:mi`` The default is a 30-minute window selected at random from an 8-hour block of time for each AWS Region , occurring on a random day of the week. Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun Constraints: Minimum 30-minute window.
|
|
1947
1895
|
:param tags: The tags to be assigned to the instance. You can assign up to 10 tags to an instance.
|
|
1948
1896
|
'''
|
|
@@ -2137,9 +2085,7 @@ class CfnDBInstance(
|
|
|
2137
2085
|
def enable_performance_insights(
|
|
2138
2086
|
self,
|
|
2139
2087
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
2140
|
-
'''
|
|
2141
|
-
|
|
2142
|
-
For more information, see `Using Amazon Performance Insights <https://docs.aws.amazon.com/documentdb/latest/developerguide/performance-insights.html>`_ .
|
|
2088
|
+
'''``AWS::DocDB::DBInstance.EnablePerformanceInsights``.
|
|
2143
2089
|
|
|
2144
2090
|
:link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbinstance.html#cfn-docdb-dbinstance-enableperformanceinsights
|
|
2145
2091
|
'''
|
|
@@ -2217,7 +2163,7 @@ class CfnDBInstanceProps:
|
|
|
2217
2163
|
:param auto_minor_version_upgrade: This parameter does not apply to Amazon DocumentDB. Amazon DocumentDB does not perform minor version upgrades regardless of the value set. Default: ``false``
|
|
2218
2164
|
:param availability_zone: The Amazon EC2 Availability Zone that the instance is created in. Default: A random, system-chosen Availability Zone in the endpoint's AWS Region . Example: ``us-east-1d``
|
|
2219
2165
|
:param db_instance_identifier: The instance identifier. This parameter is stored as a lowercase string. Constraints: - Must contain from 1 to 63 letters, numbers, or hyphens. - The first character must be a letter. - Cannot end with a hyphen or contain two consecutive hyphens. Example: ``mydbinstance``
|
|
2220
|
-
:param enable_performance_insights:
|
|
2166
|
+
:param enable_performance_insights: ``AWS::DocDB::DBInstance.EnablePerformanceInsights``.
|
|
2221
2167
|
:param preferred_maintenance_window: The time range each week during which system maintenance can occur, in Universal Coordinated Time (UTC). Format: ``ddd:hh24:mi-ddd:hh24:mi`` The default is a 30-minute window selected at random from an 8-hour block of time for each AWS Region , occurring on a random day of the week. Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun Constraints: Minimum 30-minute window.
|
|
2222
2168
|
:param tags: The tags to be assigned to the instance. You can assign up to 10 tags to an instance.
|
|
2223
2169
|
|
|
@@ -2344,9 +2290,7 @@ class CfnDBInstanceProps:
|
|
|
2344
2290
|
def enable_performance_insights(
|
|
2345
2291
|
self,
|
|
2346
2292
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
2347
|
-
'''
|
|
2348
|
-
|
|
2349
|
-
For more information, see `Using Amazon Performance Insights <https://docs.aws.amazon.com/documentdb/latest/developerguide/performance-insights.html>`_ .
|
|
2293
|
+
'''``AWS::DocDB::DBInstance.EnablePerformanceInsights``.
|
|
2350
2294
|
|
|
2351
2295
|
:link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbinstance.html#cfn-docdb-dbinstance-enableperformanceinsights
|
|
2352
2296
|
'''
|