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

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

Potentially problematic release.


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

Files changed (33) hide show
  1. aws_cdk/__init__.py +38 -0
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.203.1.jsii.tgz → aws-cdk-lib@2.204.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_apigateway/__init__.py +164 -0
  5. aws_cdk/aws_apigatewayv2/__init__.py +412 -0
  6. aws_cdk/aws_certificatemanager/__init__.py +28 -0
  7. aws_cdk/aws_chatbot/__init__.py +28 -0
  8. aws_cdk/aws_cloudfront/__init__.py +92 -0
  9. aws_cdk/aws_cloudfront/experimental/__init__.py +32 -0
  10. aws_cdk/aws_cloudwatch/__init__.py +217 -23
  11. aws_cdk/aws_codebuild/__init__.py +84 -0
  12. aws_cdk/aws_dynamodb/__init__.py +316 -2
  13. aws_cdk/aws_ec2/__init__.py +94 -0
  14. aws_cdk/aws_ecs/__init__.py +52 -0
  15. aws_cdk/aws_elasticloadbalancingv2/__init__.py +724 -0
  16. aws_cdk/aws_elasticsearch/__init__.py +260 -0
  17. aws_cdk/aws_kinesis/__init__.py +324 -0
  18. aws_cdk/aws_kinesisfirehose/__init__.py +100 -0
  19. aws_cdk/aws_lambda/__init__.py +144 -0
  20. aws_cdk/aws_logs/__init__.py +58 -0
  21. aws_cdk/aws_opensearchservice/__init__.py +260 -0
  22. aws_cdk/aws_rds/__init__.py +384 -0
  23. aws_cdk/aws_scheduler/__init__.py +210 -0
  24. aws_cdk/aws_sns/__init__.py +164 -0
  25. aws_cdk/aws_sqs/__init__.py +164 -0
  26. aws_cdk/aws_stepfunctions/__init__.py +288 -0
  27. aws_cdk/aws_synthetics/__init__.py +18 -0
  28. {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.204.0.dist-info}/METADATA +2 -2
  29. {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.204.0.dist-info}/RECORD +33 -33
  30. {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.204.0.dist-info}/LICENSE +0 -0
  31. {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.204.0.dist-info}/NOTICE +0 -0
  32. {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.204.0.dist-info}/WHEEL +0 -0
  33. {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.204.0.dist-info}/top_level.txt +0 -0
@@ -10869,6 +10869,7 @@ class IDeliveryStream(
10869
10869
  account: typing.Optional[builtins.str] = None,
10870
10870
  color: typing.Optional[builtins.str] = None,
10871
10871
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
10872
+ id: typing.Optional[builtins.str] = None,
10872
10873
  label: typing.Optional[builtins.str] = None,
10873
10874
  period: typing.Optional[_Duration_4839e8c3] = None,
10874
10875
  region: typing.Optional[builtins.str] = None,
@@ -10876,6 +10877,7 @@ class IDeliveryStream(
10876
10877
  stack_region: typing.Optional[builtins.str] = None,
10877
10878
  statistic: typing.Optional[builtins.str] = None,
10878
10879
  unit: typing.Optional[_Unit_61bc6f70] = None,
10880
+ visible: typing.Optional[builtins.bool] = None,
10879
10881
  ) -> _Metric_e396a4dc:
10880
10882
  '''Return the given named metric for this delivery stream.
10881
10883
 
@@ -10883,6 +10885,7 @@ class IDeliveryStream(
10883
10885
  :param account: Account which this metric comes from. Default: - Deployment account.
10884
10886
  :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
10885
10887
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
10888
+ :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
10886
10889
  :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
10887
10890
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
10888
10891
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -10890,6 +10893,7 @@ class IDeliveryStream(
10890
10893
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
10891
10894
  :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
10892
10895
  :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
10896
+ :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
10893
10897
  '''
10894
10898
  ...
10895
10899
 
@@ -10900,6 +10904,7 @@ class IDeliveryStream(
10900
10904
  account: typing.Optional[builtins.str] = None,
10901
10905
  color: typing.Optional[builtins.str] = None,
10902
10906
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
10907
+ id: typing.Optional[builtins.str] = None,
10903
10908
  label: typing.Optional[builtins.str] = None,
10904
10909
  period: typing.Optional[_Duration_4839e8c3] = None,
10905
10910
  region: typing.Optional[builtins.str] = None,
@@ -10907,6 +10912,7 @@ class IDeliveryStream(
10907
10912
  stack_region: typing.Optional[builtins.str] = None,
10908
10913
  statistic: typing.Optional[builtins.str] = None,
10909
10914
  unit: typing.Optional[_Unit_61bc6f70] = None,
10915
+ visible: typing.Optional[builtins.bool] = None,
10910
10916
  ) -> _Metric_e396a4dc:
10911
10917
  '''Metric for the number of bytes delivered to Amazon S3 for backup over the specified time period.
10912
10918
 
@@ -10915,6 +10921,7 @@ class IDeliveryStream(
10915
10921
  :param account: Account which this metric comes from. Default: - Deployment account.
10916
10922
  :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
10917
10923
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
10924
+ :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
10918
10925
  :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
10919
10926
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
10920
10927
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -10922,6 +10929,7 @@ class IDeliveryStream(
10922
10929
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
10923
10930
  :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
10924
10931
  :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
10932
+ :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
10925
10933
  '''
10926
10934
  ...
10927
10935
 
@@ -10932,6 +10940,7 @@ class IDeliveryStream(
10932
10940
  account: typing.Optional[builtins.str] = None,
10933
10941
  color: typing.Optional[builtins.str] = None,
10934
10942
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
10943
+ id: typing.Optional[builtins.str] = None,
10935
10944
  label: typing.Optional[builtins.str] = None,
10936
10945
  period: typing.Optional[_Duration_4839e8c3] = None,
10937
10946
  region: typing.Optional[builtins.str] = None,
@@ -10939,6 +10948,7 @@ class IDeliveryStream(
10939
10948
  stack_region: typing.Optional[builtins.str] = None,
10940
10949
  statistic: typing.Optional[builtins.str] = None,
10941
10950
  unit: typing.Optional[_Unit_61bc6f70] = None,
10951
+ visible: typing.Optional[builtins.bool] = None,
10942
10952
  ) -> _Metric_e396a4dc:
10943
10953
  '''Metric for the age (from getting into Amazon Data Firehose to now) of the oldest record in Amazon Data Firehose.
10944
10954
 
@@ -10949,6 +10959,7 @@ class IDeliveryStream(
10949
10959
  :param account: Account which this metric comes from. Default: - Deployment account.
10950
10960
  :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
10951
10961
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
10962
+ :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
10952
10963
  :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
10953
10964
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
10954
10965
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -10956,6 +10967,7 @@ class IDeliveryStream(
10956
10967
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
10957
10968
  :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
10958
10969
  :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
10970
+ :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
10959
10971
  '''
10960
10972
  ...
10961
10973
 
@@ -10966,6 +10978,7 @@ class IDeliveryStream(
10966
10978
  account: typing.Optional[builtins.str] = None,
10967
10979
  color: typing.Optional[builtins.str] = None,
10968
10980
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
10981
+ id: typing.Optional[builtins.str] = None,
10969
10982
  label: typing.Optional[builtins.str] = None,
10970
10983
  period: typing.Optional[_Duration_4839e8c3] = None,
10971
10984
  region: typing.Optional[builtins.str] = None,
@@ -10973,6 +10986,7 @@ class IDeliveryStream(
10973
10986
  stack_region: typing.Optional[builtins.str] = None,
10974
10987
  statistic: typing.Optional[builtins.str] = None,
10975
10988
  unit: typing.Optional[_Unit_61bc6f70] = None,
10989
+ visible: typing.Optional[builtins.bool] = None,
10976
10990
  ) -> _Metric_e396a4dc:
10977
10991
  '''Metric for the number of records delivered to Amazon S3 for backup over the specified time period.
10978
10992
 
@@ -10981,6 +10995,7 @@ class IDeliveryStream(
10981
10995
  :param account: Account which this metric comes from. Default: - Deployment account.
10982
10996
  :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
10983
10997
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
10998
+ :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
10984
10999
  :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
10985
11000
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
10986
11001
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -10988,6 +11003,7 @@ class IDeliveryStream(
10988
11003
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
10989
11004
  :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
10990
11005
  :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
11006
+ :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
10991
11007
  '''
10992
11008
  ...
10993
11009
 
@@ -10998,6 +11014,7 @@ class IDeliveryStream(
10998
11014
  account: typing.Optional[builtins.str] = None,
10999
11015
  color: typing.Optional[builtins.str] = None,
11000
11016
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
11017
+ id: typing.Optional[builtins.str] = None,
11001
11018
  label: typing.Optional[builtins.str] = None,
11002
11019
  period: typing.Optional[_Duration_4839e8c3] = None,
11003
11020
  region: typing.Optional[builtins.str] = None,
@@ -11005,6 +11022,7 @@ class IDeliveryStream(
11005
11022
  stack_region: typing.Optional[builtins.str] = None,
11006
11023
  statistic: typing.Optional[builtins.str] = None,
11007
11024
  unit: typing.Optional[_Unit_61bc6f70] = None,
11025
+ visible: typing.Optional[builtins.bool] = None,
11008
11026
  ) -> _Metric_e396a4dc:
11009
11027
  '''Metric for the number of bytes ingested successfully into the delivery stream over the specified time period after throttling.
11010
11028
 
@@ -11013,6 +11031,7 @@ class IDeliveryStream(
11013
11031
  :param account: Account which this metric comes from. Default: - Deployment account.
11014
11032
  :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
11015
11033
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
11034
+ :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
11016
11035
  :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
11017
11036
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
11018
11037
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -11020,6 +11039,7 @@ class IDeliveryStream(
11020
11039
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
11021
11040
  :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
11022
11041
  :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
11042
+ :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
11023
11043
  '''
11024
11044
  ...
11025
11045
 
@@ -11030,6 +11050,7 @@ class IDeliveryStream(
11030
11050
  account: typing.Optional[builtins.str] = None,
11031
11051
  color: typing.Optional[builtins.str] = None,
11032
11052
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
11053
+ id: typing.Optional[builtins.str] = None,
11033
11054
  label: typing.Optional[builtins.str] = None,
11034
11055
  period: typing.Optional[_Duration_4839e8c3] = None,
11035
11056
  region: typing.Optional[builtins.str] = None,
@@ -11037,6 +11058,7 @@ class IDeliveryStream(
11037
11058
  stack_region: typing.Optional[builtins.str] = None,
11038
11059
  statistic: typing.Optional[builtins.str] = None,
11039
11060
  unit: typing.Optional[_Unit_61bc6f70] = None,
11061
+ visible: typing.Optional[builtins.bool] = None,
11040
11062
  ) -> _Metric_e396a4dc:
11041
11063
  '''Metric for the number of records ingested successfully into the delivery stream over the specified time period after throttling.
11042
11064
 
@@ -11045,6 +11067,7 @@ class IDeliveryStream(
11045
11067
  :param account: Account which this metric comes from. Default: - Deployment account.
11046
11068
  :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
11047
11069
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
11070
+ :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
11048
11071
  :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
11049
11072
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
11050
11073
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -11052,6 +11075,7 @@ class IDeliveryStream(
11052
11075
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
11053
11076
  :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
11054
11077
  :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
11078
+ :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
11055
11079
  '''
11056
11080
  ...
11057
11081
 
@@ -11119,6 +11143,7 @@ class _IDeliveryStreamProxy(
11119
11143
  account: typing.Optional[builtins.str] = None,
11120
11144
  color: typing.Optional[builtins.str] = None,
11121
11145
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
11146
+ id: typing.Optional[builtins.str] = None,
11122
11147
  label: typing.Optional[builtins.str] = None,
11123
11148
  period: typing.Optional[_Duration_4839e8c3] = None,
11124
11149
  region: typing.Optional[builtins.str] = None,
@@ -11126,6 +11151,7 @@ class _IDeliveryStreamProxy(
11126
11151
  stack_region: typing.Optional[builtins.str] = None,
11127
11152
  statistic: typing.Optional[builtins.str] = None,
11128
11153
  unit: typing.Optional[_Unit_61bc6f70] = None,
11154
+ visible: typing.Optional[builtins.bool] = None,
11129
11155
  ) -> _Metric_e396a4dc:
11130
11156
  '''Return the given named metric for this delivery stream.
11131
11157
 
@@ -11133,6 +11159,7 @@ class _IDeliveryStreamProxy(
11133
11159
  :param account: Account which this metric comes from. Default: - Deployment account.
11134
11160
  :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
11135
11161
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
11162
+ :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
11136
11163
  :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
11137
11164
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
11138
11165
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -11140,6 +11167,7 @@ class _IDeliveryStreamProxy(
11140
11167
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
11141
11168
  :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
11142
11169
  :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
11170
+ :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
11143
11171
  '''
11144
11172
  if __debug__:
11145
11173
  type_hints = typing.get_type_hints(_typecheckingstub__25d98802194f172640833e51b398adf85ca294da7e2a4a6dfb45bfe99dfdb071)
@@ -11148,6 +11176,7 @@ class _IDeliveryStreamProxy(
11148
11176
  account=account,
11149
11177
  color=color,
11150
11178
  dimensions_map=dimensions_map,
11179
+ id=id,
11151
11180
  label=label,
11152
11181
  period=period,
11153
11182
  region=region,
@@ -11155,6 +11184,7 @@ class _IDeliveryStreamProxy(
11155
11184
  stack_region=stack_region,
11156
11185
  statistic=statistic,
11157
11186
  unit=unit,
11187
+ visible=visible,
11158
11188
  )
11159
11189
 
11160
11190
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metric", [metric_name, props]))
@@ -11166,6 +11196,7 @@ class _IDeliveryStreamProxy(
11166
11196
  account: typing.Optional[builtins.str] = None,
11167
11197
  color: typing.Optional[builtins.str] = None,
11168
11198
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
11199
+ id: typing.Optional[builtins.str] = None,
11169
11200
  label: typing.Optional[builtins.str] = None,
11170
11201
  period: typing.Optional[_Duration_4839e8c3] = None,
11171
11202
  region: typing.Optional[builtins.str] = None,
@@ -11173,6 +11204,7 @@ class _IDeliveryStreamProxy(
11173
11204
  stack_region: typing.Optional[builtins.str] = None,
11174
11205
  statistic: typing.Optional[builtins.str] = None,
11175
11206
  unit: typing.Optional[_Unit_61bc6f70] = None,
11207
+ visible: typing.Optional[builtins.bool] = None,
11176
11208
  ) -> _Metric_e396a4dc:
11177
11209
  '''Metric for the number of bytes delivered to Amazon S3 for backup over the specified time period.
11178
11210
 
@@ -11181,6 +11213,7 @@ class _IDeliveryStreamProxy(
11181
11213
  :param account: Account which this metric comes from. Default: - Deployment account.
11182
11214
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
11183
11215
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
11216
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
11184
11217
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
11185
11218
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
11186
11219
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -11188,11 +11221,13 @@ class _IDeliveryStreamProxy(
11188
11221
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
11189
11222
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
11190
11223
  :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
11224
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
11191
11225
  '''
11192
11226
  props = _MetricOptions_1788b62f(
11193
11227
  account=account,
11194
11228
  color=color,
11195
11229
  dimensions_map=dimensions_map,
11230
+ id=id,
11196
11231
  label=label,
11197
11232
  period=period,
11198
11233
  region=region,
@@ -11200,6 +11235,7 @@ class _IDeliveryStreamProxy(
11200
11235
  stack_region=stack_region,
11201
11236
  statistic=statistic,
11202
11237
  unit=unit,
11238
+ visible=visible,
11203
11239
  )
11204
11240
 
11205
11241
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricBackupToS3Bytes", [props]))
@@ -11211,6 +11247,7 @@ class _IDeliveryStreamProxy(
11211
11247
  account: typing.Optional[builtins.str] = None,
11212
11248
  color: typing.Optional[builtins.str] = None,
11213
11249
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
11250
+ id: typing.Optional[builtins.str] = None,
11214
11251
  label: typing.Optional[builtins.str] = None,
11215
11252
  period: typing.Optional[_Duration_4839e8c3] = None,
11216
11253
  region: typing.Optional[builtins.str] = None,
@@ -11218,6 +11255,7 @@ class _IDeliveryStreamProxy(
11218
11255
  stack_region: typing.Optional[builtins.str] = None,
11219
11256
  statistic: typing.Optional[builtins.str] = None,
11220
11257
  unit: typing.Optional[_Unit_61bc6f70] = None,
11258
+ visible: typing.Optional[builtins.bool] = None,
11221
11259
  ) -> _Metric_e396a4dc:
11222
11260
  '''Metric for the age (from getting into Amazon Data Firehose to now) of the oldest record in Amazon Data Firehose.
11223
11261
 
@@ -11228,6 +11266,7 @@ class _IDeliveryStreamProxy(
11228
11266
  :param account: Account which this metric comes from. Default: - Deployment account.
11229
11267
  :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
11230
11268
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
11269
+ :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
11231
11270
  :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
11232
11271
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
11233
11272
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -11235,11 +11274,13 @@ class _IDeliveryStreamProxy(
11235
11274
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
11236
11275
  :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
11237
11276
  :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
11277
+ :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
11238
11278
  '''
11239
11279
  props = _MetricOptions_1788b62f(
11240
11280
  account=account,
11241
11281
  color=color,
11242
11282
  dimensions_map=dimensions_map,
11283
+ id=id,
11243
11284
  label=label,
11244
11285
  period=period,
11245
11286
  region=region,
@@ -11247,6 +11288,7 @@ class _IDeliveryStreamProxy(
11247
11288
  stack_region=stack_region,
11248
11289
  statistic=statistic,
11249
11290
  unit=unit,
11291
+ visible=visible,
11250
11292
  )
11251
11293
 
11252
11294
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricBackupToS3DataFreshness", [props]))
@@ -11258,6 +11300,7 @@ class _IDeliveryStreamProxy(
11258
11300
  account: typing.Optional[builtins.str] = None,
11259
11301
  color: typing.Optional[builtins.str] = None,
11260
11302
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
11303
+ id: typing.Optional[builtins.str] = None,
11261
11304
  label: typing.Optional[builtins.str] = None,
11262
11305
  period: typing.Optional[_Duration_4839e8c3] = None,
11263
11306
  region: typing.Optional[builtins.str] = None,
@@ -11265,6 +11308,7 @@ class _IDeliveryStreamProxy(
11265
11308
  stack_region: typing.Optional[builtins.str] = None,
11266
11309
  statistic: typing.Optional[builtins.str] = None,
11267
11310
  unit: typing.Optional[_Unit_61bc6f70] = None,
11311
+ visible: typing.Optional[builtins.bool] = None,
11268
11312
  ) -> _Metric_e396a4dc:
11269
11313
  '''Metric for the number of records delivered to Amazon S3 for backup over the specified time period.
11270
11314
 
@@ -11273,6 +11317,7 @@ class _IDeliveryStreamProxy(
11273
11317
  :param account: Account which this metric comes from. Default: - Deployment account.
11274
11318
  :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
11275
11319
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
11320
+ :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
11276
11321
  :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
11277
11322
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
11278
11323
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -11280,11 +11325,13 @@ class _IDeliveryStreamProxy(
11280
11325
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
11281
11326
  :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
11282
11327
  :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
11328
+ :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
11283
11329
  '''
11284
11330
  props = _MetricOptions_1788b62f(
11285
11331
  account=account,
11286
11332
  color=color,
11287
11333
  dimensions_map=dimensions_map,
11334
+ id=id,
11288
11335
  label=label,
11289
11336
  period=period,
11290
11337
  region=region,
@@ -11292,6 +11339,7 @@ class _IDeliveryStreamProxy(
11292
11339
  stack_region=stack_region,
11293
11340
  statistic=statistic,
11294
11341
  unit=unit,
11342
+ visible=visible,
11295
11343
  )
11296
11344
 
11297
11345
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricBackupToS3Records", [props]))
@@ -11303,6 +11351,7 @@ class _IDeliveryStreamProxy(
11303
11351
  account: typing.Optional[builtins.str] = None,
11304
11352
  color: typing.Optional[builtins.str] = None,
11305
11353
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
11354
+ id: typing.Optional[builtins.str] = None,
11306
11355
  label: typing.Optional[builtins.str] = None,
11307
11356
  period: typing.Optional[_Duration_4839e8c3] = None,
11308
11357
  region: typing.Optional[builtins.str] = None,
@@ -11310,6 +11359,7 @@ class _IDeliveryStreamProxy(
11310
11359
  stack_region: typing.Optional[builtins.str] = None,
11311
11360
  statistic: typing.Optional[builtins.str] = None,
11312
11361
  unit: typing.Optional[_Unit_61bc6f70] = None,
11362
+ visible: typing.Optional[builtins.bool] = None,
11313
11363
  ) -> _Metric_e396a4dc:
11314
11364
  '''Metric for the number of bytes ingested successfully into the delivery stream over the specified time period after throttling.
11315
11365
 
@@ -11318,6 +11368,7 @@ class _IDeliveryStreamProxy(
11318
11368
  :param account: Account which this metric comes from. Default: - Deployment account.
11319
11369
  :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
11320
11370
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
11371
+ :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
11321
11372
  :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
11322
11373
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
11323
11374
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -11325,11 +11376,13 @@ class _IDeliveryStreamProxy(
11325
11376
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
11326
11377
  :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
11327
11378
  :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
11379
+ :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
11328
11380
  '''
11329
11381
  props = _MetricOptions_1788b62f(
11330
11382
  account=account,
11331
11383
  color=color,
11332
11384
  dimensions_map=dimensions_map,
11385
+ id=id,
11333
11386
  label=label,
11334
11387
  period=period,
11335
11388
  region=region,
@@ -11337,6 +11390,7 @@ class _IDeliveryStreamProxy(
11337
11390
  stack_region=stack_region,
11338
11391
  statistic=statistic,
11339
11392
  unit=unit,
11393
+ visible=visible,
11340
11394
  )
11341
11395
 
11342
11396
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricIncomingBytes", [props]))
@@ -11348,6 +11402,7 @@ class _IDeliveryStreamProxy(
11348
11402
  account: typing.Optional[builtins.str] = None,
11349
11403
  color: typing.Optional[builtins.str] = None,
11350
11404
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
11405
+ id: typing.Optional[builtins.str] = None,
11351
11406
  label: typing.Optional[builtins.str] = None,
11352
11407
  period: typing.Optional[_Duration_4839e8c3] = None,
11353
11408
  region: typing.Optional[builtins.str] = None,
@@ -11355,6 +11410,7 @@ class _IDeliveryStreamProxy(
11355
11410
  stack_region: typing.Optional[builtins.str] = None,
11356
11411
  statistic: typing.Optional[builtins.str] = None,
11357
11412
  unit: typing.Optional[_Unit_61bc6f70] = None,
11413
+ visible: typing.Optional[builtins.bool] = None,
11358
11414
  ) -> _Metric_e396a4dc:
11359
11415
  '''Metric for the number of records ingested successfully into the delivery stream over the specified time period after throttling.
11360
11416
 
@@ -11363,6 +11419,7 @@ class _IDeliveryStreamProxy(
11363
11419
  :param account: Account which this metric comes from. Default: - Deployment account.
11364
11420
  :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
11365
11421
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
11422
+ :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
11366
11423
  :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
11367
11424
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
11368
11425
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -11370,11 +11427,13 @@ class _IDeliveryStreamProxy(
11370
11427
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
11371
11428
  :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
11372
11429
  :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
11430
+ :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
11373
11431
  '''
11374
11432
  props = _MetricOptions_1788b62f(
11375
11433
  account=account,
11376
11434
  color=color,
11377
11435
  dimensions_map=dimensions_map,
11436
+ id=id,
11378
11437
  label=label,
11379
11438
  period=period,
11380
11439
  region=region,
@@ -11382,6 +11441,7 @@ class _IDeliveryStreamProxy(
11382
11441
  stack_region=stack_region,
11383
11442
  statistic=statistic,
11384
11443
  unit=unit,
11444
+ visible=visible,
11385
11445
  )
11386
11446
 
11387
11447
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricIncomingRecords", [props]))
@@ -12265,6 +12325,7 @@ class DeliveryStream(
12265
12325
  account: typing.Optional[builtins.str] = None,
12266
12326
  color: typing.Optional[builtins.str] = None,
12267
12327
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
12328
+ id: typing.Optional[builtins.str] = None,
12268
12329
  label: typing.Optional[builtins.str] = None,
12269
12330
  period: typing.Optional[_Duration_4839e8c3] = None,
12270
12331
  region: typing.Optional[builtins.str] = None,
@@ -12272,6 +12333,7 @@ class DeliveryStream(
12272
12333
  stack_region: typing.Optional[builtins.str] = None,
12273
12334
  statistic: typing.Optional[builtins.str] = None,
12274
12335
  unit: typing.Optional[_Unit_61bc6f70] = None,
12336
+ visible: typing.Optional[builtins.bool] = None,
12275
12337
  ) -> _Metric_e396a4dc:
12276
12338
  '''Return the given named metric for this delivery stream.
12277
12339
 
@@ -12279,6 +12341,7 @@ class DeliveryStream(
12279
12341
  :param account: Account which this metric comes from. Default: - Deployment account.
12280
12342
  :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
12281
12343
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
12344
+ :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
12282
12345
  :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
12283
12346
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
12284
12347
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -12286,6 +12349,7 @@ class DeliveryStream(
12286
12349
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
12287
12350
  :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
12288
12351
  :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
12352
+ :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
12289
12353
  '''
12290
12354
  if __debug__:
12291
12355
  type_hints = typing.get_type_hints(_typecheckingstub__86f3b1e63c4046b14a20d8f095529962a56cb82f03a0f9a310b5c1b707bc0f5f)
@@ -12294,6 +12358,7 @@ class DeliveryStream(
12294
12358
  account=account,
12295
12359
  color=color,
12296
12360
  dimensions_map=dimensions_map,
12361
+ id=id,
12297
12362
  label=label,
12298
12363
  period=period,
12299
12364
  region=region,
@@ -12301,6 +12366,7 @@ class DeliveryStream(
12301
12366
  stack_region=stack_region,
12302
12367
  statistic=statistic,
12303
12368
  unit=unit,
12369
+ visible=visible,
12304
12370
  )
12305
12371
 
12306
12372
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metric", [metric_name, props]))
@@ -12312,6 +12378,7 @@ class DeliveryStream(
12312
12378
  account: typing.Optional[builtins.str] = None,
12313
12379
  color: typing.Optional[builtins.str] = None,
12314
12380
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
12381
+ id: typing.Optional[builtins.str] = None,
12315
12382
  label: typing.Optional[builtins.str] = None,
12316
12383
  period: typing.Optional[_Duration_4839e8c3] = None,
12317
12384
  region: typing.Optional[builtins.str] = None,
@@ -12319,6 +12386,7 @@ class DeliveryStream(
12319
12386
  stack_region: typing.Optional[builtins.str] = None,
12320
12387
  statistic: typing.Optional[builtins.str] = None,
12321
12388
  unit: typing.Optional[_Unit_61bc6f70] = None,
12389
+ visible: typing.Optional[builtins.bool] = None,
12322
12390
  ) -> _Metric_e396a4dc:
12323
12391
  '''Metric for the number of bytes delivered to Amazon S3 for backup over the specified time period.
12324
12392
 
@@ -12327,6 +12395,7 @@ class DeliveryStream(
12327
12395
  :param account: Account which this metric comes from. Default: - Deployment account.
12328
12396
  :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
12329
12397
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
12398
+ :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
12330
12399
  :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
12331
12400
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
12332
12401
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -12334,11 +12403,13 @@ class DeliveryStream(
12334
12403
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
12335
12404
  :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
12336
12405
  :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
12406
+ :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
12337
12407
  '''
12338
12408
  props = _MetricOptions_1788b62f(
12339
12409
  account=account,
12340
12410
  color=color,
12341
12411
  dimensions_map=dimensions_map,
12412
+ id=id,
12342
12413
  label=label,
12343
12414
  period=period,
12344
12415
  region=region,
@@ -12346,6 +12417,7 @@ class DeliveryStream(
12346
12417
  stack_region=stack_region,
12347
12418
  statistic=statistic,
12348
12419
  unit=unit,
12420
+ visible=visible,
12349
12421
  )
12350
12422
 
12351
12423
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricBackupToS3Bytes", [props]))
@@ -12357,6 +12429,7 @@ class DeliveryStream(
12357
12429
  account: typing.Optional[builtins.str] = None,
12358
12430
  color: typing.Optional[builtins.str] = None,
12359
12431
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
12432
+ id: typing.Optional[builtins.str] = None,
12360
12433
  label: typing.Optional[builtins.str] = None,
12361
12434
  period: typing.Optional[_Duration_4839e8c3] = None,
12362
12435
  region: typing.Optional[builtins.str] = None,
@@ -12364,6 +12437,7 @@ class DeliveryStream(
12364
12437
  stack_region: typing.Optional[builtins.str] = None,
12365
12438
  statistic: typing.Optional[builtins.str] = None,
12366
12439
  unit: typing.Optional[_Unit_61bc6f70] = None,
12440
+ visible: typing.Optional[builtins.bool] = None,
12367
12441
  ) -> _Metric_e396a4dc:
12368
12442
  '''Metric for the age (from getting into Amazon Data Firehose to now) of the oldest record in Amazon Data Firehose.
12369
12443
 
@@ -12374,6 +12448,7 @@ class DeliveryStream(
12374
12448
  :param account: Account which this metric comes from. Default: - Deployment account.
12375
12449
  :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
12376
12450
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
12451
+ :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
12377
12452
  :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
12378
12453
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
12379
12454
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -12381,11 +12456,13 @@ class DeliveryStream(
12381
12456
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
12382
12457
  :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
12383
12458
  :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
12459
+ :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
12384
12460
  '''
12385
12461
  props = _MetricOptions_1788b62f(
12386
12462
  account=account,
12387
12463
  color=color,
12388
12464
  dimensions_map=dimensions_map,
12465
+ id=id,
12389
12466
  label=label,
12390
12467
  period=period,
12391
12468
  region=region,
@@ -12393,6 +12470,7 @@ class DeliveryStream(
12393
12470
  stack_region=stack_region,
12394
12471
  statistic=statistic,
12395
12472
  unit=unit,
12473
+ visible=visible,
12396
12474
  )
12397
12475
 
12398
12476
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricBackupToS3DataFreshness", [props]))
@@ -12404,6 +12482,7 @@ class DeliveryStream(
12404
12482
  account: typing.Optional[builtins.str] = None,
12405
12483
  color: typing.Optional[builtins.str] = None,
12406
12484
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
12485
+ id: typing.Optional[builtins.str] = None,
12407
12486
  label: typing.Optional[builtins.str] = None,
12408
12487
  period: typing.Optional[_Duration_4839e8c3] = None,
12409
12488
  region: typing.Optional[builtins.str] = None,
@@ -12411,6 +12490,7 @@ class DeliveryStream(
12411
12490
  stack_region: typing.Optional[builtins.str] = None,
12412
12491
  statistic: typing.Optional[builtins.str] = None,
12413
12492
  unit: typing.Optional[_Unit_61bc6f70] = None,
12493
+ visible: typing.Optional[builtins.bool] = None,
12414
12494
  ) -> _Metric_e396a4dc:
12415
12495
  '''Metric for the number of records delivered to Amazon S3 for backup over the specified time period.
12416
12496
 
@@ -12419,6 +12499,7 @@ class DeliveryStream(
12419
12499
  :param account: Account which this metric comes from. Default: - Deployment account.
12420
12500
  :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
12421
12501
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
12502
+ :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
12422
12503
  :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
12423
12504
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
12424
12505
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -12426,11 +12507,13 @@ class DeliveryStream(
12426
12507
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
12427
12508
  :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
12428
12509
  :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
12510
+ :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
12429
12511
  '''
12430
12512
  props = _MetricOptions_1788b62f(
12431
12513
  account=account,
12432
12514
  color=color,
12433
12515
  dimensions_map=dimensions_map,
12516
+ id=id,
12434
12517
  label=label,
12435
12518
  period=period,
12436
12519
  region=region,
@@ -12438,6 +12521,7 @@ class DeliveryStream(
12438
12521
  stack_region=stack_region,
12439
12522
  statistic=statistic,
12440
12523
  unit=unit,
12524
+ visible=visible,
12441
12525
  )
12442
12526
 
12443
12527
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricBackupToS3Records", [props]))
@@ -12449,6 +12533,7 @@ class DeliveryStream(
12449
12533
  account: typing.Optional[builtins.str] = None,
12450
12534
  color: typing.Optional[builtins.str] = None,
12451
12535
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
12536
+ id: typing.Optional[builtins.str] = None,
12452
12537
  label: typing.Optional[builtins.str] = None,
12453
12538
  period: typing.Optional[_Duration_4839e8c3] = None,
12454
12539
  region: typing.Optional[builtins.str] = None,
@@ -12456,6 +12541,7 @@ class DeliveryStream(
12456
12541
  stack_region: typing.Optional[builtins.str] = None,
12457
12542
  statistic: typing.Optional[builtins.str] = None,
12458
12543
  unit: typing.Optional[_Unit_61bc6f70] = None,
12544
+ visible: typing.Optional[builtins.bool] = None,
12459
12545
  ) -> _Metric_e396a4dc:
12460
12546
  '''Metric for the number of bytes ingested successfully into the delivery stream over the specified time period after throttling.
12461
12547
 
@@ -12464,6 +12550,7 @@ class DeliveryStream(
12464
12550
  :param account: Account which this metric comes from. Default: - Deployment account.
12465
12551
  :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
12466
12552
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
12553
+ :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
12467
12554
  :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
12468
12555
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
12469
12556
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -12471,11 +12558,13 @@ class DeliveryStream(
12471
12558
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
12472
12559
  :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
12473
12560
  :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
12561
+ :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
12474
12562
  '''
12475
12563
  props = _MetricOptions_1788b62f(
12476
12564
  account=account,
12477
12565
  color=color,
12478
12566
  dimensions_map=dimensions_map,
12567
+ id=id,
12479
12568
  label=label,
12480
12569
  period=period,
12481
12570
  region=region,
@@ -12483,6 +12572,7 @@ class DeliveryStream(
12483
12572
  stack_region=stack_region,
12484
12573
  statistic=statistic,
12485
12574
  unit=unit,
12575
+ visible=visible,
12486
12576
  )
12487
12577
 
12488
12578
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricIncomingBytes", [props]))
@@ -12494,6 +12584,7 @@ class DeliveryStream(
12494
12584
  account: typing.Optional[builtins.str] = None,
12495
12585
  color: typing.Optional[builtins.str] = None,
12496
12586
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
12587
+ id: typing.Optional[builtins.str] = None,
12497
12588
  label: typing.Optional[builtins.str] = None,
12498
12589
  period: typing.Optional[_Duration_4839e8c3] = None,
12499
12590
  region: typing.Optional[builtins.str] = None,
@@ -12501,6 +12592,7 @@ class DeliveryStream(
12501
12592
  stack_region: typing.Optional[builtins.str] = None,
12502
12593
  statistic: typing.Optional[builtins.str] = None,
12503
12594
  unit: typing.Optional[_Unit_61bc6f70] = None,
12595
+ visible: typing.Optional[builtins.bool] = None,
12504
12596
  ) -> _Metric_e396a4dc:
12505
12597
  '''Metric for the number of records ingested successfully into the delivery stream over the specified time period after throttling.
12506
12598
 
@@ -12509,6 +12601,7 @@ class DeliveryStream(
12509
12601
  :param account: Account which this metric comes from. Default: - Deployment account.
12510
12602
  :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
12511
12603
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
12604
+ :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
12512
12605
  :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
12513
12606
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
12514
12607
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -12516,11 +12609,13 @@ class DeliveryStream(
12516
12609
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
12517
12610
  :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
12518
12611
  :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
12612
+ :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
12519
12613
  '''
12520
12614
  props = _MetricOptions_1788b62f(
12521
12615
  account=account,
12522
12616
  color=color,
12523
12617
  dimensions_map=dimensions_map,
12618
+ id=id,
12524
12619
  label=label,
12525
12620
  period=period,
12526
12621
  region=region,
@@ -12528,6 +12623,7 @@ class DeliveryStream(
12528
12623
  stack_region=stack_region,
12529
12624
  statistic=statistic,
12530
12625
  unit=unit,
12626
+ visible=visible,
12531
12627
  )
12532
12628
 
12533
12629
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricIncomingRecords", [props]))
@@ -13611,6 +13707,7 @@ def _typecheckingstub__25d98802194f172640833e51b398adf85ca294da7e2a4a6dfb45bfe99
13611
13707
  account: typing.Optional[builtins.str] = None,
13612
13708
  color: typing.Optional[builtins.str] = None,
13613
13709
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
13710
+ id: typing.Optional[builtins.str] = None,
13614
13711
  label: typing.Optional[builtins.str] = None,
13615
13712
  period: typing.Optional[_Duration_4839e8c3] = None,
13616
13713
  region: typing.Optional[builtins.str] = None,
@@ -13618,6 +13715,7 @@ def _typecheckingstub__25d98802194f172640833e51b398adf85ca294da7e2a4a6dfb45bfe99
13618
13715
  stack_region: typing.Optional[builtins.str] = None,
13619
13716
  statistic: typing.Optional[builtins.str] = None,
13620
13717
  unit: typing.Optional[_Unit_61bc6f70] = None,
13718
+ visible: typing.Optional[builtins.bool] = None,
13621
13719
  ) -> None:
13622
13720
  """Type checking stubs"""
13623
13721
  pass
@@ -13770,6 +13868,7 @@ def _typecheckingstub__86f3b1e63c4046b14a20d8f095529962a56cb82f03a0f9a310b5c1b70
13770
13868
  account: typing.Optional[builtins.str] = None,
13771
13869
  color: typing.Optional[builtins.str] = None,
13772
13870
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
13871
+ id: typing.Optional[builtins.str] = None,
13773
13872
  label: typing.Optional[builtins.str] = None,
13774
13873
  period: typing.Optional[_Duration_4839e8c3] = None,
13775
13874
  region: typing.Optional[builtins.str] = None,
@@ -13777,6 +13876,7 @@ def _typecheckingstub__86f3b1e63c4046b14a20d8f095529962a56cb82f03a0f9a310b5c1b70
13777
13876
  stack_region: typing.Optional[builtins.str] = None,
13778
13877
  statistic: typing.Optional[builtins.str] = None,
13779
13878
  unit: typing.Optional[_Unit_61bc6f70] = None,
13879
+ visible: typing.Optional[builtins.bool] = None,
13780
13880
  ) -> None:
13781
13881
  """Type checking stubs"""
13782
13882
  pass