aws-cdk-lib 2.203.1__py3-none-any.whl → 2.205.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 (62) hide show
  1. aws_cdk/__init__.py +208 -92
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.203.1.jsii.tgz → aws-cdk-lib@2.205.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_aiops/__init__.py +89 -39
  5. aws_cdk/aws_apigateway/__init__.py +164 -0
  6. aws_cdk/aws_apigatewayv2/__init__.py +412 -0
  7. aws_cdk/aws_applicationautoscaling/__init__.py +2 -2
  8. aws_cdk/aws_arczonalshift/__init__.py +4 -1
  9. aws_cdk/aws_b2bi/__init__.py +32 -16
  10. aws_cdk/aws_bedrock/__init__.py +198 -10
  11. aws_cdk/aws_cassandra/__init__.py +156 -0
  12. aws_cdk/aws_certificatemanager/__init__.py +28 -0
  13. aws_cdk/aws_chatbot/__init__.py +28 -0
  14. aws_cdk/aws_cloudformation/__init__.py +74 -72
  15. aws_cdk/aws_cloudfront/__init__.py +1273 -485
  16. aws_cdk/aws_cloudfront/experimental/__init__.py +32 -0
  17. aws_cdk/aws_cloudfront_origins/__init__.py +26 -21
  18. aws_cdk/aws_cloudwatch/__init__.py +278 -23
  19. aws_cdk/aws_codebuild/__init__.py +300 -36
  20. aws_cdk/aws_datasync/__init__.py +2 -2
  21. aws_cdk/aws_docdb/__init__.py +78 -0
  22. aws_cdk/aws_dynamodb/__init__.py +523 -37
  23. aws_cdk/aws_ec2/__init__.py +126 -30
  24. aws_cdk/aws_ecs/__init__.py +64 -19
  25. aws_cdk/aws_elasticloadbalancingv2/__init__.py +724 -0
  26. aws_cdk/aws_elasticsearch/__init__.py +260 -0
  27. aws_cdk/aws_emrserverless/__init__.py +5 -5
  28. aws_cdk/aws_events/__init__.py +58 -3
  29. aws_cdk/aws_events_targets/__init__.py +7 -2
  30. aws_cdk/aws_evs/__init__.py +7 -7
  31. aws_cdk/aws_fsx/__init__.py +138 -78
  32. aws_cdk/aws_gamelift/__init__.py +19 -0
  33. aws_cdk/aws_glue/__init__.py +3 -3
  34. aws_cdk/aws_iot/__init__.py +1 -1
  35. aws_cdk/aws_kinesis/__init__.py +391 -13
  36. aws_cdk/aws_kinesisfirehose/__init__.py +128 -1
  37. aws_cdk/aws_lambda/__init__.py +144 -0
  38. aws_cdk/aws_lex/__init__.py +36 -19
  39. aws_cdk/aws_logs/__init__.py +58 -0
  40. aws_cdk/aws_neptune/__init__.py +12 -12
  41. aws_cdk/aws_odb/__init__.py +4049 -0
  42. aws_cdk/aws_omics/__init__.py +1 -1
  43. aws_cdk/aws_opensearchservice/__init__.py +260 -0
  44. aws_cdk/aws_qbusiness/__init__.py +471 -4
  45. aws_cdk/aws_quicksight/__init__.py +185 -16
  46. aws_cdk/aws_rds/__init__.py +553 -17
  47. aws_cdk/aws_redshiftserverless/__init__.py +72 -45
  48. aws_cdk/aws_route53/__init__.py +41 -19
  49. aws_cdk/aws_s3tables/__init__.py +1005 -0
  50. aws_cdk/aws_sagemaker/__init__.py +20 -0
  51. aws_cdk/aws_scheduler/__init__.py +210 -0
  52. aws_cdk/aws_sns/__init__.py +164 -0
  53. aws_cdk/aws_sqs/__init__.py +164 -0
  54. aws_cdk/aws_stepfunctions/__init__.py +288 -0
  55. aws_cdk/aws_synthetics/__init__.py +159 -37
  56. aws_cdk/aws_transfer/__init__.py +23 -1
  57. {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.205.0.dist-info}/METADATA +2 -2
  58. {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.205.0.dist-info}/RECORD +62 -61
  59. {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.205.0.dist-info}/LICENSE +0 -0
  60. {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.205.0.dist-info}/NOTICE +0 -0
  61. {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.205.0.dist-info}/WHEEL +0 -0
  62. {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.205.0.dist-info}/top_level.txt +0 -0
@@ -6736,6 +6736,7 @@ class IStateMachine(
6736
6736
  account: typing.Optional[builtins.str] = None,
6737
6737
  color: typing.Optional[builtins.str] = None,
6738
6738
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
6739
+ id: typing.Optional[builtins.str] = None,
6739
6740
  label: typing.Optional[builtins.str] = None,
6740
6741
  period: typing.Optional[_Duration_4839e8c3] = None,
6741
6742
  region: typing.Optional[builtins.str] = None,
@@ -6743,6 +6744,7 @@ class IStateMachine(
6743
6744
  stack_region: typing.Optional[builtins.str] = None,
6744
6745
  statistic: typing.Optional[builtins.str] = None,
6745
6746
  unit: typing.Optional[_Unit_61bc6f70] = None,
6747
+ visible: typing.Optional[builtins.bool] = None,
6746
6748
  ) -> _Metric_e396a4dc:
6747
6749
  '''Return the given named metric for this State Machine's executions.
6748
6750
 
@@ -6750,6 +6752,7 @@ class IStateMachine(
6750
6752
  :param account: Account which this metric comes from. Default: - Deployment account.
6751
6753
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
6752
6754
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
6755
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
6753
6756
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
6754
6757
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
6755
6758
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -6757,6 +6760,7 @@ class IStateMachine(
6757
6760
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
6758
6761
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
6759
6762
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
6763
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
6760
6764
 
6761
6765
  :default: - sum over 5 minutes
6762
6766
  '''
@@ -6769,6 +6773,7 @@ class IStateMachine(
6769
6773
  account: typing.Optional[builtins.str] = None,
6770
6774
  color: typing.Optional[builtins.str] = None,
6771
6775
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
6776
+ id: typing.Optional[builtins.str] = None,
6772
6777
  label: typing.Optional[builtins.str] = None,
6773
6778
  period: typing.Optional[_Duration_4839e8c3] = None,
6774
6779
  region: typing.Optional[builtins.str] = None,
@@ -6776,12 +6781,14 @@ class IStateMachine(
6776
6781
  stack_region: typing.Optional[builtins.str] = None,
6777
6782
  statistic: typing.Optional[builtins.str] = None,
6778
6783
  unit: typing.Optional[_Unit_61bc6f70] = None,
6784
+ visible: typing.Optional[builtins.bool] = None,
6779
6785
  ) -> _Metric_e396a4dc:
6780
6786
  '''Metric for the number of executions that were aborted.
6781
6787
 
6782
6788
  :param account: Account which this metric comes from. Default: - Deployment account.
6783
6789
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
6784
6790
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
6791
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
6785
6792
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
6786
6793
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
6787
6794
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -6789,6 +6796,7 @@ class IStateMachine(
6789
6796
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
6790
6797
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
6791
6798
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
6799
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
6792
6800
 
6793
6801
  :default: - sum over 5 minutes
6794
6802
  '''
@@ -6801,6 +6809,7 @@ class IStateMachine(
6801
6809
  account: typing.Optional[builtins.str] = None,
6802
6810
  color: typing.Optional[builtins.str] = None,
6803
6811
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
6812
+ id: typing.Optional[builtins.str] = None,
6804
6813
  label: typing.Optional[builtins.str] = None,
6805
6814
  period: typing.Optional[_Duration_4839e8c3] = None,
6806
6815
  region: typing.Optional[builtins.str] = None,
@@ -6808,12 +6817,14 @@ class IStateMachine(
6808
6817
  stack_region: typing.Optional[builtins.str] = None,
6809
6818
  statistic: typing.Optional[builtins.str] = None,
6810
6819
  unit: typing.Optional[_Unit_61bc6f70] = None,
6820
+ visible: typing.Optional[builtins.bool] = None,
6811
6821
  ) -> _Metric_e396a4dc:
6812
6822
  '''Metric for the number of executions that failed.
6813
6823
 
6814
6824
  :param account: Account which this metric comes from. Default: - Deployment account.
6815
6825
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
6816
6826
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
6827
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
6817
6828
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
6818
6829
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
6819
6830
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -6821,6 +6832,7 @@ class IStateMachine(
6821
6832
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
6822
6833
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
6823
6834
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
6835
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
6824
6836
 
6825
6837
  :default: - sum over 5 minutes
6826
6838
  '''
@@ -6833,6 +6845,7 @@ class IStateMachine(
6833
6845
  account: typing.Optional[builtins.str] = None,
6834
6846
  color: typing.Optional[builtins.str] = None,
6835
6847
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
6848
+ id: typing.Optional[builtins.str] = None,
6836
6849
  label: typing.Optional[builtins.str] = None,
6837
6850
  period: typing.Optional[_Duration_4839e8c3] = None,
6838
6851
  region: typing.Optional[builtins.str] = None,
@@ -6840,12 +6853,14 @@ class IStateMachine(
6840
6853
  stack_region: typing.Optional[builtins.str] = None,
6841
6854
  statistic: typing.Optional[builtins.str] = None,
6842
6855
  unit: typing.Optional[_Unit_61bc6f70] = None,
6856
+ visible: typing.Optional[builtins.bool] = None,
6843
6857
  ) -> _Metric_e396a4dc:
6844
6858
  '''Metric for the number of executions that were started.
6845
6859
 
6846
6860
  :param account: Account which this metric comes from. Default: - Deployment account.
6847
6861
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
6848
6862
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
6863
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
6849
6864
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
6850
6865
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
6851
6866
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -6853,6 +6868,7 @@ class IStateMachine(
6853
6868
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
6854
6869
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
6855
6870
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
6871
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
6856
6872
 
6857
6873
  :default: - sum over 5 minutes
6858
6874
  '''
@@ -6865,6 +6881,7 @@ class IStateMachine(
6865
6881
  account: typing.Optional[builtins.str] = None,
6866
6882
  color: typing.Optional[builtins.str] = None,
6867
6883
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
6884
+ id: typing.Optional[builtins.str] = None,
6868
6885
  label: typing.Optional[builtins.str] = None,
6869
6886
  period: typing.Optional[_Duration_4839e8c3] = None,
6870
6887
  region: typing.Optional[builtins.str] = None,
@@ -6872,12 +6889,14 @@ class IStateMachine(
6872
6889
  stack_region: typing.Optional[builtins.str] = None,
6873
6890
  statistic: typing.Optional[builtins.str] = None,
6874
6891
  unit: typing.Optional[_Unit_61bc6f70] = None,
6892
+ visible: typing.Optional[builtins.bool] = None,
6875
6893
  ) -> _Metric_e396a4dc:
6876
6894
  '''Metric for the number of executions that succeeded.
6877
6895
 
6878
6896
  :param account: Account which this metric comes from. Default: - Deployment account.
6879
6897
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
6880
6898
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
6899
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
6881
6900
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
6882
6901
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
6883
6902
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -6885,6 +6904,7 @@ class IStateMachine(
6885
6904
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
6886
6905
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
6887
6906
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
6907
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
6888
6908
 
6889
6909
  :default: - sum over 5 minutes
6890
6910
  '''
@@ -6897,6 +6917,7 @@ class IStateMachine(
6897
6917
  account: typing.Optional[builtins.str] = None,
6898
6918
  color: typing.Optional[builtins.str] = None,
6899
6919
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
6920
+ id: typing.Optional[builtins.str] = None,
6900
6921
  label: typing.Optional[builtins.str] = None,
6901
6922
  period: typing.Optional[_Duration_4839e8c3] = None,
6902
6923
  region: typing.Optional[builtins.str] = None,
@@ -6904,12 +6925,14 @@ class IStateMachine(
6904
6925
  stack_region: typing.Optional[builtins.str] = None,
6905
6926
  statistic: typing.Optional[builtins.str] = None,
6906
6927
  unit: typing.Optional[_Unit_61bc6f70] = None,
6928
+ visible: typing.Optional[builtins.bool] = None,
6907
6929
  ) -> _Metric_e396a4dc:
6908
6930
  '''Metric for the number of executions that were throttled.
6909
6931
 
6910
6932
  :param account: Account which this metric comes from. Default: - Deployment account.
6911
6933
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
6912
6934
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
6935
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
6913
6936
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
6914
6937
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
6915
6938
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -6917,6 +6940,7 @@ class IStateMachine(
6917
6940
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
6918
6941
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
6919
6942
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
6943
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
6920
6944
 
6921
6945
  :default: sum over 5 minutes
6922
6946
  '''
@@ -6929,6 +6953,7 @@ class IStateMachine(
6929
6953
  account: typing.Optional[builtins.str] = None,
6930
6954
  color: typing.Optional[builtins.str] = None,
6931
6955
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
6956
+ id: typing.Optional[builtins.str] = None,
6932
6957
  label: typing.Optional[builtins.str] = None,
6933
6958
  period: typing.Optional[_Duration_4839e8c3] = None,
6934
6959
  region: typing.Optional[builtins.str] = None,
@@ -6936,12 +6961,14 @@ class IStateMachine(
6936
6961
  stack_region: typing.Optional[builtins.str] = None,
6937
6962
  statistic: typing.Optional[builtins.str] = None,
6938
6963
  unit: typing.Optional[_Unit_61bc6f70] = None,
6964
+ visible: typing.Optional[builtins.bool] = None,
6939
6965
  ) -> _Metric_e396a4dc:
6940
6966
  '''Metric for the interval, in milliseconds, between the time the execution starts and the time it closes.
6941
6967
 
6942
6968
  :param account: Account which this metric comes from. Default: - Deployment account.
6943
6969
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
6944
6970
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
6971
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
6945
6972
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
6946
6973
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
6947
6974
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -6949,6 +6976,7 @@ class IStateMachine(
6949
6976
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
6950
6977
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
6951
6978
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
6979
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
6952
6980
 
6953
6981
  :default: - sum over 5 minutes
6954
6982
  '''
@@ -6961,6 +6989,7 @@ class IStateMachine(
6961
6989
  account: typing.Optional[builtins.str] = None,
6962
6990
  color: typing.Optional[builtins.str] = None,
6963
6991
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
6992
+ id: typing.Optional[builtins.str] = None,
6964
6993
  label: typing.Optional[builtins.str] = None,
6965
6994
  period: typing.Optional[_Duration_4839e8c3] = None,
6966
6995
  region: typing.Optional[builtins.str] = None,
@@ -6968,12 +6997,14 @@ class IStateMachine(
6968
6997
  stack_region: typing.Optional[builtins.str] = None,
6969
6998
  statistic: typing.Optional[builtins.str] = None,
6970
6999
  unit: typing.Optional[_Unit_61bc6f70] = None,
7000
+ visible: typing.Optional[builtins.bool] = None,
6971
7001
  ) -> _Metric_e396a4dc:
6972
7002
  '''Metric for the number of executions that timed out.
6973
7003
 
6974
7004
  :param account: Account which this metric comes from. Default: - Deployment account.
6975
7005
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
6976
7006
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
7007
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
6977
7008
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
6978
7009
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
6979
7010
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -6981,6 +7012,7 @@ class IStateMachine(
6981
7012
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
6982
7013
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
6983
7014
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
7015
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
6984
7016
 
6985
7017
  :default: - sum over 5 minutes
6986
7018
  '''
@@ -7093,6 +7125,7 @@ class _IStateMachineProxy(
7093
7125
  account: typing.Optional[builtins.str] = None,
7094
7126
  color: typing.Optional[builtins.str] = None,
7095
7127
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
7128
+ id: typing.Optional[builtins.str] = None,
7096
7129
  label: typing.Optional[builtins.str] = None,
7097
7130
  period: typing.Optional[_Duration_4839e8c3] = None,
7098
7131
  region: typing.Optional[builtins.str] = None,
@@ -7100,6 +7133,7 @@ class _IStateMachineProxy(
7100
7133
  stack_region: typing.Optional[builtins.str] = None,
7101
7134
  statistic: typing.Optional[builtins.str] = None,
7102
7135
  unit: typing.Optional[_Unit_61bc6f70] = None,
7136
+ visible: typing.Optional[builtins.bool] = None,
7103
7137
  ) -> _Metric_e396a4dc:
7104
7138
  '''Return the given named metric for this State Machine's executions.
7105
7139
 
@@ -7107,6 +7141,7 @@ class _IStateMachineProxy(
7107
7141
  :param account: Account which this metric comes from. Default: - Deployment account.
7108
7142
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
7109
7143
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
7144
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
7110
7145
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
7111
7146
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
7112
7147
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -7114,6 +7149,7 @@ class _IStateMachineProxy(
7114
7149
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
7115
7150
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
7116
7151
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
7152
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
7117
7153
 
7118
7154
  :default: - sum over 5 minutes
7119
7155
  '''
@@ -7124,6 +7160,7 @@ class _IStateMachineProxy(
7124
7160
  account=account,
7125
7161
  color=color,
7126
7162
  dimensions_map=dimensions_map,
7163
+ id=id,
7127
7164
  label=label,
7128
7165
  period=period,
7129
7166
  region=region,
@@ -7131,6 +7168,7 @@ class _IStateMachineProxy(
7131
7168
  stack_region=stack_region,
7132
7169
  statistic=statistic,
7133
7170
  unit=unit,
7171
+ visible=visible,
7134
7172
  )
7135
7173
 
7136
7174
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metric", [metric_name, props]))
@@ -7142,6 +7180,7 @@ class _IStateMachineProxy(
7142
7180
  account: typing.Optional[builtins.str] = None,
7143
7181
  color: typing.Optional[builtins.str] = None,
7144
7182
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
7183
+ id: typing.Optional[builtins.str] = None,
7145
7184
  label: typing.Optional[builtins.str] = None,
7146
7185
  period: typing.Optional[_Duration_4839e8c3] = None,
7147
7186
  region: typing.Optional[builtins.str] = None,
@@ -7149,12 +7188,14 @@ class _IStateMachineProxy(
7149
7188
  stack_region: typing.Optional[builtins.str] = None,
7150
7189
  statistic: typing.Optional[builtins.str] = None,
7151
7190
  unit: typing.Optional[_Unit_61bc6f70] = None,
7191
+ visible: typing.Optional[builtins.bool] = None,
7152
7192
  ) -> _Metric_e396a4dc:
7153
7193
  '''Metric for the number of executions that were aborted.
7154
7194
 
7155
7195
  :param account: Account which this metric comes from. Default: - Deployment account.
7156
7196
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
7157
7197
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
7198
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
7158
7199
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
7159
7200
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
7160
7201
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -7162,6 +7203,7 @@ class _IStateMachineProxy(
7162
7203
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
7163
7204
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
7164
7205
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
7206
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
7165
7207
 
7166
7208
  :default: - sum over 5 minutes
7167
7209
  '''
@@ -7169,6 +7211,7 @@ class _IStateMachineProxy(
7169
7211
  account=account,
7170
7212
  color=color,
7171
7213
  dimensions_map=dimensions_map,
7214
+ id=id,
7172
7215
  label=label,
7173
7216
  period=period,
7174
7217
  region=region,
@@ -7176,6 +7219,7 @@ class _IStateMachineProxy(
7176
7219
  stack_region=stack_region,
7177
7220
  statistic=statistic,
7178
7221
  unit=unit,
7222
+ visible=visible,
7179
7223
  )
7180
7224
 
7181
7225
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricAborted", [props]))
@@ -7187,6 +7231,7 @@ class _IStateMachineProxy(
7187
7231
  account: typing.Optional[builtins.str] = None,
7188
7232
  color: typing.Optional[builtins.str] = None,
7189
7233
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
7234
+ id: typing.Optional[builtins.str] = None,
7190
7235
  label: typing.Optional[builtins.str] = None,
7191
7236
  period: typing.Optional[_Duration_4839e8c3] = None,
7192
7237
  region: typing.Optional[builtins.str] = None,
@@ -7194,12 +7239,14 @@ class _IStateMachineProxy(
7194
7239
  stack_region: typing.Optional[builtins.str] = None,
7195
7240
  statistic: typing.Optional[builtins.str] = None,
7196
7241
  unit: typing.Optional[_Unit_61bc6f70] = None,
7242
+ visible: typing.Optional[builtins.bool] = None,
7197
7243
  ) -> _Metric_e396a4dc:
7198
7244
  '''Metric for the number of executions that failed.
7199
7245
 
7200
7246
  :param account: Account which this metric comes from. Default: - Deployment account.
7201
7247
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
7202
7248
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
7249
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
7203
7250
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
7204
7251
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
7205
7252
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -7207,6 +7254,7 @@ class _IStateMachineProxy(
7207
7254
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
7208
7255
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
7209
7256
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
7257
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
7210
7258
 
7211
7259
  :default: - sum over 5 minutes
7212
7260
  '''
@@ -7214,6 +7262,7 @@ class _IStateMachineProxy(
7214
7262
  account=account,
7215
7263
  color=color,
7216
7264
  dimensions_map=dimensions_map,
7265
+ id=id,
7217
7266
  label=label,
7218
7267
  period=period,
7219
7268
  region=region,
@@ -7221,6 +7270,7 @@ class _IStateMachineProxy(
7221
7270
  stack_region=stack_region,
7222
7271
  statistic=statistic,
7223
7272
  unit=unit,
7273
+ visible=visible,
7224
7274
  )
7225
7275
 
7226
7276
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricFailed", [props]))
@@ -7232,6 +7282,7 @@ class _IStateMachineProxy(
7232
7282
  account: typing.Optional[builtins.str] = None,
7233
7283
  color: typing.Optional[builtins.str] = None,
7234
7284
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
7285
+ id: typing.Optional[builtins.str] = None,
7235
7286
  label: typing.Optional[builtins.str] = None,
7236
7287
  period: typing.Optional[_Duration_4839e8c3] = None,
7237
7288
  region: typing.Optional[builtins.str] = None,
@@ -7239,12 +7290,14 @@ class _IStateMachineProxy(
7239
7290
  stack_region: typing.Optional[builtins.str] = None,
7240
7291
  statistic: typing.Optional[builtins.str] = None,
7241
7292
  unit: typing.Optional[_Unit_61bc6f70] = None,
7293
+ visible: typing.Optional[builtins.bool] = None,
7242
7294
  ) -> _Metric_e396a4dc:
7243
7295
  '''Metric for the number of executions that were started.
7244
7296
 
7245
7297
  :param account: Account which this metric comes from. Default: - Deployment account.
7246
7298
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
7247
7299
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
7300
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
7248
7301
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
7249
7302
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
7250
7303
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -7252,6 +7305,7 @@ class _IStateMachineProxy(
7252
7305
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
7253
7306
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
7254
7307
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
7308
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
7255
7309
 
7256
7310
  :default: - sum over 5 minutes
7257
7311
  '''
@@ -7259,6 +7313,7 @@ class _IStateMachineProxy(
7259
7313
  account=account,
7260
7314
  color=color,
7261
7315
  dimensions_map=dimensions_map,
7316
+ id=id,
7262
7317
  label=label,
7263
7318
  period=period,
7264
7319
  region=region,
@@ -7266,6 +7321,7 @@ class _IStateMachineProxy(
7266
7321
  stack_region=stack_region,
7267
7322
  statistic=statistic,
7268
7323
  unit=unit,
7324
+ visible=visible,
7269
7325
  )
7270
7326
 
7271
7327
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricStarted", [props]))
@@ -7277,6 +7333,7 @@ class _IStateMachineProxy(
7277
7333
  account: typing.Optional[builtins.str] = None,
7278
7334
  color: typing.Optional[builtins.str] = None,
7279
7335
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
7336
+ id: typing.Optional[builtins.str] = None,
7280
7337
  label: typing.Optional[builtins.str] = None,
7281
7338
  period: typing.Optional[_Duration_4839e8c3] = None,
7282
7339
  region: typing.Optional[builtins.str] = None,
@@ -7284,12 +7341,14 @@ class _IStateMachineProxy(
7284
7341
  stack_region: typing.Optional[builtins.str] = None,
7285
7342
  statistic: typing.Optional[builtins.str] = None,
7286
7343
  unit: typing.Optional[_Unit_61bc6f70] = None,
7344
+ visible: typing.Optional[builtins.bool] = None,
7287
7345
  ) -> _Metric_e396a4dc:
7288
7346
  '''Metric for the number of executions that succeeded.
7289
7347
 
7290
7348
  :param account: Account which this metric comes from. Default: - Deployment account.
7291
7349
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
7292
7350
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
7351
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
7293
7352
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
7294
7353
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
7295
7354
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -7297,6 +7356,7 @@ class _IStateMachineProxy(
7297
7356
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
7298
7357
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
7299
7358
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
7359
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
7300
7360
 
7301
7361
  :default: - sum over 5 minutes
7302
7362
  '''
@@ -7304,6 +7364,7 @@ class _IStateMachineProxy(
7304
7364
  account=account,
7305
7365
  color=color,
7306
7366
  dimensions_map=dimensions_map,
7367
+ id=id,
7307
7368
  label=label,
7308
7369
  period=period,
7309
7370
  region=region,
@@ -7311,6 +7372,7 @@ class _IStateMachineProxy(
7311
7372
  stack_region=stack_region,
7312
7373
  statistic=statistic,
7313
7374
  unit=unit,
7375
+ visible=visible,
7314
7376
  )
7315
7377
 
7316
7378
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricSucceeded", [props]))
@@ -7322,6 +7384,7 @@ class _IStateMachineProxy(
7322
7384
  account: typing.Optional[builtins.str] = None,
7323
7385
  color: typing.Optional[builtins.str] = None,
7324
7386
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
7387
+ id: typing.Optional[builtins.str] = None,
7325
7388
  label: typing.Optional[builtins.str] = None,
7326
7389
  period: typing.Optional[_Duration_4839e8c3] = None,
7327
7390
  region: typing.Optional[builtins.str] = None,
@@ -7329,12 +7392,14 @@ class _IStateMachineProxy(
7329
7392
  stack_region: typing.Optional[builtins.str] = None,
7330
7393
  statistic: typing.Optional[builtins.str] = None,
7331
7394
  unit: typing.Optional[_Unit_61bc6f70] = None,
7395
+ visible: typing.Optional[builtins.bool] = None,
7332
7396
  ) -> _Metric_e396a4dc:
7333
7397
  '''Metric for the number of executions that were throttled.
7334
7398
 
7335
7399
  :param account: Account which this metric comes from. Default: - Deployment account.
7336
7400
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
7337
7401
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
7402
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
7338
7403
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
7339
7404
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
7340
7405
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -7342,6 +7407,7 @@ class _IStateMachineProxy(
7342
7407
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
7343
7408
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
7344
7409
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
7410
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
7345
7411
 
7346
7412
  :default: sum over 5 minutes
7347
7413
  '''
@@ -7349,6 +7415,7 @@ class _IStateMachineProxy(
7349
7415
  account=account,
7350
7416
  color=color,
7351
7417
  dimensions_map=dimensions_map,
7418
+ id=id,
7352
7419
  label=label,
7353
7420
  period=period,
7354
7421
  region=region,
@@ -7356,6 +7423,7 @@ class _IStateMachineProxy(
7356
7423
  stack_region=stack_region,
7357
7424
  statistic=statistic,
7358
7425
  unit=unit,
7426
+ visible=visible,
7359
7427
  )
7360
7428
 
7361
7429
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricThrottled", [props]))
@@ -7367,6 +7435,7 @@ class _IStateMachineProxy(
7367
7435
  account: typing.Optional[builtins.str] = None,
7368
7436
  color: typing.Optional[builtins.str] = None,
7369
7437
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
7438
+ id: typing.Optional[builtins.str] = None,
7370
7439
  label: typing.Optional[builtins.str] = None,
7371
7440
  period: typing.Optional[_Duration_4839e8c3] = None,
7372
7441
  region: typing.Optional[builtins.str] = None,
@@ -7374,12 +7443,14 @@ class _IStateMachineProxy(
7374
7443
  stack_region: typing.Optional[builtins.str] = None,
7375
7444
  statistic: typing.Optional[builtins.str] = None,
7376
7445
  unit: typing.Optional[_Unit_61bc6f70] = None,
7446
+ visible: typing.Optional[builtins.bool] = None,
7377
7447
  ) -> _Metric_e396a4dc:
7378
7448
  '''Metric for the interval, in milliseconds, between the time the execution starts and the time it closes.
7379
7449
 
7380
7450
  :param account: Account which this metric comes from. Default: - Deployment account.
7381
7451
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
7382
7452
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
7453
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
7383
7454
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
7384
7455
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
7385
7456
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -7387,6 +7458,7 @@ class _IStateMachineProxy(
7387
7458
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
7388
7459
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
7389
7460
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
7461
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
7390
7462
 
7391
7463
  :default: - sum over 5 minutes
7392
7464
  '''
@@ -7394,6 +7466,7 @@ class _IStateMachineProxy(
7394
7466
  account=account,
7395
7467
  color=color,
7396
7468
  dimensions_map=dimensions_map,
7469
+ id=id,
7397
7470
  label=label,
7398
7471
  period=period,
7399
7472
  region=region,
@@ -7401,6 +7474,7 @@ class _IStateMachineProxy(
7401
7474
  stack_region=stack_region,
7402
7475
  statistic=statistic,
7403
7476
  unit=unit,
7477
+ visible=visible,
7404
7478
  )
7405
7479
 
7406
7480
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricTime", [props]))
@@ -7412,6 +7486,7 @@ class _IStateMachineProxy(
7412
7486
  account: typing.Optional[builtins.str] = None,
7413
7487
  color: typing.Optional[builtins.str] = None,
7414
7488
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
7489
+ id: typing.Optional[builtins.str] = None,
7415
7490
  label: typing.Optional[builtins.str] = None,
7416
7491
  period: typing.Optional[_Duration_4839e8c3] = None,
7417
7492
  region: typing.Optional[builtins.str] = None,
@@ -7419,12 +7494,14 @@ class _IStateMachineProxy(
7419
7494
  stack_region: typing.Optional[builtins.str] = None,
7420
7495
  statistic: typing.Optional[builtins.str] = None,
7421
7496
  unit: typing.Optional[_Unit_61bc6f70] = None,
7497
+ visible: typing.Optional[builtins.bool] = None,
7422
7498
  ) -> _Metric_e396a4dc:
7423
7499
  '''Metric for the number of executions that timed out.
7424
7500
 
7425
7501
  :param account: Account which this metric comes from. Default: - Deployment account.
7426
7502
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
7427
7503
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
7504
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
7428
7505
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
7429
7506
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
7430
7507
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -7432,6 +7509,7 @@ class _IStateMachineProxy(
7432
7509
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
7433
7510
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
7434
7511
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
7512
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
7435
7513
 
7436
7514
  :default: - sum over 5 minutes
7437
7515
  '''
@@ -7439,6 +7517,7 @@ class _IStateMachineProxy(
7439
7517
  account=account,
7440
7518
  color=color,
7441
7519
  dimensions_map=dimensions_map,
7520
+ id=id,
7442
7521
  label=label,
7443
7522
  period=period,
7444
7523
  region=region,
@@ -7446,6 +7525,7 @@ class _IStateMachineProxy(
7446
7525
  stack_region=stack_region,
7447
7526
  statistic=statistic,
7448
7527
  unit=unit,
7528
+ visible=visible,
7449
7529
  )
7450
7530
 
7451
7531
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricTimedOut", [props]))
@@ -11984,6 +12064,7 @@ class StateMachine(
11984
12064
  account: typing.Optional[builtins.str] = None,
11985
12065
  color: typing.Optional[builtins.str] = None,
11986
12066
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
12067
+ id: typing.Optional[builtins.str] = None,
11987
12068
  label: typing.Optional[builtins.str] = None,
11988
12069
  period: typing.Optional[_Duration_4839e8c3] = None,
11989
12070
  region: typing.Optional[builtins.str] = None,
@@ -11991,6 +12072,7 @@ class StateMachine(
11991
12072
  stack_region: typing.Optional[builtins.str] = None,
11992
12073
  statistic: typing.Optional[builtins.str] = None,
11993
12074
  unit: typing.Optional[_Unit_61bc6f70] = None,
12075
+ visible: typing.Optional[builtins.bool] = None,
11994
12076
  ) -> _Metric_e396a4dc:
11995
12077
  '''Return the given named metric for this State Machine's executions.
11996
12078
 
@@ -11998,6 +12080,7 @@ class StateMachine(
11998
12080
  :param account: Account which this metric comes from. Default: - Deployment account.
11999
12081
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
12000
12082
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
12083
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
12001
12084
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
12002
12085
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
12003
12086
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -12005,6 +12088,7 @@ class StateMachine(
12005
12088
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
12006
12089
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
12007
12090
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
12091
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
12008
12092
 
12009
12093
  :default: - sum over 5 minutes
12010
12094
  '''
@@ -12015,6 +12099,7 @@ class StateMachine(
12015
12099
  account=account,
12016
12100
  color=color,
12017
12101
  dimensions_map=dimensions_map,
12102
+ id=id,
12018
12103
  label=label,
12019
12104
  period=period,
12020
12105
  region=region,
@@ -12022,6 +12107,7 @@ class StateMachine(
12022
12107
  stack_region=stack_region,
12023
12108
  statistic=statistic,
12024
12109
  unit=unit,
12110
+ visible=visible,
12025
12111
  )
12026
12112
 
12027
12113
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metric", [metric_name, props]))
@@ -12033,6 +12119,7 @@ class StateMachine(
12033
12119
  account: typing.Optional[builtins.str] = None,
12034
12120
  color: typing.Optional[builtins.str] = None,
12035
12121
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
12122
+ id: typing.Optional[builtins.str] = None,
12036
12123
  label: typing.Optional[builtins.str] = None,
12037
12124
  period: typing.Optional[_Duration_4839e8c3] = None,
12038
12125
  region: typing.Optional[builtins.str] = None,
@@ -12040,12 +12127,14 @@ class StateMachine(
12040
12127
  stack_region: typing.Optional[builtins.str] = None,
12041
12128
  statistic: typing.Optional[builtins.str] = None,
12042
12129
  unit: typing.Optional[_Unit_61bc6f70] = None,
12130
+ visible: typing.Optional[builtins.bool] = None,
12043
12131
  ) -> _Metric_e396a4dc:
12044
12132
  '''Metric for the number of executions that were aborted.
12045
12133
 
12046
12134
  :param account: Account which this metric comes from. Default: - Deployment account.
12047
12135
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
12048
12136
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
12137
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
12049
12138
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
12050
12139
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
12051
12140
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -12053,6 +12142,7 @@ class StateMachine(
12053
12142
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
12054
12143
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
12055
12144
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
12145
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
12056
12146
 
12057
12147
  :default: - sum over 5 minutes
12058
12148
  '''
@@ -12060,6 +12150,7 @@ class StateMachine(
12060
12150
  account=account,
12061
12151
  color=color,
12062
12152
  dimensions_map=dimensions_map,
12153
+ id=id,
12063
12154
  label=label,
12064
12155
  period=period,
12065
12156
  region=region,
@@ -12067,6 +12158,7 @@ class StateMachine(
12067
12158
  stack_region=stack_region,
12068
12159
  statistic=statistic,
12069
12160
  unit=unit,
12161
+ visible=visible,
12070
12162
  )
12071
12163
 
12072
12164
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricAborted", [props]))
@@ -12078,6 +12170,7 @@ class StateMachine(
12078
12170
  account: typing.Optional[builtins.str] = None,
12079
12171
  color: typing.Optional[builtins.str] = None,
12080
12172
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
12173
+ id: typing.Optional[builtins.str] = None,
12081
12174
  label: typing.Optional[builtins.str] = None,
12082
12175
  period: typing.Optional[_Duration_4839e8c3] = None,
12083
12176
  region: typing.Optional[builtins.str] = None,
@@ -12085,12 +12178,14 @@ class StateMachine(
12085
12178
  stack_region: typing.Optional[builtins.str] = None,
12086
12179
  statistic: typing.Optional[builtins.str] = None,
12087
12180
  unit: typing.Optional[_Unit_61bc6f70] = None,
12181
+ visible: typing.Optional[builtins.bool] = None,
12088
12182
  ) -> _Metric_e396a4dc:
12089
12183
  '''Metric for the number of executions that failed.
12090
12184
 
12091
12185
  :param account: Account which this metric comes from. Default: - Deployment account.
12092
12186
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
12093
12187
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
12188
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
12094
12189
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
12095
12190
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
12096
12191
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -12098,6 +12193,7 @@ class StateMachine(
12098
12193
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
12099
12194
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
12100
12195
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
12196
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
12101
12197
 
12102
12198
  :default: - sum over 5 minutes
12103
12199
  '''
@@ -12105,6 +12201,7 @@ class StateMachine(
12105
12201
  account=account,
12106
12202
  color=color,
12107
12203
  dimensions_map=dimensions_map,
12204
+ id=id,
12108
12205
  label=label,
12109
12206
  period=period,
12110
12207
  region=region,
@@ -12112,6 +12209,7 @@ class StateMachine(
12112
12209
  stack_region=stack_region,
12113
12210
  statistic=statistic,
12114
12211
  unit=unit,
12212
+ visible=visible,
12115
12213
  )
12116
12214
 
12117
12215
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricFailed", [props]))
@@ -12123,6 +12221,7 @@ class StateMachine(
12123
12221
  account: typing.Optional[builtins.str] = None,
12124
12222
  color: typing.Optional[builtins.str] = None,
12125
12223
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
12224
+ id: typing.Optional[builtins.str] = None,
12126
12225
  label: typing.Optional[builtins.str] = None,
12127
12226
  period: typing.Optional[_Duration_4839e8c3] = None,
12128
12227
  region: typing.Optional[builtins.str] = None,
@@ -12130,12 +12229,14 @@ class StateMachine(
12130
12229
  stack_region: typing.Optional[builtins.str] = None,
12131
12230
  statistic: typing.Optional[builtins.str] = None,
12132
12231
  unit: typing.Optional[_Unit_61bc6f70] = None,
12232
+ visible: typing.Optional[builtins.bool] = None,
12133
12233
  ) -> _Metric_e396a4dc:
12134
12234
  '''Metric for the number of executions that were started.
12135
12235
 
12136
12236
  :param account: Account which this metric comes from. Default: - Deployment account.
12137
12237
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
12138
12238
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
12239
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
12139
12240
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
12140
12241
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
12141
12242
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -12143,6 +12244,7 @@ class StateMachine(
12143
12244
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
12144
12245
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
12145
12246
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
12247
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
12146
12248
 
12147
12249
  :default: - sum over 5 minutes
12148
12250
  '''
@@ -12150,6 +12252,7 @@ class StateMachine(
12150
12252
  account=account,
12151
12253
  color=color,
12152
12254
  dimensions_map=dimensions_map,
12255
+ id=id,
12153
12256
  label=label,
12154
12257
  period=period,
12155
12258
  region=region,
@@ -12157,6 +12260,7 @@ class StateMachine(
12157
12260
  stack_region=stack_region,
12158
12261
  statistic=statistic,
12159
12262
  unit=unit,
12263
+ visible=visible,
12160
12264
  )
12161
12265
 
12162
12266
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricStarted", [props]))
@@ -12168,6 +12272,7 @@ class StateMachine(
12168
12272
  account: typing.Optional[builtins.str] = None,
12169
12273
  color: typing.Optional[builtins.str] = None,
12170
12274
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
12275
+ id: typing.Optional[builtins.str] = None,
12171
12276
  label: typing.Optional[builtins.str] = None,
12172
12277
  period: typing.Optional[_Duration_4839e8c3] = None,
12173
12278
  region: typing.Optional[builtins.str] = None,
@@ -12175,12 +12280,14 @@ class StateMachine(
12175
12280
  stack_region: typing.Optional[builtins.str] = None,
12176
12281
  statistic: typing.Optional[builtins.str] = None,
12177
12282
  unit: typing.Optional[_Unit_61bc6f70] = None,
12283
+ visible: typing.Optional[builtins.bool] = None,
12178
12284
  ) -> _Metric_e396a4dc:
12179
12285
  '''Metric for the number of executions that succeeded.
12180
12286
 
12181
12287
  :param account: Account which this metric comes from. Default: - Deployment account.
12182
12288
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
12183
12289
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
12290
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
12184
12291
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
12185
12292
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
12186
12293
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -12188,6 +12295,7 @@ class StateMachine(
12188
12295
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
12189
12296
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
12190
12297
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
12298
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
12191
12299
 
12192
12300
  :default: - sum over 5 minutes
12193
12301
  '''
@@ -12195,6 +12303,7 @@ class StateMachine(
12195
12303
  account=account,
12196
12304
  color=color,
12197
12305
  dimensions_map=dimensions_map,
12306
+ id=id,
12198
12307
  label=label,
12199
12308
  period=period,
12200
12309
  region=region,
@@ -12202,6 +12311,7 @@ class StateMachine(
12202
12311
  stack_region=stack_region,
12203
12312
  statistic=statistic,
12204
12313
  unit=unit,
12314
+ visible=visible,
12205
12315
  )
12206
12316
 
12207
12317
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricSucceeded", [props]))
@@ -12213,6 +12323,7 @@ class StateMachine(
12213
12323
  account: typing.Optional[builtins.str] = None,
12214
12324
  color: typing.Optional[builtins.str] = None,
12215
12325
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
12326
+ id: typing.Optional[builtins.str] = None,
12216
12327
  label: typing.Optional[builtins.str] = None,
12217
12328
  period: typing.Optional[_Duration_4839e8c3] = None,
12218
12329
  region: typing.Optional[builtins.str] = None,
@@ -12220,12 +12331,14 @@ class StateMachine(
12220
12331
  stack_region: typing.Optional[builtins.str] = None,
12221
12332
  statistic: typing.Optional[builtins.str] = None,
12222
12333
  unit: typing.Optional[_Unit_61bc6f70] = None,
12334
+ visible: typing.Optional[builtins.bool] = None,
12223
12335
  ) -> _Metric_e396a4dc:
12224
12336
  '''Metric for the number of executions that were throttled.
12225
12337
 
12226
12338
  :param account: Account which this metric comes from. Default: - Deployment account.
12227
12339
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
12228
12340
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
12341
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
12229
12342
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
12230
12343
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
12231
12344
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -12233,6 +12346,7 @@ class StateMachine(
12233
12346
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
12234
12347
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
12235
12348
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
12349
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
12236
12350
 
12237
12351
  :default: - sum over 5 minutes
12238
12352
  '''
@@ -12240,6 +12354,7 @@ class StateMachine(
12240
12354
  account=account,
12241
12355
  color=color,
12242
12356
  dimensions_map=dimensions_map,
12357
+ id=id,
12243
12358
  label=label,
12244
12359
  period=period,
12245
12360
  region=region,
@@ -12247,6 +12362,7 @@ class StateMachine(
12247
12362
  stack_region=stack_region,
12248
12363
  statistic=statistic,
12249
12364
  unit=unit,
12365
+ visible=visible,
12250
12366
  )
12251
12367
 
12252
12368
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricThrottled", [props]))
@@ -12258,6 +12374,7 @@ class StateMachine(
12258
12374
  account: typing.Optional[builtins.str] = None,
12259
12375
  color: typing.Optional[builtins.str] = None,
12260
12376
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
12377
+ id: typing.Optional[builtins.str] = None,
12261
12378
  label: typing.Optional[builtins.str] = None,
12262
12379
  period: typing.Optional[_Duration_4839e8c3] = None,
12263
12380
  region: typing.Optional[builtins.str] = None,
@@ -12265,12 +12382,14 @@ class StateMachine(
12265
12382
  stack_region: typing.Optional[builtins.str] = None,
12266
12383
  statistic: typing.Optional[builtins.str] = None,
12267
12384
  unit: typing.Optional[_Unit_61bc6f70] = None,
12385
+ visible: typing.Optional[builtins.bool] = None,
12268
12386
  ) -> _Metric_e396a4dc:
12269
12387
  '''Metric for the interval, in milliseconds, between the time the execution starts and the time it closes.
12270
12388
 
12271
12389
  :param account: Account which this metric comes from. Default: - Deployment account.
12272
12390
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
12273
12391
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
12392
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
12274
12393
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
12275
12394
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
12276
12395
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -12278,6 +12397,7 @@ class StateMachine(
12278
12397
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
12279
12398
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
12280
12399
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
12400
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
12281
12401
 
12282
12402
  :default: - average over 5 minutes
12283
12403
  '''
@@ -12285,6 +12405,7 @@ class StateMachine(
12285
12405
  account=account,
12286
12406
  color=color,
12287
12407
  dimensions_map=dimensions_map,
12408
+ id=id,
12288
12409
  label=label,
12289
12410
  period=period,
12290
12411
  region=region,
@@ -12292,6 +12413,7 @@ class StateMachine(
12292
12413
  stack_region=stack_region,
12293
12414
  statistic=statistic,
12294
12415
  unit=unit,
12416
+ visible=visible,
12295
12417
  )
12296
12418
 
12297
12419
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricTime", [props]))
@@ -12303,6 +12425,7 @@ class StateMachine(
12303
12425
  account: typing.Optional[builtins.str] = None,
12304
12426
  color: typing.Optional[builtins.str] = None,
12305
12427
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
12428
+ id: typing.Optional[builtins.str] = None,
12306
12429
  label: typing.Optional[builtins.str] = None,
12307
12430
  period: typing.Optional[_Duration_4839e8c3] = None,
12308
12431
  region: typing.Optional[builtins.str] = None,
@@ -12310,12 +12433,14 @@ class StateMachine(
12310
12433
  stack_region: typing.Optional[builtins.str] = None,
12311
12434
  statistic: typing.Optional[builtins.str] = None,
12312
12435
  unit: typing.Optional[_Unit_61bc6f70] = None,
12436
+ visible: typing.Optional[builtins.bool] = None,
12313
12437
  ) -> _Metric_e396a4dc:
12314
12438
  '''Metric for the number of executions that timed out.
12315
12439
 
12316
12440
  :param account: Account which this metric comes from. Default: - Deployment account.
12317
12441
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
12318
12442
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
12443
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
12319
12444
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
12320
12445
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
12321
12446
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -12323,6 +12448,7 @@ class StateMachine(
12323
12448
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
12324
12449
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
12325
12450
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
12451
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
12326
12452
 
12327
12453
  :default: - sum over 5 minutes
12328
12454
  '''
@@ -12330,6 +12456,7 @@ class StateMachine(
12330
12456
  account=account,
12331
12457
  color=color,
12332
12458
  dimensions_map=dimensions_map,
12459
+ id=id,
12333
12460
  label=label,
12334
12461
  period=period,
12335
12462
  region=region,
@@ -12337,6 +12464,7 @@ class StateMachine(
12337
12464
  stack_region=stack_region,
12338
12465
  statistic=statistic,
12339
12466
  unit=unit,
12467
+ visible=visible,
12340
12468
  )
12341
12469
 
12342
12470
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricTimedOut", [props]))
@@ -13156,6 +13284,7 @@ class StateTransitionMetric(
13156
13284
  account: typing.Optional[builtins.str] = None,
13157
13285
  color: typing.Optional[builtins.str] = None,
13158
13286
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
13287
+ id: typing.Optional[builtins.str] = None,
13159
13288
  label: typing.Optional[builtins.str] = None,
13160
13289
  period: typing.Optional[_Duration_4839e8c3] = None,
13161
13290
  region: typing.Optional[builtins.str] = None,
@@ -13163,6 +13292,7 @@ class StateTransitionMetric(
13163
13292
  stack_region: typing.Optional[builtins.str] = None,
13164
13293
  statistic: typing.Optional[builtins.str] = None,
13165
13294
  unit: typing.Optional[_Unit_61bc6f70] = None,
13295
+ visible: typing.Optional[builtins.bool] = None,
13166
13296
  ) -> _Metric_e396a4dc:
13167
13297
  '''Return the given named metric for the service's state transition metrics.
13168
13298
 
@@ -13170,6 +13300,7 @@ class StateTransitionMetric(
13170
13300
  :param account: Account which this metric comes from. Default: - Deployment account.
13171
13301
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
13172
13302
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
13303
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
13173
13304
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
13174
13305
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
13175
13306
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -13177,6 +13308,7 @@ class StateTransitionMetric(
13177
13308
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
13178
13309
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
13179
13310
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
13311
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
13180
13312
 
13181
13313
  :default: average over 5 minutes
13182
13314
  '''
@@ -13187,6 +13319,7 @@ class StateTransitionMetric(
13187
13319
  account=account,
13188
13320
  color=color,
13189
13321
  dimensions_map=dimensions_map,
13322
+ id=id,
13190
13323
  label=label,
13191
13324
  period=period,
13192
13325
  region=region,
@@ -13194,6 +13327,7 @@ class StateTransitionMetric(
13194
13327
  stack_region=stack_region,
13195
13328
  statistic=statistic,
13196
13329
  unit=unit,
13330
+ visible=visible,
13197
13331
  )
13198
13332
 
13199
13333
  return typing.cast(_Metric_e396a4dc, jsii.sinvoke(cls, "metric", [metric_name, props]))
@@ -13206,6 +13340,7 @@ class StateTransitionMetric(
13206
13340
  account: typing.Optional[builtins.str] = None,
13207
13341
  color: typing.Optional[builtins.str] = None,
13208
13342
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
13343
+ id: typing.Optional[builtins.str] = None,
13209
13344
  label: typing.Optional[builtins.str] = None,
13210
13345
  period: typing.Optional[_Duration_4839e8c3] = None,
13211
13346
  region: typing.Optional[builtins.str] = None,
@@ -13213,12 +13348,14 @@ class StateTransitionMetric(
13213
13348
  stack_region: typing.Optional[builtins.str] = None,
13214
13349
  statistic: typing.Optional[builtins.str] = None,
13215
13350
  unit: typing.Optional[_Unit_61bc6f70] = None,
13351
+ visible: typing.Optional[builtins.bool] = None,
13216
13352
  ) -> _Metric_e396a4dc:
13217
13353
  '''Metric for the number of available state transitions per second.
13218
13354
 
13219
13355
  :param account: Account which this metric comes from. Default: - Deployment account.
13220
13356
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
13221
13357
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
13358
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
13222
13359
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
13223
13360
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
13224
13361
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -13226,6 +13363,7 @@ class StateTransitionMetric(
13226
13363
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
13227
13364
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
13228
13365
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
13366
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
13229
13367
 
13230
13368
  :default: average over 5 minutes
13231
13369
  '''
@@ -13233,6 +13371,7 @@ class StateTransitionMetric(
13233
13371
  account=account,
13234
13372
  color=color,
13235
13373
  dimensions_map=dimensions_map,
13374
+ id=id,
13236
13375
  label=label,
13237
13376
  period=period,
13238
13377
  region=region,
@@ -13240,6 +13379,7 @@ class StateTransitionMetric(
13240
13379
  stack_region=stack_region,
13241
13380
  statistic=statistic,
13242
13381
  unit=unit,
13382
+ visible=visible,
13243
13383
  )
13244
13384
 
13245
13385
  return typing.cast(_Metric_e396a4dc, jsii.sinvoke(cls, "metricConsumedCapacity", [props]))
@@ -13252,6 +13392,7 @@ class StateTransitionMetric(
13252
13392
  account: typing.Optional[builtins.str] = None,
13253
13393
  color: typing.Optional[builtins.str] = None,
13254
13394
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
13395
+ id: typing.Optional[builtins.str] = None,
13255
13396
  label: typing.Optional[builtins.str] = None,
13256
13397
  period: typing.Optional[_Duration_4839e8c3] = None,
13257
13398
  region: typing.Optional[builtins.str] = None,
@@ -13259,12 +13400,14 @@ class StateTransitionMetric(
13259
13400
  stack_region: typing.Optional[builtins.str] = None,
13260
13401
  statistic: typing.Optional[builtins.str] = None,
13261
13402
  unit: typing.Optional[_Unit_61bc6f70] = None,
13403
+ visible: typing.Optional[builtins.bool] = None,
13262
13404
  ) -> _Metric_e396a4dc:
13263
13405
  '''Metric for the number of available state transitions.
13264
13406
 
13265
13407
  :param account: Account which this metric comes from. Default: - Deployment account.
13266
13408
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
13267
13409
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
13410
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
13268
13411
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
13269
13412
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
13270
13413
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -13272,6 +13415,7 @@ class StateTransitionMetric(
13272
13415
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
13273
13416
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
13274
13417
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
13418
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
13275
13419
 
13276
13420
  :default: average over 5 minutes
13277
13421
  '''
@@ -13279,6 +13423,7 @@ class StateTransitionMetric(
13279
13423
  account=account,
13280
13424
  color=color,
13281
13425
  dimensions_map=dimensions_map,
13426
+ id=id,
13282
13427
  label=label,
13283
13428
  period=period,
13284
13429
  region=region,
@@ -13286,6 +13431,7 @@ class StateTransitionMetric(
13286
13431
  stack_region=stack_region,
13287
13432
  statistic=statistic,
13288
13433
  unit=unit,
13434
+ visible=visible,
13289
13435
  )
13290
13436
 
13291
13437
  return typing.cast(_Metric_e396a4dc, jsii.sinvoke(cls, "metricProvisionedBucketSize", [props]))
@@ -13298,6 +13444,7 @@ class StateTransitionMetric(
13298
13444
  account: typing.Optional[builtins.str] = None,
13299
13445
  color: typing.Optional[builtins.str] = None,
13300
13446
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
13447
+ id: typing.Optional[builtins.str] = None,
13301
13448
  label: typing.Optional[builtins.str] = None,
13302
13449
  period: typing.Optional[_Duration_4839e8c3] = None,
13303
13450
  region: typing.Optional[builtins.str] = None,
@@ -13305,12 +13452,14 @@ class StateTransitionMetric(
13305
13452
  stack_region: typing.Optional[builtins.str] = None,
13306
13453
  statistic: typing.Optional[builtins.str] = None,
13307
13454
  unit: typing.Optional[_Unit_61bc6f70] = None,
13455
+ visible: typing.Optional[builtins.bool] = None,
13308
13456
  ) -> _Metric_e396a4dc:
13309
13457
  '''Metric for the provisioned steady-state execution rate.
13310
13458
 
13311
13459
  :param account: Account which this metric comes from. Default: - Deployment account.
13312
13460
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
13313
13461
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
13462
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
13314
13463
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
13315
13464
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
13316
13465
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -13318,6 +13467,7 @@ class StateTransitionMetric(
13318
13467
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
13319
13468
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
13320
13469
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
13470
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
13321
13471
 
13322
13472
  :default: average over 5 minutes
13323
13473
  '''
@@ -13325,6 +13475,7 @@ class StateTransitionMetric(
13325
13475
  account=account,
13326
13476
  color=color,
13327
13477
  dimensions_map=dimensions_map,
13478
+ id=id,
13328
13479
  label=label,
13329
13480
  period=period,
13330
13481
  region=region,
@@ -13332,6 +13483,7 @@ class StateTransitionMetric(
13332
13483
  stack_region=stack_region,
13333
13484
  statistic=statistic,
13334
13485
  unit=unit,
13486
+ visible=visible,
13335
13487
  )
13336
13488
 
13337
13489
  return typing.cast(_Metric_e396a4dc, jsii.sinvoke(cls, "metricProvisionedRefillRate", [props]))
@@ -13344,6 +13496,7 @@ class StateTransitionMetric(
13344
13496
  account: typing.Optional[builtins.str] = None,
13345
13497
  color: typing.Optional[builtins.str] = None,
13346
13498
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
13499
+ id: typing.Optional[builtins.str] = None,
13347
13500
  label: typing.Optional[builtins.str] = None,
13348
13501
  period: typing.Optional[_Duration_4839e8c3] = None,
13349
13502
  region: typing.Optional[builtins.str] = None,
@@ -13351,12 +13504,14 @@ class StateTransitionMetric(
13351
13504
  stack_region: typing.Optional[builtins.str] = None,
13352
13505
  statistic: typing.Optional[builtins.str] = None,
13353
13506
  unit: typing.Optional[_Unit_61bc6f70] = None,
13507
+ visible: typing.Optional[builtins.bool] = None,
13354
13508
  ) -> _Metric_e396a4dc:
13355
13509
  '''Metric for the number of throttled state transitions.
13356
13510
 
13357
13511
  :param account: Account which this metric comes from. Default: - Deployment account.
13358
13512
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
13359
13513
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
13514
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
13360
13515
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
13361
13516
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
13362
13517
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -13364,6 +13519,7 @@ class StateTransitionMetric(
13364
13519
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
13365
13520
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
13366
13521
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
13522
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
13367
13523
 
13368
13524
  :default: sum over 5 minutes
13369
13525
  '''
@@ -13371,6 +13527,7 @@ class StateTransitionMetric(
13371
13527
  account=account,
13372
13528
  color=color,
13373
13529
  dimensions_map=dimensions_map,
13530
+ id=id,
13374
13531
  label=label,
13375
13532
  period=period,
13376
13533
  region=region,
@@ -13378,6 +13535,7 @@ class StateTransitionMetric(
13378
13535
  stack_region=stack_region,
13379
13536
  statistic=statistic,
13380
13537
  unit=unit,
13538
+ visible=visible,
13381
13539
  )
13382
13540
 
13383
13541
  return typing.cast(_Metric_e396a4dc, jsii.sinvoke(cls, "metricThrottledEvents", [props]))
@@ -14419,6 +14577,7 @@ class TaskStateBase(
14419
14577
  account: typing.Optional[builtins.str] = None,
14420
14578
  color: typing.Optional[builtins.str] = None,
14421
14579
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
14580
+ id: typing.Optional[builtins.str] = None,
14422
14581
  label: typing.Optional[builtins.str] = None,
14423
14582
  period: typing.Optional[_Duration_4839e8c3] = None,
14424
14583
  region: typing.Optional[builtins.str] = None,
@@ -14426,6 +14585,7 @@ class TaskStateBase(
14426
14585
  stack_region: typing.Optional[builtins.str] = None,
14427
14586
  statistic: typing.Optional[builtins.str] = None,
14428
14587
  unit: typing.Optional[_Unit_61bc6f70] = None,
14588
+ visible: typing.Optional[builtins.bool] = None,
14429
14589
  ) -> _Metric_e396a4dc:
14430
14590
  '''Return the given named metric for this Task.
14431
14591
 
@@ -14433,6 +14593,7 @@ class TaskStateBase(
14433
14593
  :param account: Account which this metric comes from. Default: - Deployment account.
14434
14594
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
14435
14595
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
14596
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
14436
14597
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
14437
14598
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
14438
14599
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -14440,6 +14601,7 @@ class TaskStateBase(
14440
14601
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
14441
14602
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
14442
14603
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
14604
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
14443
14605
 
14444
14606
  :default: - sum over 5 minutes
14445
14607
  '''
@@ -14450,6 +14612,7 @@ class TaskStateBase(
14450
14612
  account=account,
14451
14613
  color=color,
14452
14614
  dimensions_map=dimensions_map,
14615
+ id=id,
14453
14616
  label=label,
14454
14617
  period=period,
14455
14618
  region=region,
@@ -14457,6 +14620,7 @@ class TaskStateBase(
14457
14620
  stack_region=stack_region,
14458
14621
  statistic=statistic,
14459
14622
  unit=unit,
14623
+ visible=visible,
14460
14624
  )
14461
14625
 
14462
14626
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metric", [metric_name, props]))
@@ -14468,6 +14632,7 @@ class TaskStateBase(
14468
14632
  account: typing.Optional[builtins.str] = None,
14469
14633
  color: typing.Optional[builtins.str] = None,
14470
14634
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
14635
+ id: typing.Optional[builtins.str] = None,
14471
14636
  label: typing.Optional[builtins.str] = None,
14472
14637
  period: typing.Optional[_Duration_4839e8c3] = None,
14473
14638
  region: typing.Optional[builtins.str] = None,
@@ -14475,12 +14640,14 @@ class TaskStateBase(
14475
14640
  stack_region: typing.Optional[builtins.str] = None,
14476
14641
  statistic: typing.Optional[builtins.str] = None,
14477
14642
  unit: typing.Optional[_Unit_61bc6f70] = None,
14643
+ visible: typing.Optional[builtins.bool] = None,
14478
14644
  ) -> _Metric_e396a4dc:
14479
14645
  '''Metric for the number of times this activity fails.
14480
14646
 
14481
14647
  :param account: Account which this metric comes from. Default: - Deployment account.
14482
14648
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
14483
14649
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
14650
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
14484
14651
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
14485
14652
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
14486
14653
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -14488,6 +14655,7 @@ class TaskStateBase(
14488
14655
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
14489
14656
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
14490
14657
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
14658
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
14491
14659
 
14492
14660
  :default: - sum over 5 minutes
14493
14661
  '''
@@ -14495,6 +14663,7 @@ class TaskStateBase(
14495
14663
  account=account,
14496
14664
  color=color,
14497
14665
  dimensions_map=dimensions_map,
14666
+ id=id,
14498
14667
  label=label,
14499
14668
  period=period,
14500
14669
  region=region,
@@ -14502,6 +14671,7 @@ class TaskStateBase(
14502
14671
  stack_region=stack_region,
14503
14672
  statistic=statistic,
14504
14673
  unit=unit,
14674
+ visible=visible,
14505
14675
  )
14506
14676
 
14507
14677
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricFailed", [props]))
@@ -14513,6 +14683,7 @@ class TaskStateBase(
14513
14683
  account: typing.Optional[builtins.str] = None,
14514
14684
  color: typing.Optional[builtins.str] = None,
14515
14685
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
14686
+ id: typing.Optional[builtins.str] = None,
14516
14687
  label: typing.Optional[builtins.str] = None,
14517
14688
  period: typing.Optional[_Duration_4839e8c3] = None,
14518
14689
  region: typing.Optional[builtins.str] = None,
@@ -14520,12 +14691,14 @@ class TaskStateBase(
14520
14691
  stack_region: typing.Optional[builtins.str] = None,
14521
14692
  statistic: typing.Optional[builtins.str] = None,
14522
14693
  unit: typing.Optional[_Unit_61bc6f70] = None,
14694
+ visible: typing.Optional[builtins.bool] = None,
14523
14695
  ) -> _Metric_e396a4dc:
14524
14696
  '''Metric for the number of times the heartbeat times out for this activity.
14525
14697
 
14526
14698
  :param account: Account which this metric comes from. Default: - Deployment account.
14527
14699
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
14528
14700
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
14701
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
14529
14702
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
14530
14703
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
14531
14704
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -14533,6 +14706,7 @@ class TaskStateBase(
14533
14706
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
14534
14707
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
14535
14708
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
14709
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
14536
14710
 
14537
14711
  :default: - sum over 5 minutes
14538
14712
  '''
@@ -14540,6 +14714,7 @@ class TaskStateBase(
14540
14714
  account=account,
14541
14715
  color=color,
14542
14716
  dimensions_map=dimensions_map,
14717
+ id=id,
14543
14718
  label=label,
14544
14719
  period=period,
14545
14720
  region=region,
@@ -14547,6 +14722,7 @@ class TaskStateBase(
14547
14722
  stack_region=stack_region,
14548
14723
  statistic=statistic,
14549
14724
  unit=unit,
14725
+ visible=visible,
14550
14726
  )
14551
14727
 
14552
14728
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricHeartbeatTimedOut", [props]))
@@ -14558,6 +14734,7 @@ class TaskStateBase(
14558
14734
  account: typing.Optional[builtins.str] = None,
14559
14735
  color: typing.Optional[builtins.str] = None,
14560
14736
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
14737
+ id: typing.Optional[builtins.str] = None,
14561
14738
  label: typing.Optional[builtins.str] = None,
14562
14739
  period: typing.Optional[_Duration_4839e8c3] = None,
14563
14740
  region: typing.Optional[builtins.str] = None,
@@ -14565,12 +14742,14 @@ class TaskStateBase(
14565
14742
  stack_region: typing.Optional[builtins.str] = None,
14566
14743
  statistic: typing.Optional[builtins.str] = None,
14567
14744
  unit: typing.Optional[_Unit_61bc6f70] = None,
14745
+ visible: typing.Optional[builtins.bool] = None,
14568
14746
  ) -> _Metric_e396a4dc:
14569
14747
  '''The interval, in milliseconds, between the time the Task starts and the time it closes.
14570
14748
 
14571
14749
  :param account: Account which this metric comes from. Default: - Deployment account.
14572
14750
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
14573
14751
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
14752
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
14574
14753
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
14575
14754
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
14576
14755
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -14578,6 +14757,7 @@ class TaskStateBase(
14578
14757
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
14579
14758
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
14580
14759
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
14760
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
14581
14761
 
14582
14762
  :default: - average over 5 minutes
14583
14763
  '''
@@ -14585,6 +14765,7 @@ class TaskStateBase(
14585
14765
  account=account,
14586
14766
  color=color,
14587
14767
  dimensions_map=dimensions_map,
14768
+ id=id,
14588
14769
  label=label,
14589
14770
  period=period,
14590
14771
  region=region,
@@ -14592,6 +14773,7 @@ class TaskStateBase(
14592
14773
  stack_region=stack_region,
14593
14774
  statistic=statistic,
14594
14775
  unit=unit,
14776
+ visible=visible,
14595
14777
  )
14596
14778
 
14597
14779
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricRunTime", [props]))
@@ -14603,6 +14785,7 @@ class TaskStateBase(
14603
14785
  account: typing.Optional[builtins.str] = None,
14604
14786
  color: typing.Optional[builtins.str] = None,
14605
14787
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
14788
+ id: typing.Optional[builtins.str] = None,
14606
14789
  label: typing.Optional[builtins.str] = None,
14607
14790
  period: typing.Optional[_Duration_4839e8c3] = None,
14608
14791
  region: typing.Optional[builtins.str] = None,
@@ -14610,12 +14793,14 @@ class TaskStateBase(
14610
14793
  stack_region: typing.Optional[builtins.str] = None,
14611
14794
  statistic: typing.Optional[builtins.str] = None,
14612
14795
  unit: typing.Optional[_Unit_61bc6f70] = None,
14796
+ visible: typing.Optional[builtins.bool] = None,
14613
14797
  ) -> _Metric_e396a4dc:
14614
14798
  '''Metric for the number of times this activity is scheduled.
14615
14799
 
14616
14800
  :param account: Account which this metric comes from. Default: - Deployment account.
14617
14801
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
14618
14802
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
14803
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
14619
14804
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
14620
14805
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
14621
14806
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -14623,6 +14808,7 @@ class TaskStateBase(
14623
14808
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
14624
14809
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
14625
14810
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
14811
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
14626
14812
 
14627
14813
  :default: - sum over 5 minutes
14628
14814
  '''
@@ -14630,6 +14816,7 @@ class TaskStateBase(
14630
14816
  account=account,
14631
14817
  color=color,
14632
14818
  dimensions_map=dimensions_map,
14819
+ id=id,
14633
14820
  label=label,
14634
14821
  period=period,
14635
14822
  region=region,
@@ -14637,6 +14824,7 @@ class TaskStateBase(
14637
14824
  stack_region=stack_region,
14638
14825
  statistic=statistic,
14639
14826
  unit=unit,
14827
+ visible=visible,
14640
14828
  )
14641
14829
 
14642
14830
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricScheduled", [props]))
@@ -14648,6 +14836,7 @@ class TaskStateBase(
14648
14836
  account: typing.Optional[builtins.str] = None,
14649
14837
  color: typing.Optional[builtins.str] = None,
14650
14838
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
14839
+ id: typing.Optional[builtins.str] = None,
14651
14840
  label: typing.Optional[builtins.str] = None,
14652
14841
  period: typing.Optional[_Duration_4839e8c3] = None,
14653
14842
  region: typing.Optional[builtins.str] = None,
@@ -14655,12 +14844,14 @@ class TaskStateBase(
14655
14844
  stack_region: typing.Optional[builtins.str] = None,
14656
14845
  statistic: typing.Optional[builtins.str] = None,
14657
14846
  unit: typing.Optional[_Unit_61bc6f70] = None,
14847
+ visible: typing.Optional[builtins.bool] = None,
14658
14848
  ) -> _Metric_e396a4dc:
14659
14849
  '''The interval, in milliseconds, for which the activity stays in the schedule state.
14660
14850
 
14661
14851
  :param account: Account which this metric comes from. Default: - Deployment account.
14662
14852
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
14663
14853
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
14854
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
14664
14855
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
14665
14856
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
14666
14857
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -14668,6 +14859,7 @@ class TaskStateBase(
14668
14859
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
14669
14860
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
14670
14861
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
14862
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
14671
14863
 
14672
14864
  :default: - average over 5 minutes
14673
14865
  '''
@@ -14675,6 +14867,7 @@ class TaskStateBase(
14675
14867
  account=account,
14676
14868
  color=color,
14677
14869
  dimensions_map=dimensions_map,
14870
+ id=id,
14678
14871
  label=label,
14679
14872
  period=period,
14680
14873
  region=region,
@@ -14682,6 +14875,7 @@ class TaskStateBase(
14682
14875
  stack_region=stack_region,
14683
14876
  statistic=statistic,
14684
14877
  unit=unit,
14878
+ visible=visible,
14685
14879
  )
14686
14880
 
14687
14881
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricScheduleTime", [props]))
@@ -14693,6 +14887,7 @@ class TaskStateBase(
14693
14887
  account: typing.Optional[builtins.str] = None,
14694
14888
  color: typing.Optional[builtins.str] = None,
14695
14889
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
14890
+ id: typing.Optional[builtins.str] = None,
14696
14891
  label: typing.Optional[builtins.str] = None,
14697
14892
  period: typing.Optional[_Duration_4839e8c3] = None,
14698
14893
  region: typing.Optional[builtins.str] = None,
@@ -14700,12 +14895,14 @@ class TaskStateBase(
14700
14895
  stack_region: typing.Optional[builtins.str] = None,
14701
14896
  statistic: typing.Optional[builtins.str] = None,
14702
14897
  unit: typing.Optional[_Unit_61bc6f70] = None,
14898
+ visible: typing.Optional[builtins.bool] = None,
14703
14899
  ) -> _Metric_e396a4dc:
14704
14900
  '''Metric for the number of times this activity is started.
14705
14901
 
14706
14902
  :param account: Account which this metric comes from. Default: - Deployment account.
14707
14903
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
14708
14904
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
14905
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
14709
14906
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
14710
14907
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
14711
14908
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -14713,6 +14910,7 @@ class TaskStateBase(
14713
14910
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
14714
14911
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
14715
14912
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
14913
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
14716
14914
 
14717
14915
  :default: - sum over 5 minutes
14718
14916
  '''
@@ -14720,6 +14918,7 @@ class TaskStateBase(
14720
14918
  account=account,
14721
14919
  color=color,
14722
14920
  dimensions_map=dimensions_map,
14921
+ id=id,
14723
14922
  label=label,
14724
14923
  period=period,
14725
14924
  region=region,
@@ -14727,6 +14926,7 @@ class TaskStateBase(
14727
14926
  stack_region=stack_region,
14728
14927
  statistic=statistic,
14729
14928
  unit=unit,
14929
+ visible=visible,
14730
14930
  )
14731
14931
 
14732
14932
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricStarted", [props]))
@@ -14738,6 +14938,7 @@ class TaskStateBase(
14738
14938
  account: typing.Optional[builtins.str] = None,
14739
14939
  color: typing.Optional[builtins.str] = None,
14740
14940
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
14941
+ id: typing.Optional[builtins.str] = None,
14741
14942
  label: typing.Optional[builtins.str] = None,
14742
14943
  period: typing.Optional[_Duration_4839e8c3] = None,
14743
14944
  region: typing.Optional[builtins.str] = None,
@@ -14745,12 +14946,14 @@ class TaskStateBase(
14745
14946
  stack_region: typing.Optional[builtins.str] = None,
14746
14947
  statistic: typing.Optional[builtins.str] = None,
14747
14948
  unit: typing.Optional[_Unit_61bc6f70] = None,
14949
+ visible: typing.Optional[builtins.bool] = None,
14748
14950
  ) -> _Metric_e396a4dc:
14749
14951
  '''Metric for the number of times this activity succeeds.
14750
14952
 
14751
14953
  :param account: Account which this metric comes from. Default: - Deployment account.
14752
14954
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
14753
14955
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
14956
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
14754
14957
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
14755
14958
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
14756
14959
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -14758,6 +14961,7 @@ class TaskStateBase(
14758
14961
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
14759
14962
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
14760
14963
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
14964
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
14761
14965
 
14762
14966
  :default: - sum over 5 minutes
14763
14967
  '''
@@ -14765,6 +14969,7 @@ class TaskStateBase(
14765
14969
  account=account,
14766
14970
  color=color,
14767
14971
  dimensions_map=dimensions_map,
14972
+ id=id,
14768
14973
  label=label,
14769
14974
  period=period,
14770
14975
  region=region,
@@ -14772,6 +14977,7 @@ class TaskStateBase(
14772
14977
  stack_region=stack_region,
14773
14978
  statistic=statistic,
14774
14979
  unit=unit,
14980
+ visible=visible,
14775
14981
  )
14776
14982
 
14777
14983
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricSucceeded", [props]))
@@ -14783,6 +14989,7 @@ class TaskStateBase(
14783
14989
  account: typing.Optional[builtins.str] = None,
14784
14990
  color: typing.Optional[builtins.str] = None,
14785
14991
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
14992
+ id: typing.Optional[builtins.str] = None,
14786
14993
  label: typing.Optional[builtins.str] = None,
14787
14994
  period: typing.Optional[_Duration_4839e8c3] = None,
14788
14995
  region: typing.Optional[builtins.str] = None,
@@ -14790,12 +14997,14 @@ class TaskStateBase(
14790
14997
  stack_region: typing.Optional[builtins.str] = None,
14791
14998
  statistic: typing.Optional[builtins.str] = None,
14792
14999
  unit: typing.Optional[_Unit_61bc6f70] = None,
15000
+ visible: typing.Optional[builtins.bool] = None,
14793
15001
  ) -> _Metric_e396a4dc:
14794
15002
  '''The interval, in milliseconds, between the time the activity is scheduled and the time it closes.
14795
15003
 
14796
15004
  :param account: Account which this metric comes from. Default: - Deployment account.
14797
15005
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
14798
15006
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
15007
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
14799
15008
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
14800
15009
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
14801
15010
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -14803,6 +15012,7 @@ class TaskStateBase(
14803
15012
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
14804
15013
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
14805
15014
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
15015
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
14806
15016
 
14807
15017
  :default: - average over 5 minutes
14808
15018
  '''
@@ -14810,6 +15020,7 @@ class TaskStateBase(
14810
15020
  account=account,
14811
15021
  color=color,
14812
15022
  dimensions_map=dimensions_map,
15023
+ id=id,
14813
15024
  label=label,
14814
15025
  period=period,
14815
15026
  region=region,
@@ -14817,6 +15028,7 @@ class TaskStateBase(
14817
15028
  stack_region=stack_region,
14818
15029
  statistic=statistic,
14819
15030
  unit=unit,
15031
+ visible=visible,
14820
15032
  )
14821
15033
 
14822
15034
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricTime", [props]))
@@ -14828,6 +15040,7 @@ class TaskStateBase(
14828
15040
  account: typing.Optional[builtins.str] = None,
14829
15041
  color: typing.Optional[builtins.str] = None,
14830
15042
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
15043
+ id: typing.Optional[builtins.str] = None,
14831
15044
  label: typing.Optional[builtins.str] = None,
14832
15045
  period: typing.Optional[_Duration_4839e8c3] = None,
14833
15046
  region: typing.Optional[builtins.str] = None,
@@ -14835,12 +15048,14 @@ class TaskStateBase(
14835
15048
  stack_region: typing.Optional[builtins.str] = None,
14836
15049
  statistic: typing.Optional[builtins.str] = None,
14837
15050
  unit: typing.Optional[_Unit_61bc6f70] = None,
15051
+ visible: typing.Optional[builtins.bool] = None,
14838
15052
  ) -> _Metric_e396a4dc:
14839
15053
  '''Metric for the number of times this activity times out.
14840
15054
 
14841
15055
  :param account: Account which this metric comes from. Default: - Deployment account.
14842
15056
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
14843
15057
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
15058
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
14844
15059
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
14845
15060
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
14846
15061
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -14848,6 +15063,7 @@ class TaskStateBase(
14848
15063
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
14849
15064
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
14850
15065
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
15066
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
14851
15067
 
14852
15068
  :default: - sum over 5 minutes
14853
15069
  '''
@@ -14855,6 +15071,7 @@ class TaskStateBase(
14855
15071
  account=account,
14856
15072
  color=color,
14857
15073
  dimensions_map=dimensions_map,
15074
+ id=id,
14858
15075
  label=label,
14859
15076
  period=period,
14860
15077
  region=region,
@@ -14862,6 +15079,7 @@ class TaskStateBase(
14862
15079
  stack_region=stack_region,
14863
15080
  statistic=statistic,
14864
15081
  unit=unit,
15082
+ visible=visible,
14865
15083
  )
14866
15084
 
14867
15085
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricTimedOut", [props]))
@@ -17258,6 +17476,7 @@ class Activity(
17258
17476
  account: typing.Optional[builtins.str] = None,
17259
17477
  color: typing.Optional[builtins.str] = None,
17260
17478
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
17479
+ id: typing.Optional[builtins.str] = None,
17261
17480
  label: typing.Optional[builtins.str] = None,
17262
17481
  period: typing.Optional[_Duration_4839e8c3] = None,
17263
17482
  region: typing.Optional[builtins.str] = None,
@@ -17265,6 +17484,7 @@ class Activity(
17265
17484
  stack_region: typing.Optional[builtins.str] = None,
17266
17485
  statistic: typing.Optional[builtins.str] = None,
17267
17486
  unit: typing.Optional[_Unit_61bc6f70] = None,
17487
+ visible: typing.Optional[builtins.bool] = None,
17268
17488
  ) -> _Metric_e396a4dc:
17269
17489
  '''Return the given named metric for this Activity.
17270
17490
 
@@ -17272,6 +17492,7 @@ class Activity(
17272
17492
  :param account: Account which this metric comes from. Default: - Deployment account.
17273
17493
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
17274
17494
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
17495
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
17275
17496
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
17276
17497
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
17277
17498
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -17279,6 +17500,7 @@ class Activity(
17279
17500
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
17280
17501
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
17281
17502
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
17503
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
17282
17504
 
17283
17505
  :default: sum over 5 minutes
17284
17506
  '''
@@ -17289,6 +17511,7 @@ class Activity(
17289
17511
  account=account,
17290
17512
  color=color,
17291
17513
  dimensions_map=dimensions_map,
17514
+ id=id,
17292
17515
  label=label,
17293
17516
  period=period,
17294
17517
  region=region,
@@ -17296,6 +17519,7 @@ class Activity(
17296
17519
  stack_region=stack_region,
17297
17520
  statistic=statistic,
17298
17521
  unit=unit,
17522
+ visible=visible,
17299
17523
  )
17300
17524
 
17301
17525
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metric", [metric_name, props]))
@@ -17307,6 +17531,7 @@ class Activity(
17307
17531
  account: typing.Optional[builtins.str] = None,
17308
17532
  color: typing.Optional[builtins.str] = None,
17309
17533
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
17534
+ id: typing.Optional[builtins.str] = None,
17310
17535
  label: typing.Optional[builtins.str] = None,
17311
17536
  period: typing.Optional[_Duration_4839e8c3] = None,
17312
17537
  region: typing.Optional[builtins.str] = None,
@@ -17314,12 +17539,14 @@ class Activity(
17314
17539
  stack_region: typing.Optional[builtins.str] = None,
17315
17540
  statistic: typing.Optional[builtins.str] = None,
17316
17541
  unit: typing.Optional[_Unit_61bc6f70] = None,
17542
+ visible: typing.Optional[builtins.bool] = None,
17317
17543
  ) -> _Metric_e396a4dc:
17318
17544
  '''Metric for the number of times this activity fails.
17319
17545
 
17320
17546
  :param account: Account which this metric comes from. Default: - Deployment account.
17321
17547
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
17322
17548
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
17549
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
17323
17550
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
17324
17551
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
17325
17552
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -17327,6 +17554,7 @@ class Activity(
17327
17554
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
17328
17555
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
17329
17556
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
17557
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
17330
17558
 
17331
17559
  :default: sum over 5 minutes
17332
17560
  '''
@@ -17334,6 +17562,7 @@ class Activity(
17334
17562
  account=account,
17335
17563
  color=color,
17336
17564
  dimensions_map=dimensions_map,
17565
+ id=id,
17337
17566
  label=label,
17338
17567
  period=period,
17339
17568
  region=region,
@@ -17341,6 +17570,7 @@ class Activity(
17341
17570
  stack_region=stack_region,
17342
17571
  statistic=statistic,
17343
17572
  unit=unit,
17573
+ visible=visible,
17344
17574
  )
17345
17575
 
17346
17576
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricFailed", [props]))
@@ -17352,6 +17582,7 @@ class Activity(
17352
17582
  account: typing.Optional[builtins.str] = None,
17353
17583
  color: typing.Optional[builtins.str] = None,
17354
17584
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
17585
+ id: typing.Optional[builtins.str] = None,
17355
17586
  label: typing.Optional[builtins.str] = None,
17356
17587
  period: typing.Optional[_Duration_4839e8c3] = None,
17357
17588
  region: typing.Optional[builtins.str] = None,
@@ -17359,12 +17590,14 @@ class Activity(
17359
17590
  stack_region: typing.Optional[builtins.str] = None,
17360
17591
  statistic: typing.Optional[builtins.str] = None,
17361
17592
  unit: typing.Optional[_Unit_61bc6f70] = None,
17593
+ visible: typing.Optional[builtins.bool] = None,
17362
17594
  ) -> _Metric_e396a4dc:
17363
17595
  '''Metric for the number of times the heartbeat times out for this activity.
17364
17596
 
17365
17597
  :param account: Account which this metric comes from. Default: - Deployment account.
17366
17598
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
17367
17599
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
17600
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
17368
17601
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
17369
17602
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
17370
17603
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -17372,6 +17605,7 @@ class Activity(
17372
17605
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
17373
17606
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
17374
17607
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
17608
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
17375
17609
 
17376
17610
  :default: sum over 5 minutes
17377
17611
  '''
@@ -17379,6 +17613,7 @@ class Activity(
17379
17613
  account=account,
17380
17614
  color=color,
17381
17615
  dimensions_map=dimensions_map,
17616
+ id=id,
17382
17617
  label=label,
17383
17618
  period=period,
17384
17619
  region=region,
@@ -17386,6 +17621,7 @@ class Activity(
17386
17621
  stack_region=stack_region,
17387
17622
  statistic=statistic,
17388
17623
  unit=unit,
17624
+ visible=visible,
17389
17625
  )
17390
17626
 
17391
17627
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricHeartbeatTimedOut", [props]))
@@ -17397,6 +17633,7 @@ class Activity(
17397
17633
  account: typing.Optional[builtins.str] = None,
17398
17634
  color: typing.Optional[builtins.str] = None,
17399
17635
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
17636
+ id: typing.Optional[builtins.str] = None,
17400
17637
  label: typing.Optional[builtins.str] = None,
17401
17638
  period: typing.Optional[_Duration_4839e8c3] = None,
17402
17639
  region: typing.Optional[builtins.str] = None,
@@ -17404,12 +17641,14 @@ class Activity(
17404
17641
  stack_region: typing.Optional[builtins.str] = None,
17405
17642
  statistic: typing.Optional[builtins.str] = None,
17406
17643
  unit: typing.Optional[_Unit_61bc6f70] = None,
17644
+ visible: typing.Optional[builtins.bool] = None,
17407
17645
  ) -> _Metric_e396a4dc:
17408
17646
  '''The interval, in milliseconds, between the time the activity starts and the time it closes.
17409
17647
 
17410
17648
  :param account: Account which this metric comes from. Default: - Deployment account.
17411
17649
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
17412
17650
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
17651
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
17413
17652
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
17414
17653
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
17415
17654
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -17417,6 +17656,7 @@ class Activity(
17417
17656
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
17418
17657
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
17419
17658
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
17659
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
17420
17660
 
17421
17661
  :default: average over 5 minutes
17422
17662
  '''
@@ -17424,6 +17664,7 @@ class Activity(
17424
17664
  account=account,
17425
17665
  color=color,
17426
17666
  dimensions_map=dimensions_map,
17667
+ id=id,
17427
17668
  label=label,
17428
17669
  period=period,
17429
17670
  region=region,
@@ -17431,6 +17672,7 @@ class Activity(
17431
17672
  stack_region=stack_region,
17432
17673
  statistic=statistic,
17433
17674
  unit=unit,
17675
+ visible=visible,
17434
17676
  )
17435
17677
 
17436
17678
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricRunTime", [props]))
@@ -17442,6 +17684,7 @@ class Activity(
17442
17684
  account: typing.Optional[builtins.str] = None,
17443
17685
  color: typing.Optional[builtins.str] = None,
17444
17686
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
17687
+ id: typing.Optional[builtins.str] = None,
17445
17688
  label: typing.Optional[builtins.str] = None,
17446
17689
  period: typing.Optional[_Duration_4839e8c3] = None,
17447
17690
  region: typing.Optional[builtins.str] = None,
@@ -17449,12 +17692,14 @@ class Activity(
17449
17692
  stack_region: typing.Optional[builtins.str] = None,
17450
17693
  statistic: typing.Optional[builtins.str] = None,
17451
17694
  unit: typing.Optional[_Unit_61bc6f70] = None,
17695
+ visible: typing.Optional[builtins.bool] = None,
17452
17696
  ) -> _Metric_e396a4dc:
17453
17697
  '''Metric for the number of times this activity is scheduled.
17454
17698
 
17455
17699
  :param account: Account which this metric comes from. Default: - Deployment account.
17456
17700
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
17457
17701
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
17702
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
17458
17703
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
17459
17704
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
17460
17705
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -17462,6 +17707,7 @@ class Activity(
17462
17707
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
17463
17708
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
17464
17709
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
17710
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
17465
17711
 
17466
17712
  :default: sum over 5 minutes
17467
17713
  '''
@@ -17469,6 +17715,7 @@ class Activity(
17469
17715
  account=account,
17470
17716
  color=color,
17471
17717
  dimensions_map=dimensions_map,
17718
+ id=id,
17472
17719
  label=label,
17473
17720
  period=period,
17474
17721
  region=region,
@@ -17476,6 +17723,7 @@ class Activity(
17476
17723
  stack_region=stack_region,
17477
17724
  statistic=statistic,
17478
17725
  unit=unit,
17726
+ visible=visible,
17479
17727
  )
17480
17728
 
17481
17729
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricScheduled", [props]))
@@ -17487,6 +17735,7 @@ class Activity(
17487
17735
  account: typing.Optional[builtins.str] = None,
17488
17736
  color: typing.Optional[builtins.str] = None,
17489
17737
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
17738
+ id: typing.Optional[builtins.str] = None,
17490
17739
  label: typing.Optional[builtins.str] = None,
17491
17740
  period: typing.Optional[_Duration_4839e8c3] = None,
17492
17741
  region: typing.Optional[builtins.str] = None,
@@ -17494,12 +17743,14 @@ class Activity(
17494
17743
  stack_region: typing.Optional[builtins.str] = None,
17495
17744
  statistic: typing.Optional[builtins.str] = None,
17496
17745
  unit: typing.Optional[_Unit_61bc6f70] = None,
17746
+ visible: typing.Optional[builtins.bool] = None,
17497
17747
  ) -> _Metric_e396a4dc:
17498
17748
  '''The interval, in milliseconds, for which the activity stays in the schedule state.
17499
17749
 
17500
17750
  :param account: Account which this metric comes from. Default: - Deployment account.
17501
17751
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
17502
17752
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
17753
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
17503
17754
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
17504
17755
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
17505
17756
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -17507,6 +17758,7 @@ class Activity(
17507
17758
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
17508
17759
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
17509
17760
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
17761
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
17510
17762
 
17511
17763
  :default: average over 5 minutes
17512
17764
  '''
@@ -17514,6 +17766,7 @@ class Activity(
17514
17766
  account=account,
17515
17767
  color=color,
17516
17768
  dimensions_map=dimensions_map,
17769
+ id=id,
17517
17770
  label=label,
17518
17771
  period=period,
17519
17772
  region=region,
@@ -17521,6 +17774,7 @@ class Activity(
17521
17774
  stack_region=stack_region,
17522
17775
  statistic=statistic,
17523
17776
  unit=unit,
17777
+ visible=visible,
17524
17778
  )
17525
17779
 
17526
17780
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricScheduleTime", [props]))
@@ -17532,6 +17786,7 @@ class Activity(
17532
17786
  account: typing.Optional[builtins.str] = None,
17533
17787
  color: typing.Optional[builtins.str] = None,
17534
17788
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
17789
+ id: typing.Optional[builtins.str] = None,
17535
17790
  label: typing.Optional[builtins.str] = None,
17536
17791
  period: typing.Optional[_Duration_4839e8c3] = None,
17537
17792
  region: typing.Optional[builtins.str] = None,
@@ -17539,12 +17794,14 @@ class Activity(
17539
17794
  stack_region: typing.Optional[builtins.str] = None,
17540
17795
  statistic: typing.Optional[builtins.str] = None,
17541
17796
  unit: typing.Optional[_Unit_61bc6f70] = None,
17797
+ visible: typing.Optional[builtins.bool] = None,
17542
17798
  ) -> _Metric_e396a4dc:
17543
17799
  '''Metric for the number of times this activity is started.
17544
17800
 
17545
17801
  :param account: Account which this metric comes from. Default: - Deployment account.
17546
17802
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
17547
17803
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
17804
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
17548
17805
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
17549
17806
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
17550
17807
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -17552,6 +17809,7 @@ class Activity(
17552
17809
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
17553
17810
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
17554
17811
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
17812
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
17555
17813
 
17556
17814
  :default: sum over 5 minutes
17557
17815
  '''
@@ -17559,6 +17817,7 @@ class Activity(
17559
17817
  account=account,
17560
17818
  color=color,
17561
17819
  dimensions_map=dimensions_map,
17820
+ id=id,
17562
17821
  label=label,
17563
17822
  period=period,
17564
17823
  region=region,
@@ -17566,6 +17825,7 @@ class Activity(
17566
17825
  stack_region=stack_region,
17567
17826
  statistic=statistic,
17568
17827
  unit=unit,
17828
+ visible=visible,
17569
17829
  )
17570
17830
 
17571
17831
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricStarted", [props]))
@@ -17577,6 +17837,7 @@ class Activity(
17577
17837
  account: typing.Optional[builtins.str] = None,
17578
17838
  color: typing.Optional[builtins.str] = None,
17579
17839
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
17840
+ id: typing.Optional[builtins.str] = None,
17580
17841
  label: typing.Optional[builtins.str] = None,
17581
17842
  period: typing.Optional[_Duration_4839e8c3] = None,
17582
17843
  region: typing.Optional[builtins.str] = None,
@@ -17584,12 +17845,14 @@ class Activity(
17584
17845
  stack_region: typing.Optional[builtins.str] = None,
17585
17846
  statistic: typing.Optional[builtins.str] = None,
17586
17847
  unit: typing.Optional[_Unit_61bc6f70] = None,
17848
+ visible: typing.Optional[builtins.bool] = None,
17587
17849
  ) -> _Metric_e396a4dc:
17588
17850
  '''Metric for the number of times this activity succeeds.
17589
17851
 
17590
17852
  :param account: Account which this metric comes from. Default: - Deployment account.
17591
17853
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
17592
17854
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
17855
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
17593
17856
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
17594
17857
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
17595
17858
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -17597,6 +17860,7 @@ class Activity(
17597
17860
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
17598
17861
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
17599
17862
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
17863
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
17600
17864
 
17601
17865
  :default: sum over 5 minutes
17602
17866
  '''
@@ -17604,6 +17868,7 @@ class Activity(
17604
17868
  account=account,
17605
17869
  color=color,
17606
17870
  dimensions_map=dimensions_map,
17871
+ id=id,
17607
17872
  label=label,
17608
17873
  period=period,
17609
17874
  region=region,
@@ -17611,6 +17876,7 @@ class Activity(
17611
17876
  stack_region=stack_region,
17612
17877
  statistic=statistic,
17613
17878
  unit=unit,
17879
+ visible=visible,
17614
17880
  )
17615
17881
 
17616
17882
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricSucceeded", [props]))
@@ -17622,6 +17888,7 @@ class Activity(
17622
17888
  account: typing.Optional[builtins.str] = None,
17623
17889
  color: typing.Optional[builtins.str] = None,
17624
17890
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
17891
+ id: typing.Optional[builtins.str] = None,
17625
17892
  label: typing.Optional[builtins.str] = None,
17626
17893
  period: typing.Optional[_Duration_4839e8c3] = None,
17627
17894
  region: typing.Optional[builtins.str] = None,
@@ -17629,12 +17896,14 @@ class Activity(
17629
17896
  stack_region: typing.Optional[builtins.str] = None,
17630
17897
  statistic: typing.Optional[builtins.str] = None,
17631
17898
  unit: typing.Optional[_Unit_61bc6f70] = None,
17899
+ visible: typing.Optional[builtins.bool] = None,
17632
17900
  ) -> _Metric_e396a4dc:
17633
17901
  '''The interval, in milliseconds, between the time the activity is scheduled and the time it closes.
17634
17902
 
17635
17903
  :param account: Account which this metric comes from. Default: - Deployment account.
17636
17904
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
17637
17905
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
17906
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
17638
17907
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
17639
17908
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
17640
17909
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -17642,6 +17911,7 @@ class Activity(
17642
17911
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
17643
17912
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
17644
17913
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
17914
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
17645
17915
 
17646
17916
  :default: average over 5 minutes
17647
17917
  '''
@@ -17649,6 +17919,7 @@ class Activity(
17649
17919
  account=account,
17650
17920
  color=color,
17651
17921
  dimensions_map=dimensions_map,
17922
+ id=id,
17652
17923
  label=label,
17653
17924
  period=period,
17654
17925
  region=region,
@@ -17656,6 +17927,7 @@ class Activity(
17656
17927
  stack_region=stack_region,
17657
17928
  statistic=statistic,
17658
17929
  unit=unit,
17930
+ visible=visible,
17659
17931
  )
17660
17932
 
17661
17933
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricTime", [props]))
@@ -17667,6 +17939,7 @@ class Activity(
17667
17939
  account: typing.Optional[builtins.str] = None,
17668
17940
  color: typing.Optional[builtins.str] = None,
17669
17941
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
17942
+ id: typing.Optional[builtins.str] = None,
17670
17943
  label: typing.Optional[builtins.str] = None,
17671
17944
  period: typing.Optional[_Duration_4839e8c3] = None,
17672
17945
  region: typing.Optional[builtins.str] = None,
@@ -17674,12 +17947,14 @@ class Activity(
17674
17947
  stack_region: typing.Optional[builtins.str] = None,
17675
17948
  statistic: typing.Optional[builtins.str] = None,
17676
17949
  unit: typing.Optional[_Unit_61bc6f70] = None,
17950
+ visible: typing.Optional[builtins.bool] = None,
17677
17951
  ) -> _Metric_e396a4dc:
17678
17952
  '''Metric for the number of times this activity times out.
17679
17953
 
17680
17954
  :param account: Account which this metric comes from. Default: - Deployment account.
17681
17955
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
17682
17956
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
17957
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
17683
17958
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
17684
17959
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
17685
17960
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -17687,6 +17962,7 @@ class Activity(
17687
17962
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
17688
17963
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
17689
17964
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
17965
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
17690
17966
 
17691
17967
  :default: sum over 5 minutes
17692
17968
  '''
@@ -17694,6 +17970,7 @@ class Activity(
17694
17970
  account=account,
17695
17971
  color=color,
17696
17972
  dimensions_map=dimensions_map,
17973
+ id=id,
17697
17974
  label=label,
17698
17975
  period=period,
17699
17976
  region=region,
@@ -17701,6 +17978,7 @@ class Activity(
17701
17978
  stack_region=stack_region,
17702
17979
  statistic=statistic,
17703
17980
  unit=unit,
17981
+ visible=visible,
17704
17982
  )
17705
17983
 
17706
17984
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricTimedOut", [props]))
@@ -26778,6 +27056,7 @@ def _typecheckingstub__2cab371f4587948afe28a72a9dde908f44a64ec26dee050808f7b1236
26778
27056
  account: typing.Optional[builtins.str] = None,
26779
27057
  color: typing.Optional[builtins.str] = None,
26780
27058
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
27059
+ id: typing.Optional[builtins.str] = None,
26781
27060
  label: typing.Optional[builtins.str] = None,
26782
27061
  period: typing.Optional[_Duration_4839e8c3] = None,
26783
27062
  region: typing.Optional[builtins.str] = None,
@@ -26785,6 +27064,7 @@ def _typecheckingstub__2cab371f4587948afe28a72a9dde908f44a64ec26dee050808f7b1236
26785
27064
  stack_region: typing.Optional[builtins.str] = None,
26786
27065
  statistic: typing.Optional[builtins.str] = None,
26787
27066
  unit: typing.Optional[_Unit_61bc6f70] = None,
27067
+ visible: typing.Optional[builtins.bool] = None,
26788
27068
  ) -> None:
26789
27069
  """Type checking stubs"""
26790
27070
  pass
@@ -27477,6 +27757,7 @@ def _typecheckingstub__e00f442fc4f33cd6bcc931ba95c9117d241aef41be5171c27548e74d9
27477
27757
  account: typing.Optional[builtins.str] = None,
27478
27758
  color: typing.Optional[builtins.str] = None,
27479
27759
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
27760
+ id: typing.Optional[builtins.str] = None,
27480
27761
  label: typing.Optional[builtins.str] = None,
27481
27762
  period: typing.Optional[_Duration_4839e8c3] = None,
27482
27763
  region: typing.Optional[builtins.str] = None,
@@ -27484,6 +27765,7 @@ def _typecheckingstub__e00f442fc4f33cd6bcc931ba95c9117d241aef41be5171c27548e74d9
27484
27765
  stack_region: typing.Optional[builtins.str] = None,
27485
27766
  statistic: typing.Optional[builtins.str] = None,
27486
27767
  unit: typing.Optional[_Unit_61bc6f70] = None,
27768
+ visible: typing.Optional[builtins.bool] = None,
27487
27769
  ) -> None:
27488
27770
  """Type checking stubs"""
27489
27771
  pass
@@ -27549,6 +27831,7 @@ def _typecheckingstub__01d556c15cb7d46dea75f4d4d5be455df4181351677d04c896b3cece7
27549
27831
  account: typing.Optional[builtins.str] = None,
27550
27832
  color: typing.Optional[builtins.str] = None,
27551
27833
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
27834
+ id: typing.Optional[builtins.str] = None,
27552
27835
  label: typing.Optional[builtins.str] = None,
27553
27836
  period: typing.Optional[_Duration_4839e8c3] = None,
27554
27837
  region: typing.Optional[builtins.str] = None,
@@ -27556,6 +27839,7 @@ def _typecheckingstub__01d556c15cb7d46dea75f4d4d5be455df4181351677d04c896b3cece7
27556
27839
  stack_region: typing.Optional[builtins.str] = None,
27557
27840
  statistic: typing.Optional[builtins.str] = None,
27558
27841
  unit: typing.Optional[_Unit_61bc6f70] = None,
27842
+ visible: typing.Optional[builtins.bool] = None,
27559
27843
  ) -> None:
27560
27844
  """Type checking stubs"""
27561
27845
  pass
@@ -27732,6 +28016,7 @@ def _typecheckingstub__9e107390a3e2550b832e771f6471431f1576a6bdab08445ca9d4fef45
27732
28016
  account: typing.Optional[builtins.str] = None,
27733
28017
  color: typing.Optional[builtins.str] = None,
27734
28018
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
28019
+ id: typing.Optional[builtins.str] = None,
27735
28020
  label: typing.Optional[builtins.str] = None,
27736
28021
  period: typing.Optional[_Duration_4839e8c3] = None,
27737
28022
  region: typing.Optional[builtins.str] = None,
@@ -27739,6 +28024,7 @@ def _typecheckingstub__9e107390a3e2550b832e771f6471431f1576a6bdab08445ca9d4fef45
27739
28024
  stack_region: typing.Optional[builtins.str] = None,
27740
28025
  statistic: typing.Optional[builtins.str] = None,
27741
28026
  unit: typing.Optional[_Unit_61bc6f70] = None,
28027
+ visible: typing.Optional[builtins.bool] = None,
27742
28028
  ) -> None:
27743
28029
  """Type checking stubs"""
27744
28030
  pass
@@ -28016,6 +28302,7 @@ def _typecheckingstub__7f960b5875dcb81c7f4b6e91c03015375df2e5c6bb3da84f476bf59c2
28016
28302
  account: typing.Optional[builtins.str] = None,
28017
28303
  color: typing.Optional[builtins.str] = None,
28018
28304
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
28305
+ id: typing.Optional[builtins.str] = None,
28019
28306
  label: typing.Optional[builtins.str] = None,
28020
28307
  period: typing.Optional[_Duration_4839e8c3] = None,
28021
28308
  region: typing.Optional[builtins.str] = None,
@@ -28023,6 +28310,7 @@ def _typecheckingstub__7f960b5875dcb81c7f4b6e91c03015375df2e5c6bb3da84f476bf59c2
28023
28310
  stack_region: typing.Optional[builtins.str] = None,
28024
28311
  statistic: typing.Optional[builtins.str] = None,
28025
28312
  unit: typing.Optional[_Unit_61bc6f70] = None,
28313
+ visible: typing.Optional[builtins.bool] = None,
28026
28314
  ) -> None:
28027
28315
  """Type checking stubs"""
28028
28316
  pass