aws-cdk-lib 2.196.1__py3-none-any.whl → 2.198.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 (43) hide show
  1. aws_cdk/__init__.py +2 -0
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.196.1.jsii.tgz → aws-cdk-lib@2.198.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_apigateway/__init__.py +90 -1
  5. aws_cdk/aws_apigatewayv2/__init__.py +866 -0
  6. aws_cdk/aws_applicationautoscaling/__init__.py +36 -0
  7. aws_cdk/aws_appsync/__init__.py +31 -21
  8. aws_cdk/aws_autoscaling/__init__.py +2 -1
  9. aws_cdk/aws_bedrock/__init__.py +32 -26
  10. aws_cdk/aws_cloudfront/__init__.py +9 -3
  11. aws_cdk/aws_cloudwatch/__init__.py +756 -29
  12. aws_cdk/aws_codebuild/__init__.py +19 -0
  13. aws_cdk/aws_codepipeline/__init__.py +44 -7
  14. aws_cdk/aws_datasync/__init__.py +850 -833
  15. aws_cdk/aws_datazone/__init__.py +615 -2
  16. aws_cdk/aws_deadline/__init__.py +162 -4
  17. aws_cdk/aws_dsql/__init__.py +35 -1
  18. aws_cdk/aws_ec2/__init__.py +291 -7
  19. aws_cdk/aws_ecs/__init__.py +38 -19
  20. aws_cdk/aws_ecs_patterns/__init__.py +15 -9
  21. aws_cdk/aws_elasticache/__init__.py +5 -5
  22. aws_cdk/aws_elasticloadbalancingv2/__init__.py +14 -8
  23. aws_cdk/aws_gamelift/__init__.py +103 -17
  24. aws_cdk/aws_gameliftstreams/__init__.py +6 -6
  25. aws_cdk/aws_lex/__init__.py +1245 -172
  26. aws_cdk/aws_mediapackagev2/__init__.py +11 -10
  27. aws_cdk/aws_omics/__init__.py +939 -100
  28. aws_cdk/aws_pcs/__init__.py +126 -0
  29. aws_cdk/aws_rds/__init__.py +42 -15
  30. aws_cdk/aws_rolesanywhere/__init__.py +14 -13
  31. aws_cdk/aws_route53resolver/__init__.py +0 -41
  32. aws_cdk/aws_sagemaker/__init__.py +38 -12
  33. aws_cdk/aws_ses/__init__.py +192 -4
  34. aws_cdk/aws_ssmquicksetup/__init__.py +10 -2
  35. aws_cdk/aws_synthetics/__init__.py +137 -3
  36. aws_cdk/aws_wafv2/__init__.py +4 -4
  37. aws_cdk/aws_workspaces/__init__.py +41 -0
  38. {aws_cdk_lib-2.196.1.dist-info → aws_cdk_lib-2.198.0.dist-info}/METADATA +2 -2
  39. {aws_cdk_lib-2.196.1.dist-info → aws_cdk_lib-2.198.0.dist-info}/RECORD +43 -43
  40. {aws_cdk_lib-2.196.1.dist-info → aws_cdk_lib-2.198.0.dist-info}/LICENSE +0 -0
  41. {aws_cdk_lib-2.196.1.dist-info → aws_cdk_lib-2.198.0.dist-info}/NOTICE +0 -0
  42. {aws_cdk_lib-2.196.1.dist-info → aws_cdk_lib-2.198.0.dist-info}/WHEEL +0 -0
  43. {aws_cdk_lib-2.196.1.dist-info → aws_cdk_lib-2.198.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,
@@ -4674,7 +4674,7 @@ class CfnRuleGroup(
4674
4674
 
4675
4675
  :param match_pattern: The filter to use to identify the subset of headers to inspect in a web request. You must specify exactly one setting: either ``All`` , ``IncludedHeaders`` , or ``ExcludedHeaders`` . Example JSON: ``"MatchPattern": { "ExcludedHeaders": [ "KeyToExclude1", "KeyToExclude2" ] }``
4676
4676
  :param match_scope: The parts of the headers to match with the rule inspection criteria. If you specify ``ALL`` , AWS WAF inspects both keys and values. ``All`` does not require a match to be found in the keys and a match to be found in the values. It requires a match to be found in the keys or the values or both. To require a match in the keys and in the values, use a logical ``AND`` statement to combine two match rules, one that inspects the keys and another that inspects the values.
4677
- :param oversize_handling: What AWS WAF should do if the headers of the request are more numerous or larger than AWS WAF can inspect. AWS WAF does not support inspecting the entire contents of request headers when they exceed 8 KB (8192 bytes) or 200 total headers. The underlying host service forwards a maximum of 200 headers and at most 8 KB of header contents to AWS WAF . The options for oversize handling are the following: - ``CONTINUE`` - Inspect the available headers normally, according to the rule inspection criteria. - ``MATCH`` - Treat the web request as matching the rule statement. AWS WAF applies the rule action to the request. - ``NO_MATCH`` - Treat the web request as not matching the rule statement.
4677
+ :param oversize_handling: What AWS WAF should do if the headers determined by your match scope are more numerous or larger than AWS WAF can inspect. AWS WAF does not support inspecting the entire contents of request headers when they exceed 8 KB (8192 bytes) or 200 total headers. The underlying host service forwards a maximum of 200 headers and at most 8 KB of header contents to AWS WAF . The options for oversize handling are the following: - ``CONTINUE`` - Inspect the available headers normally, according to the rule inspection criteria. - ``MATCH`` - Treat the web request as matching the rule statement. AWS WAF applies the rule action to the request. - ``NO_MATCH`` - Treat the web request as not matching the rule statement.
4678
4678
 
4679
4679
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-headers.html
4680
4680
  :exampleMetadata: fixture=_generated
@@ -4740,7 +4740,7 @@ class CfnRuleGroup(
4740
4740
 
4741
4741
  @builtins.property
4742
4742
  def oversize_handling(self) -> builtins.str:
4743
- '''What AWS WAF should do if the headers of the request are more numerous or larger than AWS WAF can inspect.
4743
+ '''What AWS WAF should do if the headers determined by your match scope are more numerous or larger than AWS WAF can inspect.
4744
4744
 
4745
4745
  AWS WAF does not support inspecting the entire contents of request headers when they exceed 8 KB (8192 bytes) or 200 total headers. The underlying host service forwards a maximum of 200 headers and at most 8 KB of header contents to AWS WAF .
4746
4746
 
@@ -14579,7 +14579,7 @@ class CfnWebACL(
14579
14579
 
14580
14580
  :param match_pattern: The filter to use to identify the subset of headers to inspect in a web request. You must specify exactly one setting: either ``All`` , ``IncludedHeaders`` , or ``ExcludedHeaders`` . Example JSON: ``"MatchPattern": { "ExcludedHeaders": [ "KeyToExclude1", "KeyToExclude2" ] }``
14581
14581
  :param match_scope: The parts of the headers to match with the rule inspection criteria. If you specify ``ALL`` , AWS WAF inspects both keys and values. ``All`` does not require a match to be found in the keys and a match to be found in the values. It requires a match to be found in the keys or the values or both. To require a match in the keys and in the values, use a logical ``AND`` statement to combine two match rules, one that inspects the keys and another that inspects the values.
14582
- :param oversize_handling: What AWS WAF should do if the headers of the request are more numerous or larger than AWS WAF can inspect. AWS WAF does not support inspecting the entire contents of request headers when they exceed 8 KB (8192 bytes) or 200 total headers. The underlying host service forwards a maximum of 200 headers and at most 8 KB of header contents to AWS WAF . The options for oversize handling are the following: - ``CONTINUE`` - Inspect the available headers normally, according to the rule inspection criteria. - ``MATCH`` - Treat the web request as matching the rule statement. AWS WAF applies the rule action to the request. - ``NO_MATCH`` - Treat the web request as not matching the rule statement.
14582
+ :param oversize_handling: What AWS WAF should do if the headers determined by your match scope are more numerous or larger than AWS WAF can inspect. AWS WAF does not support inspecting the entire contents of request headers when they exceed 8 KB (8192 bytes) or 200 total headers. The underlying host service forwards a maximum of 200 headers and at most 8 KB of header contents to AWS WAF . The options for oversize handling are the following: - ``CONTINUE`` - Inspect the available headers normally, according to the rule inspection criteria. - ``MATCH`` - Treat the web request as matching the rule statement. AWS WAF applies the rule action to the request. - ``NO_MATCH`` - Treat the web request as not matching the rule statement.
14583
14583
 
14584
14584
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-headers.html
14585
14585
  :exampleMetadata: fixture=_generated
@@ -14645,7 +14645,7 @@ class CfnWebACL(
14645
14645
 
14646
14646
  @builtins.property
14647
14647
  def oversize_handling(self) -> builtins.str:
14648
- '''What AWS WAF should do if the headers of the request are more numerous or larger than AWS WAF can inspect.
14648
+ '''What AWS WAF should do if the headers determined by your match scope are more numerous or larger than AWS WAF can inspect.
14649
14649
 
14650
14650
  AWS WAF does not support inspecting the entire contents of request headers when they exceed 8 KB (8192 bytes) or 200 total headers. The underlying host service forwards a maximum of 200 headers and at most 8 KB of header contents to AWS WAF .
14651
14651
 
@@ -1021,6 +1021,7 @@ class CfnWorkspacesPool(
1021
1021
  settings_group="settingsGroup"
1022
1022
  ),
1023
1023
  description="description",
1024
+ running_mode="runningMode",
1024
1025
  tags=[CfnTag(
1025
1026
  key="key",
1026
1027
  value="value"
@@ -1044,6 +1045,7 @@ class CfnWorkspacesPool(
1044
1045
  pool_name: builtins.str,
1045
1046
  application_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnWorkspacesPool.ApplicationSettingsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1046
1047
  description: typing.Optional[builtins.str] = None,
1048
+ running_mode: typing.Optional[builtins.str] = None,
1047
1049
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
1048
1050
  timeout_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnWorkspacesPool.TimeoutSettingsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1049
1051
  ) -> None:
@@ -1056,6 +1058,7 @@ class CfnWorkspacesPool(
1056
1058
  :param pool_name: The name of the pool.
1057
1059
  :param application_settings: The persistent application settings for users of the pool.
1058
1060
  :param description: The description of the pool.
1061
+ :param running_mode: The running mode of the pool.
1059
1062
  :param tags:
1060
1063
  :param timeout_settings: The amount of time that a pool session remains active after users disconnect. If they try to reconnect to the pool session after a disconnection or network interruption within this time interval, they are connected to their previous session. Otherwise, they are connected to a new session with a new pool instance.
1061
1064
  '''
@@ -1070,6 +1073,7 @@ class CfnWorkspacesPool(
1070
1073
  pool_name=pool_name,
1071
1074
  application_settings=application_settings,
1072
1075
  description=description,
1076
+ running_mode=running_mode,
1073
1077
  tags=tags,
1074
1078
  timeout_settings=timeout_settings,
1075
1079
  )
@@ -1232,6 +1236,19 @@ class CfnWorkspacesPool(
1232
1236
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1233
1237
  jsii.set(self, "description", value) # pyright: ignore[reportArgumentType]
1234
1238
 
1239
+ @builtins.property
1240
+ @jsii.member(jsii_name="runningMode")
1241
+ def running_mode(self) -> typing.Optional[builtins.str]:
1242
+ '''The running mode of the pool.'''
1243
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "runningMode"))
1244
+
1245
+ @running_mode.setter
1246
+ def running_mode(self, value: typing.Optional[builtins.str]) -> None:
1247
+ if __debug__:
1248
+ type_hints = typing.get_type_hints(_typecheckingstub__360e48883f6f5eb30b47d1d804ac1d51f3162354f1b454a279520a266673b89b)
1249
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1250
+ jsii.set(self, "runningMode", value) # pyright: ignore[reportArgumentType]
1251
+
1235
1252
  @builtins.property
1236
1253
  @jsii.member(jsii_name="tags")
1237
1254
  def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
@@ -1496,6 +1513,7 @@ class CfnWorkspacesPool(
1496
1513
  "pool_name": "poolName",
1497
1514
  "application_settings": "applicationSettings",
1498
1515
  "description": "description",
1516
+ "running_mode": "runningMode",
1499
1517
  "tags": "tags",
1500
1518
  "timeout_settings": "timeoutSettings",
1501
1519
  },
@@ -1510,6 +1528,7 @@ class CfnWorkspacesPoolProps:
1510
1528
  pool_name: builtins.str,
1511
1529
  application_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWorkspacesPool.ApplicationSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
1512
1530
  description: typing.Optional[builtins.str] = None,
1531
+ running_mode: typing.Optional[builtins.str] = None,
1513
1532
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
1514
1533
  timeout_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWorkspacesPool.TimeoutSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
1515
1534
  ) -> None:
@@ -1521,6 +1540,7 @@ class CfnWorkspacesPoolProps:
1521
1540
  :param pool_name: The name of the pool.
1522
1541
  :param application_settings: The persistent application settings for users of the pool.
1523
1542
  :param description: The description of the pool.
1543
+ :param running_mode: The running mode of the pool.
1524
1544
  :param tags:
1525
1545
  :param timeout_settings: The amount of time that a pool session remains active after users disconnect. If they try to reconnect to the pool session after a disconnection or network interruption within this time interval, they are connected to their previous session. Otherwise, they are connected to a new session with a new pool instance.
1526
1546
 
@@ -1549,6 +1569,7 @@ class CfnWorkspacesPoolProps:
1549
1569
  settings_group="settingsGroup"
1550
1570
  ),
1551
1571
  description="description",
1572
+ running_mode="runningMode",
1552
1573
  tags=[CfnTag(
1553
1574
  key="key",
1554
1575
  value="value"
@@ -1568,6 +1589,7 @@ class CfnWorkspacesPoolProps:
1568
1589
  check_type(argname="argument pool_name", value=pool_name, expected_type=type_hints["pool_name"])
1569
1590
  check_type(argname="argument application_settings", value=application_settings, expected_type=type_hints["application_settings"])
1570
1591
  check_type(argname="argument description", value=description, expected_type=type_hints["description"])
1592
+ check_type(argname="argument running_mode", value=running_mode, expected_type=type_hints["running_mode"])
1571
1593
  check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
1572
1594
  check_type(argname="argument timeout_settings", value=timeout_settings, expected_type=type_hints["timeout_settings"])
1573
1595
  self._values: typing.Dict[builtins.str, typing.Any] = {
@@ -1580,6 +1602,8 @@ class CfnWorkspacesPoolProps:
1580
1602
  self._values["application_settings"] = application_settings
1581
1603
  if description is not None:
1582
1604
  self._values["description"] = description
1605
+ if running_mode is not None:
1606
+ self._values["running_mode"] = running_mode
1583
1607
  if tags is not None:
1584
1608
  self._values["tags"] = tags
1585
1609
  if timeout_settings is not None:
@@ -1647,6 +1671,15 @@ class CfnWorkspacesPoolProps:
1647
1671
  result = self._values.get("description")
1648
1672
  return typing.cast(typing.Optional[builtins.str], result)
1649
1673
 
1674
+ @builtins.property
1675
+ def running_mode(self) -> typing.Optional[builtins.str]:
1676
+ '''The running mode of the pool.
1677
+
1678
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspaces-workspacespool.html#cfn-workspaces-workspacespool-runningmode
1679
+ '''
1680
+ result = self._values.get("running_mode")
1681
+ return typing.cast(typing.Optional[builtins.str], result)
1682
+
1650
1683
  @builtins.property
1651
1684
  def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
1652
1685
  '''
@@ -1857,6 +1890,7 @@ def _typecheckingstub__2d46eb37beb6bc915a0a0c68f02dfa689a2d725a4252e6874da1ed606
1857
1890
  pool_name: builtins.str,
1858
1891
  application_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWorkspacesPool.ApplicationSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
1859
1892
  description: typing.Optional[builtins.str] = None,
1893
+ running_mode: typing.Optional[builtins.str] = None,
1860
1894
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
1861
1895
  timeout_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWorkspacesPool.TimeoutSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
1862
1896
  ) -> None:
@@ -1911,6 +1945,12 @@ def _typecheckingstub__c0a41c1359bb84431b1e88b8ac1a3bbf0d34dc2ab1b9004f79a2f0891
1911
1945
  """Type checking stubs"""
1912
1946
  pass
1913
1947
 
1948
+ def _typecheckingstub__360e48883f6f5eb30b47d1d804ac1d51f3162354f1b454a279520a266673b89b(
1949
+ value: typing.Optional[builtins.str],
1950
+ ) -> None:
1951
+ """Type checking stubs"""
1952
+ pass
1953
+
1914
1954
  def _typecheckingstub__a940a91e0c4bd8a1424475cae423b68c22b5107bb7454e6d62fa5d1a232ac829(
1915
1955
  value: typing.Optional[typing.List[_CfnTag_f6864754]],
1916
1956
  ) -> None:
@@ -1955,6 +1995,7 @@ def _typecheckingstub__cb4cf19658d50453aaf837ebc448848141de5ab5627b58be920162b65
1955
1995
  pool_name: builtins.str,
1956
1996
  application_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWorkspacesPool.ApplicationSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
1957
1997
  description: typing.Optional[builtins.str] = None,
1998
+ running_mode: typing.Optional[builtins.str] = None,
1958
1999
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
1959
2000
  timeout_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWorkspacesPool.TimeoutSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
1960
2001
  ) -> None:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aws-cdk-lib
3
- Version: 2.196.1
3
+ Version: 2.198.0
4
4
  Summary: Version 2 of the AWS Cloud Development Kit library
5
5
  Home-page: https://github.com/aws/aws-cdk
6
6
  Author: Amazon Web Services
@@ -20,7 +20,7 @@ Requires-Python: ~=3.9
20
20
  Description-Content-Type: text/markdown
21
21
  License-File: LICENSE
22
22
  License-File: NOTICE
23
- Requires-Dist: aws-cdk.asset-awscli-v1==2.2.236
23
+ Requires-Dist: aws-cdk.asset-awscli-v1==2.2.237
24
24
  Requires-Dist: aws-cdk.asset-node-proxy-agent-v6<3.0.0,>=2.1.0
25
25
  Requires-Dist: aws-cdk.cloud-assembly-schema<42.0.0,>=41.2.0
26
26
  Requires-Dist: constructs<11.0.0,>=10.0.0