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
@@ -18667,6 +18667,7 @@ class IFunction(
18667
18667
  account: typing.Optional[builtins.str] = None,
18668
18668
  color: typing.Optional[builtins.str] = None,
18669
18669
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
18670
+ id: typing.Optional[builtins.str] = None,
18670
18671
  label: typing.Optional[builtins.str] = None,
18671
18672
  period: typing.Optional[_Duration_4839e8c3] = None,
18672
18673
  region: typing.Optional[builtins.str] = None,
@@ -18674,6 +18675,7 @@ class IFunction(
18674
18675
  stack_region: typing.Optional[builtins.str] = None,
18675
18676
  statistic: typing.Optional[builtins.str] = None,
18676
18677
  unit: typing.Optional[_Unit_61bc6f70] = None,
18678
+ visible: typing.Optional[builtins.bool] = None,
18677
18679
  ) -> _Metric_e396a4dc:
18678
18680
  '''Return the given named metric for this Lambda Return the given named metric for this Function.
18679
18681
 
@@ -18681,6 +18683,7 @@ class IFunction(
18681
18683
  :param account: Account which this metric comes from. Default: - Deployment account.
18682
18684
  :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
18683
18685
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
18686
+ :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
18684
18687
  :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
18685
18688
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
18686
18689
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -18688,6 +18691,7 @@ class IFunction(
18688
18691
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
18689
18692
  :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
18690
18693
  :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
18694
+ :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
18691
18695
  '''
18692
18696
  ...
18693
18697
 
@@ -18698,6 +18702,7 @@ class IFunction(
18698
18702
  account: typing.Optional[builtins.str] = None,
18699
18703
  color: typing.Optional[builtins.str] = None,
18700
18704
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
18705
+ id: typing.Optional[builtins.str] = None,
18701
18706
  label: typing.Optional[builtins.str] = None,
18702
18707
  period: typing.Optional[_Duration_4839e8c3] = None,
18703
18708
  region: typing.Optional[builtins.str] = None,
@@ -18705,6 +18710,7 @@ class IFunction(
18705
18710
  stack_region: typing.Optional[builtins.str] = None,
18706
18711
  statistic: typing.Optional[builtins.str] = None,
18707
18712
  unit: typing.Optional[_Unit_61bc6f70] = None,
18713
+ visible: typing.Optional[builtins.bool] = None,
18708
18714
  ) -> _Metric_e396a4dc:
18709
18715
  '''Metric for the Duration of this Lambda How long execution of this Lambda takes.
18710
18716
 
@@ -18713,6 +18719,7 @@ class IFunction(
18713
18719
  :param account: Account which this metric comes from. Default: - Deployment account.
18714
18720
  :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
18715
18721
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
18722
+ :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
18716
18723
  :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
18717
18724
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
18718
18725
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -18720,6 +18727,7 @@ class IFunction(
18720
18727
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
18721
18728
  :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
18722
18729
  :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
18730
+ :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
18723
18731
 
18724
18732
  :default: average over 5 minutes
18725
18733
  '''
@@ -18732,6 +18740,7 @@ class IFunction(
18732
18740
  account: typing.Optional[builtins.str] = None,
18733
18741
  color: typing.Optional[builtins.str] = None,
18734
18742
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
18743
+ id: typing.Optional[builtins.str] = None,
18735
18744
  label: typing.Optional[builtins.str] = None,
18736
18745
  period: typing.Optional[_Duration_4839e8c3] = None,
18737
18746
  region: typing.Optional[builtins.str] = None,
@@ -18739,6 +18748,7 @@ class IFunction(
18739
18748
  stack_region: typing.Optional[builtins.str] = None,
18740
18749
  statistic: typing.Optional[builtins.str] = None,
18741
18750
  unit: typing.Optional[_Unit_61bc6f70] = None,
18751
+ visible: typing.Optional[builtins.bool] = None,
18742
18752
  ) -> _Metric_e396a4dc:
18743
18753
  '''How many invocations of this Lambda fail.
18744
18754
 
@@ -18747,6 +18757,7 @@ class IFunction(
18747
18757
  :param account: Account which this metric comes from. Default: - Deployment account.
18748
18758
  :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
18749
18759
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
18760
+ :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
18750
18761
  :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
18751
18762
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
18752
18763
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -18754,6 +18765,7 @@ class IFunction(
18754
18765
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
18755
18766
  :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
18756
18767
  :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
18768
+ :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
18757
18769
  '''
18758
18770
  ...
18759
18771
 
@@ -18764,6 +18776,7 @@ class IFunction(
18764
18776
  account: typing.Optional[builtins.str] = None,
18765
18777
  color: typing.Optional[builtins.str] = None,
18766
18778
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
18779
+ id: typing.Optional[builtins.str] = None,
18767
18780
  label: typing.Optional[builtins.str] = None,
18768
18781
  period: typing.Optional[_Duration_4839e8c3] = None,
18769
18782
  region: typing.Optional[builtins.str] = None,
@@ -18771,6 +18784,7 @@ class IFunction(
18771
18784
  stack_region: typing.Optional[builtins.str] = None,
18772
18785
  statistic: typing.Optional[builtins.str] = None,
18773
18786
  unit: typing.Optional[_Unit_61bc6f70] = None,
18787
+ visible: typing.Optional[builtins.bool] = None,
18774
18788
  ) -> _Metric_e396a4dc:
18775
18789
  '''Metric for the number of invocations of this Lambda How often this Lambda is invoked.
18776
18790
 
@@ -18779,6 +18793,7 @@ class IFunction(
18779
18793
  :param account: Account which this metric comes from. Default: - Deployment account.
18780
18794
  :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
18781
18795
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
18796
+ :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
18782
18797
  :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
18783
18798
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
18784
18799
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -18786,6 +18801,7 @@ class IFunction(
18786
18801
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
18787
18802
  :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
18788
18803
  :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
18804
+ :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
18789
18805
 
18790
18806
  :default: sum over 5 minutes
18791
18807
  '''
@@ -18798,6 +18814,7 @@ class IFunction(
18798
18814
  account: typing.Optional[builtins.str] = None,
18799
18815
  color: typing.Optional[builtins.str] = None,
18800
18816
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
18817
+ id: typing.Optional[builtins.str] = None,
18801
18818
  label: typing.Optional[builtins.str] = None,
18802
18819
  period: typing.Optional[_Duration_4839e8c3] = None,
18803
18820
  region: typing.Optional[builtins.str] = None,
@@ -18805,6 +18822,7 @@ class IFunction(
18805
18822
  stack_region: typing.Optional[builtins.str] = None,
18806
18823
  statistic: typing.Optional[builtins.str] = None,
18807
18824
  unit: typing.Optional[_Unit_61bc6f70] = None,
18825
+ visible: typing.Optional[builtins.bool] = None,
18808
18826
  ) -> _Metric_e396a4dc:
18809
18827
  '''Metric for the number of throttled invocations of this Lambda How often this Lambda is throttled.
18810
18828
 
@@ -18813,6 +18831,7 @@ class IFunction(
18813
18831
  :param account: Account which this metric comes from. Default: - Deployment account.
18814
18832
  :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
18815
18833
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
18834
+ :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
18816
18835
  :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
18817
18836
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
18818
18837
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -18820,6 +18839,7 @@ class IFunction(
18820
18839
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
18821
18840
  :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
18822
18841
  :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
18842
+ :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
18823
18843
 
18824
18844
  :default: sum over 5 minutes
18825
18845
  '''
@@ -19185,6 +19205,7 @@ class _IFunctionProxy(
19185
19205
  account: typing.Optional[builtins.str] = None,
19186
19206
  color: typing.Optional[builtins.str] = None,
19187
19207
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
19208
+ id: typing.Optional[builtins.str] = None,
19188
19209
  label: typing.Optional[builtins.str] = None,
19189
19210
  period: typing.Optional[_Duration_4839e8c3] = None,
19190
19211
  region: typing.Optional[builtins.str] = None,
@@ -19192,6 +19213,7 @@ class _IFunctionProxy(
19192
19213
  stack_region: typing.Optional[builtins.str] = None,
19193
19214
  statistic: typing.Optional[builtins.str] = None,
19194
19215
  unit: typing.Optional[_Unit_61bc6f70] = None,
19216
+ visible: typing.Optional[builtins.bool] = None,
19195
19217
  ) -> _Metric_e396a4dc:
19196
19218
  '''Return the given named metric for this Lambda Return the given named metric for this Function.
19197
19219
 
@@ -19199,6 +19221,7 @@ class _IFunctionProxy(
19199
19221
  :param account: Account which this metric comes from. Default: - Deployment account.
19200
19222
  :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
19201
19223
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
19224
+ :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
19202
19225
  :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
19203
19226
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
19204
19227
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -19206,6 +19229,7 @@ class _IFunctionProxy(
19206
19229
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
19207
19230
  :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
19208
19231
  :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
19232
+ :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
19209
19233
  '''
19210
19234
  if __debug__:
19211
19235
  type_hints = typing.get_type_hints(_typecheckingstub__e51ed953937811fd98427961afbaf8299c3abf178e0c6044c8712d5035416992)
@@ -19214,6 +19238,7 @@ class _IFunctionProxy(
19214
19238
  account=account,
19215
19239
  color=color,
19216
19240
  dimensions_map=dimensions_map,
19241
+ id=id,
19217
19242
  label=label,
19218
19243
  period=period,
19219
19244
  region=region,
@@ -19221,6 +19246,7 @@ class _IFunctionProxy(
19221
19246
  stack_region=stack_region,
19222
19247
  statistic=statistic,
19223
19248
  unit=unit,
19249
+ visible=visible,
19224
19250
  )
19225
19251
 
19226
19252
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metric", [metric_name, props]))
@@ -19232,6 +19258,7 @@ class _IFunctionProxy(
19232
19258
  account: typing.Optional[builtins.str] = None,
19233
19259
  color: typing.Optional[builtins.str] = None,
19234
19260
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
19261
+ id: typing.Optional[builtins.str] = None,
19235
19262
  label: typing.Optional[builtins.str] = None,
19236
19263
  period: typing.Optional[_Duration_4839e8c3] = None,
19237
19264
  region: typing.Optional[builtins.str] = None,
@@ -19239,6 +19266,7 @@ class _IFunctionProxy(
19239
19266
  stack_region: typing.Optional[builtins.str] = None,
19240
19267
  statistic: typing.Optional[builtins.str] = None,
19241
19268
  unit: typing.Optional[_Unit_61bc6f70] = None,
19269
+ visible: typing.Optional[builtins.bool] = None,
19242
19270
  ) -> _Metric_e396a4dc:
19243
19271
  '''Metric for the Duration of this Lambda How long execution of this Lambda takes.
19244
19272
 
@@ -19247,6 +19275,7 @@ class _IFunctionProxy(
19247
19275
  :param account: Account which this metric comes from. Default: - Deployment account.
19248
19276
  :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
19249
19277
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
19278
+ :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
19250
19279
  :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
19251
19280
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
19252
19281
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -19254,6 +19283,7 @@ class _IFunctionProxy(
19254
19283
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
19255
19284
  :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
19256
19285
  :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
19286
+ :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
19257
19287
 
19258
19288
  :default: average over 5 minutes
19259
19289
  '''
@@ -19261,6 +19291,7 @@ class _IFunctionProxy(
19261
19291
  account=account,
19262
19292
  color=color,
19263
19293
  dimensions_map=dimensions_map,
19294
+ id=id,
19264
19295
  label=label,
19265
19296
  period=period,
19266
19297
  region=region,
@@ -19268,6 +19299,7 @@ class _IFunctionProxy(
19268
19299
  stack_region=stack_region,
19269
19300
  statistic=statistic,
19270
19301
  unit=unit,
19302
+ visible=visible,
19271
19303
  )
19272
19304
 
19273
19305
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricDuration", [props]))
@@ -19279,6 +19311,7 @@ class _IFunctionProxy(
19279
19311
  account: typing.Optional[builtins.str] = None,
19280
19312
  color: typing.Optional[builtins.str] = None,
19281
19313
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
19314
+ id: typing.Optional[builtins.str] = None,
19282
19315
  label: typing.Optional[builtins.str] = None,
19283
19316
  period: typing.Optional[_Duration_4839e8c3] = None,
19284
19317
  region: typing.Optional[builtins.str] = None,
@@ -19286,6 +19319,7 @@ class _IFunctionProxy(
19286
19319
  stack_region: typing.Optional[builtins.str] = None,
19287
19320
  statistic: typing.Optional[builtins.str] = None,
19288
19321
  unit: typing.Optional[_Unit_61bc6f70] = None,
19322
+ visible: typing.Optional[builtins.bool] = None,
19289
19323
  ) -> _Metric_e396a4dc:
19290
19324
  '''How many invocations of this Lambda fail.
19291
19325
 
@@ -19294,6 +19328,7 @@ class _IFunctionProxy(
19294
19328
  :param account: Account which this metric comes from. Default: - Deployment account.
19295
19329
  :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
19296
19330
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
19331
+ :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
19297
19332
  :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
19298
19333
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
19299
19334
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -19301,11 +19336,13 @@ class _IFunctionProxy(
19301
19336
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
19302
19337
  :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
19303
19338
  :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
19339
+ :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
19304
19340
  '''
19305
19341
  props = _MetricOptions_1788b62f(
19306
19342
  account=account,
19307
19343
  color=color,
19308
19344
  dimensions_map=dimensions_map,
19345
+ id=id,
19309
19346
  label=label,
19310
19347
  period=period,
19311
19348
  region=region,
@@ -19313,6 +19350,7 @@ class _IFunctionProxy(
19313
19350
  stack_region=stack_region,
19314
19351
  statistic=statistic,
19315
19352
  unit=unit,
19353
+ visible=visible,
19316
19354
  )
19317
19355
 
19318
19356
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricErrors", [props]))
@@ -19324,6 +19362,7 @@ class _IFunctionProxy(
19324
19362
  account: typing.Optional[builtins.str] = None,
19325
19363
  color: typing.Optional[builtins.str] = None,
19326
19364
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
19365
+ id: typing.Optional[builtins.str] = None,
19327
19366
  label: typing.Optional[builtins.str] = None,
19328
19367
  period: typing.Optional[_Duration_4839e8c3] = None,
19329
19368
  region: typing.Optional[builtins.str] = None,
@@ -19331,6 +19370,7 @@ class _IFunctionProxy(
19331
19370
  stack_region: typing.Optional[builtins.str] = None,
19332
19371
  statistic: typing.Optional[builtins.str] = None,
19333
19372
  unit: typing.Optional[_Unit_61bc6f70] = None,
19373
+ visible: typing.Optional[builtins.bool] = None,
19334
19374
  ) -> _Metric_e396a4dc:
19335
19375
  '''Metric for the number of invocations of this Lambda How often this Lambda is invoked.
19336
19376
 
@@ -19339,6 +19379,7 @@ class _IFunctionProxy(
19339
19379
  :param account: Account which this metric comes from. Default: - Deployment account.
19340
19380
  :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
19341
19381
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
19382
+ :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
19342
19383
  :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
19343
19384
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
19344
19385
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -19346,6 +19387,7 @@ class _IFunctionProxy(
19346
19387
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
19347
19388
  :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
19348
19389
  :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
19390
+ :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
19349
19391
 
19350
19392
  :default: sum over 5 minutes
19351
19393
  '''
@@ -19353,6 +19395,7 @@ class _IFunctionProxy(
19353
19395
  account=account,
19354
19396
  color=color,
19355
19397
  dimensions_map=dimensions_map,
19398
+ id=id,
19356
19399
  label=label,
19357
19400
  period=period,
19358
19401
  region=region,
@@ -19360,6 +19403,7 @@ class _IFunctionProxy(
19360
19403
  stack_region=stack_region,
19361
19404
  statistic=statistic,
19362
19405
  unit=unit,
19406
+ visible=visible,
19363
19407
  )
19364
19408
 
19365
19409
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricInvocations", [props]))
@@ -19371,6 +19415,7 @@ class _IFunctionProxy(
19371
19415
  account: typing.Optional[builtins.str] = None,
19372
19416
  color: typing.Optional[builtins.str] = None,
19373
19417
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
19418
+ id: typing.Optional[builtins.str] = None,
19374
19419
  label: typing.Optional[builtins.str] = None,
19375
19420
  period: typing.Optional[_Duration_4839e8c3] = None,
19376
19421
  region: typing.Optional[builtins.str] = None,
@@ -19378,6 +19423,7 @@ class _IFunctionProxy(
19378
19423
  stack_region: typing.Optional[builtins.str] = None,
19379
19424
  statistic: typing.Optional[builtins.str] = None,
19380
19425
  unit: typing.Optional[_Unit_61bc6f70] = None,
19426
+ visible: typing.Optional[builtins.bool] = None,
19381
19427
  ) -> _Metric_e396a4dc:
19382
19428
  '''Metric for the number of throttled invocations of this Lambda How often this Lambda is throttled.
19383
19429
 
@@ -19386,6 +19432,7 @@ class _IFunctionProxy(
19386
19432
  :param account: Account which this metric comes from. Default: - Deployment account.
19387
19433
  :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
19388
19434
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
19435
+ :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
19389
19436
  :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
19390
19437
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
19391
19438
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -19393,6 +19440,7 @@ class _IFunctionProxy(
19393
19440
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
19394
19441
  :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
19395
19442
  :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
19443
+ :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
19396
19444
 
19397
19445
  :default: sum over 5 minutes
19398
19446
  '''
@@ -19400,6 +19448,7 @@ class _IFunctionProxy(
19400
19448
  account=account,
19401
19449
  color=color,
19402
19450
  dimensions_map=dimensions_map,
19451
+ id=id,
19403
19452
  label=label,
19404
19453
  period=period,
19405
19454
  region=region,
@@ -19407,6 +19456,7 @@ class _IFunctionProxy(
19407
19456
  stack_region=stack_region,
19408
19457
  statistic=statistic,
19409
19458
  unit=unit,
19459
+ visible=visible,
19410
19460
  )
19411
19461
 
19412
19462
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricThrottles", [props]))
@@ -27605,6 +27655,7 @@ class FunctionBase(
27605
27655
  account: typing.Optional[builtins.str] = None,
27606
27656
  color: typing.Optional[builtins.str] = None,
27607
27657
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
27658
+ id: typing.Optional[builtins.str] = None,
27608
27659
  label: typing.Optional[builtins.str] = None,
27609
27660
  period: typing.Optional[_Duration_4839e8c3] = None,
27610
27661
  region: typing.Optional[builtins.str] = None,
@@ -27612,6 +27663,7 @@ class FunctionBase(
27612
27663
  stack_region: typing.Optional[builtins.str] = None,
27613
27664
  statistic: typing.Optional[builtins.str] = None,
27614
27665
  unit: typing.Optional[_Unit_61bc6f70] = None,
27666
+ visible: typing.Optional[builtins.bool] = None,
27615
27667
  ) -> _Metric_e396a4dc:
27616
27668
  '''Return the given named metric for this Function.
27617
27669
 
@@ -27619,6 +27671,7 @@ class FunctionBase(
27619
27671
  :param account: Account which this metric comes from. Default: - Deployment account.
27620
27672
  :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
27621
27673
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
27674
+ :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
27622
27675
  :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
27623
27676
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
27624
27677
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -27626,6 +27679,7 @@ class FunctionBase(
27626
27679
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
27627
27680
  :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
27628
27681
  :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
27682
+ :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
27629
27683
  '''
27630
27684
  if __debug__:
27631
27685
  type_hints = typing.get_type_hints(_typecheckingstub__06d3e951175cb3e949d91bfc243ef1f86cf676c9e64f1d67f410dbe5da513eee)
@@ -27634,6 +27688,7 @@ class FunctionBase(
27634
27688
  account=account,
27635
27689
  color=color,
27636
27690
  dimensions_map=dimensions_map,
27691
+ id=id,
27637
27692
  label=label,
27638
27693
  period=period,
27639
27694
  region=region,
@@ -27641,6 +27696,7 @@ class FunctionBase(
27641
27696
  stack_region=stack_region,
27642
27697
  statistic=statistic,
27643
27698
  unit=unit,
27699
+ visible=visible,
27644
27700
  )
27645
27701
 
27646
27702
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metric", [metric_name, props]))
@@ -27652,6 +27708,7 @@ class FunctionBase(
27652
27708
  account: typing.Optional[builtins.str] = None,
27653
27709
  color: typing.Optional[builtins.str] = None,
27654
27710
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
27711
+ id: typing.Optional[builtins.str] = None,
27655
27712
  label: typing.Optional[builtins.str] = None,
27656
27713
  period: typing.Optional[_Duration_4839e8c3] = None,
27657
27714
  region: typing.Optional[builtins.str] = None,
@@ -27659,6 +27716,7 @@ class FunctionBase(
27659
27716
  stack_region: typing.Optional[builtins.str] = None,
27660
27717
  statistic: typing.Optional[builtins.str] = None,
27661
27718
  unit: typing.Optional[_Unit_61bc6f70] = None,
27719
+ visible: typing.Optional[builtins.bool] = None,
27662
27720
  ) -> _Metric_e396a4dc:
27663
27721
  '''How long execution of this Lambda takes.
27664
27722
 
@@ -27667,6 +27725,7 @@ class FunctionBase(
27667
27725
  :param account: Account which this metric comes from. Default: - Deployment account.
27668
27726
  :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
27669
27727
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
27728
+ :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
27670
27729
  :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
27671
27730
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
27672
27731
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -27674,11 +27733,13 @@ class FunctionBase(
27674
27733
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
27675
27734
  :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
27676
27735
  :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
27736
+ :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
27677
27737
  '''
27678
27738
  props = _MetricOptions_1788b62f(
27679
27739
  account=account,
27680
27740
  color=color,
27681
27741
  dimensions_map=dimensions_map,
27742
+ id=id,
27682
27743
  label=label,
27683
27744
  period=period,
27684
27745
  region=region,
@@ -27686,6 +27747,7 @@ class FunctionBase(
27686
27747
  stack_region=stack_region,
27687
27748
  statistic=statistic,
27688
27749
  unit=unit,
27750
+ visible=visible,
27689
27751
  )
27690
27752
 
27691
27753
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricDuration", [props]))
@@ -27697,6 +27759,7 @@ class FunctionBase(
27697
27759
  account: typing.Optional[builtins.str] = None,
27698
27760
  color: typing.Optional[builtins.str] = None,
27699
27761
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
27762
+ id: typing.Optional[builtins.str] = None,
27700
27763
  label: typing.Optional[builtins.str] = None,
27701
27764
  period: typing.Optional[_Duration_4839e8c3] = None,
27702
27765
  region: typing.Optional[builtins.str] = None,
@@ -27704,6 +27767,7 @@ class FunctionBase(
27704
27767
  stack_region: typing.Optional[builtins.str] = None,
27705
27768
  statistic: typing.Optional[builtins.str] = None,
27706
27769
  unit: typing.Optional[_Unit_61bc6f70] = None,
27770
+ visible: typing.Optional[builtins.bool] = None,
27707
27771
  ) -> _Metric_e396a4dc:
27708
27772
  '''How many invocations of this Lambda fail.
27709
27773
 
@@ -27712,6 +27776,7 @@ class FunctionBase(
27712
27776
  :param account: Account which this metric comes from. Default: - Deployment account.
27713
27777
  :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
27714
27778
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
27779
+ :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
27715
27780
  :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
27716
27781
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
27717
27782
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -27719,11 +27784,13 @@ class FunctionBase(
27719
27784
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
27720
27785
  :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
27721
27786
  :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
27787
+ :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
27722
27788
  '''
27723
27789
  props = _MetricOptions_1788b62f(
27724
27790
  account=account,
27725
27791
  color=color,
27726
27792
  dimensions_map=dimensions_map,
27793
+ id=id,
27727
27794
  label=label,
27728
27795
  period=period,
27729
27796
  region=region,
@@ -27731,6 +27798,7 @@ class FunctionBase(
27731
27798
  stack_region=stack_region,
27732
27799
  statistic=statistic,
27733
27800
  unit=unit,
27801
+ visible=visible,
27734
27802
  )
27735
27803
 
27736
27804
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricErrors", [props]))
@@ -27742,6 +27810,7 @@ class FunctionBase(
27742
27810
  account: typing.Optional[builtins.str] = None,
27743
27811
  color: typing.Optional[builtins.str] = None,
27744
27812
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
27813
+ id: typing.Optional[builtins.str] = None,
27745
27814
  label: typing.Optional[builtins.str] = None,
27746
27815
  period: typing.Optional[_Duration_4839e8c3] = None,
27747
27816
  region: typing.Optional[builtins.str] = None,
@@ -27749,6 +27818,7 @@ class FunctionBase(
27749
27818
  stack_region: typing.Optional[builtins.str] = None,
27750
27819
  statistic: typing.Optional[builtins.str] = None,
27751
27820
  unit: typing.Optional[_Unit_61bc6f70] = None,
27821
+ visible: typing.Optional[builtins.bool] = None,
27752
27822
  ) -> _Metric_e396a4dc:
27753
27823
  '''How often this Lambda is invoked.
27754
27824
 
@@ -27757,6 +27827,7 @@ class FunctionBase(
27757
27827
  :param account: Account which this metric comes from. Default: - Deployment account.
27758
27828
  :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
27759
27829
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
27830
+ :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
27760
27831
  :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
27761
27832
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
27762
27833
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -27764,11 +27835,13 @@ class FunctionBase(
27764
27835
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
27765
27836
  :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
27766
27837
  :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
27838
+ :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
27767
27839
  '''
27768
27840
  props = _MetricOptions_1788b62f(
27769
27841
  account=account,
27770
27842
  color=color,
27771
27843
  dimensions_map=dimensions_map,
27844
+ id=id,
27772
27845
  label=label,
27773
27846
  period=period,
27774
27847
  region=region,
@@ -27776,6 +27849,7 @@ class FunctionBase(
27776
27849
  stack_region=stack_region,
27777
27850
  statistic=statistic,
27778
27851
  unit=unit,
27852
+ visible=visible,
27779
27853
  )
27780
27854
 
27781
27855
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricInvocations", [props]))
@@ -27787,6 +27861,7 @@ class FunctionBase(
27787
27861
  account: typing.Optional[builtins.str] = None,
27788
27862
  color: typing.Optional[builtins.str] = None,
27789
27863
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
27864
+ id: typing.Optional[builtins.str] = None,
27790
27865
  label: typing.Optional[builtins.str] = None,
27791
27866
  period: typing.Optional[_Duration_4839e8c3] = None,
27792
27867
  region: typing.Optional[builtins.str] = None,
@@ -27794,6 +27869,7 @@ class FunctionBase(
27794
27869
  stack_region: typing.Optional[builtins.str] = None,
27795
27870
  statistic: typing.Optional[builtins.str] = None,
27796
27871
  unit: typing.Optional[_Unit_61bc6f70] = None,
27872
+ visible: typing.Optional[builtins.bool] = None,
27797
27873
  ) -> _Metric_e396a4dc:
27798
27874
  '''How often this Lambda is throttled.
27799
27875
 
@@ -27802,6 +27878,7 @@ class FunctionBase(
27802
27878
  :param account: Account which this metric comes from. Default: - Deployment account.
27803
27879
  :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
27804
27880
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
27881
+ :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
27805
27882
  :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
27806
27883
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
27807
27884
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -27809,11 +27886,13 @@ class FunctionBase(
27809
27886
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
27810
27887
  :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
27811
27888
  :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
27889
+ :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
27812
27890
  '''
27813
27891
  props = _MetricOptions_1788b62f(
27814
27892
  account=account,
27815
27893
  color=color,
27816
27894
  dimensions_map=dimensions_map,
27895
+ id=id,
27817
27896
  label=label,
27818
27897
  period=period,
27819
27898
  region=region,
@@ -27821,6 +27900,7 @@ class FunctionBase(
27821
27900
  stack_region=stack_region,
27822
27901
  statistic=statistic,
27823
27902
  unit=unit,
27903
+ visible=visible,
27824
27904
  )
27825
27905
 
27826
27906
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricThrottles", [props]))
@@ -28932,6 +29012,7 @@ class Version(
28932
29012
  account: typing.Optional[builtins.str] = None,
28933
29013
  color: typing.Optional[builtins.str] = None,
28934
29014
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
29015
+ id: typing.Optional[builtins.str] = None,
28935
29016
  label: typing.Optional[builtins.str] = None,
28936
29017
  period: typing.Optional[_Duration_4839e8c3] = None,
28937
29018
  region: typing.Optional[builtins.str] = None,
@@ -28939,6 +29020,7 @@ class Version(
28939
29020
  stack_region: typing.Optional[builtins.str] = None,
28940
29021
  statistic: typing.Optional[builtins.str] = None,
28941
29022
  unit: typing.Optional[_Unit_61bc6f70] = None,
29023
+ visible: typing.Optional[builtins.bool] = None,
28942
29024
  ) -> _Metric_e396a4dc:
28943
29025
  '''Return the given named metric for this Function.
28944
29026
 
@@ -28946,6 +29028,7 @@ class Version(
28946
29028
  :param account: Account which this metric comes from. Default: - Deployment account.
28947
29029
  :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
28948
29030
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
29031
+ :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
28949
29032
  :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
28950
29033
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
28951
29034
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -28953,6 +29036,7 @@ class Version(
28953
29036
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
28954
29037
  :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
28955
29038
  :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
29039
+ :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
28956
29040
  '''
28957
29041
  if __debug__:
28958
29042
  type_hints = typing.get_type_hints(_typecheckingstub__443bc00c048cff544d1b9157c685f2bee9d441bcf7ce0880c8c977ef8a6bc9db)
@@ -28961,6 +29045,7 @@ class Version(
28961
29045
  account=account,
28962
29046
  color=color,
28963
29047
  dimensions_map=dimensions_map,
29048
+ id=id,
28964
29049
  label=label,
28965
29050
  period=period,
28966
29051
  region=region,
@@ -28968,6 +29053,7 @@ class Version(
28968
29053
  stack_region=stack_region,
28969
29054
  statistic=statistic,
28970
29055
  unit=unit,
29056
+ visible=visible,
28971
29057
  )
28972
29058
 
28973
29059
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metric", [metric_name, props]))
@@ -29179,6 +29265,7 @@ class Alias(
29179
29265
  account: typing.Optional[builtins.str] = None,
29180
29266
  color: typing.Optional[builtins.str] = None,
29181
29267
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
29268
+ id: typing.Optional[builtins.str] = None,
29182
29269
  label: typing.Optional[builtins.str] = None,
29183
29270
  period: typing.Optional[_Duration_4839e8c3] = None,
29184
29271
  region: typing.Optional[builtins.str] = None,
@@ -29186,6 +29273,7 @@ class Alias(
29186
29273
  stack_region: typing.Optional[builtins.str] = None,
29187
29274
  statistic: typing.Optional[builtins.str] = None,
29188
29275
  unit: typing.Optional[_Unit_61bc6f70] = None,
29276
+ visible: typing.Optional[builtins.bool] = None,
29189
29277
  ) -> _Metric_e396a4dc:
29190
29278
  '''Return the given named metric for this Function.
29191
29279
 
@@ -29193,6 +29281,7 @@ class Alias(
29193
29281
  :param account: Account which this metric comes from. Default: - Deployment account.
29194
29282
  :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
29195
29283
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
29284
+ :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
29196
29285
  :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
29197
29286
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
29198
29287
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -29200,6 +29289,7 @@ class Alias(
29200
29289
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
29201
29290
  :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
29202
29291
  :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
29292
+ :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
29203
29293
  '''
29204
29294
  if __debug__:
29205
29295
  type_hints = typing.get_type_hints(_typecheckingstub__389b21392780e7843878816b2a43e6df8aa6beeb978ecb884e16204e64ccf109)
@@ -29208,6 +29298,7 @@ class Alias(
29208
29298
  account=account,
29209
29299
  color=color,
29210
29300
  dimensions_map=dimensions_map,
29301
+ id=id,
29211
29302
  label=label,
29212
29303
  period=period,
29213
29304
  region=region,
@@ -29215,6 +29306,7 @@ class Alias(
29215
29306
  stack_region=stack_region,
29216
29307
  statistic=statistic,
29217
29308
  unit=unit,
29309
+ visible=visible,
29218
29310
  )
29219
29311
 
29220
29312
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metric", [metric_name, props]))
@@ -29645,6 +29737,7 @@ class Function(
29645
29737
  account: typing.Optional[builtins.str] = None,
29646
29738
  color: typing.Optional[builtins.str] = None,
29647
29739
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
29740
+ id: typing.Optional[builtins.str] = None,
29648
29741
  label: typing.Optional[builtins.str] = None,
29649
29742
  period: typing.Optional[_Duration_4839e8c3] = None,
29650
29743
  region: typing.Optional[builtins.str] = None,
@@ -29652,6 +29745,7 @@ class Function(
29652
29745
  stack_region: typing.Optional[builtins.str] = None,
29653
29746
  statistic: typing.Optional[builtins.str] = None,
29654
29747
  unit: typing.Optional[_Unit_61bc6f70] = None,
29748
+ visible: typing.Optional[builtins.bool] = None,
29655
29749
  ) -> _Metric_e396a4dc:
29656
29750
  '''Return the given named metric for this Lambda.
29657
29751
 
@@ -29659,6 +29753,7 @@ class Function(
29659
29753
  :param account: Account which this metric comes from. Default: - Deployment account.
29660
29754
  :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
29661
29755
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
29756
+ :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
29662
29757
  :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
29663
29758
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
29664
29759
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -29666,6 +29761,7 @@ class Function(
29666
29761
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
29667
29762
  :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
29668
29763
  :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
29764
+ :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
29669
29765
  '''
29670
29766
  if __debug__:
29671
29767
  type_hints = typing.get_type_hints(_typecheckingstub__8e44aa6e60e48acf4d280c3549506eac956ae1ca0c7dbcaca07c90a26dfba0b2)
@@ -29674,6 +29770,7 @@ class Function(
29674
29770
  account=account,
29675
29771
  color=color,
29676
29772
  dimensions_map=dimensions_map,
29773
+ id=id,
29677
29774
  label=label,
29678
29775
  period=period,
29679
29776
  region=region,
@@ -29681,6 +29778,7 @@ class Function(
29681
29778
  stack_region=stack_region,
29682
29779
  statistic=statistic,
29683
29780
  unit=unit,
29781
+ visible=visible,
29684
29782
  )
29685
29783
 
29686
29784
  return typing.cast(_Metric_e396a4dc, jsii.sinvoke(cls, "metricAll", [metric_name, props]))
@@ -29693,6 +29791,7 @@ class Function(
29693
29791
  account: typing.Optional[builtins.str] = None,
29694
29792
  color: typing.Optional[builtins.str] = None,
29695
29793
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
29794
+ id: typing.Optional[builtins.str] = None,
29696
29795
  label: typing.Optional[builtins.str] = None,
29697
29796
  period: typing.Optional[_Duration_4839e8c3] = None,
29698
29797
  region: typing.Optional[builtins.str] = None,
@@ -29700,12 +29799,14 @@ class Function(
29700
29799
  stack_region: typing.Optional[builtins.str] = None,
29701
29800
  statistic: typing.Optional[builtins.str] = None,
29702
29801
  unit: typing.Optional[_Unit_61bc6f70] = None,
29802
+ visible: typing.Optional[builtins.bool] = None,
29703
29803
  ) -> _Metric_e396a4dc:
29704
29804
  '''Metric for the number of concurrent executions across all Lambdas.
29705
29805
 
29706
29806
  :param account: Account which this metric comes from. Default: - Deployment account.
29707
29807
  :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
29708
29808
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
29809
+ :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
29709
29810
  :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
29710
29811
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
29711
29812
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -29713,6 +29814,7 @@ class Function(
29713
29814
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
29714
29815
  :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
29715
29816
  :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
29817
+ :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
29716
29818
 
29717
29819
  :default: max over 5 minutes
29718
29820
  '''
@@ -29720,6 +29822,7 @@ class Function(
29720
29822
  account=account,
29721
29823
  color=color,
29722
29824
  dimensions_map=dimensions_map,
29825
+ id=id,
29723
29826
  label=label,
29724
29827
  period=period,
29725
29828
  region=region,
@@ -29727,6 +29830,7 @@ class Function(
29727
29830
  stack_region=stack_region,
29728
29831
  statistic=statistic,
29729
29832
  unit=unit,
29833
+ visible=visible,
29730
29834
  )
29731
29835
 
29732
29836
  return typing.cast(_Metric_e396a4dc, jsii.sinvoke(cls, "metricAllConcurrentExecutions", [props]))
@@ -29739,6 +29843,7 @@ class Function(
29739
29843
  account: typing.Optional[builtins.str] = None,
29740
29844
  color: typing.Optional[builtins.str] = None,
29741
29845
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
29846
+ id: typing.Optional[builtins.str] = None,
29742
29847
  label: typing.Optional[builtins.str] = None,
29743
29848
  period: typing.Optional[_Duration_4839e8c3] = None,
29744
29849
  region: typing.Optional[builtins.str] = None,
@@ -29746,12 +29851,14 @@ class Function(
29746
29851
  stack_region: typing.Optional[builtins.str] = None,
29747
29852
  statistic: typing.Optional[builtins.str] = None,
29748
29853
  unit: typing.Optional[_Unit_61bc6f70] = None,
29854
+ visible: typing.Optional[builtins.bool] = None,
29749
29855
  ) -> _Metric_e396a4dc:
29750
29856
  '''Metric for the Duration executing all Lambdas.
29751
29857
 
29752
29858
  :param account: Account which this metric comes from. Default: - Deployment account.
29753
29859
  :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
29754
29860
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
29861
+ :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
29755
29862
  :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
29756
29863
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
29757
29864
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -29759,6 +29866,7 @@ class Function(
29759
29866
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
29760
29867
  :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
29761
29868
  :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
29869
+ :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
29762
29870
 
29763
29871
  :default: average over 5 minutes
29764
29872
  '''
@@ -29766,6 +29874,7 @@ class Function(
29766
29874
  account=account,
29767
29875
  color=color,
29768
29876
  dimensions_map=dimensions_map,
29877
+ id=id,
29769
29878
  label=label,
29770
29879
  period=period,
29771
29880
  region=region,
@@ -29773,6 +29882,7 @@ class Function(
29773
29882
  stack_region=stack_region,
29774
29883
  statistic=statistic,
29775
29884
  unit=unit,
29885
+ visible=visible,
29776
29886
  )
29777
29887
 
29778
29888
  return typing.cast(_Metric_e396a4dc, jsii.sinvoke(cls, "metricAllDuration", [props]))
@@ -29785,6 +29895,7 @@ class Function(
29785
29895
  account: typing.Optional[builtins.str] = None,
29786
29896
  color: typing.Optional[builtins.str] = None,
29787
29897
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
29898
+ id: typing.Optional[builtins.str] = None,
29788
29899
  label: typing.Optional[builtins.str] = None,
29789
29900
  period: typing.Optional[_Duration_4839e8c3] = None,
29790
29901
  region: typing.Optional[builtins.str] = None,
@@ -29792,12 +29903,14 @@ class Function(
29792
29903
  stack_region: typing.Optional[builtins.str] = None,
29793
29904
  statistic: typing.Optional[builtins.str] = None,
29794
29905
  unit: typing.Optional[_Unit_61bc6f70] = None,
29906
+ visible: typing.Optional[builtins.bool] = None,
29795
29907
  ) -> _Metric_e396a4dc:
29796
29908
  '''Metric for the number of Errors executing all Lambdas.
29797
29909
 
29798
29910
  :param account: Account which this metric comes from. Default: - Deployment account.
29799
29911
  :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
29800
29912
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
29913
+ :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
29801
29914
  :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
29802
29915
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
29803
29916
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -29805,6 +29918,7 @@ class Function(
29805
29918
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
29806
29919
  :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
29807
29920
  :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
29921
+ :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
29808
29922
 
29809
29923
  :default: sum over 5 minutes
29810
29924
  '''
@@ -29812,6 +29926,7 @@ class Function(
29812
29926
  account=account,
29813
29927
  color=color,
29814
29928
  dimensions_map=dimensions_map,
29929
+ id=id,
29815
29930
  label=label,
29816
29931
  period=period,
29817
29932
  region=region,
@@ -29819,6 +29934,7 @@ class Function(
29819
29934
  stack_region=stack_region,
29820
29935
  statistic=statistic,
29821
29936
  unit=unit,
29937
+ visible=visible,
29822
29938
  )
29823
29939
 
29824
29940
  return typing.cast(_Metric_e396a4dc, jsii.sinvoke(cls, "metricAllErrors", [props]))
@@ -29831,6 +29947,7 @@ class Function(
29831
29947
  account: typing.Optional[builtins.str] = None,
29832
29948
  color: typing.Optional[builtins.str] = None,
29833
29949
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
29950
+ id: typing.Optional[builtins.str] = None,
29834
29951
  label: typing.Optional[builtins.str] = None,
29835
29952
  period: typing.Optional[_Duration_4839e8c3] = None,
29836
29953
  region: typing.Optional[builtins.str] = None,
@@ -29838,12 +29955,14 @@ class Function(
29838
29955
  stack_region: typing.Optional[builtins.str] = None,
29839
29956
  statistic: typing.Optional[builtins.str] = None,
29840
29957
  unit: typing.Optional[_Unit_61bc6f70] = None,
29958
+ visible: typing.Optional[builtins.bool] = None,
29841
29959
  ) -> _Metric_e396a4dc:
29842
29960
  '''Metric for the number of invocations of all Lambdas.
29843
29961
 
29844
29962
  :param account: Account which this metric comes from. Default: - Deployment account.
29845
29963
  :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
29846
29964
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
29965
+ :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
29847
29966
  :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
29848
29967
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
29849
29968
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -29851,6 +29970,7 @@ class Function(
29851
29970
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
29852
29971
  :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
29853
29972
  :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
29973
+ :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
29854
29974
 
29855
29975
  :default: sum over 5 minutes
29856
29976
  '''
@@ -29858,6 +29978,7 @@ class Function(
29858
29978
  account=account,
29859
29979
  color=color,
29860
29980
  dimensions_map=dimensions_map,
29981
+ id=id,
29861
29982
  label=label,
29862
29983
  period=period,
29863
29984
  region=region,
@@ -29865,6 +29986,7 @@ class Function(
29865
29986
  stack_region=stack_region,
29866
29987
  statistic=statistic,
29867
29988
  unit=unit,
29989
+ visible=visible,
29868
29990
  )
29869
29991
 
29870
29992
  return typing.cast(_Metric_e396a4dc, jsii.sinvoke(cls, "metricAllInvocations", [props]))
@@ -29877,6 +29999,7 @@ class Function(
29877
29999
  account: typing.Optional[builtins.str] = None,
29878
30000
  color: typing.Optional[builtins.str] = None,
29879
30001
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
30002
+ id: typing.Optional[builtins.str] = None,
29880
30003
  label: typing.Optional[builtins.str] = None,
29881
30004
  period: typing.Optional[_Duration_4839e8c3] = None,
29882
30005
  region: typing.Optional[builtins.str] = None,
@@ -29884,12 +30007,14 @@ class Function(
29884
30007
  stack_region: typing.Optional[builtins.str] = None,
29885
30008
  statistic: typing.Optional[builtins.str] = None,
29886
30009
  unit: typing.Optional[_Unit_61bc6f70] = None,
30010
+ visible: typing.Optional[builtins.bool] = None,
29887
30011
  ) -> _Metric_e396a4dc:
29888
30012
  '''Metric for the number of throttled invocations of all Lambdas.
29889
30013
 
29890
30014
  :param account: Account which this metric comes from. Default: - Deployment account.
29891
30015
  :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
29892
30016
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
30017
+ :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
29893
30018
  :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
29894
30019
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
29895
30020
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -29897,6 +30022,7 @@ class Function(
29897
30022
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
29898
30023
  :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
29899
30024
  :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
30025
+ :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
29900
30026
 
29901
30027
  :default: sum over 5 minutes
29902
30028
  '''
@@ -29904,6 +30030,7 @@ class Function(
29904
30030
  account=account,
29905
30031
  color=color,
29906
30032
  dimensions_map=dimensions_map,
30033
+ id=id,
29907
30034
  label=label,
29908
30035
  period=period,
29909
30036
  region=region,
@@ -29911,6 +30038,7 @@ class Function(
29911
30038
  stack_region=stack_region,
29912
30039
  statistic=statistic,
29913
30040
  unit=unit,
30041
+ visible=visible,
29914
30042
  )
29915
30043
 
29916
30044
  return typing.cast(_Metric_e396a4dc, jsii.sinvoke(cls, "metricAllThrottles", [props]))
@@ -29923,6 +30051,7 @@ class Function(
29923
30051
  account: typing.Optional[builtins.str] = None,
29924
30052
  color: typing.Optional[builtins.str] = None,
29925
30053
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
30054
+ id: typing.Optional[builtins.str] = None,
29926
30055
  label: typing.Optional[builtins.str] = None,
29927
30056
  period: typing.Optional[_Duration_4839e8c3] = None,
29928
30057
  region: typing.Optional[builtins.str] = None,
@@ -29930,12 +30059,14 @@ class Function(
29930
30059
  stack_region: typing.Optional[builtins.str] = None,
29931
30060
  statistic: typing.Optional[builtins.str] = None,
29932
30061
  unit: typing.Optional[_Unit_61bc6f70] = None,
30062
+ visible: typing.Optional[builtins.bool] = None,
29933
30063
  ) -> _Metric_e396a4dc:
29934
30064
  '''Metric for the number of unreserved concurrent executions across all Lambdas.
29935
30065
 
29936
30066
  :param account: Account which this metric comes from. Default: - Deployment account.
29937
30067
  :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
29938
30068
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
30069
+ :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
29939
30070
  :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
29940
30071
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
29941
30072
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -29943,6 +30074,7 @@ class Function(
29943
30074
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
29944
30075
  :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
29945
30076
  :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
30077
+ :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
29946
30078
 
29947
30079
  :default: max over 5 minutes
29948
30080
  '''
@@ -29950,6 +30082,7 @@ class Function(
29950
30082
  account=account,
29951
30083
  color=color,
29952
30084
  dimensions_map=dimensions_map,
30085
+ id=id,
29953
30086
  label=label,
29954
30087
  period=period,
29955
30088
  region=region,
@@ -29957,6 +30090,7 @@ class Function(
29957
30090
  stack_region=stack_region,
29958
30091
  statistic=statistic,
29959
30092
  unit=unit,
30093
+ visible=visible,
29960
30094
  )
29961
30095
 
29962
30096
  return typing.cast(_Metric_e396a4dc, jsii.sinvoke(cls, "metricAllUnreservedConcurrentExecutions", [props]))
@@ -32745,6 +32879,7 @@ def _typecheckingstub__e51ed953937811fd98427961afbaf8299c3abf178e0c6044c8712d503
32745
32879
  account: typing.Optional[builtins.str] = None,
32746
32880
  color: typing.Optional[builtins.str] = None,
32747
32881
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
32882
+ id: typing.Optional[builtins.str] = None,
32748
32883
  label: typing.Optional[builtins.str] = None,
32749
32884
  period: typing.Optional[_Duration_4839e8c3] = None,
32750
32885
  region: typing.Optional[builtins.str] = None,
@@ -32752,6 +32887,7 @@ def _typecheckingstub__e51ed953937811fd98427961afbaf8299c3abf178e0c6044c8712d503
32752
32887
  stack_region: typing.Optional[builtins.str] = None,
32753
32888
  statistic: typing.Optional[builtins.str] = None,
32754
32889
  unit: typing.Optional[_Unit_61bc6f70] = None,
32890
+ visible: typing.Optional[builtins.bool] = None,
32755
32891
  ) -> None:
32756
32892
  """Type checking stubs"""
32757
32893
  pass
@@ -33582,6 +33718,7 @@ def _typecheckingstub__06d3e951175cb3e949d91bfc243ef1f86cf676c9e64f1d67f410dbe5d
33582
33718
  account: typing.Optional[builtins.str] = None,
33583
33719
  color: typing.Optional[builtins.str] = None,
33584
33720
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
33721
+ id: typing.Optional[builtins.str] = None,
33585
33722
  label: typing.Optional[builtins.str] = None,
33586
33723
  period: typing.Optional[_Duration_4839e8c3] = None,
33587
33724
  region: typing.Optional[builtins.str] = None,
@@ -33589,6 +33726,7 @@ def _typecheckingstub__06d3e951175cb3e949d91bfc243ef1f86cf676c9e64f1d67f410dbe5d
33589
33726
  stack_region: typing.Optional[builtins.str] = None,
33590
33727
  statistic: typing.Optional[builtins.str] = None,
33591
33728
  unit: typing.Optional[_Unit_61bc6f70] = None,
33729
+ visible: typing.Optional[builtins.bool] = None,
33592
33730
  ) -> None:
33593
33731
  """Type checking stubs"""
33594
33732
  pass
@@ -33806,6 +33944,7 @@ def _typecheckingstub__443bc00c048cff544d1b9157c685f2bee9d441bcf7ce0880c8c977ef8
33806
33944
  account: typing.Optional[builtins.str] = None,
33807
33945
  color: typing.Optional[builtins.str] = None,
33808
33946
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
33947
+ id: typing.Optional[builtins.str] = None,
33809
33948
  label: typing.Optional[builtins.str] = None,
33810
33949
  period: typing.Optional[_Duration_4839e8c3] = None,
33811
33950
  region: typing.Optional[builtins.str] = None,
@@ -33813,6 +33952,7 @@ def _typecheckingstub__443bc00c048cff544d1b9157c685f2bee9d441bcf7ce0880c8c977ef8
33813
33952
  stack_region: typing.Optional[builtins.str] = None,
33814
33953
  statistic: typing.Optional[builtins.str] = None,
33815
33954
  unit: typing.Optional[_Unit_61bc6f70] = None,
33955
+ visible: typing.Optional[builtins.bool] = None,
33816
33956
  ) -> None:
33817
33957
  """Type checking stubs"""
33818
33958
  pass
@@ -33850,6 +33990,7 @@ def _typecheckingstub__389b21392780e7843878816b2a43e6df8aa6beeb978ecb884e16204e6
33850
33990
  account: typing.Optional[builtins.str] = None,
33851
33991
  color: typing.Optional[builtins.str] = None,
33852
33992
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
33993
+ id: typing.Optional[builtins.str] = None,
33853
33994
  label: typing.Optional[builtins.str] = None,
33854
33995
  period: typing.Optional[_Duration_4839e8c3] = None,
33855
33996
  region: typing.Optional[builtins.str] = None,
@@ -33857,6 +33998,7 @@ def _typecheckingstub__389b21392780e7843878816b2a43e6df8aa6beeb978ecb884e16204e6
33857
33998
  stack_region: typing.Optional[builtins.str] = None,
33858
33999
  statistic: typing.Optional[builtins.str] = None,
33859
34000
  unit: typing.Optional[_Unit_61bc6f70] = None,
34001
+ visible: typing.Optional[builtins.bool] = None,
33860
34002
  ) -> None:
33861
34003
  """Type checking stubs"""
33862
34004
  pass
@@ -33965,6 +34107,7 @@ def _typecheckingstub__8e44aa6e60e48acf4d280c3549506eac956ae1ca0c7dbcaca07c90a26
33965
34107
  account: typing.Optional[builtins.str] = None,
33966
34108
  color: typing.Optional[builtins.str] = None,
33967
34109
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
34110
+ id: typing.Optional[builtins.str] = None,
33968
34111
  label: typing.Optional[builtins.str] = None,
33969
34112
  period: typing.Optional[_Duration_4839e8c3] = None,
33970
34113
  region: typing.Optional[builtins.str] = None,
@@ -33972,6 +34115,7 @@ def _typecheckingstub__8e44aa6e60e48acf4d280c3549506eac956ae1ca0c7dbcaca07c90a26
33972
34115
  stack_region: typing.Optional[builtins.str] = None,
33973
34116
  statistic: typing.Optional[builtins.str] = None,
33974
34117
  unit: typing.Optional[_Unit_61bc6f70] = None,
34118
+ visible: typing.Optional[builtins.bool] = None,
33975
34119
  ) -> None:
33976
34120
  """Type checking stubs"""
33977
34121
  pass