aws-cdk-lib 2.197.0__py3-none-any.whl → 2.199.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.

Files changed (38) hide show
  1. aws_cdk/_jsii/__init__.py +1 -1
  2. aws_cdk/_jsii/{aws-cdk-lib@2.197.0.jsii.tgz → aws-cdk-lib@2.199.0.jsii.tgz} +0 -0
  3. aws_cdk/aws_appconfig/__init__.py +296 -48
  4. aws_cdk/aws_applicationautoscaling/__init__.py +36 -0
  5. aws_cdk/aws_appsync/__init__.py +31 -21
  6. aws_cdk/aws_aps/__init__.py +343 -0
  7. aws_cdk/aws_autoscaling/__init__.py +2 -1
  8. aws_cdk/aws_bedrock/__init__.py +387 -4
  9. aws_cdk/aws_codepipeline/__init__.py +4 -2
  10. aws_cdk/aws_datasync/__init__.py +885 -839
  11. aws_cdk/aws_deadline/__init__.py +23 -4
  12. aws_cdk/aws_ec2/__init__.py +229 -12
  13. aws_cdk/aws_ecs/__init__.py +14 -2
  14. aws_cdk/aws_ecs_patterns/__init__.py +64 -12
  15. aws_cdk/aws_eks/__init__.py +40 -9
  16. aws_cdk/aws_elasticloadbalancingv2/__init__.py +14 -8
  17. aws_cdk/aws_events_targets/__init__.py +78 -1
  18. aws_cdk/aws_gamelift/__init__.py +15 -17
  19. aws_cdk/aws_lex/__init__.py +1245 -172
  20. aws_cdk/aws_mediapackagev2/__init__.py +11 -10
  21. aws_cdk/aws_omics/__init__.py +41 -19
  22. aws_cdk/aws_pcs/__init__.py +126 -0
  23. aws_cdk/aws_rds/__init__.py +48 -21
  24. aws_cdk/aws_rolesanywhere/__init__.py +14 -13
  25. aws_cdk/aws_sagemaker/__init__.py +38 -12
  26. aws_cdk/aws_ses/__init__.py +437 -0
  27. aws_cdk/aws_ssmquicksetup/__init__.py +10 -2
  28. aws_cdk/aws_stepfunctions_tasks/__init__.py +1502 -2
  29. aws_cdk/aws_synthetics/__init__.py +137 -3
  30. aws_cdk/aws_vpclattice/__init__.py +219 -209
  31. aws_cdk/aws_wafv2/__init__.py +4 -4
  32. aws_cdk/aws_workspaces/__init__.py +5 -3
  33. {aws_cdk_lib-2.197.0.dist-info → aws_cdk_lib-2.199.0.dist-info}/METADATA +2 -2
  34. {aws_cdk_lib-2.197.0.dist-info → aws_cdk_lib-2.199.0.dist-info}/RECORD +38 -38
  35. {aws_cdk_lib-2.197.0.dist-info → aws_cdk_lib-2.199.0.dist-info}/LICENSE +0 -0
  36. {aws_cdk_lib-2.197.0.dist-info → aws_cdk_lib-2.199.0.dist-info}/NOTICE +0 -0
  37. {aws_cdk_lib-2.197.0.dist-info → aws_cdk_lib-2.199.0.dist-info}/WHEEL +0 -0
  38. {aws_cdk_lib-2.197.0.dist-info → aws_cdk_lib-2.199.0.dist-info}/top_level.txt +0 -0
@@ -1337,7 +1337,10 @@ class CfnCanary(
1337
1337
  expression="expression",
1338
1338
 
1339
1339
  # the properties below are optional
1340
- duration_in_seconds="durationInSeconds"
1340
+ duration_in_seconds="durationInSeconds",
1341
+ retry_config=synthetics.CfnCanary.RetryConfigProperty(
1342
+ max_retries=123
1343
+ )
1341
1344
  ),
1342
1345
 
1343
1346
  # the properties below are optional
@@ -1348,6 +1351,7 @@ class CfnCanary(
1348
1351
  )
1349
1352
  ),
1350
1353
  delete_lambda_resources_on_canary_deletion=False,
1354
+ dry_run_and_update=False,
1351
1355
  failure_retention_period=123,
1352
1356
  provisioned_resource_cleanup="provisionedResourceCleanup",
1353
1357
  resources_to_replicate_tags=["resourcesToReplicateTags"],
@@ -1400,6 +1404,7 @@ class CfnCanary(
1400
1404
  schedule: typing.Union[_IResolvable_da3f097b, typing.Union["CfnCanary.ScheduleProperty", typing.Dict[builtins.str, typing.Any]]],
1401
1405
  artifact_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCanary.ArtifactConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1402
1406
  delete_lambda_resources_on_canary_deletion: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
1407
+ dry_run_and_update: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
1403
1408
  failure_retention_period: typing.Optional[jsii.Number] = None,
1404
1409
  provisioned_resource_cleanup: typing.Optional[builtins.str] = None,
1405
1410
  resources_to_replicate_tags: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -1421,6 +1426,7 @@ class CfnCanary(
1421
1426
  :param schedule: A structure that contains information about how often the canary is to run, and when these runs are to stop.
1422
1427
  :param artifact_config: A structure that contains the configuration for canary artifacts, including the encryption-at-rest settings for artifacts that the canary uploads to Amazon S3.
1423
1428
  :param delete_lambda_resources_on_canary_deletion: (deprecated) Deletes associated lambda resources created by Synthetics if set to True. Default is False
1429
+ :param dry_run_and_update: Setting to control if UpdateCanary will perform a DryRun and validate it is PASSING before performing the Update. Default is FALSE.
1424
1430
  :param failure_retention_period: The number of days to retain data about failed runs of this canary. If you omit this field, the default of 31 days is used. The valid range is 1 to 455 days. This setting affects the range of information returned by `GetCanaryRuns <https://docs.aws.amazon.com/AmazonSynthetics/latest/APIReference/API_GetCanaryRuns.html>`_ , as well as the range of information displayed in the Synthetics console.
1425
1431
  :param provisioned_resource_cleanup: Specifies whether to also delete the Lambda functions and layers used by this canary when the canary is deleted. If it is ``AUTOMATIC`` , the Lambda functions and layers will be deleted when the canary is deleted. If the value of this parameter is ``OFF`` , then the value of the ``DeleteLambda`` parameter of the `DeleteCanary <https://docs.aws.amazon.com/AmazonSynthetics/latest/APIReference/API_DeleteCanary.html>`_ operation determines whether the Lambda functions and layers will be deleted.
1426
1432
  :param resources_to_replicate_tags: To have the tags that you apply to this canary also be applied to the Lambda function that the canary uses, specify this property with the value ``lambda-function`` . If you do this, CloudWatch Synthetics will keep the tags of the canary and the Lambda function synchronized. Any future changes you make to the canary's tags will also be applied to the function.
@@ -1444,6 +1450,7 @@ class CfnCanary(
1444
1450
  schedule=schedule,
1445
1451
  artifact_config=artifact_config,
1446
1452
  delete_lambda_resources_on_canary_deletion=delete_lambda_resources_on_canary_deletion,
1453
+ dry_run_and_update=dry_run_and_update,
1447
1454
  failure_retention_period=failure_retention_period,
1448
1455
  provisioned_resource_cleanup=provisioned_resource_cleanup,
1449
1456
  resources_to_replicate_tags=resources_to_replicate_tags,
@@ -1654,6 +1661,24 @@ class CfnCanary(
1654
1661
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1655
1662
  jsii.set(self, "deleteLambdaResourcesOnCanaryDeletion", value) # pyright: ignore[reportArgumentType]
1656
1663
 
1664
+ @builtins.property
1665
+ @jsii.member(jsii_name="dryRunAndUpdate")
1666
+ def dry_run_and_update(
1667
+ self,
1668
+ ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
1669
+ '''Setting to control if UpdateCanary will perform a DryRun and validate it is PASSING before performing the Update.'''
1670
+ return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], jsii.get(self, "dryRunAndUpdate"))
1671
+
1672
+ @dry_run_and_update.setter
1673
+ def dry_run_and_update(
1674
+ self,
1675
+ value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
1676
+ ) -> None:
1677
+ if __debug__:
1678
+ type_hints = typing.get_type_hints(_typecheckingstub__59860e5fb72da4da1108545c9e0b8f706d34cf83eb363fda05f04cbb14baf1fe)
1679
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1680
+ jsii.set(self, "dryRunAndUpdate", value) # pyright: ignore[reportArgumentType]
1681
+
1657
1682
  @builtins.property
1658
1683
  @jsii.member(jsii_name="failureRetentionPeriod")
1659
1684
  def failure_retention_period(self) -> typing.Optional[jsii.Number]:
@@ -2089,6 +2114,57 @@ class CfnCanary(
2089
2114
  k + "=" + repr(v) for k, v in self._values.items()
2090
2115
  )
2091
2116
 
2117
+ @jsii.data_type(
2118
+ jsii_type="aws-cdk-lib.aws_synthetics.CfnCanary.RetryConfigProperty",
2119
+ jsii_struct_bases=[],
2120
+ name_mapping={"max_retries": "maxRetries"},
2121
+ )
2122
+ class RetryConfigProperty:
2123
+ def __init__(self, *, max_retries: jsii.Number) -> None:
2124
+ '''
2125
+ :param max_retries: maximum times the canary will be retried upon the scheduled run failure.
2126
+
2127
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-synthetics-canary-retryconfig.html
2128
+ :exampleMetadata: fixture=_generated
2129
+
2130
+ Example::
2131
+
2132
+ # The code below shows an example of how to instantiate this type.
2133
+ # The values are placeholders you should change.
2134
+ from aws_cdk import aws_synthetics as synthetics
2135
+
2136
+ retry_config_property = synthetics.CfnCanary.RetryConfigProperty(
2137
+ max_retries=123
2138
+ )
2139
+ '''
2140
+ if __debug__:
2141
+ type_hints = typing.get_type_hints(_typecheckingstub__e7a2c989ca2c701e49af0e8032c8c49bb52546c68c9e6359df8e7a9f2c4cf9a1)
2142
+ check_type(argname="argument max_retries", value=max_retries, expected_type=type_hints["max_retries"])
2143
+ self._values: typing.Dict[builtins.str, typing.Any] = {
2144
+ "max_retries": max_retries,
2145
+ }
2146
+
2147
+ @builtins.property
2148
+ def max_retries(self) -> jsii.Number:
2149
+ '''maximum times the canary will be retried upon the scheduled run failure.
2150
+
2151
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-synthetics-canary-retryconfig.html#cfn-synthetics-canary-retryconfig-maxretries
2152
+ '''
2153
+ result = self._values.get("max_retries")
2154
+ assert result is not None, "Required property 'max_retries' is missing"
2155
+ return typing.cast(jsii.Number, result)
2156
+
2157
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
2158
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
2159
+
2160
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
2161
+ return not (rhs == self)
2162
+
2163
+ def __repr__(self) -> str:
2164
+ return "RetryConfigProperty(%s)" % ", ".join(
2165
+ k + "=" + repr(v) for k, v in self._values.items()
2166
+ )
2167
+
2092
2168
  @jsii.data_type(
2093
2169
  jsii_type="aws-cdk-lib.aws_synthetics.CfnCanary.RunConfigProperty",
2094
2170
  jsii_struct_bases=[],
@@ -2300,6 +2376,7 @@ class CfnCanary(
2300
2376
  name_mapping={
2301
2377
  "expression": "expression",
2302
2378
  "duration_in_seconds": "durationInSeconds",
2379
+ "retry_config": "retryConfig",
2303
2380
  },
2304
2381
  )
2305
2382
  class ScheduleProperty:
@@ -2308,11 +2385,13 @@ class CfnCanary(
2308
2385
  *,
2309
2386
  expression: builtins.str,
2310
2387
  duration_in_seconds: typing.Optional[builtins.str] = None,
2388
+ retry_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCanary.RetryConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
2311
2389
  ) -> None:
2312
2390
  '''This structure specifies how often a canary is to make runs and the date and time when it should stop making runs.
2313
2391
 
2314
2392
  :param expression: A ``rate`` expression or a ``cron`` expression that defines how often the canary is to run. For a rate expression, The syntax is ``rate( *number unit* )`` . *unit* can be ``minute`` , ``minutes`` , or ``hour`` . For example, ``rate(1 minute)`` runs the canary once a minute, ``rate(10 minutes)`` runs it once every 10 minutes, and ``rate(1 hour)`` runs it once every hour. You can specify a frequency between ``rate(1 minute)`` and ``rate(1 hour)`` . Specifying ``rate(0 minute)`` or ``rate(0 hour)`` is a special value that causes the canary to run only once when it is started. Use ``cron( *expression* )`` to specify a cron expression. You can't schedule a canary to wait for more than a year before running. For information about the syntax for cron expressions, see `Scheduling canary runs using cron <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_cron.html>`_ .
2315
2393
  :param duration_in_seconds: How long, in seconds, for the canary to continue making regular runs according to the schedule in the ``Expression`` value. If you specify 0, the canary continues making runs until you stop it. If you omit this field, the default of 0 is used.
2394
+ :param retry_config:
2316
2395
 
2317
2396
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-synthetics-canary-schedule.html
2318
2397
  :exampleMetadata: fixture=_generated
@@ -2327,18 +2406,24 @@ class CfnCanary(
2327
2406
  expression="expression",
2328
2407
 
2329
2408
  # the properties below are optional
2330
- duration_in_seconds="durationInSeconds"
2409
+ duration_in_seconds="durationInSeconds",
2410
+ retry_config=synthetics.CfnCanary.RetryConfigProperty(
2411
+ max_retries=123
2412
+ )
2331
2413
  )
2332
2414
  '''
2333
2415
  if __debug__:
2334
2416
  type_hints = typing.get_type_hints(_typecheckingstub__e4999288d0e0c5de04c56a3436208778026602dfdca27710aee93f9f4e034c29)
2335
2417
  check_type(argname="argument expression", value=expression, expected_type=type_hints["expression"])
2336
2418
  check_type(argname="argument duration_in_seconds", value=duration_in_seconds, expected_type=type_hints["duration_in_seconds"])
2419
+ check_type(argname="argument retry_config", value=retry_config, expected_type=type_hints["retry_config"])
2337
2420
  self._values: typing.Dict[builtins.str, typing.Any] = {
2338
2421
  "expression": expression,
2339
2422
  }
2340
2423
  if duration_in_seconds is not None:
2341
2424
  self._values["duration_in_seconds"] = duration_in_seconds
2425
+ if retry_config is not None:
2426
+ self._values["retry_config"] = retry_config
2342
2427
 
2343
2428
  @builtins.property
2344
2429
  def expression(self) -> builtins.str:
@@ -2369,6 +2454,16 @@ class CfnCanary(
2369
2454
  result = self._values.get("duration_in_seconds")
2370
2455
  return typing.cast(typing.Optional[builtins.str], result)
2371
2456
 
2457
+ @builtins.property
2458
+ def retry_config(
2459
+ self,
2460
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCanary.RetryConfigProperty"]]:
2461
+ '''
2462
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-synthetics-canary-schedule.html#cfn-synthetics-canary-schedule-retryconfig
2463
+ '''
2464
+ result = self._values.get("retry_config")
2465
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCanary.RetryConfigProperty"]], result)
2466
+
2372
2467
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
2373
2468
  return isinstance(rhs, self.__class__) and rhs._values == self._values
2374
2469
 
@@ -2594,6 +2689,7 @@ class CfnCanary(
2594
2689
  "schedule": "schedule",
2595
2690
  "artifact_config": "artifactConfig",
2596
2691
  "delete_lambda_resources_on_canary_deletion": "deleteLambdaResourcesOnCanaryDeletion",
2692
+ "dry_run_and_update": "dryRunAndUpdate",
2597
2693
  "failure_retention_period": "failureRetentionPeriod",
2598
2694
  "provisioned_resource_cleanup": "provisionedResourceCleanup",
2599
2695
  "resources_to_replicate_tags": "resourcesToReplicateTags",
@@ -2617,6 +2713,7 @@ class CfnCanaryProps:
2617
2713
  schedule: typing.Union[_IResolvable_da3f097b, typing.Union[CfnCanary.ScheduleProperty, typing.Dict[builtins.str, typing.Any]]],
2618
2714
  artifact_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCanary.ArtifactConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
2619
2715
  delete_lambda_resources_on_canary_deletion: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
2716
+ dry_run_and_update: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
2620
2717
  failure_retention_period: typing.Optional[jsii.Number] = None,
2621
2718
  provisioned_resource_cleanup: typing.Optional[builtins.str] = None,
2622
2719
  resources_to_replicate_tags: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -2637,6 +2734,7 @@ class CfnCanaryProps:
2637
2734
  :param schedule: A structure that contains information about how often the canary is to run, and when these runs are to stop.
2638
2735
  :param artifact_config: A structure that contains the configuration for canary artifacts, including the encryption-at-rest settings for artifacts that the canary uploads to Amazon S3.
2639
2736
  :param delete_lambda_resources_on_canary_deletion: (deprecated) Deletes associated lambda resources created by Synthetics if set to True. Default is False
2737
+ :param dry_run_and_update: Setting to control if UpdateCanary will perform a DryRun and validate it is PASSING before performing the Update. Default is FALSE.
2640
2738
  :param failure_retention_period: The number of days to retain data about failed runs of this canary. If you omit this field, the default of 31 days is used. The valid range is 1 to 455 days. This setting affects the range of information returned by `GetCanaryRuns <https://docs.aws.amazon.com/AmazonSynthetics/latest/APIReference/API_GetCanaryRuns.html>`_ , as well as the range of information displayed in the Synthetics console.
2641
2739
  :param provisioned_resource_cleanup: Specifies whether to also delete the Lambda functions and layers used by this canary when the canary is deleted. If it is ``AUTOMATIC`` , the Lambda functions and layers will be deleted when the canary is deleted. If the value of this parameter is ``OFF`` , then the value of the ``DeleteLambda`` parameter of the `DeleteCanary <https://docs.aws.amazon.com/AmazonSynthetics/latest/APIReference/API_DeleteCanary.html>`_ operation determines whether the Lambda functions and layers will be deleted.
2642
2740
  :param resources_to_replicate_tags: To have the tags that you apply to this canary also be applied to the Lambda function that the canary uses, specify this property with the value ``lambda-function`` . If you do this, CloudWatch Synthetics will keep the tags of the canary and the Lambda function synchronized. Any future changes you make to the canary's tags will also be applied to the function.
@@ -2675,7 +2773,10 @@ class CfnCanaryProps:
2675
2773
  expression="expression",
2676
2774
 
2677
2775
  # the properties below are optional
2678
- duration_in_seconds="durationInSeconds"
2776
+ duration_in_seconds="durationInSeconds",
2777
+ retry_config=synthetics.CfnCanary.RetryConfigProperty(
2778
+ max_retries=123
2779
+ )
2679
2780
  ),
2680
2781
 
2681
2782
  # the properties below are optional
@@ -2686,6 +2787,7 @@ class CfnCanaryProps:
2686
2787
  )
2687
2788
  ),
2688
2789
  delete_lambda_resources_on_canary_deletion=False,
2790
+ dry_run_and_update=False,
2689
2791
  failure_retention_period=123,
2690
2792
  provisioned_resource_cleanup="provisionedResourceCleanup",
2691
2793
  resources_to_replicate_tags=["resourcesToReplicateTags"],
@@ -2734,6 +2836,7 @@ class CfnCanaryProps:
2734
2836
  check_type(argname="argument schedule", value=schedule, expected_type=type_hints["schedule"])
2735
2837
  check_type(argname="argument artifact_config", value=artifact_config, expected_type=type_hints["artifact_config"])
2736
2838
  check_type(argname="argument delete_lambda_resources_on_canary_deletion", value=delete_lambda_resources_on_canary_deletion, expected_type=type_hints["delete_lambda_resources_on_canary_deletion"])
2839
+ check_type(argname="argument dry_run_and_update", value=dry_run_and_update, expected_type=type_hints["dry_run_and_update"])
2737
2840
  check_type(argname="argument failure_retention_period", value=failure_retention_period, expected_type=type_hints["failure_retention_period"])
2738
2841
  check_type(argname="argument provisioned_resource_cleanup", value=provisioned_resource_cleanup, expected_type=type_hints["provisioned_resource_cleanup"])
2739
2842
  check_type(argname="argument resources_to_replicate_tags", value=resources_to_replicate_tags, expected_type=type_hints["resources_to_replicate_tags"])
@@ -2755,6 +2858,8 @@ class CfnCanaryProps:
2755
2858
  self._values["artifact_config"] = artifact_config
2756
2859
  if delete_lambda_resources_on_canary_deletion is not None:
2757
2860
  self._values["delete_lambda_resources_on_canary_deletion"] = delete_lambda_resources_on_canary_deletion
2861
+ if dry_run_and_update is not None:
2862
+ self._values["dry_run_and_update"] = dry_run_and_update
2758
2863
  if failure_retention_period is not None:
2759
2864
  self._values["failure_retention_period"] = failure_retention_period
2760
2865
  if provisioned_resource_cleanup is not None:
@@ -2883,6 +2988,19 @@ class CfnCanaryProps:
2883
2988
  result = self._values.get("delete_lambda_resources_on_canary_deletion")
2884
2989
  return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
2885
2990
 
2991
+ @builtins.property
2992
+ def dry_run_and_update(
2993
+ self,
2994
+ ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
2995
+ '''Setting to control if UpdateCanary will perform a DryRun and validate it is PASSING before performing the Update.
2996
+
2997
+ Default is FALSE.
2998
+
2999
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-synthetics-canary.html#cfn-synthetics-canary-dryrunandupdate
3000
+ '''
3001
+ result = self._values.get("dry_run_and_update")
3002
+ return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
3003
+
2886
3004
  @builtins.property
2887
3005
  def failure_retention_period(self) -> typing.Optional[jsii.Number]:
2888
3006
  '''The number of days to retain data about failed runs of this canary.
@@ -4677,6 +4795,7 @@ def _typecheckingstub__b8fcb3f48eca9399b4d1d31a5ef709e22f9fa52ad1e174b75d8313ef2
4677
4795
  schedule: typing.Union[_IResolvable_da3f097b, typing.Union[CfnCanary.ScheduleProperty, typing.Dict[builtins.str, typing.Any]]],
4678
4796
  artifact_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCanary.ArtifactConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
4679
4797
  delete_lambda_resources_on_canary_deletion: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
4798
+ dry_run_and_update: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
4680
4799
  failure_retention_period: typing.Optional[jsii.Number] = None,
4681
4800
  provisioned_resource_cleanup: typing.Optional[builtins.str] = None,
4682
4801
  resources_to_replicate_tags: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -4750,6 +4869,12 @@ def _typecheckingstub__442577c2c36e4274dca25b3d866e1aeec3f4ffc18732e01050131a31f
4750
4869
  """Type checking stubs"""
4751
4870
  pass
4752
4871
 
4872
+ def _typecheckingstub__59860e5fb72da4da1108545c9e0b8f706d34cf83eb363fda05f04cbb14baf1fe(
4873
+ value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
4874
+ ) -> None:
4875
+ """Type checking stubs"""
4876
+ pass
4877
+
4753
4878
  def _typecheckingstub__02a7e43f45419c4cb8e909f309f8848d4ced91d17b01d14e5ea0b8cec28aab1b(
4754
4879
  value: typing.Optional[jsii.Number],
4755
4880
  ) -> None:
@@ -4831,6 +4956,13 @@ def _typecheckingstub__3d403372a613babc1ab10717d050ec9a7f4055961f3545f2d0600d89c
4831
4956
  """Type checking stubs"""
4832
4957
  pass
4833
4958
 
4959
+ def _typecheckingstub__e7a2c989ca2c701e49af0e8032c8c49bb52546c68c9e6359df8e7a9f2c4cf9a1(
4960
+ *,
4961
+ max_retries: jsii.Number,
4962
+ ) -> None:
4963
+ """Type checking stubs"""
4964
+ pass
4965
+
4834
4966
  def _typecheckingstub__fa148862e82948accbbe951e7afcee721aa7014754c81106d2648fe1c5cf28e2(
4835
4967
  *,
4836
4968
  active_tracing: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
@@ -4853,6 +4985,7 @@ def _typecheckingstub__e4999288d0e0c5de04c56a3436208778026602dfdca27710aee93f9f4
4853
4985
  *,
4854
4986
  expression: builtins.str,
4855
4987
  duration_in_seconds: typing.Optional[builtins.str] = None,
4988
+ retry_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCanary.RetryConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
4856
4989
  ) -> None:
4857
4990
  """Type checking stubs"""
4858
4991
  pass
@@ -4885,6 +5018,7 @@ def _typecheckingstub__d869d56ce0d1d2e2add2f80bf39b28abbec2752c719e03194ee540bf1
4885
5018
  schedule: typing.Union[_IResolvable_da3f097b, typing.Union[CfnCanary.ScheduleProperty, typing.Dict[builtins.str, typing.Any]]],
4886
5019
  artifact_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCanary.ArtifactConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
4887
5020
  delete_lambda_resources_on_canary_deletion: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
5021
+ dry_run_and_update: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
4888
5022
  failure_retention_period: typing.Optional[jsii.Number] = None,
4889
5023
  provisioned_resource_cleanup: typing.Optional[builtins.str] = None,
4890
5024
  resources_to_replicate_tags: typing.Optional[typing.Sequence[builtins.str]] = None,