aws-cdk-lib 2.203.1__py3-none-any.whl → 2.204.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 (33) hide show
  1. aws_cdk/__init__.py +38 -0
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.203.1.jsii.tgz → aws-cdk-lib@2.204.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_apigateway/__init__.py +164 -0
  5. aws_cdk/aws_apigatewayv2/__init__.py +412 -0
  6. aws_cdk/aws_certificatemanager/__init__.py +28 -0
  7. aws_cdk/aws_chatbot/__init__.py +28 -0
  8. aws_cdk/aws_cloudfront/__init__.py +92 -0
  9. aws_cdk/aws_cloudfront/experimental/__init__.py +32 -0
  10. aws_cdk/aws_cloudwatch/__init__.py +217 -23
  11. aws_cdk/aws_codebuild/__init__.py +84 -0
  12. aws_cdk/aws_dynamodb/__init__.py +316 -2
  13. aws_cdk/aws_ec2/__init__.py +94 -0
  14. aws_cdk/aws_ecs/__init__.py +52 -0
  15. aws_cdk/aws_elasticloadbalancingv2/__init__.py +724 -0
  16. aws_cdk/aws_elasticsearch/__init__.py +260 -0
  17. aws_cdk/aws_kinesis/__init__.py +324 -0
  18. aws_cdk/aws_kinesisfirehose/__init__.py +100 -0
  19. aws_cdk/aws_lambda/__init__.py +144 -0
  20. aws_cdk/aws_logs/__init__.py +58 -0
  21. aws_cdk/aws_opensearchservice/__init__.py +260 -0
  22. aws_cdk/aws_rds/__init__.py +384 -0
  23. aws_cdk/aws_scheduler/__init__.py +210 -0
  24. aws_cdk/aws_sns/__init__.py +164 -0
  25. aws_cdk/aws_sqs/__init__.py +164 -0
  26. aws_cdk/aws_stepfunctions/__init__.py +288 -0
  27. aws_cdk/aws_synthetics/__init__.py +18 -0
  28. {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.204.0.dist-info}/METADATA +2 -2
  29. {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.204.0.dist-info}/RECORD +33 -33
  30. {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.204.0.dist-info}/LICENSE +0 -0
  31. {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.204.0.dist-info}/NOTICE +0 -0
  32. {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.204.0.dist-info}/WHEEL +0 -0
  33. {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.204.0.dist-info}/top_level.txt +0 -0
@@ -10704,6 +10704,7 @@ class IProject(
10704
10704
  account: typing.Optional[builtins.str] = None,
10705
10705
  color: typing.Optional[builtins.str] = None,
10706
10706
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
10707
+ id: typing.Optional[builtins.str] = None,
10707
10708
  label: typing.Optional[builtins.str] = None,
10708
10709
  period: typing.Optional[_Duration_4839e8c3] = None,
10709
10710
  region: typing.Optional[builtins.str] = None,
@@ -10711,12 +10712,14 @@ class IProject(
10711
10712
  stack_region: typing.Optional[builtins.str] = None,
10712
10713
  statistic: typing.Optional[builtins.str] = None,
10713
10714
  unit: typing.Optional[_Unit_61bc6f70] = None,
10715
+ visible: typing.Optional[builtins.bool] = None,
10714
10716
  ) -> _Metric_e396a4dc:
10715
10717
  '''
10716
10718
  :param metric_name: The name of the metric.
10717
10719
  :param account: Account which this metric comes from. Default: - Deployment account.
10718
10720
  :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
10719
10721
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
10722
+ :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
10720
10723
  :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
10721
10724
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
10722
10725
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -10724,6 +10727,7 @@ class IProject(
10724
10727
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
10725
10728
  :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
10726
10729
  :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
10730
+ :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
10727
10731
 
10728
10732
  :return: a CloudWatch metric associated with this build project.
10729
10733
  '''
@@ -10736,6 +10740,7 @@ class IProject(
10736
10740
  account: typing.Optional[builtins.str] = None,
10737
10741
  color: typing.Optional[builtins.str] = None,
10738
10742
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
10743
+ id: typing.Optional[builtins.str] = None,
10739
10744
  label: typing.Optional[builtins.str] = None,
10740
10745
  period: typing.Optional[_Duration_4839e8c3] = None,
10741
10746
  region: typing.Optional[builtins.str] = None,
@@ -10743,6 +10748,7 @@ class IProject(
10743
10748
  stack_region: typing.Optional[builtins.str] = None,
10744
10749
  statistic: typing.Optional[builtins.str] = None,
10745
10750
  unit: typing.Optional[_Unit_61bc6f70] = None,
10751
+ visible: typing.Optional[builtins.bool] = None,
10746
10752
  ) -> _Metric_e396a4dc:
10747
10753
  '''Measures the number of builds triggered.
10748
10754
 
@@ -10753,6 +10759,7 @@ class IProject(
10753
10759
  :param account: Account which this metric comes from. Default: - Deployment account.
10754
10760
  :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
10755
10761
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
10762
+ :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
10756
10763
  :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
10757
10764
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
10758
10765
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -10760,6 +10767,7 @@ class IProject(
10760
10767
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
10761
10768
  :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
10762
10769
  :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
10770
+ :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
10763
10771
 
10764
10772
  :default: sum over 5 minutes
10765
10773
  '''
@@ -10772,6 +10780,7 @@ class IProject(
10772
10780
  account: typing.Optional[builtins.str] = None,
10773
10781
  color: typing.Optional[builtins.str] = None,
10774
10782
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
10783
+ id: typing.Optional[builtins.str] = None,
10775
10784
  label: typing.Optional[builtins.str] = None,
10776
10785
  period: typing.Optional[_Duration_4839e8c3] = None,
10777
10786
  region: typing.Optional[builtins.str] = None,
@@ -10779,6 +10788,7 @@ class IProject(
10779
10788
  stack_region: typing.Optional[builtins.str] = None,
10780
10789
  statistic: typing.Optional[builtins.str] = None,
10781
10790
  unit: typing.Optional[_Unit_61bc6f70] = None,
10791
+ visible: typing.Optional[builtins.bool] = None,
10782
10792
  ) -> _Metric_e396a4dc:
10783
10793
  '''Measures the duration of all builds over time.
10784
10794
 
@@ -10789,6 +10799,7 @@ class IProject(
10789
10799
  :param account: Account which this metric comes from. Default: - Deployment account.
10790
10800
  :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
10791
10801
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
10802
+ :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
10792
10803
  :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
10793
10804
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
10794
10805
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -10796,6 +10807,7 @@ class IProject(
10796
10807
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
10797
10808
  :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
10798
10809
  :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
10810
+ :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
10799
10811
 
10800
10812
  :default: average over 5 minutes
10801
10813
  '''
@@ -10808,6 +10820,7 @@ class IProject(
10808
10820
  account: typing.Optional[builtins.str] = None,
10809
10821
  color: typing.Optional[builtins.str] = None,
10810
10822
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
10823
+ id: typing.Optional[builtins.str] = None,
10811
10824
  label: typing.Optional[builtins.str] = None,
10812
10825
  period: typing.Optional[_Duration_4839e8c3] = None,
10813
10826
  region: typing.Optional[builtins.str] = None,
@@ -10815,6 +10828,7 @@ class IProject(
10815
10828
  stack_region: typing.Optional[builtins.str] = None,
10816
10829
  statistic: typing.Optional[builtins.str] = None,
10817
10830
  unit: typing.Optional[_Unit_61bc6f70] = None,
10831
+ visible: typing.Optional[builtins.bool] = None,
10818
10832
  ) -> _Metric_e396a4dc:
10819
10833
  '''Measures the number of builds that failed because of client error or because of a timeout.
10820
10834
 
@@ -10825,6 +10839,7 @@ class IProject(
10825
10839
  :param account: Account which this metric comes from. Default: - Deployment account.
10826
10840
  :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
10827
10841
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
10842
+ :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
10828
10843
  :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
10829
10844
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
10830
10845
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -10832,6 +10847,7 @@ class IProject(
10832
10847
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
10833
10848
  :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
10834
10849
  :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
10850
+ :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
10835
10851
 
10836
10852
  :default: sum over 5 minutes
10837
10853
  '''
@@ -10844,6 +10860,7 @@ class IProject(
10844
10860
  account: typing.Optional[builtins.str] = None,
10845
10861
  color: typing.Optional[builtins.str] = None,
10846
10862
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
10863
+ id: typing.Optional[builtins.str] = None,
10847
10864
  label: typing.Optional[builtins.str] = None,
10848
10865
  period: typing.Optional[_Duration_4839e8c3] = None,
10849
10866
  region: typing.Optional[builtins.str] = None,
@@ -10851,6 +10868,7 @@ class IProject(
10851
10868
  stack_region: typing.Optional[builtins.str] = None,
10852
10869
  statistic: typing.Optional[builtins.str] = None,
10853
10870
  unit: typing.Optional[_Unit_61bc6f70] = None,
10871
+ visible: typing.Optional[builtins.bool] = None,
10854
10872
  ) -> _Metric_e396a4dc:
10855
10873
  '''Measures the number of successful builds.
10856
10874
 
@@ -10861,6 +10879,7 @@ class IProject(
10861
10879
  :param account: Account which this metric comes from. Default: - Deployment account.
10862
10880
  :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
10863
10881
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
10882
+ :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
10864
10883
  :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
10865
10884
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
10866
10885
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -10868,6 +10887,7 @@ class IProject(
10868
10887
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
10869
10888
  :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
10870
10889
  :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
10890
+ :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
10871
10891
 
10872
10892
  :default: sum over 5 minutes
10873
10893
  '''
@@ -11168,6 +11188,7 @@ class _IProjectProxy(
11168
11188
  account: typing.Optional[builtins.str] = None,
11169
11189
  color: typing.Optional[builtins.str] = None,
11170
11190
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
11191
+ id: typing.Optional[builtins.str] = None,
11171
11192
  label: typing.Optional[builtins.str] = None,
11172
11193
  period: typing.Optional[_Duration_4839e8c3] = None,
11173
11194
  region: typing.Optional[builtins.str] = None,
@@ -11175,12 +11196,14 @@ class _IProjectProxy(
11175
11196
  stack_region: typing.Optional[builtins.str] = None,
11176
11197
  statistic: typing.Optional[builtins.str] = None,
11177
11198
  unit: typing.Optional[_Unit_61bc6f70] = None,
11199
+ visible: typing.Optional[builtins.bool] = None,
11178
11200
  ) -> _Metric_e396a4dc:
11179
11201
  '''
11180
11202
  :param metric_name: The name of the metric.
11181
11203
  :param account: Account which this metric comes from. Default: - Deployment account.
11182
11204
  :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
11183
11205
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
11206
+ :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
11184
11207
  :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
11185
11208
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
11186
11209
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -11188,6 +11211,7 @@ class _IProjectProxy(
11188
11211
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
11189
11212
  :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
11190
11213
  :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
11214
+ :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
11191
11215
 
11192
11216
  :return: a CloudWatch metric associated with this build project.
11193
11217
  '''
@@ -11198,6 +11222,7 @@ class _IProjectProxy(
11198
11222
  account=account,
11199
11223
  color=color,
11200
11224
  dimensions_map=dimensions_map,
11225
+ id=id,
11201
11226
  label=label,
11202
11227
  period=period,
11203
11228
  region=region,
@@ -11205,6 +11230,7 @@ class _IProjectProxy(
11205
11230
  stack_region=stack_region,
11206
11231
  statistic=statistic,
11207
11232
  unit=unit,
11233
+ visible=visible,
11208
11234
  )
11209
11235
 
11210
11236
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metric", [metric_name, props]))
@@ -11216,6 +11242,7 @@ class _IProjectProxy(
11216
11242
  account: typing.Optional[builtins.str] = None,
11217
11243
  color: typing.Optional[builtins.str] = None,
11218
11244
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
11245
+ id: typing.Optional[builtins.str] = None,
11219
11246
  label: typing.Optional[builtins.str] = None,
11220
11247
  period: typing.Optional[_Duration_4839e8c3] = None,
11221
11248
  region: typing.Optional[builtins.str] = None,
@@ -11223,6 +11250,7 @@ class _IProjectProxy(
11223
11250
  stack_region: typing.Optional[builtins.str] = None,
11224
11251
  statistic: typing.Optional[builtins.str] = None,
11225
11252
  unit: typing.Optional[_Unit_61bc6f70] = None,
11253
+ visible: typing.Optional[builtins.bool] = None,
11226
11254
  ) -> _Metric_e396a4dc:
11227
11255
  '''Measures the number of builds triggered.
11228
11256
 
@@ -11233,6 +11261,7 @@ class _IProjectProxy(
11233
11261
  :param account: Account which this metric comes from. Default: - Deployment account.
11234
11262
  :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
11235
11263
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
11264
+ :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
11236
11265
  :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
11237
11266
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
11238
11267
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -11240,6 +11269,7 @@ class _IProjectProxy(
11240
11269
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
11241
11270
  :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
11242
11271
  :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
11272
+ :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
11243
11273
 
11244
11274
  :default: sum over 5 minutes
11245
11275
  '''
@@ -11247,6 +11277,7 @@ class _IProjectProxy(
11247
11277
  account=account,
11248
11278
  color=color,
11249
11279
  dimensions_map=dimensions_map,
11280
+ id=id,
11250
11281
  label=label,
11251
11282
  period=period,
11252
11283
  region=region,
@@ -11254,6 +11285,7 @@ class _IProjectProxy(
11254
11285
  stack_region=stack_region,
11255
11286
  statistic=statistic,
11256
11287
  unit=unit,
11288
+ visible=visible,
11257
11289
  )
11258
11290
 
11259
11291
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricBuilds", [props]))
@@ -11265,6 +11297,7 @@ class _IProjectProxy(
11265
11297
  account: typing.Optional[builtins.str] = None,
11266
11298
  color: typing.Optional[builtins.str] = None,
11267
11299
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
11300
+ id: typing.Optional[builtins.str] = None,
11268
11301
  label: typing.Optional[builtins.str] = None,
11269
11302
  period: typing.Optional[_Duration_4839e8c3] = None,
11270
11303
  region: typing.Optional[builtins.str] = None,
@@ -11272,6 +11305,7 @@ class _IProjectProxy(
11272
11305
  stack_region: typing.Optional[builtins.str] = None,
11273
11306
  statistic: typing.Optional[builtins.str] = None,
11274
11307
  unit: typing.Optional[_Unit_61bc6f70] = None,
11308
+ visible: typing.Optional[builtins.bool] = None,
11275
11309
  ) -> _Metric_e396a4dc:
11276
11310
  '''Measures the duration of all builds over time.
11277
11311
 
@@ -11282,6 +11316,7 @@ class _IProjectProxy(
11282
11316
  :param account: Account which this metric comes from. Default: - Deployment account.
11283
11317
  :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
11284
11318
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
11319
+ :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
11285
11320
  :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
11286
11321
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
11287
11322
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -11289,6 +11324,7 @@ class _IProjectProxy(
11289
11324
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
11290
11325
  :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
11291
11326
  :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
11327
+ :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
11292
11328
 
11293
11329
  :default: average over 5 minutes
11294
11330
  '''
@@ -11296,6 +11332,7 @@ class _IProjectProxy(
11296
11332
  account=account,
11297
11333
  color=color,
11298
11334
  dimensions_map=dimensions_map,
11335
+ id=id,
11299
11336
  label=label,
11300
11337
  period=period,
11301
11338
  region=region,
@@ -11303,6 +11340,7 @@ class _IProjectProxy(
11303
11340
  stack_region=stack_region,
11304
11341
  statistic=statistic,
11305
11342
  unit=unit,
11343
+ visible=visible,
11306
11344
  )
11307
11345
 
11308
11346
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricDuration", [props]))
@@ -11314,6 +11352,7 @@ class _IProjectProxy(
11314
11352
  account: typing.Optional[builtins.str] = None,
11315
11353
  color: typing.Optional[builtins.str] = None,
11316
11354
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
11355
+ id: typing.Optional[builtins.str] = None,
11317
11356
  label: typing.Optional[builtins.str] = None,
11318
11357
  period: typing.Optional[_Duration_4839e8c3] = None,
11319
11358
  region: typing.Optional[builtins.str] = None,
@@ -11321,6 +11360,7 @@ class _IProjectProxy(
11321
11360
  stack_region: typing.Optional[builtins.str] = None,
11322
11361
  statistic: typing.Optional[builtins.str] = None,
11323
11362
  unit: typing.Optional[_Unit_61bc6f70] = None,
11363
+ visible: typing.Optional[builtins.bool] = None,
11324
11364
  ) -> _Metric_e396a4dc:
11325
11365
  '''Measures the number of builds that failed because of client error or because of a timeout.
11326
11366
 
@@ -11331,6 +11371,7 @@ class _IProjectProxy(
11331
11371
  :param account: Account which this metric comes from. Default: - Deployment account.
11332
11372
  :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
11333
11373
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
11374
+ :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
11334
11375
  :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
11335
11376
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
11336
11377
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -11338,6 +11379,7 @@ class _IProjectProxy(
11338
11379
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
11339
11380
  :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
11340
11381
  :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
11382
+ :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
11341
11383
 
11342
11384
  :default: sum over 5 minutes
11343
11385
  '''
@@ -11345,6 +11387,7 @@ class _IProjectProxy(
11345
11387
  account=account,
11346
11388
  color=color,
11347
11389
  dimensions_map=dimensions_map,
11390
+ id=id,
11348
11391
  label=label,
11349
11392
  period=period,
11350
11393
  region=region,
@@ -11352,6 +11395,7 @@ class _IProjectProxy(
11352
11395
  stack_region=stack_region,
11353
11396
  statistic=statistic,
11354
11397
  unit=unit,
11398
+ visible=visible,
11355
11399
  )
11356
11400
 
11357
11401
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricFailedBuilds", [props]))
@@ -11363,6 +11407,7 @@ class _IProjectProxy(
11363
11407
  account: typing.Optional[builtins.str] = None,
11364
11408
  color: typing.Optional[builtins.str] = None,
11365
11409
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
11410
+ id: typing.Optional[builtins.str] = None,
11366
11411
  label: typing.Optional[builtins.str] = None,
11367
11412
  period: typing.Optional[_Duration_4839e8c3] = None,
11368
11413
  region: typing.Optional[builtins.str] = None,
@@ -11370,6 +11415,7 @@ class _IProjectProxy(
11370
11415
  stack_region: typing.Optional[builtins.str] = None,
11371
11416
  statistic: typing.Optional[builtins.str] = None,
11372
11417
  unit: typing.Optional[_Unit_61bc6f70] = None,
11418
+ visible: typing.Optional[builtins.bool] = None,
11373
11419
  ) -> _Metric_e396a4dc:
11374
11420
  '''Measures the number of successful builds.
11375
11421
 
@@ -11380,6 +11426,7 @@ class _IProjectProxy(
11380
11426
  :param account: Account which this metric comes from. Default: - Deployment account.
11381
11427
  :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
11382
11428
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
11429
+ :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
11383
11430
  :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
11384
11431
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
11385
11432
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -11387,6 +11434,7 @@ class _IProjectProxy(
11387
11434
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
11388
11435
  :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
11389
11436
  :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
11437
+ :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
11390
11438
 
11391
11439
  :default: sum over 5 minutes
11392
11440
  '''
@@ -11394,6 +11442,7 @@ class _IProjectProxy(
11394
11442
  account=account,
11395
11443
  color=color,
11396
11444
  dimensions_map=dimensions_map,
11445
+ id=id,
11397
11446
  label=label,
11398
11447
  period=period,
11399
11448
  region=region,
@@ -11401,6 +11450,7 @@ class _IProjectProxy(
11401
11450
  stack_region=stack_region,
11402
11451
  statistic=statistic,
11403
11452
  unit=unit,
11453
+ visible=visible,
11404
11454
  )
11405
11455
 
11406
11456
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricSucceededBuilds", [props]))
@@ -14193,6 +14243,7 @@ class Project(
14193
14243
  account: typing.Optional[builtins.str] = None,
14194
14244
  color: typing.Optional[builtins.str] = None,
14195
14245
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
14246
+ id: typing.Optional[builtins.str] = None,
14196
14247
  label: typing.Optional[builtins.str] = None,
14197
14248
  period: typing.Optional[_Duration_4839e8c3] = None,
14198
14249
  region: typing.Optional[builtins.str] = None,
@@ -14200,12 +14251,14 @@ class Project(
14200
14251
  stack_region: typing.Optional[builtins.str] = None,
14201
14252
  statistic: typing.Optional[builtins.str] = None,
14202
14253
  unit: typing.Optional[_Unit_61bc6f70] = None,
14254
+ visible: typing.Optional[builtins.bool] = None,
14203
14255
  ) -> _Metric_e396a4dc:
14204
14256
  '''
14205
14257
  :param metric_name: The name of the metric.
14206
14258
  :param account: Account which this metric comes from. Default: - Deployment account.
14207
14259
  :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
14208
14260
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
14261
+ :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
14209
14262
  :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
14210
14263
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
14211
14264
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -14213,6 +14266,7 @@ class Project(
14213
14266
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
14214
14267
  :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
14215
14268
  :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
14269
+ :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
14216
14270
 
14217
14271
  :return: a CloudWatch metric associated with this build project.
14218
14272
  '''
@@ -14223,6 +14277,7 @@ class Project(
14223
14277
  account=account,
14224
14278
  color=color,
14225
14279
  dimensions_map=dimensions_map,
14280
+ id=id,
14226
14281
  label=label,
14227
14282
  period=period,
14228
14283
  region=region,
@@ -14230,6 +14285,7 @@ class Project(
14230
14285
  stack_region=stack_region,
14231
14286
  statistic=statistic,
14232
14287
  unit=unit,
14288
+ visible=visible,
14233
14289
  )
14234
14290
 
14235
14291
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metric", [metric_name, props]))
@@ -14241,6 +14297,7 @@ class Project(
14241
14297
  account: typing.Optional[builtins.str] = None,
14242
14298
  color: typing.Optional[builtins.str] = None,
14243
14299
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
14300
+ id: typing.Optional[builtins.str] = None,
14244
14301
  label: typing.Optional[builtins.str] = None,
14245
14302
  period: typing.Optional[_Duration_4839e8c3] = None,
14246
14303
  region: typing.Optional[builtins.str] = None,
@@ -14248,6 +14305,7 @@ class Project(
14248
14305
  stack_region: typing.Optional[builtins.str] = None,
14249
14306
  statistic: typing.Optional[builtins.str] = None,
14250
14307
  unit: typing.Optional[_Unit_61bc6f70] = None,
14308
+ visible: typing.Optional[builtins.bool] = None,
14251
14309
  ) -> _Metric_e396a4dc:
14252
14310
  '''Measures the number of builds triggered.
14253
14311
 
@@ -14258,6 +14316,7 @@ class Project(
14258
14316
  :param account: Account which this metric comes from. Default: - Deployment account.
14259
14317
  :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
14260
14318
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
14319
+ :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
14261
14320
  :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
14262
14321
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
14263
14322
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -14265,6 +14324,7 @@ class Project(
14265
14324
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
14266
14325
  :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
14267
14326
  :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
14327
+ :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
14268
14328
 
14269
14329
  :default: sum over 5 minutes
14270
14330
  '''
@@ -14272,6 +14332,7 @@ class Project(
14272
14332
  account=account,
14273
14333
  color=color,
14274
14334
  dimensions_map=dimensions_map,
14335
+ id=id,
14275
14336
  label=label,
14276
14337
  period=period,
14277
14338
  region=region,
@@ -14279,6 +14340,7 @@ class Project(
14279
14340
  stack_region=stack_region,
14280
14341
  statistic=statistic,
14281
14342
  unit=unit,
14343
+ visible=visible,
14282
14344
  )
14283
14345
 
14284
14346
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricBuilds", [props]))
@@ -14290,6 +14352,7 @@ class Project(
14290
14352
  account: typing.Optional[builtins.str] = None,
14291
14353
  color: typing.Optional[builtins.str] = None,
14292
14354
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
14355
+ id: typing.Optional[builtins.str] = None,
14293
14356
  label: typing.Optional[builtins.str] = None,
14294
14357
  period: typing.Optional[_Duration_4839e8c3] = None,
14295
14358
  region: typing.Optional[builtins.str] = None,
@@ -14297,6 +14360,7 @@ class Project(
14297
14360
  stack_region: typing.Optional[builtins.str] = None,
14298
14361
  statistic: typing.Optional[builtins.str] = None,
14299
14362
  unit: typing.Optional[_Unit_61bc6f70] = None,
14363
+ visible: typing.Optional[builtins.bool] = None,
14300
14364
  ) -> _Metric_e396a4dc:
14301
14365
  '''Measures the duration of all builds over time.
14302
14366
 
@@ -14307,6 +14371,7 @@ class Project(
14307
14371
  :param account: Account which this metric comes from. Default: - Deployment account.
14308
14372
  :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
14309
14373
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
14374
+ :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
14310
14375
  :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
14311
14376
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
14312
14377
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -14314,6 +14379,7 @@ class Project(
14314
14379
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
14315
14380
  :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
14316
14381
  :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
14382
+ :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
14317
14383
 
14318
14384
  :default: average over 5 minutes
14319
14385
  '''
@@ -14321,6 +14387,7 @@ class Project(
14321
14387
  account=account,
14322
14388
  color=color,
14323
14389
  dimensions_map=dimensions_map,
14390
+ id=id,
14324
14391
  label=label,
14325
14392
  period=period,
14326
14393
  region=region,
@@ -14328,6 +14395,7 @@ class Project(
14328
14395
  stack_region=stack_region,
14329
14396
  statistic=statistic,
14330
14397
  unit=unit,
14398
+ visible=visible,
14331
14399
  )
14332
14400
 
14333
14401
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricDuration", [props]))
@@ -14339,6 +14407,7 @@ class Project(
14339
14407
  account: typing.Optional[builtins.str] = None,
14340
14408
  color: typing.Optional[builtins.str] = None,
14341
14409
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
14410
+ id: typing.Optional[builtins.str] = None,
14342
14411
  label: typing.Optional[builtins.str] = None,
14343
14412
  period: typing.Optional[_Duration_4839e8c3] = None,
14344
14413
  region: typing.Optional[builtins.str] = None,
@@ -14346,6 +14415,7 @@ class Project(
14346
14415
  stack_region: typing.Optional[builtins.str] = None,
14347
14416
  statistic: typing.Optional[builtins.str] = None,
14348
14417
  unit: typing.Optional[_Unit_61bc6f70] = None,
14418
+ visible: typing.Optional[builtins.bool] = None,
14349
14419
  ) -> _Metric_e396a4dc:
14350
14420
  '''Measures the number of builds that failed because of client error or because of a timeout.
14351
14421
 
@@ -14356,6 +14426,7 @@ class Project(
14356
14426
  :param account: Account which this metric comes from. Default: - Deployment account.
14357
14427
  :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
14358
14428
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
14429
+ :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
14359
14430
  :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
14360
14431
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
14361
14432
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -14363,6 +14434,7 @@ class Project(
14363
14434
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
14364
14435
  :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
14365
14436
  :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
14437
+ :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
14366
14438
 
14367
14439
  :default: sum over 5 minutes
14368
14440
  '''
@@ -14370,6 +14442,7 @@ class Project(
14370
14442
  account=account,
14371
14443
  color=color,
14372
14444
  dimensions_map=dimensions_map,
14445
+ id=id,
14373
14446
  label=label,
14374
14447
  period=period,
14375
14448
  region=region,
@@ -14377,6 +14450,7 @@ class Project(
14377
14450
  stack_region=stack_region,
14378
14451
  statistic=statistic,
14379
14452
  unit=unit,
14453
+ visible=visible,
14380
14454
  )
14381
14455
 
14382
14456
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricFailedBuilds", [props]))
@@ -14388,6 +14462,7 @@ class Project(
14388
14462
  account: typing.Optional[builtins.str] = None,
14389
14463
  color: typing.Optional[builtins.str] = None,
14390
14464
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
14465
+ id: typing.Optional[builtins.str] = None,
14391
14466
  label: typing.Optional[builtins.str] = None,
14392
14467
  period: typing.Optional[_Duration_4839e8c3] = None,
14393
14468
  region: typing.Optional[builtins.str] = None,
@@ -14395,6 +14470,7 @@ class Project(
14395
14470
  stack_region: typing.Optional[builtins.str] = None,
14396
14471
  statistic: typing.Optional[builtins.str] = None,
14397
14472
  unit: typing.Optional[_Unit_61bc6f70] = None,
14473
+ visible: typing.Optional[builtins.bool] = None,
14398
14474
  ) -> _Metric_e396a4dc:
14399
14475
  '''Measures the number of successful builds.
14400
14476
 
@@ -14405,6 +14481,7 @@ class Project(
14405
14481
  :param account: Account which this metric comes from. Default: - Deployment account.
14406
14482
  :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
14407
14483
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
14484
+ :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
14408
14485
  :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
14409
14486
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
14410
14487
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -14412,6 +14489,7 @@ class Project(
14412
14489
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
14413
14490
  :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
14414
14491
  :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
14492
+ :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
14415
14493
 
14416
14494
  :default: sum over 5 minutes
14417
14495
  '''
@@ -14419,6 +14497,7 @@ class Project(
14419
14497
  account=account,
14420
14498
  color=color,
14421
14499
  dimensions_map=dimensions_map,
14500
+ id=id,
14422
14501
  label=label,
14423
14502
  period=period,
14424
14503
  region=region,
@@ -14426,6 +14505,7 @@ class Project(
14426
14505
  stack_region=stack_region,
14427
14506
  statistic=statistic,
14428
14507
  unit=unit,
14508
+ visible=visible,
14429
14509
  )
14430
14510
 
14431
14511
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricSucceededBuilds", [props]))
@@ -19940,6 +20020,7 @@ def _typecheckingstub__4f7884de76ff7cb0ba58cc48d1d7bc265a2e8da34c1f3bde4ea5a96e3
19940
20020
  account: typing.Optional[builtins.str] = None,
19941
20021
  color: typing.Optional[builtins.str] = None,
19942
20022
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
20023
+ id: typing.Optional[builtins.str] = None,
19943
20024
  label: typing.Optional[builtins.str] = None,
19944
20025
  period: typing.Optional[_Duration_4839e8c3] = None,
19945
20026
  region: typing.Optional[builtins.str] = None,
@@ -19947,6 +20028,7 @@ def _typecheckingstub__4f7884de76ff7cb0ba58cc48d1d7bc265a2e8da34c1f3bde4ea5a96e3
19947
20028
  stack_region: typing.Optional[builtins.str] = None,
19948
20029
  statistic: typing.Optional[builtins.str] = None,
19949
20030
  unit: typing.Optional[_Unit_61bc6f70] = None,
20031
+ visible: typing.Optional[builtins.bool] = None,
19950
20032
  ) -> None:
19951
20033
  """Type checking stubs"""
19952
20034
  pass
@@ -20354,6 +20436,7 @@ def _typecheckingstub__685fd8fff031c8a93196b514789bd4f8ac1a27018ed911a6883d21b80
20354
20436
  account: typing.Optional[builtins.str] = None,
20355
20437
  color: typing.Optional[builtins.str] = None,
20356
20438
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
20439
+ id: typing.Optional[builtins.str] = None,
20357
20440
  label: typing.Optional[builtins.str] = None,
20358
20441
  period: typing.Optional[_Duration_4839e8c3] = None,
20359
20442
  region: typing.Optional[builtins.str] = None,
@@ -20361,6 +20444,7 @@ def _typecheckingstub__685fd8fff031c8a93196b514789bd4f8ac1a27018ed911a6883d21b80
20361
20444
  stack_region: typing.Optional[builtins.str] = None,
20362
20445
  statistic: typing.Optional[builtins.str] = None,
20363
20446
  unit: typing.Optional[_Unit_61bc6f70] = None,
20447
+ visible: typing.Optional[builtins.bool] = None,
20364
20448
  ) -> None:
20365
20449
  """Type checking stubs"""
20366
20450
  pass