aws-cdk-lib 2.137.0__py3-none-any.whl → 2.139.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 (73) hide show
  1. aws_cdk/__init__.py +8 -0
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.137.0.jsii.tgz → aws-cdk-lib@2.139.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_amplify/__init__.py +29 -113
  5. aws_cdk/aws_apigateway/__init__.py +29 -16
  6. aws_cdk/aws_appconfig/__init__.py +315 -77
  7. aws_cdk/aws_appintegrations/__init__.py +55 -6
  8. aws_cdk/aws_apprunner/__init__.py +5 -2
  9. aws_cdk/aws_appsync/__init__.py +400 -13
  10. aws_cdk/aws_aps/__init__.py +64 -47
  11. aws_cdk/aws_autoscaling/__init__.py +62 -60
  12. aws_cdk/aws_b2bi/__init__.py +2 -6
  13. aws_cdk/aws_backup/__init__.py +53 -57
  14. aws_cdk/aws_batch/__init__.py +109 -0
  15. aws_cdk/aws_bcmdataexports/__init__.py +1114 -0
  16. aws_cdk/aws_bedrock/__init__.py +4144 -0
  17. aws_cdk/aws_chatbot/__init__.py +6 -4
  18. aws_cdk/aws_cleanrooms/__init__.py +526 -3
  19. aws_cdk/aws_cleanroomsml/__init__.py +960 -0
  20. aws_cdk/aws_cloudtrail/__init__.py +10 -10
  21. aws_cdk/aws_cloudwatch/__init__.py +244 -8
  22. aws_cdk/aws_codebuild/__init__.py +27 -22
  23. aws_cdk/aws_codeconnections/__init__.py +435 -0
  24. aws_cdk/aws_cognito/__init__.py +175 -79
  25. aws_cdk/aws_datazone/__init__.py +22 -0
  26. aws_cdk/aws_deadline/__init__.py +5394 -0
  27. aws_cdk/aws_dms/__init__.py +2 -4
  28. aws_cdk/aws_ec2/__init__.py +402 -247
  29. aws_cdk/aws_ecr/__init__.py +630 -0
  30. aws_cdk/aws_ecs/__init__.py +361 -20
  31. aws_cdk/aws_efs/__init__.py +594 -2
  32. aws_cdk/aws_elasticache/__init__.py +86 -32
  33. aws_cdk/aws_elasticloadbalancingv2/__init__.py +75 -10
  34. aws_cdk/aws_emr/__init__.py +2 -2
  35. aws_cdk/aws_entityresolution/__init__.py +1982 -773
  36. aws_cdk/aws_events_targets/__init__.py +17 -4
  37. aws_cdk/aws_globalaccelerator/__init__.py +443 -0
  38. aws_cdk/aws_iam/__init__.py +1 -2
  39. aws_cdk/aws_internetmonitor/__init__.py +14 -6
  40. aws_cdk/aws_ivs/__init__.py +1273 -71
  41. aws_cdk/aws_kms/__init__.py +44 -0
  42. aws_cdk/aws_lambda/__init__.py +9 -0
  43. aws_cdk/aws_mediatailor/__init__.py +41 -0
  44. aws_cdk/aws_oam/__init__.py +204 -0
  45. aws_cdk/aws_personalize/__init__.py +8 -6
  46. aws_cdk/aws_pinpoint/__init__.py +5 -3
  47. aws_cdk/aws_pipes/__init__.py +5 -1
  48. aws_cdk/aws_quicksight/__init__.py +12 -6
  49. aws_cdk/aws_rds/__init__.py +370 -96
  50. aws_cdk/aws_redshiftserverless/__init__.py +157 -0
  51. aws_cdk/aws_route53/__init__.py +587 -14
  52. aws_cdk/aws_sagemaker/__init__.py +233 -2
  53. aws_cdk/aws_securityhub/__init__.py +4940 -102
  54. aws_cdk/aws_securitylake/__init__.py +1326 -89
  55. aws_cdk/aws_ses_actions/__init__.py +155 -0
  56. aws_cdk/aws_sns/__init__.py +61 -4
  57. aws_cdk/aws_ssm/__init__.py +5 -2
  58. aws_cdk/aws_ssmcontacts/__init__.py +11 -4
  59. aws_cdk/aws_stepfunctions/__init__.py +8 -16
  60. aws_cdk/aws_stepfunctions_tasks/__init__.py +676 -1
  61. aws_cdk/aws_timestream/__init__.py +1045 -0
  62. aws_cdk/aws_transfer/__init__.py +19 -10
  63. aws_cdk/aws_verifiedpermissions/__init__.py +114 -37
  64. aws_cdk/aws_wisdom/__init__.py +2 -2
  65. aws_cdk/aws_workspacesthinclient/__init__.py +8 -8
  66. aws_cdk/custom_resources/__init__.py +688 -26
  67. aws_cdk/cx_api/__init__.py +17 -0
  68. {aws_cdk_lib-2.137.0.dist-info → aws_cdk_lib-2.139.0.dist-info}/METADATA +3 -3
  69. {aws_cdk_lib-2.137.0.dist-info → aws_cdk_lib-2.139.0.dist-info}/RECORD +73 -69
  70. {aws_cdk_lib-2.137.0.dist-info → aws_cdk_lib-2.139.0.dist-info}/LICENSE +0 -0
  71. {aws_cdk_lib-2.137.0.dist-info → aws_cdk_lib-2.139.0.dist-info}/NOTICE +0 -0
  72. {aws_cdk_lib-2.137.0.dist-info → aws_cdk_lib-2.139.0.dist-info}/WHEEL +0 -0
  73. {aws_cdk_lib-2.137.0.dist-info → aws_cdk_lib-2.139.0.dist-info}/top_level.txt +0 -0
@@ -959,6 +959,7 @@ from .. import (
959
959
  IResolvable as _IResolvable_da3f097b,
960
960
  IResource as _IResource_c80c4260,
961
961
  ITaggable as _ITaggable_36806126,
962
+ ITaggableV2 as _ITaggableV2_4e6798f8,
962
963
  Resource as _Resource_45bc6135,
963
964
  ResourceProps as _ResourceProps_15a65b4e,
964
965
  TagManager as _TagManager_0a598cb3,
@@ -1320,7 +1321,7 @@ class AlarmStatusWidgetSortBy(enum.Enum):
1320
1321
  '''
1321
1322
 
1322
1323
 
1323
- @jsii.implements(_IInspectable_c2943556)
1324
+ @jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
1324
1325
  class CfnAlarm(
1325
1326
  _CfnResource_9df397a6,
1326
1327
  metaclass=jsii.JSIIMeta,
@@ -1389,6 +1390,10 @@ class CfnAlarm(
1389
1390
  ok_actions=["okActions"],
1390
1391
  period=123,
1391
1392
  statistic="statistic",
1393
+ tags=[CfnTag(
1394
+ key="key",
1395
+ value="value"
1396
+ )],
1392
1397
  threshold=123,
1393
1398
  threshold_metric_id="thresholdMetricId",
1394
1399
  treat_missing_data="treatMissingData",
@@ -1418,6 +1423,7 @@ class CfnAlarm(
1418
1423
  ok_actions: typing.Optional[typing.Sequence[builtins.str]] = None,
1419
1424
  period: typing.Optional[jsii.Number] = None,
1420
1425
  statistic: typing.Optional[builtins.str] = None,
1426
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
1421
1427
  threshold: typing.Optional[jsii.Number] = None,
1422
1428
  threshold_metric_id: typing.Optional[builtins.str] = None,
1423
1429
  treat_missing_data: typing.Optional[builtins.str] = None,
@@ -1443,6 +1449,7 @@ class CfnAlarm(
1443
1449
  :param ok_actions: The actions to execute when this alarm transitions to the ``OK`` state from any other state. Each action is specified as an Amazon Resource Name (ARN).
1444
1450
  :param period: The period, in seconds, over which the statistic is applied. This is required for an alarm based on a metric. Valid values are 10, 30, 60, and any multiple of 60. For an alarm based on a math expression, you can't specify ``Period`` , and instead you use the ``Metrics`` parameter. *Minimum:* 10
1445
1451
  :param statistic: The statistic for the metric associated with the alarm, other than percentile. For percentile statistics, use ``ExtendedStatistic`` . For an alarm based on a metric, you must specify either ``Statistic`` or ``ExtendedStatistic`` but not both. For an alarm based on a math expression, you can't specify ``Statistic`` . Instead, you use ``Metrics`` .
1452
+ :param tags: A list of key-value pairs to associate with the alarm. You can associate as many as 50 tags with an alarm. To be able to associate tags with the alarm when you create the alarm, you must have the ``cloudwatch:TagResource`` permission. Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.
1446
1453
  :param threshold: The value to compare with the specified statistic.
1447
1454
  :param threshold_metric_id: In an alarm based on an anomaly detection model, this is the ID of the ``ANOMALY_DETECTION_BAND`` function used as the threshold for the alarm.
1448
1455
  :param treat_missing_data: Sets how this alarm is to handle missing data points. Valid values are ``breaching`` , ``notBreaching`` , ``ignore`` , and ``missing`` . For more information, see `Configuring How CloudWatch Alarms Treat Missing Data <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/AlarmThatSendsEmail.html#alarms-and-missing-data>`_ in the *Amazon CloudWatch User Guide* . If you omit this parameter, the default behavior of ``missing`` is used.
@@ -1470,6 +1477,7 @@ class CfnAlarm(
1470
1477
  ok_actions=ok_actions,
1471
1478
  period=period,
1472
1479
  statistic=statistic,
1480
+ tags=tags,
1473
1481
  threshold=threshold,
1474
1482
  threshold_metric_id=threshold_metric_id,
1475
1483
  treat_missing_data=treat_missing_data,
@@ -1517,6 +1525,12 @@ class CfnAlarm(
1517
1525
  '''
1518
1526
  return typing.cast(builtins.str, jsii.get(self, "attrArn"))
1519
1527
 
1528
+ @builtins.property
1529
+ @jsii.member(jsii_name="cdkTagManager")
1530
+ def cdk_tag_manager(self) -> _TagManager_0a598cb3:
1531
+ '''Tag Manager which manages the tags for this resource.'''
1532
+ return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
1533
+
1520
1534
  @builtins.property
1521
1535
  @jsii.member(jsii_name="cfnProperties")
1522
1536
  def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
@@ -1770,6 +1784,19 @@ class CfnAlarm(
1770
1784
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1771
1785
  jsii.set(self, "statistic", value)
1772
1786
 
1787
+ @builtins.property
1788
+ @jsii.member(jsii_name="tags")
1789
+ def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
1790
+ '''A list of key-value pairs to associate with the alarm.'''
1791
+ return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
1792
+
1793
+ @tags.setter
1794
+ def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
1795
+ if __debug__:
1796
+ type_hints = typing.get_type_hints(_typecheckingstub__895712e62b896ed30b8848bddfdb970fd334934c19393e2eb8ad06392ecf8af9)
1797
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1798
+ jsii.set(self, "tags", value)
1799
+
1773
1800
  @builtins.property
1774
1801
  @jsii.member(jsii_name="threshold")
1775
1802
  def threshold(self) -> typing.Optional[jsii.Number]:
@@ -2337,6 +2364,7 @@ class CfnAlarm(
2337
2364
  "ok_actions": "okActions",
2338
2365
  "period": "period",
2339
2366
  "statistic": "statistic",
2367
+ "tags": "tags",
2340
2368
  "threshold": "threshold",
2341
2369
  "threshold_metric_id": "thresholdMetricId",
2342
2370
  "treat_missing_data": "treatMissingData",
@@ -2364,6 +2392,7 @@ class CfnAlarmProps:
2364
2392
  ok_actions: typing.Optional[typing.Sequence[builtins.str]] = None,
2365
2393
  period: typing.Optional[jsii.Number] = None,
2366
2394
  statistic: typing.Optional[builtins.str] = None,
2395
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
2367
2396
  threshold: typing.Optional[jsii.Number] = None,
2368
2397
  threshold_metric_id: typing.Optional[builtins.str] = None,
2369
2398
  treat_missing_data: typing.Optional[builtins.str] = None,
@@ -2388,6 +2417,7 @@ class CfnAlarmProps:
2388
2417
  :param ok_actions: The actions to execute when this alarm transitions to the ``OK`` state from any other state. Each action is specified as an Amazon Resource Name (ARN).
2389
2418
  :param period: The period, in seconds, over which the statistic is applied. This is required for an alarm based on a metric. Valid values are 10, 30, 60, and any multiple of 60. For an alarm based on a math expression, you can't specify ``Period`` , and instead you use the ``Metrics`` parameter. *Minimum:* 10
2390
2419
  :param statistic: The statistic for the metric associated with the alarm, other than percentile. For percentile statistics, use ``ExtendedStatistic`` . For an alarm based on a metric, you must specify either ``Statistic`` or ``ExtendedStatistic`` but not both. For an alarm based on a math expression, you can't specify ``Statistic`` . Instead, you use ``Metrics`` .
2420
+ :param tags: A list of key-value pairs to associate with the alarm. You can associate as many as 50 tags with an alarm. To be able to associate tags with the alarm when you create the alarm, you must have the ``cloudwatch:TagResource`` permission. Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.
2391
2421
  :param threshold: The value to compare with the specified statistic.
2392
2422
  :param threshold_metric_id: In an alarm based on an anomaly detection model, this is the ID of the ``ANOMALY_DETECTION_BAND`` function used as the threshold for the alarm.
2393
2423
  :param treat_missing_data: Sets how this alarm is to handle missing data points. Valid values are ``breaching`` , ``notBreaching`` , ``ignore`` , and ``missing`` . For more information, see `Configuring How CloudWatch Alarms Treat Missing Data <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/AlarmThatSendsEmail.html#alarms-and-missing-data>`_ in the *Amazon CloudWatch User Guide* . If you omit this parameter, the default behavior of ``missing`` is used.
@@ -2449,6 +2479,10 @@ class CfnAlarmProps:
2449
2479
  ok_actions=["okActions"],
2450
2480
  period=123,
2451
2481
  statistic="statistic",
2482
+ tags=[CfnTag(
2483
+ key="key",
2484
+ value="value"
2485
+ )],
2452
2486
  threshold=123,
2453
2487
  threshold_metric_id="thresholdMetricId",
2454
2488
  treat_missing_data="treatMissingData",
@@ -2474,6 +2508,7 @@ class CfnAlarmProps:
2474
2508
  check_type(argname="argument ok_actions", value=ok_actions, expected_type=type_hints["ok_actions"])
2475
2509
  check_type(argname="argument period", value=period, expected_type=type_hints["period"])
2476
2510
  check_type(argname="argument statistic", value=statistic, expected_type=type_hints["statistic"])
2511
+ check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
2477
2512
  check_type(argname="argument threshold", value=threshold, expected_type=type_hints["threshold"])
2478
2513
  check_type(argname="argument threshold_metric_id", value=threshold_metric_id, expected_type=type_hints["threshold_metric_id"])
2479
2514
  check_type(argname="argument treat_missing_data", value=treat_missing_data, expected_type=type_hints["treat_missing_data"])
@@ -2512,6 +2547,8 @@ class CfnAlarmProps:
2512
2547
  self._values["period"] = period
2513
2548
  if statistic is not None:
2514
2549
  self._values["statistic"] = statistic
2550
+ if tags is not None:
2551
+ self._values["tags"] = tags
2515
2552
  if threshold is not None:
2516
2553
  self._values["threshold"] = threshold
2517
2554
  if threshold_metric_id is not None:
@@ -2735,6 +2772,19 @@ class CfnAlarmProps:
2735
2772
  result = self._values.get("statistic")
2736
2773
  return typing.cast(typing.Optional[builtins.str], result)
2737
2774
 
2775
+ @builtins.property
2776
+ def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
2777
+ '''A list of key-value pairs to associate with the alarm.
2778
+
2779
+ You can associate as many as 50 tags with an alarm. To be able to associate tags with the alarm when you create the alarm, you must have the ``cloudwatch:TagResource`` permission.
2780
+
2781
+ Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.
2782
+
2783
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html#cfn-cloudwatch-alarm-tags
2784
+ '''
2785
+ result = self._values.get("tags")
2786
+ return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
2787
+
2738
2788
  @builtins.property
2739
2789
  def threshold(self) -> typing.Optional[jsii.Number]:
2740
2790
  '''The value to compare with the specified statistic.
@@ -2825,6 +2875,9 @@ class CfnAnomalyDetector(
2825
2875
  name="name",
2826
2876
  value="value"
2827
2877
  )],
2878
+ metric_characteristics=cloudwatch.CfnAnomalyDetector.MetricCharacteristicsProperty(
2879
+ periodic_spikes=False
2880
+ ),
2828
2881
  metric_math_anomaly_detector=cloudwatch.CfnAnomalyDetector.MetricMathAnomalyDetectorProperty(
2829
2882
  metric_data_queries=[cloudwatch.CfnAnomalyDetector.MetricDataQueryProperty(
2830
2883
  id="id",
@@ -2877,6 +2930,7 @@ class CfnAnomalyDetector(
2877
2930
  *,
2878
2931
  configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAnomalyDetector.ConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
2879
2932
  dimensions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAnomalyDetector.DimensionProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
2933
+ metric_characteristics: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAnomalyDetector.MetricCharacteristicsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
2880
2934
  metric_math_anomaly_detector: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAnomalyDetector.MetricMathAnomalyDetectorProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
2881
2935
  metric_name: typing.Optional[builtins.str] = None,
2882
2936
  namespace: typing.Optional[builtins.str] = None,
@@ -2888,6 +2942,7 @@ class CfnAnomalyDetector(
2888
2942
  :param id: Construct identifier for this resource (unique in its scope).
2889
2943
  :param configuration: Specifies details about how the anomaly detection model is to be trained, including time ranges to exclude when training and updating the model. The configuration can also include the time zone to use for the metric.
2890
2944
  :param dimensions: The dimensions of the metric associated with the anomaly detection band.
2945
+ :param metric_characteristics: Use this object to include parameters to provide information about your metric to CloudWatch to help it build more accurate anomaly detection models. Currently, it includes the ``PeriodicSpikes`` parameter.
2891
2946
  :param metric_math_anomaly_detector: The CloudWatch metric math expression for this anomaly detector.
2892
2947
  :param metric_name: The name of the metric associated with the anomaly detection band.
2893
2948
  :param namespace: The namespace of the metric associated with the anomaly detection band.
@@ -2901,6 +2956,7 @@ class CfnAnomalyDetector(
2901
2956
  props = CfnAnomalyDetectorProps(
2902
2957
  configuration=configuration,
2903
2958
  dimensions=dimensions,
2959
+ metric_characteristics=metric_characteristics,
2904
2960
  metric_math_anomaly_detector=metric_math_anomaly_detector,
2905
2961
  metric_name=metric_name,
2906
2962
  namespace=namespace,
@@ -2989,6 +3045,24 @@ class CfnAnomalyDetector(
2989
3045
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
2990
3046
  jsii.set(self, "dimensions", value)
2991
3047
 
3048
+ @builtins.property
3049
+ @jsii.member(jsii_name="metricCharacteristics")
3050
+ def metric_characteristics(
3051
+ self,
3052
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAnomalyDetector.MetricCharacteristicsProperty"]]:
3053
+ '''Use this object to include parameters to provide information about your metric to CloudWatch to help it build more accurate anomaly detection models.'''
3054
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAnomalyDetector.MetricCharacteristicsProperty"]], jsii.get(self, "metricCharacteristics"))
3055
+
3056
+ @metric_characteristics.setter
3057
+ def metric_characteristics(
3058
+ self,
3059
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAnomalyDetector.MetricCharacteristicsProperty"]],
3060
+ ) -> None:
3061
+ if __debug__:
3062
+ type_hints = typing.get_type_hints(_typecheckingstub__730fad039b3befd0235c3dce81008e3d9f65ab635fe956e8ed48f3ba7060aaba)
3063
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
3064
+ jsii.set(self, "metricCharacteristics", value)
3065
+
2992
3066
  @builtins.property
2993
3067
  @jsii.member(jsii_name="metricMathAnomalyDetector")
2994
3068
  def metric_math_anomaly_detector(
@@ -3222,6 +3296,65 @@ class CfnAnomalyDetector(
3222
3296
  k + "=" + repr(v) for k, v in self._values.items()
3223
3297
  )
3224
3298
 
3299
+ @jsii.data_type(
3300
+ jsii_type="aws-cdk-lib.aws_cloudwatch.CfnAnomalyDetector.MetricCharacteristicsProperty",
3301
+ jsii_struct_bases=[],
3302
+ name_mapping={"periodic_spikes": "periodicSpikes"},
3303
+ )
3304
+ class MetricCharacteristicsProperty:
3305
+ def __init__(
3306
+ self,
3307
+ *,
3308
+ periodic_spikes: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
3309
+ ) -> None:
3310
+ '''This object includes parameters that you can use to provide information to CloudWatch to help it build more accurate anomaly detection models.
3311
+
3312
+ :param periodic_spikes: Set this parameter to true if values for this metric consistently include spikes that should not be considered to be anomalies. With this set to true, CloudWatch will expect to see spikes that occurred consistently during the model training period, and won't flag future similar spikes as anomalies.
3313
+
3314
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-anomalydetector-metriccharacteristics.html
3315
+ :exampleMetadata: fixture=_generated
3316
+
3317
+ Example::
3318
+
3319
+ # The code below shows an example of how to instantiate this type.
3320
+ # The values are placeholders you should change.
3321
+ from aws_cdk import aws_cloudwatch as cloudwatch
3322
+
3323
+ metric_characteristics_property = cloudwatch.CfnAnomalyDetector.MetricCharacteristicsProperty(
3324
+ periodic_spikes=False
3325
+ )
3326
+ '''
3327
+ if __debug__:
3328
+ type_hints = typing.get_type_hints(_typecheckingstub__782bb184e35a5f89f30dd279aa12cf0d77b7069596cc47017cd113eb386bfa0b)
3329
+ check_type(argname="argument periodic_spikes", value=periodic_spikes, expected_type=type_hints["periodic_spikes"])
3330
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
3331
+ if periodic_spikes is not None:
3332
+ self._values["periodic_spikes"] = periodic_spikes
3333
+
3334
+ @builtins.property
3335
+ def periodic_spikes(
3336
+ self,
3337
+ ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
3338
+ '''Set this parameter to true if values for this metric consistently include spikes that should not be considered to be anomalies.
3339
+
3340
+ With this set to true, CloudWatch will expect to see spikes that occurred consistently during the model training period, and won't flag future similar spikes as anomalies.
3341
+
3342
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-anomalydetector-metriccharacteristics.html#cfn-cloudwatch-anomalydetector-metriccharacteristics-periodicspikes
3343
+ '''
3344
+ result = self._values.get("periodic_spikes")
3345
+ return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
3346
+
3347
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
3348
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
3349
+
3350
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
3351
+ return not (rhs == self)
3352
+
3353
+ def __repr__(self) -> str:
3354
+ return "MetricCharacteristicsProperty(%s)" % ", ".join(
3355
+ k + "=" + repr(v) for k, v in self._values.items()
3356
+ )
3357
+
3225
3358
  @jsii.data_type(
3226
3359
  jsii_type="aws-cdk-lib.aws_cloudwatch.CfnAnomalyDetector.MetricDataQueryProperty",
3227
3360
  jsii_struct_bases=[],
@@ -3846,7 +3979,7 @@ class CfnAnomalyDetector(
3846
3979
 
3847
3980
  If you have enabled unified cross-account observability, and this account is a monitoring account, the metric can be in the same account or a source account.
3848
3981
 
3849
- :param account_id:
3982
+ :param account_id: If the CloudWatch metric that provides the time series that the anomaly detector uses as input is in another account, specify that account ID here. If you omit this parameter, the current account is used.
3850
3983
  :param dimensions: The metric dimensions to create the anomaly detection model for.
3851
3984
  :param metric_name: The name of the metric to create the anomaly detection model for.
3852
3985
  :param namespace: The namespace of the metric to create the anomaly detection model for.
@@ -3893,7 +4026,10 @@ class CfnAnomalyDetector(
3893
4026
 
3894
4027
  @builtins.property
3895
4028
  def account_id(self) -> typing.Optional[builtins.str]:
3896
- '''
4029
+ '''If the CloudWatch metric that provides the time series that the anomaly detector uses as input is in another account, specify that account ID here.
4030
+
4031
+ If you omit this parameter, the current account is used.
4032
+
3897
4033
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-anomalydetector-singlemetricanomalydetector.html#cfn-cloudwatch-anomalydetector-singlemetricanomalydetector-accountid
3898
4034
  '''
3899
4035
  result = self._values.get("account_id")
@@ -3955,6 +4091,7 @@ class CfnAnomalyDetector(
3955
4091
  name_mapping={
3956
4092
  "configuration": "configuration",
3957
4093
  "dimensions": "dimensions",
4094
+ "metric_characteristics": "metricCharacteristics",
3958
4095
  "metric_math_anomaly_detector": "metricMathAnomalyDetector",
3959
4096
  "metric_name": "metricName",
3960
4097
  "namespace": "namespace",
@@ -3968,6 +4105,7 @@ class CfnAnomalyDetectorProps:
3968
4105
  *,
3969
4106
  configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAnomalyDetector.ConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
3970
4107
  dimensions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAnomalyDetector.DimensionProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
4108
+ metric_characteristics: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAnomalyDetector.MetricCharacteristicsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
3971
4109
  metric_math_anomaly_detector: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAnomalyDetector.MetricMathAnomalyDetectorProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
3972
4110
  metric_name: typing.Optional[builtins.str] = None,
3973
4111
  namespace: typing.Optional[builtins.str] = None,
@@ -3978,6 +4116,7 @@ class CfnAnomalyDetectorProps:
3978
4116
 
3979
4117
  :param configuration: Specifies details about how the anomaly detection model is to be trained, including time ranges to exclude when training and updating the model. The configuration can also include the time zone to use for the metric.
3980
4118
  :param dimensions: The dimensions of the metric associated with the anomaly detection band.
4119
+ :param metric_characteristics: Use this object to include parameters to provide information about your metric to CloudWatch to help it build more accurate anomaly detection models. Currently, it includes the ``PeriodicSpikes`` parameter.
3981
4120
  :param metric_math_anomaly_detector: The CloudWatch metric math expression for this anomaly detector.
3982
4121
  :param metric_name: The name of the metric associated with the anomaly detection band.
3983
4122
  :param namespace: The namespace of the metric associated with the anomaly detection band.
@@ -4005,6 +4144,9 @@ class CfnAnomalyDetectorProps:
4005
4144
  name="name",
4006
4145
  value="value"
4007
4146
  )],
4147
+ metric_characteristics=cloudwatch.CfnAnomalyDetector.MetricCharacteristicsProperty(
4148
+ periodic_spikes=False
4149
+ ),
4008
4150
  metric_math_anomaly_detector=cloudwatch.CfnAnomalyDetector.MetricMathAnomalyDetectorProperty(
4009
4151
  metric_data_queries=[cloudwatch.CfnAnomalyDetector.MetricDataQueryProperty(
4010
4152
  id="id",
@@ -4053,6 +4195,7 @@ class CfnAnomalyDetectorProps:
4053
4195
  type_hints = typing.get_type_hints(_typecheckingstub__929a09b64f3cc2009ffca4b74d148c42dfbbc7531a49bc66cb58443f8870fba2)
4054
4196
  check_type(argname="argument configuration", value=configuration, expected_type=type_hints["configuration"])
4055
4197
  check_type(argname="argument dimensions", value=dimensions, expected_type=type_hints["dimensions"])
4198
+ check_type(argname="argument metric_characteristics", value=metric_characteristics, expected_type=type_hints["metric_characteristics"])
4056
4199
  check_type(argname="argument metric_math_anomaly_detector", value=metric_math_anomaly_detector, expected_type=type_hints["metric_math_anomaly_detector"])
4057
4200
  check_type(argname="argument metric_name", value=metric_name, expected_type=type_hints["metric_name"])
4058
4201
  check_type(argname="argument namespace", value=namespace, expected_type=type_hints["namespace"])
@@ -4063,6 +4206,8 @@ class CfnAnomalyDetectorProps:
4063
4206
  self._values["configuration"] = configuration
4064
4207
  if dimensions is not None:
4065
4208
  self._values["dimensions"] = dimensions
4209
+ if metric_characteristics is not None:
4210
+ self._values["metric_characteristics"] = metric_characteristics
4066
4211
  if metric_math_anomaly_detector is not None:
4067
4212
  self._values["metric_math_anomaly_detector"] = metric_math_anomaly_detector
4068
4213
  if metric_name is not None:
@@ -4098,6 +4243,19 @@ class CfnAnomalyDetectorProps:
4098
4243
  result = self._values.get("dimensions")
4099
4244
  return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnAnomalyDetector.DimensionProperty]]]], result)
4100
4245
 
4246
+ @builtins.property
4247
+ def metric_characteristics(
4248
+ self,
4249
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnAnomalyDetector.MetricCharacteristicsProperty]]:
4250
+ '''Use this object to include parameters to provide information about your metric to CloudWatch to help it build more accurate anomaly detection models.
4251
+
4252
+ Currently, it includes the ``PeriodicSpikes`` parameter.
4253
+
4254
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-anomalydetector.html#cfn-cloudwatch-anomalydetector-metriccharacteristics
4255
+ '''
4256
+ result = self._values.get("metric_characteristics")
4257
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnAnomalyDetector.MetricCharacteristicsProperty]], result)
4258
+
4101
4259
  @builtins.property
4102
4260
  def metric_math_anomaly_detector(
4103
4261
  self,
@@ -4159,7 +4317,7 @@ class CfnAnomalyDetectorProps:
4159
4317
  )
4160
4318
 
4161
4319
 
4162
- @jsii.implements(_IInspectable_c2943556)
4320
+ @jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
4163
4321
  class CfnCompositeAlarm(
4164
4322
  _CfnResource_9df397a6,
4165
4323
  metaclass=jsii.JSIIMeta,
@@ -4173,8 +4331,6 @@ class CfnCompositeAlarm(
4173
4331
 
4174
4332
  Using composite alarms can reduce alarm noise. You can create multiple metric alarms, and also create a composite alarm and set up alerts only for the composite alarm. For example, you could create a composite alarm that goes into ALARM state only when more than one of the underlying metric alarms are in ALARM state.
4175
4333
 
4176
- Currently, the only alarm actions that can be taken by composite alarms are notifying SNS topics.
4177
-
4178
4334
  When this operation creates an alarm, the alarm state is immediately set to INSUFFICIENT_DATA. The alarm is then evaluated and its state is set appropriately. Any actions associated with the new state are then executed. For a composite alarm, this initial time after creation is the only time that the alarm can be in INSUFFICIENT_DATA state.
4179
4335
 
4180
4336
  When you update an existing alarm, its state is left unchanged, but the update completely overwrites the previous configuration of the alarm.
@@ -4201,7 +4357,11 @@ class CfnCompositeAlarm(
4201
4357
  alarm_description="alarmDescription",
4202
4358
  alarm_name="alarmName",
4203
4359
  insufficient_data_actions=["insufficientDataActions"],
4204
- ok_actions=["okActions"]
4360
+ ok_actions=["okActions"],
4361
+ tags=[CfnTag(
4362
+ key="key",
4363
+ value="value"
4364
+ )]
4205
4365
  )
4206
4366
  '''
4207
4367
 
@@ -4220,6 +4380,7 @@ class CfnCompositeAlarm(
4220
4380
  alarm_name: typing.Optional[builtins.str] = None,
4221
4381
  insufficient_data_actions: typing.Optional[typing.Sequence[builtins.str]] = None,
4222
4382
  ok_actions: typing.Optional[typing.Sequence[builtins.str]] = None,
4383
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
4223
4384
  ) -> None:
4224
4385
  '''
4225
4386
  :param scope: Scope in which this resource is defined.
@@ -4234,6 +4395,7 @@ class CfnCompositeAlarm(
4234
4395
  :param alarm_name: The name for the composite alarm. This name must be unique within your AWS account.
4235
4396
  :param insufficient_data_actions: The actions to execute when this alarm transitions to the INSUFFICIENT_DATA state from any other state. Each action is specified as an Amazon Resource Name (ARN). For more information about creating alarms and the actions that you can specify, see `PutCompositeAlarm <https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_PutCompositeAlarm.html>`_ in the *Amazon CloudWatch API Reference* .
4236
4397
  :param ok_actions: The actions to execute when this alarm transitions to the OK state from any other state. Each action is specified as an Amazon Resource Name (ARN). For more information about creating alarms and the actions that you can specify, see `PutCompositeAlarm <https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_PutCompositeAlarm.html>`_ in the *Amazon CloudWatch API Reference* .
4398
+ :param tags: A list of key-value pairs to associate with the alarm. You can associate as many as 50 tags with an alarm. To be able to associate tags with the alarm when you create the alarm, you must have the ``cloudwatch:TagResource`` permission. Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.
4237
4399
  '''
4238
4400
  if __debug__:
4239
4401
  type_hints = typing.get_type_hints(_typecheckingstub__5c24d10326e3cd470724ecbde5d50ff23fdf44dc88f809d9a181a5cd867e5cf3)
@@ -4250,6 +4412,7 @@ class CfnCompositeAlarm(
4250
4412
  alarm_name=alarm_name,
4251
4413
  insufficient_data_actions=insufficient_data_actions,
4252
4414
  ok_actions=ok_actions,
4415
+ tags=tags,
4253
4416
  )
4254
4417
 
4255
4418
  jsii.create(self.__class__, self, [scope, id, props])
@@ -4293,6 +4456,12 @@ class CfnCompositeAlarm(
4293
4456
  '''
4294
4457
  return typing.cast(builtins.str, jsii.get(self, "attrArn"))
4295
4458
 
4459
+ @builtins.property
4460
+ @jsii.member(jsii_name="cdkTagManager")
4461
+ def cdk_tag_manager(self) -> _TagManager_0a598cb3:
4462
+ '''Tag Manager which manages the tags for this resource.'''
4463
+ return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
4464
+
4296
4465
  @builtins.property
4297
4466
  @jsii.member(jsii_name="cfnProperties")
4298
4467
  def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
@@ -4442,6 +4611,19 @@ class CfnCompositeAlarm(
4442
4611
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
4443
4612
  jsii.set(self, "okActions", value)
4444
4613
 
4614
+ @builtins.property
4615
+ @jsii.member(jsii_name="tags")
4616
+ def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
4617
+ '''A list of key-value pairs to associate with the alarm.'''
4618
+ return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
4619
+
4620
+ @tags.setter
4621
+ def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
4622
+ if __debug__:
4623
+ type_hints = typing.get_type_hints(_typecheckingstub__457680b612885bf2c4b88aebcb2510b437690fdf7d6235bf00d83846c1ee3452)
4624
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
4625
+ jsii.set(self, "tags", value)
4626
+
4445
4627
 
4446
4628
  @jsii.data_type(
4447
4629
  jsii_type="aws-cdk-lib.aws_cloudwatch.CfnCompositeAlarmProps",
@@ -4457,6 +4639,7 @@ class CfnCompositeAlarm(
4457
4639
  "alarm_name": "alarmName",
4458
4640
  "insufficient_data_actions": "insufficientDataActions",
4459
4641
  "ok_actions": "okActions",
4642
+ "tags": "tags",
4460
4643
  },
4461
4644
  )
4462
4645
  class CfnCompositeAlarmProps:
@@ -4473,6 +4656,7 @@ class CfnCompositeAlarmProps:
4473
4656
  alarm_name: typing.Optional[builtins.str] = None,
4474
4657
  insufficient_data_actions: typing.Optional[typing.Sequence[builtins.str]] = None,
4475
4658
  ok_actions: typing.Optional[typing.Sequence[builtins.str]] = None,
4659
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
4476
4660
  ) -> None:
4477
4661
  '''Properties for defining a ``CfnCompositeAlarm``.
4478
4662
 
@@ -4486,6 +4670,7 @@ class CfnCompositeAlarmProps:
4486
4670
  :param alarm_name: The name for the composite alarm. This name must be unique within your AWS account.
4487
4671
  :param insufficient_data_actions: The actions to execute when this alarm transitions to the INSUFFICIENT_DATA state from any other state. Each action is specified as an Amazon Resource Name (ARN). For more information about creating alarms and the actions that you can specify, see `PutCompositeAlarm <https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_PutCompositeAlarm.html>`_ in the *Amazon CloudWatch API Reference* .
4488
4672
  :param ok_actions: The actions to execute when this alarm transitions to the OK state from any other state. Each action is specified as an Amazon Resource Name (ARN). For more information about creating alarms and the actions that you can specify, see `PutCompositeAlarm <https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_PutCompositeAlarm.html>`_ in the *Amazon CloudWatch API Reference* .
4673
+ :param tags: A list of key-value pairs to associate with the alarm. You can associate as many as 50 tags with an alarm. To be able to associate tags with the alarm when you create the alarm, you must have the ``cloudwatch:TagResource`` permission. Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.
4489
4674
 
4490
4675
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-compositealarm.html
4491
4676
  :exampleMetadata: fixture=_generated
@@ -4508,7 +4693,11 @@ class CfnCompositeAlarmProps:
4508
4693
  alarm_description="alarmDescription",
4509
4694
  alarm_name="alarmName",
4510
4695
  insufficient_data_actions=["insufficientDataActions"],
4511
- ok_actions=["okActions"]
4696
+ ok_actions=["okActions"],
4697
+ tags=[CfnTag(
4698
+ key="key",
4699
+ value="value"
4700
+ )]
4512
4701
  )
4513
4702
  '''
4514
4703
  if __debug__:
@@ -4523,6 +4712,7 @@ class CfnCompositeAlarmProps:
4523
4712
  check_type(argname="argument alarm_name", value=alarm_name, expected_type=type_hints["alarm_name"])
4524
4713
  check_type(argname="argument insufficient_data_actions", value=insufficient_data_actions, expected_type=type_hints["insufficient_data_actions"])
4525
4714
  check_type(argname="argument ok_actions", value=ok_actions, expected_type=type_hints["ok_actions"])
4715
+ check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
4526
4716
  self._values: typing.Dict[builtins.str, typing.Any] = {
4527
4717
  "alarm_rule": alarm_rule,
4528
4718
  }
@@ -4544,6 +4734,8 @@ class CfnCompositeAlarmProps:
4544
4734
  self._values["insufficient_data_actions"] = insufficient_data_actions
4545
4735
  if ok_actions is not None:
4546
4736
  self._values["ok_actions"] = ok_actions
4737
+ if tags is not None:
4738
+ self._values["tags"] = tags
4547
4739
 
4548
4740
  @builtins.property
4549
4741
  def alarm_rule(self) -> builtins.str:
@@ -4676,6 +4868,19 @@ class CfnCompositeAlarmProps:
4676
4868
  result = self._values.get("ok_actions")
4677
4869
  return typing.cast(typing.Optional[typing.List[builtins.str]], result)
4678
4870
 
4871
+ @builtins.property
4872
+ def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
4873
+ '''A list of key-value pairs to associate with the alarm.
4874
+
4875
+ You can associate as many as 50 tags with an alarm. To be able to associate tags with the alarm when you create the alarm, you must have the ``cloudwatch:TagResource`` permission.
4876
+
4877
+ Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.
4878
+
4879
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-compositealarm.html#cfn-cloudwatch-compositealarm-tags
4880
+ '''
4881
+ result = self._values.get("tags")
4882
+ return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
4883
+
4679
4884
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
4680
4885
  return isinstance(rhs, self.__class__) and rhs._values == self._values
4681
4886
 
@@ -14821,6 +15026,7 @@ def _typecheckingstub__5adc477b9cef758736625389f1a51dec08eb7b348be35f42b0e37d6d4
14821
15026
  ok_actions: typing.Optional[typing.Sequence[builtins.str]] = None,
14822
15027
  period: typing.Optional[jsii.Number] = None,
14823
15028
  statistic: typing.Optional[builtins.str] = None,
15029
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
14824
15030
  threshold: typing.Optional[jsii.Number] = None,
14825
15031
  threshold_metric_id: typing.Optional[builtins.str] = None,
14826
15032
  treat_missing_data: typing.Optional[builtins.str] = None,
@@ -14943,6 +15149,12 @@ def _typecheckingstub__233ab7996f3717f1bae1d0b9c6063cfa83de67875ac91777906dbd686
14943
15149
  """Type checking stubs"""
14944
15150
  pass
14945
15151
 
15152
+ def _typecheckingstub__895712e62b896ed30b8848bddfdb970fd334934c19393e2eb8ad06392ecf8af9(
15153
+ value: typing.Optional[typing.List[_CfnTag_f6864754]],
15154
+ ) -> None:
15155
+ """Type checking stubs"""
15156
+ pass
15157
+
14946
15158
  def _typecheckingstub__5fbcb41a59e8a1cba566cf0b26b3129b32d1bb58de6d5fcb5045e9d2ddf908de(
14947
15159
  value: typing.Optional[jsii.Number],
14948
15160
  ) -> None:
@@ -15026,6 +15238,7 @@ def _typecheckingstub__bc643fb1b5f1f1f0e0d9896a5988171163c1f79adc28d1e921bdf85f1
15026
15238
  ok_actions: typing.Optional[typing.Sequence[builtins.str]] = None,
15027
15239
  period: typing.Optional[jsii.Number] = None,
15028
15240
  statistic: typing.Optional[builtins.str] = None,
15241
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
15029
15242
  threshold: typing.Optional[jsii.Number] = None,
15030
15243
  threshold_metric_id: typing.Optional[builtins.str] = None,
15031
15244
  treat_missing_data: typing.Optional[builtins.str] = None,
@@ -15040,6 +15253,7 @@ def _typecheckingstub__09a2ebaa31c6ab1b46831db515c9eec0f049e129318fe5ad32dd73c9e
15040
15253
  *,
15041
15254
  configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAnomalyDetector.ConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
15042
15255
  dimensions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAnomalyDetector.DimensionProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
15256
+ metric_characteristics: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAnomalyDetector.MetricCharacteristicsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
15043
15257
  metric_math_anomaly_detector: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAnomalyDetector.MetricMathAnomalyDetectorProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
15044
15258
  metric_name: typing.Optional[builtins.str] = None,
15045
15259
  namespace: typing.Optional[builtins.str] = None,
@@ -15073,6 +15287,12 @@ def _typecheckingstub__aa81b524032f55c8d3aa5c261568d608ed375b489e67451c339cda6df
15073
15287
  """Type checking stubs"""
15074
15288
  pass
15075
15289
 
15290
+ def _typecheckingstub__730fad039b3befd0235c3dce81008e3d9f65ab635fe956e8ed48f3ba7060aaba(
15291
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnAnomalyDetector.MetricCharacteristicsProperty]],
15292
+ ) -> None:
15293
+ """Type checking stubs"""
15294
+ pass
15295
+
15076
15296
  def _typecheckingstub__f8f418300bad7bba64cba09c0d26246445ca23587310af02c4b72408240a1db4(
15077
15297
  value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnAnomalyDetector.MetricMathAnomalyDetectorProperty]],
15078
15298
  ) -> None:
@@ -15119,6 +15339,13 @@ def _typecheckingstub__621384455c6fe008d1544e799a687e205dfd7c831d4d16758c94209b7
15119
15339
  """Type checking stubs"""
15120
15340
  pass
15121
15341
 
15342
+ def _typecheckingstub__782bb184e35a5f89f30dd279aa12cf0d77b7069596cc47017cd113eb386bfa0b(
15343
+ *,
15344
+ periodic_spikes: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
15345
+ ) -> None:
15346
+ """Type checking stubs"""
15347
+ pass
15348
+
15122
15349
  def _typecheckingstub__d07af40dc753cdda4381651fa3711189e996a0d1ada4554c36c730242ecee721(
15123
15350
  *,
15124
15351
  id: builtins.str,
@@ -15181,6 +15408,7 @@ def _typecheckingstub__929a09b64f3cc2009ffca4b74d148c42dfbbc7531a49bc66cb58443f8
15181
15408
  *,
15182
15409
  configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAnomalyDetector.ConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
15183
15410
  dimensions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAnomalyDetector.DimensionProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
15411
+ metric_characteristics: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAnomalyDetector.MetricCharacteristicsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
15184
15412
  metric_math_anomaly_detector: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAnomalyDetector.MetricMathAnomalyDetectorProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
15185
15413
  metric_name: typing.Optional[builtins.str] = None,
15186
15414
  namespace: typing.Optional[builtins.str] = None,
@@ -15204,6 +15432,7 @@ def _typecheckingstub__5c24d10326e3cd470724ecbde5d50ff23fdf44dc88f809d9a181a5cd8
15204
15432
  alarm_name: typing.Optional[builtins.str] = None,
15205
15433
  insufficient_data_actions: typing.Optional[typing.Sequence[builtins.str]] = None,
15206
15434
  ok_actions: typing.Optional[typing.Sequence[builtins.str]] = None,
15435
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
15207
15436
  ) -> None:
15208
15437
  """Type checking stubs"""
15209
15438
  pass
@@ -15280,6 +15509,12 @@ def _typecheckingstub__f061adaf1332cbeeb6cedda66357d6a65aea2023583d23de2ed9b9c19
15280
15509
  """Type checking stubs"""
15281
15510
  pass
15282
15511
 
15512
+ def _typecheckingstub__457680b612885bf2c4b88aebcb2510b437690fdf7d6235bf00d83846c1ee3452(
15513
+ value: typing.Optional[typing.List[_CfnTag_f6864754]],
15514
+ ) -> None:
15515
+ """Type checking stubs"""
15516
+ pass
15517
+
15283
15518
  def _typecheckingstub__f61e2b790710dde8e1d3a57752c99da295b632afeb42e0870113583f0277be2c(
15284
15519
  *,
15285
15520
  alarm_rule: builtins.str,
@@ -15292,6 +15527,7 @@ def _typecheckingstub__f61e2b790710dde8e1d3a57752c99da295b632afeb42e0870113583f0
15292
15527
  alarm_name: typing.Optional[builtins.str] = None,
15293
15528
  insufficient_data_actions: typing.Optional[typing.Sequence[builtins.str]] = None,
15294
15529
  ok_actions: typing.Optional[typing.Sequence[builtins.str]] = None,
15530
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
15295
15531
  ) -> None:
15296
15532
  """Type checking stubs"""
15297
15533
  pass