aws-cdk-lib 2.203.1__py3-none-any.whl → 2.205.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of aws-cdk-lib might be problematic. Click here for more details.

Files changed (62) hide show
  1. aws_cdk/__init__.py +208 -92
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.203.1.jsii.tgz → aws-cdk-lib@2.205.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_aiops/__init__.py +89 -39
  5. aws_cdk/aws_apigateway/__init__.py +164 -0
  6. aws_cdk/aws_apigatewayv2/__init__.py +412 -0
  7. aws_cdk/aws_applicationautoscaling/__init__.py +2 -2
  8. aws_cdk/aws_arczonalshift/__init__.py +4 -1
  9. aws_cdk/aws_b2bi/__init__.py +32 -16
  10. aws_cdk/aws_bedrock/__init__.py +198 -10
  11. aws_cdk/aws_cassandra/__init__.py +156 -0
  12. aws_cdk/aws_certificatemanager/__init__.py +28 -0
  13. aws_cdk/aws_chatbot/__init__.py +28 -0
  14. aws_cdk/aws_cloudformation/__init__.py +74 -72
  15. aws_cdk/aws_cloudfront/__init__.py +1273 -485
  16. aws_cdk/aws_cloudfront/experimental/__init__.py +32 -0
  17. aws_cdk/aws_cloudfront_origins/__init__.py +26 -21
  18. aws_cdk/aws_cloudwatch/__init__.py +278 -23
  19. aws_cdk/aws_codebuild/__init__.py +300 -36
  20. aws_cdk/aws_datasync/__init__.py +2 -2
  21. aws_cdk/aws_docdb/__init__.py +78 -0
  22. aws_cdk/aws_dynamodb/__init__.py +523 -37
  23. aws_cdk/aws_ec2/__init__.py +126 -30
  24. aws_cdk/aws_ecs/__init__.py +64 -19
  25. aws_cdk/aws_elasticloadbalancingv2/__init__.py +724 -0
  26. aws_cdk/aws_elasticsearch/__init__.py +260 -0
  27. aws_cdk/aws_emrserverless/__init__.py +5 -5
  28. aws_cdk/aws_events/__init__.py +58 -3
  29. aws_cdk/aws_events_targets/__init__.py +7 -2
  30. aws_cdk/aws_evs/__init__.py +7 -7
  31. aws_cdk/aws_fsx/__init__.py +138 -78
  32. aws_cdk/aws_gamelift/__init__.py +19 -0
  33. aws_cdk/aws_glue/__init__.py +3 -3
  34. aws_cdk/aws_iot/__init__.py +1 -1
  35. aws_cdk/aws_kinesis/__init__.py +391 -13
  36. aws_cdk/aws_kinesisfirehose/__init__.py +128 -1
  37. aws_cdk/aws_lambda/__init__.py +144 -0
  38. aws_cdk/aws_lex/__init__.py +36 -19
  39. aws_cdk/aws_logs/__init__.py +58 -0
  40. aws_cdk/aws_neptune/__init__.py +12 -12
  41. aws_cdk/aws_odb/__init__.py +4049 -0
  42. aws_cdk/aws_omics/__init__.py +1 -1
  43. aws_cdk/aws_opensearchservice/__init__.py +260 -0
  44. aws_cdk/aws_qbusiness/__init__.py +471 -4
  45. aws_cdk/aws_quicksight/__init__.py +185 -16
  46. aws_cdk/aws_rds/__init__.py +553 -17
  47. aws_cdk/aws_redshiftserverless/__init__.py +72 -45
  48. aws_cdk/aws_route53/__init__.py +41 -19
  49. aws_cdk/aws_s3tables/__init__.py +1005 -0
  50. aws_cdk/aws_sagemaker/__init__.py +20 -0
  51. aws_cdk/aws_scheduler/__init__.py +210 -0
  52. aws_cdk/aws_sns/__init__.py +164 -0
  53. aws_cdk/aws_sqs/__init__.py +164 -0
  54. aws_cdk/aws_stepfunctions/__init__.py +288 -0
  55. aws_cdk/aws_synthetics/__init__.py +159 -37
  56. aws_cdk/aws_transfer/__init__.py +23 -1
  57. {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.205.0.dist-info}/METADATA +2 -2
  58. {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.205.0.dist-info}/RECORD +62 -61
  59. {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.205.0.dist-info}/LICENSE +0 -0
  60. {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.205.0.dist-info}/NOTICE +0 -0
  61. {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.205.0.dist-info}/WHEEL +0 -0
  62. {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.205.0.dist-info}/top_level.txt +0 -0
@@ -19862,6 +19862,7 @@ class Method(
19862
19862
  account: typing.Optional[builtins.str] = None,
19863
19863
  color: typing.Optional[builtins.str] = None,
19864
19864
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
19865
+ id: typing.Optional[builtins.str] = None,
19865
19866
  label: typing.Optional[builtins.str] = None,
19866
19867
  period: typing.Optional[_Duration_4839e8c3] = None,
19867
19868
  region: typing.Optional[builtins.str] = None,
@@ -19869,6 +19870,7 @@ class Method(
19869
19870
  stack_region: typing.Optional[builtins.str] = None,
19870
19871
  statistic: typing.Optional[builtins.str] = None,
19871
19872
  unit: typing.Optional[_Unit_61bc6f70] = None,
19873
+ visible: typing.Optional[builtins.bool] = None,
19872
19874
  ) -> _Metric_e396a4dc:
19873
19875
  '''Returns the given named metric for this API method.
19874
19876
 
@@ -19877,6 +19879,7 @@ class Method(
19877
19879
  :param account: Account which this metric comes from. Default: - Deployment account.
19878
19880
  :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
19879
19881
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
19882
+ :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
19880
19883
  :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
19881
19884
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
19882
19885
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -19884,6 +19887,7 @@ class Method(
19884
19887
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
19885
19888
  :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
19886
19889
  :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
19890
+ :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
19887
19891
  '''
19888
19892
  if __debug__:
19889
19893
  type_hints = typing.get_type_hints(_typecheckingstub__5673792ec70e78f31bd42c8b5fa76d95f3d27fb475ced2b715241422b9a73c79)
@@ -19893,6 +19897,7 @@ class Method(
19893
19897
  account=account,
19894
19898
  color=color,
19895
19899
  dimensions_map=dimensions_map,
19900
+ id=id,
19896
19901
  label=label,
19897
19902
  period=period,
19898
19903
  region=region,
@@ -19900,6 +19905,7 @@ class Method(
19900
19905
  stack_region=stack_region,
19901
19906
  statistic=statistic,
19902
19907
  unit=unit,
19908
+ visible=visible,
19903
19909
  )
19904
19910
 
19905
19911
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metric", [metric_name, stage, props]))
@@ -19912,6 +19918,7 @@ class Method(
19912
19918
  account: typing.Optional[builtins.str] = None,
19913
19919
  color: typing.Optional[builtins.str] = None,
19914
19920
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
19921
+ id: typing.Optional[builtins.str] = None,
19915
19922
  label: typing.Optional[builtins.str] = None,
19916
19923
  period: typing.Optional[_Duration_4839e8c3] = None,
19917
19924
  region: typing.Optional[builtins.str] = None,
@@ -19919,6 +19926,7 @@ class Method(
19919
19926
  stack_region: typing.Optional[builtins.str] = None,
19920
19927
  statistic: typing.Optional[builtins.str] = None,
19921
19928
  unit: typing.Optional[_Unit_61bc6f70] = None,
19929
+ visible: typing.Optional[builtins.bool] = None,
19922
19930
  ) -> _Metric_e396a4dc:
19923
19931
  '''Metric for the number of requests served from the API cache in a given period.
19924
19932
 
@@ -19926,6 +19934,7 @@ class Method(
19926
19934
  :param account: Account which this metric comes from. Default: - Deployment account.
19927
19935
  :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
19928
19936
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
19937
+ :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
19929
19938
  :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
19930
19939
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
19931
19940
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -19933,6 +19942,7 @@ class Method(
19933
19942
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
19934
19943
  :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
19935
19944
  :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
19945
+ :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
19936
19946
 
19937
19947
  :default: - sum over 5 minutes
19938
19948
  '''
@@ -19943,6 +19953,7 @@ class Method(
19943
19953
  account=account,
19944
19954
  color=color,
19945
19955
  dimensions_map=dimensions_map,
19956
+ id=id,
19946
19957
  label=label,
19947
19958
  period=period,
19948
19959
  region=region,
@@ -19950,6 +19961,7 @@ class Method(
19950
19961
  stack_region=stack_region,
19951
19962
  statistic=statistic,
19952
19963
  unit=unit,
19964
+ visible=visible,
19953
19965
  )
19954
19966
 
19955
19967
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricCacheHitCount", [stage, props]))
@@ -19962,6 +19974,7 @@ class Method(
19962
19974
  account: typing.Optional[builtins.str] = None,
19963
19975
  color: typing.Optional[builtins.str] = None,
19964
19976
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
19977
+ id: typing.Optional[builtins.str] = None,
19965
19978
  label: typing.Optional[builtins.str] = None,
19966
19979
  period: typing.Optional[_Duration_4839e8c3] = None,
19967
19980
  region: typing.Optional[builtins.str] = None,
@@ -19969,6 +19982,7 @@ class Method(
19969
19982
  stack_region: typing.Optional[builtins.str] = None,
19970
19983
  statistic: typing.Optional[builtins.str] = None,
19971
19984
  unit: typing.Optional[_Unit_61bc6f70] = None,
19985
+ visible: typing.Optional[builtins.bool] = None,
19972
19986
  ) -> _Metric_e396a4dc:
19973
19987
  '''Metric for the number of requests served from the backend in a given period, when API caching is enabled.
19974
19988
 
@@ -19976,6 +19990,7 @@ class Method(
19976
19990
  :param account: Account which this metric comes from. Default: - Deployment account.
19977
19991
  :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
19978
19992
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
19993
+ :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
19979
19994
  :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
19980
19995
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
19981
19996
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -19983,6 +19998,7 @@ class Method(
19983
19998
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
19984
19999
  :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
19985
20000
  :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
20001
+ :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
19986
20002
 
19987
20003
  :default: - sum over 5 minutes
19988
20004
  '''
@@ -19993,6 +20009,7 @@ class Method(
19993
20009
  account=account,
19994
20010
  color=color,
19995
20011
  dimensions_map=dimensions_map,
20012
+ id=id,
19996
20013
  label=label,
19997
20014
  period=period,
19998
20015
  region=region,
@@ -20000,6 +20017,7 @@ class Method(
20000
20017
  stack_region=stack_region,
20001
20018
  statistic=statistic,
20002
20019
  unit=unit,
20020
+ visible=visible,
20003
20021
  )
20004
20022
 
20005
20023
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricCacheMissCount", [stage, props]))
@@ -20012,6 +20030,7 @@ class Method(
20012
20030
  account: typing.Optional[builtins.str] = None,
20013
20031
  color: typing.Optional[builtins.str] = None,
20014
20032
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
20033
+ id: typing.Optional[builtins.str] = None,
20015
20034
  label: typing.Optional[builtins.str] = None,
20016
20035
  period: typing.Optional[_Duration_4839e8c3] = None,
20017
20036
  region: typing.Optional[builtins.str] = None,
@@ -20019,6 +20038,7 @@ class Method(
20019
20038
  stack_region: typing.Optional[builtins.str] = None,
20020
20039
  statistic: typing.Optional[builtins.str] = None,
20021
20040
  unit: typing.Optional[_Unit_61bc6f70] = None,
20041
+ visible: typing.Optional[builtins.bool] = None,
20022
20042
  ) -> _Metric_e396a4dc:
20023
20043
  '''Metric for the number of client-side errors captured in a given period.
20024
20044
 
@@ -20026,6 +20046,7 @@ class Method(
20026
20046
  :param account: Account which this metric comes from. Default: - Deployment account.
20027
20047
  :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
20028
20048
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
20049
+ :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
20029
20050
  :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
20030
20051
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
20031
20052
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -20033,6 +20054,7 @@ class Method(
20033
20054
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
20034
20055
  :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
20035
20056
  :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
20057
+ :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
20036
20058
 
20037
20059
  :default: - sum over 5 minutes
20038
20060
  '''
@@ -20043,6 +20065,7 @@ class Method(
20043
20065
  account=account,
20044
20066
  color=color,
20045
20067
  dimensions_map=dimensions_map,
20068
+ id=id,
20046
20069
  label=label,
20047
20070
  period=period,
20048
20071
  region=region,
@@ -20050,6 +20073,7 @@ class Method(
20050
20073
  stack_region=stack_region,
20051
20074
  statistic=statistic,
20052
20075
  unit=unit,
20076
+ visible=visible,
20053
20077
  )
20054
20078
 
20055
20079
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricClientError", [stage, props]))
@@ -20062,6 +20086,7 @@ class Method(
20062
20086
  account: typing.Optional[builtins.str] = None,
20063
20087
  color: typing.Optional[builtins.str] = None,
20064
20088
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
20089
+ id: typing.Optional[builtins.str] = None,
20065
20090
  label: typing.Optional[builtins.str] = None,
20066
20091
  period: typing.Optional[_Duration_4839e8c3] = None,
20067
20092
  region: typing.Optional[builtins.str] = None,
@@ -20069,6 +20094,7 @@ class Method(
20069
20094
  stack_region: typing.Optional[builtins.str] = None,
20070
20095
  statistic: typing.Optional[builtins.str] = None,
20071
20096
  unit: typing.Optional[_Unit_61bc6f70] = None,
20097
+ visible: typing.Optional[builtins.bool] = None,
20072
20098
  ) -> _Metric_e396a4dc:
20073
20099
  '''Metric for the total number API requests in a given period.
20074
20100
 
@@ -20076,6 +20102,7 @@ class Method(
20076
20102
  :param account: Account which this metric comes from. Default: - Deployment account.
20077
20103
  :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
20078
20104
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
20105
+ :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
20079
20106
  :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
20080
20107
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
20081
20108
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -20083,6 +20110,7 @@ class Method(
20083
20110
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
20084
20111
  :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
20085
20112
  :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
20113
+ :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
20086
20114
 
20087
20115
  :default: - sample count over 5 minutes
20088
20116
  '''
@@ -20093,6 +20121,7 @@ class Method(
20093
20121
  account=account,
20094
20122
  color=color,
20095
20123
  dimensions_map=dimensions_map,
20124
+ id=id,
20096
20125
  label=label,
20097
20126
  period=period,
20098
20127
  region=region,
@@ -20100,6 +20129,7 @@ class Method(
20100
20129
  stack_region=stack_region,
20101
20130
  statistic=statistic,
20102
20131
  unit=unit,
20132
+ visible=visible,
20103
20133
  )
20104
20134
 
20105
20135
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricCount", [stage, props]))
@@ -20112,6 +20142,7 @@ class Method(
20112
20142
  account: typing.Optional[builtins.str] = None,
20113
20143
  color: typing.Optional[builtins.str] = None,
20114
20144
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
20145
+ id: typing.Optional[builtins.str] = None,
20115
20146
  label: typing.Optional[builtins.str] = None,
20116
20147
  period: typing.Optional[_Duration_4839e8c3] = None,
20117
20148
  region: typing.Optional[builtins.str] = None,
@@ -20119,6 +20150,7 @@ class Method(
20119
20150
  stack_region: typing.Optional[builtins.str] = None,
20120
20151
  statistic: typing.Optional[builtins.str] = None,
20121
20152
  unit: typing.Optional[_Unit_61bc6f70] = None,
20153
+ visible: typing.Optional[builtins.bool] = None,
20122
20154
  ) -> _Metric_e396a4dc:
20123
20155
  '''Metric for the time between when API Gateway relays a request to the backend and when it receives a response from the backend.
20124
20156
 
@@ -20126,6 +20158,7 @@ class Method(
20126
20158
  :param account: Account which this metric comes from. Default: - Deployment account.
20127
20159
  :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
20128
20160
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
20161
+ :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
20129
20162
  :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
20130
20163
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
20131
20164
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -20133,6 +20166,7 @@ class Method(
20133
20166
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
20134
20167
  :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
20135
20168
  :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
20169
+ :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
20136
20170
 
20137
20171
  :default: - average over 5 minutes.
20138
20172
  '''
@@ -20143,6 +20177,7 @@ class Method(
20143
20177
  account=account,
20144
20178
  color=color,
20145
20179
  dimensions_map=dimensions_map,
20180
+ id=id,
20146
20181
  label=label,
20147
20182
  period=period,
20148
20183
  region=region,
@@ -20150,6 +20185,7 @@ class Method(
20150
20185
  stack_region=stack_region,
20151
20186
  statistic=statistic,
20152
20187
  unit=unit,
20188
+ visible=visible,
20153
20189
  )
20154
20190
 
20155
20191
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricIntegrationLatency", [stage, props]))
@@ -20162,6 +20198,7 @@ class Method(
20162
20198
  account: typing.Optional[builtins.str] = None,
20163
20199
  color: typing.Optional[builtins.str] = None,
20164
20200
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
20201
+ id: typing.Optional[builtins.str] = None,
20165
20202
  label: typing.Optional[builtins.str] = None,
20166
20203
  period: typing.Optional[_Duration_4839e8c3] = None,
20167
20204
  region: typing.Optional[builtins.str] = None,
@@ -20169,6 +20206,7 @@ class Method(
20169
20206
  stack_region: typing.Optional[builtins.str] = None,
20170
20207
  statistic: typing.Optional[builtins.str] = None,
20171
20208
  unit: typing.Optional[_Unit_61bc6f70] = None,
20209
+ visible: typing.Optional[builtins.bool] = None,
20172
20210
  ) -> _Metric_e396a4dc:
20173
20211
  '''The time between when API Gateway receives a request from a client and when it returns a response to the client.
20174
20212
 
@@ -20178,6 +20216,7 @@ class Method(
20178
20216
  :param account: Account which this metric comes from. Default: - Deployment account.
20179
20217
  :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
20180
20218
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
20219
+ :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
20181
20220
  :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
20182
20221
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
20183
20222
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -20185,6 +20224,7 @@ class Method(
20185
20224
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
20186
20225
  :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
20187
20226
  :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
20227
+ :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
20188
20228
 
20189
20229
  :default: - average over 5 minutes.
20190
20230
  '''
@@ -20195,6 +20235,7 @@ class Method(
20195
20235
  account=account,
20196
20236
  color=color,
20197
20237
  dimensions_map=dimensions_map,
20238
+ id=id,
20198
20239
  label=label,
20199
20240
  period=period,
20200
20241
  region=region,
@@ -20202,6 +20243,7 @@ class Method(
20202
20243
  stack_region=stack_region,
20203
20244
  statistic=statistic,
20204
20245
  unit=unit,
20246
+ visible=visible,
20205
20247
  )
20206
20248
 
20207
20249
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricLatency", [stage, props]))
@@ -20214,6 +20256,7 @@ class Method(
20214
20256
  account: typing.Optional[builtins.str] = None,
20215
20257
  color: typing.Optional[builtins.str] = None,
20216
20258
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
20259
+ id: typing.Optional[builtins.str] = None,
20217
20260
  label: typing.Optional[builtins.str] = None,
20218
20261
  period: typing.Optional[_Duration_4839e8c3] = None,
20219
20262
  region: typing.Optional[builtins.str] = None,
@@ -20221,6 +20264,7 @@ class Method(
20221
20264
  stack_region: typing.Optional[builtins.str] = None,
20222
20265
  statistic: typing.Optional[builtins.str] = None,
20223
20266
  unit: typing.Optional[_Unit_61bc6f70] = None,
20267
+ visible: typing.Optional[builtins.bool] = None,
20224
20268
  ) -> _Metric_e396a4dc:
20225
20269
  '''Metric for the number of server-side errors captured in a given period.
20226
20270
 
@@ -20228,6 +20272,7 @@ class Method(
20228
20272
  :param account: Account which this metric comes from. Default: - Deployment account.
20229
20273
  :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
20230
20274
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
20275
+ :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
20231
20276
  :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
20232
20277
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
20233
20278
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -20235,6 +20280,7 @@ class Method(
20235
20280
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
20236
20281
  :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
20237
20282
  :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
20283
+ :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
20238
20284
 
20239
20285
  :default: - sum over 5 minutes
20240
20286
  '''
@@ -20245,6 +20291,7 @@ class Method(
20245
20291
  account=account,
20246
20292
  color=color,
20247
20293
  dimensions_map=dimensions_map,
20294
+ id=id,
20248
20295
  label=label,
20249
20296
  period=period,
20250
20297
  region=region,
@@ -20252,6 +20299,7 @@ class Method(
20252
20299
  stack_region=stack_region,
20253
20300
  statistic=statistic,
20254
20301
  unit=unit,
20302
+ visible=visible,
20255
20303
  )
20256
20304
 
20257
20305
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricServerError", [stage, props]))
@@ -24105,6 +24153,7 @@ class RestApiBase(
24105
24153
  account: typing.Optional[builtins.str] = None,
24106
24154
  color: typing.Optional[builtins.str] = None,
24107
24155
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
24156
+ id: typing.Optional[builtins.str] = None,
24108
24157
  label: typing.Optional[builtins.str] = None,
24109
24158
  period: typing.Optional[_Duration_4839e8c3] = None,
24110
24159
  region: typing.Optional[builtins.str] = None,
@@ -24112,6 +24161,7 @@ class RestApiBase(
24112
24161
  stack_region: typing.Optional[builtins.str] = None,
24113
24162
  statistic: typing.Optional[builtins.str] = None,
24114
24163
  unit: typing.Optional[_Unit_61bc6f70] = None,
24164
+ visible: typing.Optional[builtins.bool] = None,
24115
24165
  ) -> _Metric_e396a4dc:
24116
24166
  '''Returns the given named metric for this API.
24117
24167
 
@@ -24119,6 +24169,7 @@ class RestApiBase(
24119
24169
  :param account: Account which this metric comes from. Default: - Deployment account.
24120
24170
  :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
24121
24171
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
24172
+ :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
24122
24173
  :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
24123
24174
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
24124
24175
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -24126,6 +24177,7 @@ class RestApiBase(
24126
24177
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
24127
24178
  :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
24128
24179
  :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
24180
+ :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
24129
24181
  '''
24130
24182
  if __debug__:
24131
24183
  type_hints = typing.get_type_hints(_typecheckingstub__83e0007c5bc1aeac14243c8f05dab576ffb55853642cfe1f4a1352b59dda08cf)
@@ -24134,6 +24186,7 @@ class RestApiBase(
24134
24186
  account=account,
24135
24187
  color=color,
24136
24188
  dimensions_map=dimensions_map,
24189
+ id=id,
24137
24190
  label=label,
24138
24191
  period=period,
24139
24192
  region=region,
@@ -24141,6 +24194,7 @@ class RestApiBase(
24141
24194
  stack_region=stack_region,
24142
24195
  statistic=statistic,
24143
24196
  unit=unit,
24197
+ visible=visible,
24144
24198
  )
24145
24199
 
24146
24200
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metric", [metric_name, props]))
@@ -24152,6 +24206,7 @@ class RestApiBase(
24152
24206
  account: typing.Optional[builtins.str] = None,
24153
24207
  color: typing.Optional[builtins.str] = None,
24154
24208
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
24209
+ id: typing.Optional[builtins.str] = None,
24155
24210
  label: typing.Optional[builtins.str] = None,
24156
24211
  period: typing.Optional[_Duration_4839e8c3] = None,
24157
24212
  region: typing.Optional[builtins.str] = None,
@@ -24159,6 +24214,7 @@ class RestApiBase(
24159
24214
  stack_region: typing.Optional[builtins.str] = None,
24160
24215
  statistic: typing.Optional[builtins.str] = None,
24161
24216
  unit: typing.Optional[_Unit_61bc6f70] = None,
24217
+ visible: typing.Optional[builtins.bool] = None,
24162
24218
  ) -> _Metric_e396a4dc:
24163
24219
  '''Metric for the number of requests served from the API cache in a given period.
24164
24220
 
@@ -24167,6 +24223,7 @@ class RestApiBase(
24167
24223
  :param account: Account which this metric comes from. Default: - Deployment account.
24168
24224
  :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
24169
24225
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
24226
+ :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
24170
24227
  :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
24171
24228
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
24172
24229
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -24174,11 +24231,13 @@ class RestApiBase(
24174
24231
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
24175
24232
  :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
24176
24233
  :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
24234
+ :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
24177
24235
  '''
24178
24236
  props = _MetricOptions_1788b62f(
24179
24237
  account=account,
24180
24238
  color=color,
24181
24239
  dimensions_map=dimensions_map,
24240
+ id=id,
24182
24241
  label=label,
24183
24242
  period=period,
24184
24243
  region=region,
@@ -24186,6 +24245,7 @@ class RestApiBase(
24186
24245
  stack_region=stack_region,
24187
24246
  statistic=statistic,
24188
24247
  unit=unit,
24248
+ visible=visible,
24189
24249
  )
24190
24250
 
24191
24251
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricCacheHitCount", [props]))
@@ -24197,6 +24257,7 @@ class RestApiBase(
24197
24257
  account: typing.Optional[builtins.str] = None,
24198
24258
  color: typing.Optional[builtins.str] = None,
24199
24259
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
24260
+ id: typing.Optional[builtins.str] = None,
24200
24261
  label: typing.Optional[builtins.str] = None,
24201
24262
  period: typing.Optional[_Duration_4839e8c3] = None,
24202
24263
  region: typing.Optional[builtins.str] = None,
@@ -24204,6 +24265,7 @@ class RestApiBase(
24204
24265
  stack_region: typing.Optional[builtins.str] = None,
24205
24266
  statistic: typing.Optional[builtins.str] = None,
24206
24267
  unit: typing.Optional[_Unit_61bc6f70] = None,
24268
+ visible: typing.Optional[builtins.bool] = None,
24207
24269
  ) -> _Metric_e396a4dc:
24208
24270
  '''Metric for the number of requests served from the backend in a given period, when API caching is enabled.
24209
24271
 
@@ -24212,6 +24274,7 @@ class RestApiBase(
24212
24274
  :param account: Account which this metric comes from. Default: - Deployment account.
24213
24275
  :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
24214
24276
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
24277
+ :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
24215
24278
  :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
24216
24279
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
24217
24280
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -24219,11 +24282,13 @@ class RestApiBase(
24219
24282
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
24220
24283
  :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
24221
24284
  :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
24285
+ :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
24222
24286
  '''
24223
24287
  props = _MetricOptions_1788b62f(
24224
24288
  account=account,
24225
24289
  color=color,
24226
24290
  dimensions_map=dimensions_map,
24291
+ id=id,
24227
24292
  label=label,
24228
24293
  period=period,
24229
24294
  region=region,
@@ -24231,6 +24296,7 @@ class RestApiBase(
24231
24296
  stack_region=stack_region,
24232
24297
  statistic=statistic,
24233
24298
  unit=unit,
24299
+ visible=visible,
24234
24300
  )
24235
24301
 
24236
24302
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricCacheMissCount", [props]))
@@ -24242,6 +24308,7 @@ class RestApiBase(
24242
24308
  account: typing.Optional[builtins.str] = None,
24243
24309
  color: typing.Optional[builtins.str] = None,
24244
24310
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
24311
+ id: typing.Optional[builtins.str] = None,
24245
24312
  label: typing.Optional[builtins.str] = None,
24246
24313
  period: typing.Optional[_Duration_4839e8c3] = None,
24247
24314
  region: typing.Optional[builtins.str] = None,
@@ -24249,6 +24316,7 @@ class RestApiBase(
24249
24316
  stack_region: typing.Optional[builtins.str] = None,
24250
24317
  statistic: typing.Optional[builtins.str] = None,
24251
24318
  unit: typing.Optional[_Unit_61bc6f70] = None,
24319
+ visible: typing.Optional[builtins.bool] = None,
24252
24320
  ) -> _Metric_e396a4dc:
24253
24321
  '''Metric for the number of client-side errors captured in a given period.
24254
24322
 
@@ -24257,6 +24325,7 @@ class RestApiBase(
24257
24325
  :param account: Account which this metric comes from. Default: - Deployment account.
24258
24326
  :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
24259
24327
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
24328
+ :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
24260
24329
  :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
24261
24330
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
24262
24331
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -24264,11 +24333,13 @@ class RestApiBase(
24264
24333
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
24265
24334
  :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
24266
24335
  :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
24336
+ :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
24267
24337
  '''
24268
24338
  props = _MetricOptions_1788b62f(
24269
24339
  account=account,
24270
24340
  color=color,
24271
24341
  dimensions_map=dimensions_map,
24342
+ id=id,
24272
24343
  label=label,
24273
24344
  period=period,
24274
24345
  region=region,
@@ -24276,6 +24347,7 @@ class RestApiBase(
24276
24347
  stack_region=stack_region,
24277
24348
  statistic=statistic,
24278
24349
  unit=unit,
24350
+ visible=visible,
24279
24351
  )
24280
24352
 
24281
24353
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricClientError", [props]))
@@ -24287,6 +24359,7 @@ class RestApiBase(
24287
24359
  account: typing.Optional[builtins.str] = None,
24288
24360
  color: typing.Optional[builtins.str] = None,
24289
24361
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
24362
+ id: typing.Optional[builtins.str] = None,
24290
24363
  label: typing.Optional[builtins.str] = None,
24291
24364
  period: typing.Optional[_Duration_4839e8c3] = None,
24292
24365
  region: typing.Optional[builtins.str] = None,
@@ -24294,6 +24367,7 @@ class RestApiBase(
24294
24367
  stack_region: typing.Optional[builtins.str] = None,
24295
24368
  statistic: typing.Optional[builtins.str] = None,
24296
24369
  unit: typing.Optional[_Unit_61bc6f70] = None,
24370
+ visible: typing.Optional[builtins.bool] = None,
24297
24371
  ) -> _Metric_e396a4dc:
24298
24372
  '''Metric for the total number API requests in a given period.
24299
24373
 
@@ -24302,6 +24376,7 @@ class RestApiBase(
24302
24376
  :param account: Account which this metric comes from. Default: - Deployment account.
24303
24377
  :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
24304
24378
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
24379
+ :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
24305
24380
  :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
24306
24381
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
24307
24382
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -24309,11 +24384,13 @@ class RestApiBase(
24309
24384
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
24310
24385
  :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
24311
24386
  :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
24387
+ :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
24312
24388
  '''
24313
24389
  props = _MetricOptions_1788b62f(
24314
24390
  account=account,
24315
24391
  color=color,
24316
24392
  dimensions_map=dimensions_map,
24393
+ id=id,
24317
24394
  label=label,
24318
24395
  period=period,
24319
24396
  region=region,
@@ -24321,6 +24398,7 @@ class RestApiBase(
24321
24398
  stack_region=stack_region,
24322
24399
  statistic=statistic,
24323
24400
  unit=unit,
24401
+ visible=visible,
24324
24402
  )
24325
24403
 
24326
24404
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricCount", [props]))
@@ -24332,6 +24410,7 @@ class RestApiBase(
24332
24410
  account: typing.Optional[builtins.str] = None,
24333
24411
  color: typing.Optional[builtins.str] = None,
24334
24412
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
24413
+ id: typing.Optional[builtins.str] = None,
24335
24414
  label: typing.Optional[builtins.str] = None,
24336
24415
  period: typing.Optional[_Duration_4839e8c3] = None,
24337
24416
  region: typing.Optional[builtins.str] = None,
@@ -24339,6 +24418,7 @@ class RestApiBase(
24339
24418
  stack_region: typing.Optional[builtins.str] = None,
24340
24419
  statistic: typing.Optional[builtins.str] = None,
24341
24420
  unit: typing.Optional[_Unit_61bc6f70] = None,
24421
+ visible: typing.Optional[builtins.bool] = None,
24342
24422
  ) -> _Metric_e396a4dc:
24343
24423
  '''Metric for the time between when API Gateway relays a request to the backend and when it receives a response from the backend.
24344
24424
 
@@ -24347,6 +24427,7 @@ class RestApiBase(
24347
24427
  :param account: Account which this metric comes from. Default: - Deployment account.
24348
24428
  :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
24349
24429
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
24430
+ :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
24350
24431
  :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
24351
24432
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
24352
24433
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -24354,11 +24435,13 @@ class RestApiBase(
24354
24435
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
24355
24436
  :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
24356
24437
  :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
24438
+ :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
24357
24439
  '''
24358
24440
  props = _MetricOptions_1788b62f(
24359
24441
  account=account,
24360
24442
  color=color,
24361
24443
  dimensions_map=dimensions_map,
24444
+ id=id,
24362
24445
  label=label,
24363
24446
  period=period,
24364
24447
  region=region,
@@ -24366,6 +24449,7 @@ class RestApiBase(
24366
24449
  stack_region=stack_region,
24367
24450
  statistic=statistic,
24368
24451
  unit=unit,
24452
+ visible=visible,
24369
24453
  )
24370
24454
 
24371
24455
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricIntegrationLatency", [props]))
@@ -24377,6 +24461,7 @@ class RestApiBase(
24377
24461
  account: typing.Optional[builtins.str] = None,
24378
24462
  color: typing.Optional[builtins.str] = None,
24379
24463
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
24464
+ id: typing.Optional[builtins.str] = None,
24380
24465
  label: typing.Optional[builtins.str] = None,
24381
24466
  period: typing.Optional[_Duration_4839e8c3] = None,
24382
24467
  region: typing.Optional[builtins.str] = None,
@@ -24384,6 +24469,7 @@ class RestApiBase(
24384
24469
  stack_region: typing.Optional[builtins.str] = None,
24385
24470
  statistic: typing.Optional[builtins.str] = None,
24386
24471
  unit: typing.Optional[_Unit_61bc6f70] = None,
24472
+ visible: typing.Optional[builtins.bool] = None,
24387
24473
  ) -> _Metric_e396a4dc:
24388
24474
  '''The time between when API Gateway receives a request from a client and when it returns a response to the client.
24389
24475
 
@@ -24394,6 +24480,7 @@ class RestApiBase(
24394
24480
  :param account: Account which this metric comes from. Default: - Deployment account.
24395
24481
  :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
24396
24482
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
24483
+ :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
24397
24484
  :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
24398
24485
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
24399
24486
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -24401,11 +24488,13 @@ class RestApiBase(
24401
24488
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
24402
24489
  :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
24403
24490
  :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
24491
+ :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
24404
24492
  '''
24405
24493
  props = _MetricOptions_1788b62f(
24406
24494
  account=account,
24407
24495
  color=color,
24408
24496
  dimensions_map=dimensions_map,
24497
+ id=id,
24409
24498
  label=label,
24410
24499
  period=period,
24411
24500
  region=region,
@@ -24413,6 +24502,7 @@ class RestApiBase(
24413
24502
  stack_region=stack_region,
24414
24503
  statistic=statistic,
24415
24504
  unit=unit,
24505
+ visible=visible,
24416
24506
  )
24417
24507
 
24418
24508
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricLatency", [props]))
@@ -24424,6 +24514,7 @@ class RestApiBase(
24424
24514
  account: typing.Optional[builtins.str] = None,
24425
24515
  color: typing.Optional[builtins.str] = None,
24426
24516
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
24517
+ id: typing.Optional[builtins.str] = None,
24427
24518
  label: typing.Optional[builtins.str] = None,
24428
24519
  period: typing.Optional[_Duration_4839e8c3] = None,
24429
24520
  region: typing.Optional[builtins.str] = None,
@@ -24431,6 +24522,7 @@ class RestApiBase(
24431
24522
  stack_region: typing.Optional[builtins.str] = None,
24432
24523
  statistic: typing.Optional[builtins.str] = None,
24433
24524
  unit: typing.Optional[_Unit_61bc6f70] = None,
24525
+ visible: typing.Optional[builtins.bool] = None,
24434
24526
  ) -> _Metric_e396a4dc:
24435
24527
  '''Metric for the number of server-side errors captured in a given period.
24436
24528
 
@@ -24439,6 +24531,7 @@ class RestApiBase(
24439
24531
  :param account: Account which this metric comes from. Default: - Deployment account.
24440
24532
  :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
24441
24533
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
24534
+ :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
24442
24535
  :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
24443
24536
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
24444
24537
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -24446,11 +24539,13 @@ class RestApiBase(
24446
24539
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
24447
24540
  :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
24448
24541
  :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
24542
+ :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
24449
24543
  '''
24450
24544
  props = _MetricOptions_1788b62f(
24451
24545
  account=account,
24452
24546
  color=color,
24453
24547
  dimensions_map=dimensions_map,
24548
+ id=id,
24454
24549
  label=label,
24455
24550
  period=period,
24456
24551
  region=region,
@@ -24458,6 +24553,7 @@ class RestApiBase(
24458
24553
  stack_region=stack_region,
24459
24554
  statistic=statistic,
24460
24555
  unit=unit,
24556
+ visible=visible,
24461
24557
  )
24462
24558
 
24463
24559
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricServerError", [props]))
@@ -26527,6 +26623,7 @@ class StageBase(
26527
26623
  account: typing.Optional[builtins.str] = None,
26528
26624
  color: typing.Optional[builtins.str] = None,
26529
26625
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
26626
+ id: typing.Optional[builtins.str] = None,
26530
26627
  label: typing.Optional[builtins.str] = None,
26531
26628
  period: typing.Optional[_Duration_4839e8c3] = None,
26532
26629
  region: typing.Optional[builtins.str] = None,
@@ -26534,6 +26631,7 @@ class StageBase(
26534
26631
  stack_region: typing.Optional[builtins.str] = None,
26535
26632
  statistic: typing.Optional[builtins.str] = None,
26536
26633
  unit: typing.Optional[_Unit_61bc6f70] = None,
26634
+ visible: typing.Optional[builtins.bool] = None,
26537
26635
  ) -> _Metric_e396a4dc:
26538
26636
  '''Returns the given named metric for this stage.
26539
26637
 
@@ -26541,6 +26639,7 @@ class StageBase(
26541
26639
  :param account: Account which this metric comes from. Default: - Deployment account.
26542
26640
  :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
26543
26641
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
26642
+ :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
26544
26643
  :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
26545
26644
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
26546
26645
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -26548,6 +26647,7 @@ class StageBase(
26548
26647
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
26549
26648
  :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
26550
26649
  :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
26650
+ :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
26551
26651
  '''
26552
26652
  if __debug__:
26553
26653
  type_hints = typing.get_type_hints(_typecheckingstub__e7aa140ce28102f6291e54fab42702aec75e06eb4ff034ae6897a3606e9c1ac3)
@@ -26556,6 +26656,7 @@ class StageBase(
26556
26656
  account=account,
26557
26657
  color=color,
26558
26658
  dimensions_map=dimensions_map,
26659
+ id=id,
26559
26660
  label=label,
26560
26661
  period=period,
26561
26662
  region=region,
@@ -26563,6 +26664,7 @@ class StageBase(
26563
26664
  stack_region=stack_region,
26564
26665
  statistic=statistic,
26565
26666
  unit=unit,
26667
+ visible=visible,
26566
26668
  )
26567
26669
 
26568
26670
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metric", [metric_name, props]))
@@ -26574,6 +26676,7 @@ class StageBase(
26574
26676
  account: typing.Optional[builtins.str] = None,
26575
26677
  color: typing.Optional[builtins.str] = None,
26576
26678
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
26679
+ id: typing.Optional[builtins.str] = None,
26577
26680
  label: typing.Optional[builtins.str] = None,
26578
26681
  period: typing.Optional[_Duration_4839e8c3] = None,
26579
26682
  region: typing.Optional[builtins.str] = None,
@@ -26581,12 +26684,14 @@ class StageBase(
26581
26684
  stack_region: typing.Optional[builtins.str] = None,
26582
26685
  statistic: typing.Optional[builtins.str] = None,
26583
26686
  unit: typing.Optional[_Unit_61bc6f70] = None,
26687
+ visible: typing.Optional[builtins.bool] = None,
26584
26688
  ) -> _Metric_e396a4dc:
26585
26689
  '''Metric for the number of requests served from the API cache in a given period.
26586
26690
 
26587
26691
  :param account: Account which this metric comes from. Default: - Deployment account.
26588
26692
  :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
26589
26693
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
26694
+ :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
26590
26695
  :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
26591
26696
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
26592
26697
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -26594,6 +26699,7 @@ class StageBase(
26594
26699
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
26595
26700
  :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
26596
26701
  :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
26702
+ :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
26597
26703
 
26598
26704
  :default: - sum over 5 minutes
26599
26705
  '''
@@ -26601,6 +26707,7 @@ class StageBase(
26601
26707
  account=account,
26602
26708
  color=color,
26603
26709
  dimensions_map=dimensions_map,
26710
+ id=id,
26604
26711
  label=label,
26605
26712
  period=period,
26606
26713
  region=region,
@@ -26608,6 +26715,7 @@ class StageBase(
26608
26715
  stack_region=stack_region,
26609
26716
  statistic=statistic,
26610
26717
  unit=unit,
26718
+ visible=visible,
26611
26719
  )
26612
26720
 
26613
26721
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricCacheHitCount", [props]))
@@ -26619,6 +26727,7 @@ class StageBase(
26619
26727
  account: typing.Optional[builtins.str] = None,
26620
26728
  color: typing.Optional[builtins.str] = None,
26621
26729
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
26730
+ id: typing.Optional[builtins.str] = None,
26622
26731
  label: typing.Optional[builtins.str] = None,
26623
26732
  period: typing.Optional[_Duration_4839e8c3] = None,
26624
26733
  region: typing.Optional[builtins.str] = None,
@@ -26626,12 +26735,14 @@ class StageBase(
26626
26735
  stack_region: typing.Optional[builtins.str] = None,
26627
26736
  statistic: typing.Optional[builtins.str] = None,
26628
26737
  unit: typing.Optional[_Unit_61bc6f70] = None,
26738
+ visible: typing.Optional[builtins.bool] = None,
26629
26739
  ) -> _Metric_e396a4dc:
26630
26740
  '''Metric for the number of requests served from the backend in a given period, when API caching is enabled.
26631
26741
 
26632
26742
  :param account: Account which this metric comes from. Default: - Deployment account.
26633
26743
  :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
26634
26744
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
26745
+ :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
26635
26746
  :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
26636
26747
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
26637
26748
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -26639,6 +26750,7 @@ class StageBase(
26639
26750
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
26640
26751
  :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
26641
26752
  :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
26753
+ :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
26642
26754
 
26643
26755
  :default: - sum over 5 minutes
26644
26756
  '''
@@ -26646,6 +26758,7 @@ class StageBase(
26646
26758
  account=account,
26647
26759
  color=color,
26648
26760
  dimensions_map=dimensions_map,
26761
+ id=id,
26649
26762
  label=label,
26650
26763
  period=period,
26651
26764
  region=region,
@@ -26653,6 +26766,7 @@ class StageBase(
26653
26766
  stack_region=stack_region,
26654
26767
  statistic=statistic,
26655
26768
  unit=unit,
26769
+ visible=visible,
26656
26770
  )
26657
26771
 
26658
26772
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricCacheMissCount", [props]))
@@ -26664,6 +26778,7 @@ class StageBase(
26664
26778
  account: typing.Optional[builtins.str] = None,
26665
26779
  color: typing.Optional[builtins.str] = None,
26666
26780
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
26781
+ id: typing.Optional[builtins.str] = None,
26667
26782
  label: typing.Optional[builtins.str] = None,
26668
26783
  period: typing.Optional[_Duration_4839e8c3] = None,
26669
26784
  region: typing.Optional[builtins.str] = None,
@@ -26671,12 +26786,14 @@ class StageBase(
26671
26786
  stack_region: typing.Optional[builtins.str] = None,
26672
26787
  statistic: typing.Optional[builtins.str] = None,
26673
26788
  unit: typing.Optional[_Unit_61bc6f70] = None,
26789
+ visible: typing.Optional[builtins.bool] = None,
26674
26790
  ) -> _Metric_e396a4dc:
26675
26791
  '''Metric for the number of client-side errors captured in a given period.
26676
26792
 
26677
26793
  :param account: Account which this metric comes from. Default: - Deployment account.
26678
26794
  :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
26679
26795
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
26796
+ :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
26680
26797
  :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
26681
26798
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
26682
26799
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -26684,6 +26801,7 @@ class StageBase(
26684
26801
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
26685
26802
  :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
26686
26803
  :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
26804
+ :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
26687
26805
 
26688
26806
  :default: - sum over 5 minutes
26689
26807
  '''
@@ -26691,6 +26809,7 @@ class StageBase(
26691
26809
  account=account,
26692
26810
  color=color,
26693
26811
  dimensions_map=dimensions_map,
26812
+ id=id,
26694
26813
  label=label,
26695
26814
  period=period,
26696
26815
  region=region,
@@ -26698,6 +26817,7 @@ class StageBase(
26698
26817
  stack_region=stack_region,
26699
26818
  statistic=statistic,
26700
26819
  unit=unit,
26820
+ visible=visible,
26701
26821
  )
26702
26822
 
26703
26823
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricClientError", [props]))
@@ -26709,6 +26829,7 @@ class StageBase(
26709
26829
  account: typing.Optional[builtins.str] = None,
26710
26830
  color: typing.Optional[builtins.str] = None,
26711
26831
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
26832
+ id: typing.Optional[builtins.str] = None,
26712
26833
  label: typing.Optional[builtins.str] = None,
26713
26834
  period: typing.Optional[_Duration_4839e8c3] = None,
26714
26835
  region: typing.Optional[builtins.str] = None,
@@ -26716,12 +26837,14 @@ class StageBase(
26716
26837
  stack_region: typing.Optional[builtins.str] = None,
26717
26838
  statistic: typing.Optional[builtins.str] = None,
26718
26839
  unit: typing.Optional[_Unit_61bc6f70] = None,
26840
+ visible: typing.Optional[builtins.bool] = None,
26719
26841
  ) -> _Metric_e396a4dc:
26720
26842
  '''Metric for the total number API requests in a given period.
26721
26843
 
26722
26844
  :param account: Account which this metric comes from. Default: - Deployment account.
26723
26845
  :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
26724
26846
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
26847
+ :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
26725
26848
  :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
26726
26849
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
26727
26850
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -26729,6 +26852,7 @@ class StageBase(
26729
26852
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
26730
26853
  :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
26731
26854
  :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
26855
+ :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
26732
26856
 
26733
26857
  :default: - sample count over 5 minutes
26734
26858
  '''
@@ -26736,6 +26860,7 @@ class StageBase(
26736
26860
  account=account,
26737
26861
  color=color,
26738
26862
  dimensions_map=dimensions_map,
26863
+ id=id,
26739
26864
  label=label,
26740
26865
  period=period,
26741
26866
  region=region,
@@ -26743,6 +26868,7 @@ class StageBase(
26743
26868
  stack_region=stack_region,
26744
26869
  statistic=statistic,
26745
26870
  unit=unit,
26871
+ visible=visible,
26746
26872
  )
26747
26873
 
26748
26874
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricCount", [props]))
@@ -26754,6 +26880,7 @@ class StageBase(
26754
26880
  account: typing.Optional[builtins.str] = None,
26755
26881
  color: typing.Optional[builtins.str] = None,
26756
26882
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
26883
+ id: typing.Optional[builtins.str] = None,
26757
26884
  label: typing.Optional[builtins.str] = None,
26758
26885
  period: typing.Optional[_Duration_4839e8c3] = None,
26759
26886
  region: typing.Optional[builtins.str] = None,
@@ -26761,12 +26888,14 @@ class StageBase(
26761
26888
  stack_region: typing.Optional[builtins.str] = None,
26762
26889
  statistic: typing.Optional[builtins.str] = None,
26763
26890
  unit: typing.Optional[_Unit_61bc6f70] = None,
26891
+ visible: typing.Optional[builtins.bool] = None,
26764
26892
  ) -> _Metric_e396a4dc:
26765
26893
  '''Metric for the time between when API Gateway relays a request to the backend and when it receives a response from the backend.
26766
26894
 
26767
26895
  :param account: Account which this metric comes from. Default: - Deployment account.
26768
26896
  :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
26769
26897
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
26898
+ :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
26770
26899
  :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
26771
26900
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
26772
26901
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -26774,6 +26903,7 @@ class StageBase(
26774
26903
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
26775
26904
  :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
26776
26905
  :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
26906
+ :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
26777
26907
 
26778
26908
  :default: - average over 5 minutes.
26779
26909
  '''
@@ -26781,6 +26911,7 @@ class StageBase(
26781
26911
  account=account,
26782
26912
  color=color,
26783
26913
  dimensions_map=dimensions_map,
26914
+ id=id,
26784
26915
  label=label,
26785
26916
  period=period,
26786
26917
  region=region,
@@ -26788,6 +26919,7 @@ class StageBase(
26788
26919
  stack_region=stack_region,
26789
26920
  statistic=statistic,
26790
26921
  unit=unit,
26922
+ visible=visible,
26791
26923
  )
26792
26924
 
26793
26925
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricIntegrationLatency", [props]))
@@ -26799,6 +26931,7 @@ class StageBase(
26799
26931
  account: typing.Optional[builtins.str] = None,
26800
26932
  color: typing.Optional[builtins.str] = None,
26801
26933
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
26934
+ id: typing.Optional[builtins.str] = None,
26802
26935
  label: typing.Optional[builtins.str] = None,
26803
26936
  period: typing.Optional[_Duration_4839e8c3] = None,
26804
26937
  region: typing.Optional[builtins.str] = None,
@@ -26806,6 +26939,7 @@ class StageBase(
26806
26939
  stack_region: typing.Optional[builtins.str] = None,
26807
26940
  statistic: typing.Optional[builtins.str] = None,
26808
26941
  unit: typing.Optional[_Unit_61bc6f70] = None,
26942
+ visible: typing.Optional[builtins.bool] = None,
26809
26943
  ) -> _Metric_e396a4dc:
26810
26944
  '''The time between when API Gateway receives a request from a client and when it returns a response to the client.
26811
26945
 
@@ -26814,6 +26948,7 @@ class StageBase(
26814
26948
  :param account: Account which this metric comes from. Default: - Deployment account.
26815
26949
  :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
26816
26950
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
26951
+ :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
26817
26952
  :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
26818
26953
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
26819
26954
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -26821,6 +26956,7 @@ class StageBase(
26821
26956
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
26822
26957
  :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
26823
26958
  :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
26959
+ :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
26824
26960
 
26825
26961
  :default: - average over 5 minutes.
26826
26962
  '''
@@ -26828,6 +26964,7 @@ class StageBase(
26828
26964
  account=account,
26829
26965
  color=color,
26830
26966
  dimensions_map=dimensions_map,
26967
+ id=id,
26831
26968
  label=label,
26832
26969
  period=period,
26833
26970
  region=region,
@@ -26835,6 +26972,7 @@ class StageBase(
26835
26972
  stack_region=stack_region,
26836
26973
  statistic=statistic,
26837
26974
  unit=unit,
26975
+ visible=visible,
26838
26976
  )
26839
26977
 
26840
26978
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricLatency", [props]))
@@ -26846,6 +26984,7 @@ class StageBase(
26846
26984
  account: typing.Optional[builtins.str] = None,
26847
26985
  color: typing.Optional[builtins.str] = None,
26848
26986
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
26987
+ id: typing.Optional[builtins.str] = None,
26849
26988
  label: typing.Optional[builtins.str] = None,
26850
26989
  period: typing.Optional[_Duration_4839e8c3] = None,
26851
26990
  region: typing.Optional[builtins.str] = None,
@@ -26853,12 +26992,14 @@ class StageBase(
26853
26992
  stack_region: typing.Optional[builtins.str] = None,
26854
26993
  statistic: typing.Optional[builtins.str] = None,
26855
26994
  unit: typing.Optional[_Unit_61bc6f70] = None,
26995
+ visible: typing.Optional[builtins.bool] = None,
26856
26996
  ) -> _Metric_e396a4dc:
26857
26997
  '''Metric for the number of server-side errors captured in a given period.
26858
26998
 
26859
26999
  :param account: Account which this metric comes from. Default: - Deployment account.
26860
27000
  :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
26861
27001
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
27002
+ :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
26862
27003
  :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
26863
27004
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
26864
27005
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -26866,6 +27007,7 @@ class StageBase(
26866
27007
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
26867
27008
  :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
26868
27009
  :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
27010
+ :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
26869
27011
 
26870
27012
  :default: - sum over 5 minutes
26871
27013
  '''
@@ -26873,6 +27015,7 @@ class StageBase(
26873
27015
  account=account,
26874
27016
  color=color,
26875
27017
  dimensions_map=dimensions_map,
27018
+ id=id,
26876
27019
  label=label,
26877
27020
  period=period,
26878
27021
  region=region,
@@ -26880,6 +27023,7 @@ class StageBase(
26880
27023
  stack_region=stack_region,
26881
27024
  statistic=statistic,
26882
27025
  unit=unit,
27026
+ visible=visible,
26883
27027
  )
26884
27028
 
26885
27029
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricServerError", [props]))
@@ -36068,6 +36212,7 @@ def _typecheckingstub__5673792ec70e78f31bd42c8b5fa76d95f3d27fb475ced2b715241422b
36068
36212
  account: typing.Optional[builtins.str] = None,
36069
36213
  color: typing.Optional[builtins.str] = None,
36070
36214
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
36215
+ id: typing.Optional[builtins.str] = None,
36071
36216
  label: typing.Optional[builtins.str] = None,
36072
36217
  period: typing.Optional[_Duration_4839e8c3] = None,
36073
36218
  region: typing.Optional[builtins.str] = None,
@@ -36075,6 +36220,7 @@ def _typecheckingstub__5673792ec70e78f31bd42c8b5fa76d95f3d27fb475ced2b715241422b
36075
36220
  stack_region: typing.Optional[builtins.str] = None,
36076
36221
  statistic: typing.Optional[builtins.str] = None,
36077
36222
  unit: typing.Optional[_Unit_61bc6f70] = None,
36223
+ visible: typing.Optional[builtins.bool] = None,
36078
36224
  ) -> None:
36079
36225
  """Type checking stubs"""
36080
36226
  pass
@@ -36085,6 +36231,7 @@ def _typecheckingstub__64ac2608c9f1609b3b980aa9e9605f3bd74f2569716d2fa90b1409dd7
36085
36231
  account: typing.Optional[builtins.str] = None,
36086
36232
  color: typing.Optional[builtins.str] = None,
36087
36233
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
36234
+ id: typing.Optional[builtins.str] = None,
36088
36235
  label: typing.Optional[builtins.str] = None,
36089
36236
  period: typing.Optional[_Duration_4839e8c3] = None,
36090
36237
  region: typing.Optional[builtins.str] = None,
@@ -36092,6 +36239,7 @@ def _typecheckingstub__64ac2608c9f1609b3b980aa9e9605f3bd74f2569716d2fa90b1409dd7
36092
36239
  stack_region: typing.Optional[builtins.str] = None,
36093
36240
  statistic: typing.Optional[builtins.str] = None,
36094
36241
  unit: typing.Optional[_Unit_61bc6f70] = None,
36242
+ visible: typing.Optional[builtins.bool] = None,
36095
36243
  ) -> None:
36096
36244
  """Type checking stubs"""
36097
36245
  pass
@@ -36102,6 +36250,7 @@ def _typecheckingstub__2cf284ffe8f66028e735d60b6ecd9664dc929e5cd71b9b7ce14143816
36102
36250
  account: typing.Optional[builtins.str] = None,
36103
36251
  color: typing.Optional[builtins.str] = None,
36104
36252
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
36253
+ id: typing.Optional[builtins.str] = None,
36105
36254
  label: typing.Optional[builtins.str] = None,
36106
36255
  period: typing.Optional[_Duration_4839e8c3] = None,
36107
36256
  region: typing.Optional[builtins.str] = None,
@@ -36109,6 +36258,7 @@ def _typecheckingstub__2cf284ffe8f66028e735d60b6ecd9664dc929e5cd71b9b7ce14143816
36109
36258
  stack_region: typing.Optional[builtins.str] = None,
36110
36259
  statistic: typing.Optional[builtins.str] = None,
36111
36260
  unit: typing.Optional[_Unit_61bc6f70] = None,
36261
+ visible: typing.Optional[builtins.bool] = None,
36112
36262
  ) -> None:
36113
36263
  """Type checking stubs"""
36114
36264
  pass
@@ -36119,6 +36269,7 @@ def _typecheckingstub__0493ec2c246530b5b05f1be196bdc153e1978bea6c8f269860b366eda
36119
36269
  account: typing.Optional[builtins.str] = None,
36120
36270
  color: typing.Optional[builtins.str] = None,
36121
36271
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
36272
+ id: typing.Optional[builtins.str] = None,
36122
36273
  label: typing.Optional[builtins.str] = None,
36123
36274
  period: typing.Optional[_Duration_4839e8c3] = None,
36124
36275
  region: typing.Optional[builtins.str] = None,
@@ -36126,6 +36277,7 @@ def _typecheckingstub__0493ec2c246530b5b05f1be196bdc153e1978bea6c8f269860b366eda
36126
36277
  stack_region: typing.Optional[builtins.str] = None,
36127
36278
  statistic: typing.Optional[builtins.str] = None,
36128
36279
  unit: typing.Optional[_Unit_61bc6f70] = None,
36280
+ visible: typing.Optional[builtins.bool] = None,
36129
36281
  ) -> None:
36130
36282
  """Type checking stubs"""
36131
36283
  pass
@@ -36136,6 +36288,7 @@ def _typecheckingstub__001b2bf8bfa27908da0580fb4246b555f3e30524cd2601928dd174bcc
36136
36288
  account: typing.Optional[builtins.str] = None,
36137
36289
  color: typing.Optional[builtins.str] = None,
36138
36290
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
36291
+ id: typing.Optional[builtins.str] = None,
36139
36292
  label: typing.Optional[builtins.str] = None,
36140
36293
  period: typing.Optional[_Duration_4839e8c3] = None,
36141
36294
  region: typing.Optional[builtins.str] = None,
@@ -36143,6 +36296,7 @@ def _typecheckingstub__001b2bf8bfa27908da0580fb4246b555f3e30524cd2601928dd174bcc
36143
36296
  stack_region: typing.Optional[builtins.str] = None,
36144
36297
  statistic: typing.Optional[builtins.str] = None,
36145
36298
  unit: typing.Optional[_Unit_61bc6f70] = None,
36299
+ visible: typing.Optional[builtins.bool] = None,
36146
36300
  ) -> None:
36147
36301
  """Type checking stubs"""
36148
36302
  pass
@@ -36153,6 +36307,7 @@ def _typecheckingstub__bade8cd8b8758f071556fa580f6b28b70f2f6440e36b36dc871b3306d
36153
36307
  account: typing.Optional[builtins.str] = None,
36154
36308
  color: typing.Optional[builtins.str] = None,
36155
36309
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
36310
+ id: typing.Optional[builtins.str] = None,
36156
36311
  label: typing.Optional[builtins.str] = None,
36157
36312
  period: typing.Optional[_Duration_4839e8c3] = None,
36158
36313
  region: typing.Optional[builtins.str] = None,
@@ -36160,6 +36315,7 @@ def _typecheckingstub__bade8cd8b8758f071556fa580f6b28b70f2f6440e36b36dc871b3306d
36160
36315
  stack_region: typing.Optional[builtins.str] = None,
36161
36316
  statistic: typing.Optional[builtins.str] = None,
36162
36317
  unit: typing.Optional[_Unit_61bc6f70] = None,
36318
+ visible: typing.Optional[builtins.bool] = None,
36163
36319
  ) -> None:
36164
36320
  """Type checking stubs"""
36165
36321
  pass
@@ -36170,6 +36326,7 @@ def _typecheckingstub__967d05990ceae877a7b59ca744da0bf2c478639cc36a703b76a49213c
36170
36326
  account: typing.Optional[builtins.str] = None,
36171
36327
  color: typing.Optional[builtins.str] = None,
36172
36328
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
36329
+ id: typing.Optional[builtins.str] = None,
36173
36330
  label: typing.Optional[builtins.str] = None,
36174
36331
  period: typing.Optional[_Duration_4839e8c3] = None,
36175
36332
  region: typing.Optional[builtins.str] = None,
@@ -36177,6 +36334,7 @@ def _typecheckingstub__967d05990ceae877a7b59ca744da0bf2c478639cc36a703b76a49213c
36177
36334
  stack_region: typing.Optional[builtins.str] = None,
36178
36335
  statistic: typing.Optional[builtins.str] = None,
36179
36336
  unit: typing.Optional[_Unit_61bc6f70] = None,
36337
+ visible: typing.Optional[builtins.bool] = None,
36180
36338
  ) -> None:
36181
36339
  """Type checking stubs"""
36182
36340
  pass
@@ -36187,6 +36345,7 @@ def _typecheckingstub__d41d28c85cd25934abfd3bd4223f1dfd9b5d6c8dbd0ceb1869a97c090
36187
36345
  account: typing.Optional[builtins.str] = None,
36188
36346
  color: typing.Optional[builtins.str] = None,
36189
36347
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
36348
+ id: typing.Optional[builtins.str] = None,
36190
36349
  label: typing.Optional[builtins.str] = None,
36191
36350
  period: typing.Optional[_Duration_4839e8c3] = None,
36192
36351
  region: typing.Optional[builtins.str] = None,
@@ -36194,6 +36353,7 @@ def _typecheckingstub__d41d28c85cd25934abfd3bd4223f1dfd9b5d6c8dbd0ceb1869a97c090
36194
36353
  stack_region: typing.Optional[builtins.str] = None,
36195
36354
  statistic: typing.Optional[builtins.str] = None,
36196
36355
  unit: typing.Optional[_Unit_61bc6f70] = None,
36356
+ visible: typing.Optional[builtins.bool] = None,
36197
36357
  ) -> None:
36198
36358
  """Type checking stubs"""
36199
36359
  pass
@@ -36595,6 +36755,7 @@ def _typecheckingstub__83e0007c5bc1aeac14243c8f05dab576ffb55853642cfe1f4a1352b59
36595
36755
  account: typing.Optional[builtins.str] = None,
36596
36756
  color: typing.Optional[builtins.str] = None,
36597
36757
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
36758
+ id: typing.Optional[builtins.str] = None,
36598
36759
  label: typing.Optional[builtins.str] = None,
36599
36760
  period: typing.Optional[_Duration_4839e8c3] = None,
36600
36761
  region: typing.Optional[builtins.str] = None,
@@ -36602,6 +36763,7 @@ def _typecheckingstub__83e0007c5bc1aeac14243c8f05dab576ffb55853642cfe1f4a1352b59
36602
36763
  stack_region: typing.Optional[builtins.str] = None,
36603
36764
  statistic: typing.Optional[builtins.str] = None,
36604
36765
  unit: typing.Optional[_Unit_61bc6f70] = None,
36766
+ visible: typing.Optional[builtins.bool] = None,
36605
36767
  ) -> None:
36606
36768
  """Type checking stubs"""
36607
36769
  pass
@@ -36813,6 +36975,7 @@ def _typecheckingstub__e7aa140ce28102f6291e54fab42702aec75e06eb4ff034ae6897a3606
36813
36975
  account: typing.Optional[builtins.str] = None,
36814
36976
  color: typing.Optional[builtins.str] = None,
36815
36977
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
36978
+ id: typing.Optional[builtins.str] = None,
36816
36979
  label: typing.Optional[builtins.str] = None,
36817
36980
  period: typing.Optional[_Duration_4839e8c3] = None,
36818
36981
  region: typing.Optional[builtins.str] = None,
@@ -36820,6 +36983,7 @@ def _typecheckingstub__e7aa140ce28102f6291e54fab42702aec75e06eb4ff034ae6897a3606
36820
36983
  stack_region: typing.Optional[builtins.str] = None,
36821
36984
  statistic: typing.Optional[builtins.str] = None,
36822
36985
  unit: typing.Optional[_Unit_61bc6f70] = None,
36986
+ visible: typing.Optional[builtins.bool] = None,
36823
36987
  ) -> None:
36824
36988
  """Type checking stubs"""
36825
36989
  pass