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
@@ -1580,6 +1580,7 @@ class IQueue(_IResource_c80c4260, typing_extensions.Protocol):
1580
1580
  account: typing.Optional[builtins.str] = None,
1581
1581
  color: typing.Optional[builtins.str] = None,
1582
1582
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
1583
+ id: typing.Optional[builtins.str] = None,
1583
1584
  label: typing.Optional[builtins.str] = None,
1584
1585
  period: typing.Optional[_Duration_4839e8c3] = None,
1585
1586
  region: typing.Optional[builtins.str] = None,
@@ -1587,6 +1588,7 @@ class IQueue(_IResource_c80c4260, typing_extensions.Protocol):
1587
1588
  stack_region: typing.Optional[builtins.str] = None,
1588
1589
  statistic: typing.Optional[builtins.str] = None,
1589
1590
  unit: typing.Optional[_Unit_61bc6f70] = None,
1591
+ visible: typing.Optional[builtins.bool] = None,
1590
1592
  ) -> _Metric_e396a4dc:
1591
1593
  '''Return the given named metric for this Queue.
1592
1594
 
@@ -1594,6 +1596,7 @@ class IQueue(_IResource_c80c4260, typing_extensions.Protocol):
1594
1596
  :param account: Account which this metric comes from. Default: - Deployment account.
1595
1597
  :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
1596
1598
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
1599
+ :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
1597
1600
  :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
1598
1601
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
1599
1602
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -1601,6 +1604,7 @@ class IQueue(_IResource_c80c4260, typing_extensions.Protocol):
1601
1604
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
1602
1605
  :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
1603
1606
  :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
1607
+ :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
1604
1608
  '''
1605
1609
  ...
1606
1610
 
@@ -1611,6 +1615,7 @@ class IQueue(_IResource_c80c4260, typing_extensions.Protocol):
1611
1615
  account: typing.Optional[builtins.str] = None,
1612
1616
  color: typing.Optional[builtins.str] = None,
1613
1617
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
1618
+ id: typing.Optional[builtins.str] = None,
1614
1619
  label: typing.Optional[builtins.str] = None,
1615
1620
  period: typing.Optional[_Duration_4839e8c3] = None,
1616
1621
  region: typing.Optional[builtins.str] = None,
@@ -1618,6 +1623,7 @@ class IQueue(_IResource_c80c4260, typing_extensions.Protocol):
1618
1623
  stack_region: typing.Optional[builtins.str] = None,
1619
1624
  statistic: typing.Optional[builtins.str] = None,
1620
1625
  unit: typing.Optional[_Unit_61bc6f70] = None,
1626
+ visible: typing.Optional[builtins.bool] = None,
1621
1627
  ) -> _Metric_e396a4dc:
1622
1628
  '''The approximate age of the oldest non-deleted message in the queue.
1623
1629
 
@@ -1626,6 +1632,7 @@ class IQueue(_IResource_c80c4260, typing_extensions.Protocol):
1626
1632
  :param account: Account which this metric comes from. Default: - Deployment account.
1627
1633
  :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
1628
1634
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
1635
+ :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
1629
1636
  :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
1630
1637
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
1631
1638
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -1633,6 +1640,7 @@ class IQueue(_IResource_c80c4260, typing_extensions.Protocol):
1633
1640
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
1634
1641
  :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
1635
1642
  :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
1643
+ :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
1636
1644
  '''
1637
1645
  ...
1638
1646
 
@@ -1643,6 +1651,7 @@ class IQueue(_IResource_c80c4260, typing_extensions.Protocol):
1643
1651
  account: typing.Optional[builtins.str] = None,
1644
1652
  color: typing.Optional[builtins.str] = None,
1645
1653
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
1654
+ id: typing.Optional[builtins.str] = None,
1646
1655
  label: typing.Optional[builtins.str] = None,
1647
1656
  period: typing.Optional[_Duration_4839e8c3] = None,
1648
1657
  region: typing.Optional[builtins.str] = None,
@@ -1650,6 +1659,7 @@ class IQueue(_IResource_c80c4260, typing_extensions.Protocol):
1650
1659
  stack_region: typing.Optional[builtins.str] = None,
1651
1660
  statistic: typing.Optional[builtins.str] = None,
1652
1661
  unit: typing.Optional[_Unit_61bc6f70] = None,
1662
+ visible: typing.Optional[builtins.bool] = None,
1653
1663
  ) -> _Metric_e396a4dc:
1654
1664
  '''The number of messages in the queue that are delayed and not available for reading immediately.
1655
1665
 
@@ -1658,6 +1668,7 @@ class IQueue(_IResource_c80c4260, typing_extensions.Protocol):
1658
1668
  :param account: Account which this metric comes from. Default: - Deployment account.
1659
1669
  :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
1660
1670
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
1671
+ :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
1661
1672
  :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
1662
1673
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
1663
1674
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -1665,6 +1676,7 @@ class IQueue(_IResource_c80c4260, typing_extensions.Protocol):
1665
1676
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
1666
1677
  :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
1667
1678
  :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
1679
+ :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
1668
1680
  '''
1669
1681
  ...
1670
1682
 
@@ -1675,6 +1687,7 @@ class IQueue(_IResource_c80c4260, typing_extensions.Protocol):
1675
1687
  account: typing.Optional[builtins.str] = None,
1676
1688
  color: typing.Optional[builtins.str] = None,
1677
1689
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
1690
+ id: typing.Optional[builtins.str] = None,
1678
1691
  label: typing.Optional[builtins.str] = None,
1679
1692
  period: typing.Optional[_Duration_4839e8c3] = None,
1680
1693
  region: typing.Optional[builtins.str] = None,
@@ -1682,6 +1695,7 @@ class IQueue(_IResource_c80c4260, typing_extensions.Protocol):
1682
1695
  stack_region: typing.Optional[builtins.str] = None,
1683
1696
  statistic: typing.Optional[builtins.str] = None,
1684
1697
  unit: typing.Optional[_Unit_61bc6f70] = None,
1698
+ visible: typing.Optional[builtins.bool] = None,
1685
1699
  ) -> _Metric_e396a4dc:
1686
1700
  '''The number of messages that are in flight.
1687
1701
 
@@ -1690,6 +1704,7 @@ class IQueue(_IResource_c80c4260, typing_extensions.Protocol):
1690
1704
  :param account: Account which this metric comes from. Default: - Deployment account.
1691
1705
  :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
1692
1706
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
1707
+ :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
1693
1708
  :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
1694
1709
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
1695
1710
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -1697,6 +1712,7 @@ class IQueue(_IResource_c80c4260, typing_extensions.Protocol):
1697
1712
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
1698
1713
  :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
1699
1714
  :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
1715
+ :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
1700
1716
  '''
1701
1717
  ...
1702
1718
 
@@ -1707,6 +1723,7 @@ class IQueue(_IResource_c80c4260, typing_extensions.Protocol):
1707
1723
  account: typing.Optional[builtins.str] = None,
1708
1724
  color: typing.Optional[builtins.str] = None,
1709
1725
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
1726
+ id: typing.Optional[builtins.str] = None,
1710
1727
  label: typing.Optional[builtins.str] = None,
1711
1728
  period: typing.Optional[_Duration_4839e8c3] = None,
1712
1729
  region: typing.Optional[builtins.str] = None,
@@ -1714,6 +1731,7 @@ class IQueue(_IResource_c80c4260, typing_extensions.Protocol):
1714
1731
  stack_region: typing.Optional[builtins.str] = None,
1715
1732
  statistic: typing.Optional[builtins.str] = None,
1716
1733
  unit: typing.Optional[_Unit_61bc6f70] = None,
1734
+ visible: typing.Optional[builtins.bool] = None,
1717
1735
  ) -> _Metric_e396a4dc:
1718
1736
  '''The number of messages available for retrieval from the queue.
1719
1737
 
@@ -1722,6 +1740,7 @@ class IQueue(_IResource_c80c4260, typing_extensions.Protocol):
1722
1740
  :param account: Account which this metric comes from. Default: - Deployment account.
1723
1741
  :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
1724
1742
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
1743
+ :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
1725
1744
  :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
1726
1745
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
1727
1746
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -1729,6 +1748,7 @@ class IQueue(_IResource_c80c4260, typing_extensions.Protocol):
1729
1748
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
1730
1749
  :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
1731
1750
  :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
1751
+ :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
1732
1752
  '''
1733
1753
  ...
1734
1754
 
@@ -1739,6 +1759,7 @@ class IQueue(_IResource_c80c4260, typing_extensions.Protocol):
1739
1759
  account: typing.Optional[builtins.str] = None,
1740
1760
  color: typing.Optional[builtins.str] = None,
1741
1761
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
1762
+ id: typing.Optional[builtins.str] = None,
1742
1763
  label: typing.Optional[builtins.str] = None,
1743
1764
  period: typing.Optional[_Duration_4839e8c3] = None,
1744
1765
  region: typing.Optional[builtins.str] = None,
@@ -1746,6 +1767,7 @@ class IQueue(_IResource_c80c4260, typing_extensions.Protocol):
1746
1767
  stack_region: typing.Optional[builtins.str] = None,
1747
1768
  statistic: typing.Optional[builtins.str] = None,
1748
1769
  unit: typing.Optional[_Unit_61bc6f70] = None,
1770
+ visible: typing.Optional[builtins.bool] = None,
1749
1771
  ) -> _Metric_e396a4dc:
1750
1772
  '''The number of ReceiveMessage API calls that did not return a message.
1751
1773
 
@@ -1754,6 +1776,7 @@ class IQueue(_IResource_c80c4260, typing_extensions.Protocol):
1754
1776
  :param account: Account which this metric comes from. Default: - Deployment account.
1755
1777
  :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
1756
1778
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
1779
+ :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
1757
1780
  :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
1758
1781
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
1759
1782
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -1761,6 +1784,7 @@ class IQueue(_IResource_c80c4260, typing_extensions.Protocol):
1761
1784
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
1762
1785
  :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
1763
1786
  :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
1787
+ :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
1764
1788
  '''
1765
1789
  ...
1766
1790
 
@@ -1771,6 +1795,7 @@ class IQueue(_IResource_c80c4260, typing_extensions.Protocol):
1771
1795
  account: typing.Optional[builtins.str] = None,
1772
1796
  color: typing.Optional[builtins.str] = None,
1773
1797
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
1798
+ id: typing.Optional[builtins.str] = None,
1774
1799
  label: typing.Optional[builtins.str] = None,
1775
1800
  period: typing.Optional[_Duration_4839e8c3] = None,
1776
1801
  region: typing.Optional[builtins.str] = None,
@@ -1778,6 +1803,7 @@ class IQueue(_IResource_c80c4260, typing_extensions.Protocol):
1778
1803
  stack_region: typing.Optional[builtins.str] = None,
1779
1804
  statistic: typing.Optional[builtins.str] = None,
1780
1805
  unit: typing.Optional[_Unit_61bc6f70] = None,
1806
+ visible: typing.Optional[builtins.bool] = None,
1781
1807
  ) -> _Metric_e396a4dc:
1782
1808
  '''The number of messages deleted from the queue.
1783
1809
 
@@ -1786,6 +1812,7 @@ class IQueue(_IResource_c80c4260, typing_extensions.Protocol):
1786
1812
  :param account: Account which this metric comes from. Default: - Deployment account.
1787
1813
  :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
1788
1814
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
1815
+ :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
1789
1816
  :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
1790
1817
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
1791
1818
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -1793,6 +1820,7 @@ class IQueue(_IResource_c80c4260, typing_extensions.Protocol):
1793
1820
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
1794
1821
  :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
1795
1822
  :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
1823
+ :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
1796
1824
  '''
1797
1825
  ...
1798
1826
 
@@ -1803,6 +1831,7 @@ class IQueue(_IResource_c80c4260, typing_extensions.Protocol):
1803
1831
  account: typing.Optional[builtins.str] = None,
1804
1832
  color: typing.Optional[builtins.str] = None,
1805
1833
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
1834
+ id: typing.Optional[builtins.str] = None,
1806
1835
  label: typing.Optional[builtins.str] = None,
1807
1836
  period: typing.Optional[_Duration_4839e8c3] = None,
1808
1837
  region: typing.Optional[builtins.str] = None,
@@ -1810,6 +1839,7 @@ class IQueue(_IResource_c80c4260, typing_extensions.Protocol):
1810
1839
  stack_region: typing.Optional[builtins.str] = None,
1811
1840
  statistic: typing.Optional[builtins.str] = None,
1812
1841
  unit: typing.Optional[_Unit_61bc6f70] = None,
1842
+ visible: typing.Optional[builtins.bool] = None,
1813
1843
  ) -> _Metric_e396a4dc:
1814
1844
  '''The number of messages returned by calls to the ReceiveMessage action.
1815
1845
 
@@ -1818,6 +1848,7 @@ class IQueue(_IResource_c80c4260, typing_extensions.Protocol):
1818
1848
  :param account: Account which this metric comes from. Default: - Deployment account.
1819
1849
  :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
1820
1850
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
1851
+ :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
1821
1852
  :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
1822
1853
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
1823
1854
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -1825,6 +1856,7 @@ class IQueue(_IResource_c80c4260, typing_extensions.Protocol):
1825
1856
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
1826
1857
  :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
1827
1858
  :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
1859
+ :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
1828
1860
  '''
1829
1861
  ...
1830
1862
 
@@ -1835,6 +1867,7 @@ class IQueue(_IResource_c80c4260, typing_extensions.Protocol):
1835
1867
  account: typing.Optional[builtins.str] = None,
1836
1868
  color: typing.Optional[builtins.str] = None,
1837
1869
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
1870
+ id: typing.Optional[builtins.str] = None,
1838
1871
  label: typing.Optional[builtins.str] = None,
1839
1872
  period: typing.Optional[_Duration_4839e8c3] = None,
1840
1873
  region: typing.Optional[builtins.str] = None,
@@ -1842,6 +1875,7 @@ class IQueue(_IResource_c80c4260, typing_extensions.Protocol):
1842
1875
  stack_region: typing.Optional[builtins.str] = None,
1843
1876
  statistic: typing.Optional[builtins.str] = None,
1844
1877
  unit: typing.Optional[_Unit_61bc6f70] = None,
1878
+ visible: typing.Optional[builtins.bool] = None,
1845
1879
  ) -> _Metric_e396a4dc:
1846
1880
  '''The number of messages added to a queue.
1847
1881
 
@@ -1850,6 +1884,7 @@ class IQueue(_IResource_c80c4260, typing_extensions.Protocol):
1850
1884
  :param account: Account which this metric comes from. Default: - Deployment account.
1851
1885
  :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
1852
1886
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
1887
+ :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
1853
1888
  :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
1854
1889
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
1855
1890
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -1857,6 +1892,7 @@ class IQueue(_IResource_c80c4260, typing_extensions.Protocol):
1857
1892
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
1858
1893
  :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
1859
1894
  :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
1895
+ :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
1860
1896
  '''
1861
1897
  ...
1862
1898
 
@@ -1867,6 +1903,7 @@ class IQueue(_IResource_c80c4260, typing_extensions.Protocol):
1867
1903
  account: typing.Optional[builtins.str] = None,
1868
1904
  color: typing.Optional[builtins.str] = None,
1869
1905
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
1906
+ id: typing.Optional[builtins.str] = None,
1870
1907
  label: typing.Optional[builtins.str] = None,
1871
1908
  period: typing.Optional[_Duration_4839e8c3] = None,
1872
1909
  region: typing.Optional[builtins.str] = None,
@@ -1874,6 +1911,7 @@ class IQueue(_IResource_c80c4260, typing_extensions.Protocol):
1874
1911
  stack_region: typing.Optional[builtins.str] = None,
1875
1912
  statistic: typing.Optional[builtins.str] = None,
1876
1913
  unit: typing.Optional[_Unit_61bc6f70] = None,
1914
+ visible: typing.Optional[builtins.bool] = None,
1877
1915
  ) -> _Metric_e396a4dc:
1878
1916
  '''The size of messages added to a queue.
1879
1917
 
@@ -1882,6 +1920,7 @@ class IQueue(_IResource_c80c4260, typing_extensions.Protocol):
1882
1920
  :param account: Account which this metric comes from. Default: - Deployment account.
1883
1921
  :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
1884
1922
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
1923
+ :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
1885
1924
  :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
1886
1925
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
1887
1926
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -1889,6 +1928,7 @@ class IQueue(_IResource_c80c4260, typing_extensions.Protocol):
1889
1928
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
1890
1929
  :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
1891
1930
  :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
1931
+ :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
1892
1932
  '''
1893
1933
  ...
1894
1934
 
@@ -2044,6 +2084,7 @@ class _IQueueProxy(
2044
2084
  account: typing.Optional[builtins.str] = None,
2045
2085
  color: typing.Optional[builtins.str] = None,
2046
2086
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2087
+ id: typing.Optional[builtins.str] = None,
2047
2088
  label: typing.Optional[builtins.str] = None,
2048
2089
  period: typing.Optional[_Duration_4839e8c3] = None,
2049
2090
  region: typing.Optional[builtins.str] = None,
@@ -2051,6 +2092,7 @@ class _IQueueProxy(
2051
2092
  stack_region: typing.Optional[builtins.str] = None,
2052
2093
  statistic: typing.Optional[builtins.str] = None,
2053
2094
  unit: typing.Optional[_Unit_61bc6f70] = None,
2095
+ visible: typing.Optional[builtins.bool] = None,
2054
2096
  ) -> _Metric_e396a4dc:
2055
2097
  '''Return the given named metric for this Queue.
2056
2098
 
@@ -2058,6 +2100,7 @@ class _IQueueProxy(
2058
2100
  :param account: Account which this metric comes from. Default: - Deployment account.
2059
2101
  :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
2060
2102
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2103
+ :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
2061
2104
  :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
2062
2105
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2063
2106
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2065,6 +2108,7 @@ class _IQueueProxy(
2065
2108
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2066
2109
  :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
2067
2110
  :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
2111
+ :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
2068
2112
  '''
2069
2113
  if __debug__:
2070
2114
  type_hints = typing.get_type_hints(_typecheckingstub__0dc9d740764123624195584bb5156ec848518db29961d3251cb049c755259d70)
@@ -2073,6 +2117,7 @@ class _IQueueProxy(
2073
2117
  account=account,
2074
2118
  color=color,
2075
2119
  dimensions_map=dimensions_map,
2120
+ id=id,
2076
2121
  label=label,
2077
2122
  period=period,
2078
2123
  region=region,
@@ -2080,6 +2125,7 @@ class _IQueueProxy(
2080
2125
  stack_region=stack_region,
2081
2126
  statistic=statistic,
2082
2127
  unit=unit,
2128
+ visible=visible,
2083
2129
  )
2084
2130
 
2085
2131
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metric", [metric_name, props]))
@@ -2091,6 +2137,7 @@ class _IQueueProxy(
2091
2137
  account: typing.Optional[builtins.str] = None,
2092
2138
  color: typing.Optional[builtins.str] = None,
2093
2139
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2140
+ id: typing.Optional[builtins.str] = None,
2094
2141
  label: typing.Optional[builtins.str] = None,
2095
2142
  period: typing.Optional[_Duration_4839e8c3] = None,
2096
2143
  region: typing.Optional[builtins.str] = None,
@@ -2098,6 +2145,7 @@ class _IQueueProxy(
2098
2145
  stack_region: typing.Optional[builtins.str] = None,
2099
2146
  statistic: typing.Optional[builtins.str] = None,
2100
2147
  unit: typing.Optional[_Unit_61bc6f70] = None,
2148
+ visible: typing.Optional[builtins.bool] = None,
2101
2149
  ) -> _Metric_e396a4dc:
2102
2150
  '''The approximate age of the oldest non-deleted message in the queue.
2103
2151
 
@@ -2106,6 +2154,7 @@ class _IQueueProxy(
2106
2154
  :param account: Account which this metric comes from. Default: - Deployment account.
2107
2155
  :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
2108
2156
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2157
+ :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
2109
2158
  :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
2110
2159
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2111
2160
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2113,11 +2162,13 @@ class _IQueueProxy(
2113
2162
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2114
2163
  :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
2115
2164
  :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
2165
+ :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
2116
2166
  '''
2117
2167
  props = _MetricOptions_1788b62f(
2118
2168
  account=account,
2119
2169
  color=color,
2120
2170
  dimensions_map=dimensions_map,
2171
+ id=id,
2121
2172
  label=label,
2122
2173
  period=period,
2123
2174
  region=region,
@@ -2125,6 +2176,7 @@ class _IQueueProxy(
2125
2176
  stack_region=stack_region,
2126
2177
  statistic=statistic,
2127
2178
  unit=unit,
2179
+ visible=visible,
2128
2180
  )
2129
2181
 
2130
2182
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricApproximateAgeOfOldestMessage", [props]))
@@ -2136,6 +2188,7 @@ class _IQueueProxy(
2136
2188
  account: typing.Optional[builtins.str] = None,
2137
2189
  color: typing.Optional[builtins.str] = None,
2138
2190
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2191
+ id: typing.Optional[builtins.str] = None,
2139
2192
  label: typing.Optional[builtins.str] = None,
2140
2193
  period: typing.Optional[_Duration_4839e8c3] = None,
2141
2194
  region: typing.Optional[builtins.str] = None,
@@ -2143,6 +2196,7 @@ class _IQueueProxy(
2143
2196
  stack_region: typing.Optional[builtins.str] = None,
2144
2197
  statistic: typing.Optional[builtins.str] = None,
2145
2198
  unit: typing.Optional[_Unit_61bc6f70] = None,
2199
+ visible: typing.Optional[builtins.bool] = None,
2146
2200
  ) -> _Metric_e396a4dc:
2147
2201
  '''The number of messages in the queue that are delayed and not available for reading immediately.
2148
2202
 
@@ -2151,6 +2205,7 @@ class _IQueueProxy(
2151
2205
  :param account: Account which this metric comes from. Default: - Deployment account.
2152
2206
  :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
2153
2207
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2208
+ :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
2154
2209
  :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
2155
2210
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2156
2211
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2158,11 +2213,13 @@ class _IQueueProxy(
2158
2213
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2159
2214
  :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
2160
2215
  :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
2216
+ :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
2161
2217
  '''
2162
2218
  props = _MetricOptions_1788b62f(
2163
2219
  account=account,
2164
2220
  color=color,
2165
2221
  dimensions_map=dimensions_map,
2222
+ id=id,
2166
2223
  label=label,
2167
2224
  period=period,
2168
2225
  region=region,
@@ -2170,6 +2227,7 @@ class _IQueueProxy(
2170
2227
  stack_region=stack_region,
2171
2228
  statistic=statistic,
2172
2229
  unit=unit,
2230
+ visible=visible,
2173
2231
  )
2174
2232
 
2175
2233
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricApproximateNumberOfMessagesDelayed", [props]))
@@ -2181,6 +2239,7 @@ class _IQueueProxy(
2181
2239
  account: typing.Optional[builtins.str] = None,
2182
2240
  color: typing.Optional[builtins.str] = None,
2183
2241
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2242
+ id: typing.Optional[builtins.str] = None,
2184
2243
  label: typing.Optional[builtins.str] = None,
2185
2244
  period: typing.Optional[_Duration_4839e8c3] = None,
2186
2245
  region: typing.Optional[builtins.str] = None,
@@ -2188,6 +2247,7 @@ class _IQueueProxy(
2188
2247
  stack_region: typing.Optional[builtins.str] = None,
2189
2248
  statistic: typing.Optional[builtins.str] = None,
2190
2249
  unit: typing.Optional[_Unit_61bc6f70] = None,
2250
+ visible: typing.Optional[builtins.bool] = None,
2191
2251
  ) -> _Metric_e396a4dc:
2192
2252
  '''The number of messages that are in flight.
2193
2253
 
@@ -2196,6 +2256,7 @@ class _IQueueProxy(
2196
2256
  :param account: Account which this metric comes from. Default: - Deployment account.
2197
2257
  :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
2198
2258
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2259
+ :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
2199
2260
  :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
2200
2261
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2201
2262
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2203,11 +2264,13 @@ class _IQueueProxy(
2203
2264
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2204
2265
  :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
2205
2266
  :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
2267
+ :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
2206
2268
  '''
2207
2269
  props = _MetricOptions_1788b62f(
2208
2270
  account=account,
2209
2271
  color=color,
2210
2272
  dimensions_map=dimensions_map,
2273
+ id=id,
2211
2274
  label=label,
2212
2275
  period=period,
2213
2276
  region=region,
@@ -2215,6 +2278,7 @@ class _IQueueProxy(
2215
2278
  stack_region=stack_region,
2216
2279
  statistic=statistic,
2217
2280
  unit=unit,
2281
+ visible=visible,
2218
2282
  )
2219
2283
 
2220
2284
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricApproximateNumberOfMessagesNotVisible", [props]))
@@ -2226,6 +2290,7 @@ class _IQueueProxy(
2226
2290
  account: typing.Optional[builtins.str] = None,
2227
2291
  color: typing.Optional[builtins.str] = None,
2228
2292
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2293
+ id: typing.Optional[builtins.str] = None,
2229
2294
  label: typing.Optional[builtins.str] = None,
2230
2295
  period: typing.Optional[_Duration_4839e8c3] = None,
2231
2296
  region: typing.Optional[builtins.str] = None,
@@ -2233,6 +2298,7 @@ class _IQueueProxy(
2233
2298
  stack_region: typing.Optional[builtins.str] = None,
2234
2299
  statistic: typing.Optional[builtins.str] = None,
2235
2300
  unit: typing.Optional[_Unit_61bc6f70] = None,
2301
+ visible: typing.Optional[builtins.bool] = None,
2236
2302
  ) -> _Metric_e396a4dc:
2237
2303
  '''The number of messages available for retrieval from the queue.
2238
2304
 
@@ -2241,6 +2307,7 @@ class _IQueueProxy(
2241
2307
  :param account: Account which this metric comes from. Default: - Deployment account.
2242
2308
  :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
2243
2309
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2310
+ :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
2244
2311
  :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
2245
2312
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2246
2313
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2248,11 +2315,13 @@ class _IQueueProxy(
2248
2315
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2249
2316
  :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
2250
2317
  :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
2318
+ :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
2251
2319
  '''
2252
2320
  props = _MetricOptions_1788b62f(
2253
2321
  account=account,
2254
2322
  color=color,
2255
2323
  dimensions_map=dimensions_map,
2324
+ id=id,
2256
2325
  label=label,
2257
2326
  period=period,
2258
2327
  region=region,
@@ -2260,6 +2329,7 @@ class _IQueueProxy(
2260
2329
  stack_region=stack_region,
2261
2330
  statistic=statistic,
2262
2331
  unit=unit,
2332
+ visible=visible,
2263
2333
  )
2264
2334
 
2265
2335
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricApproximateNumberOfMessagesVisible", [props]))
@@ -2271,6 +2341,7 @@ class _IQueueProxy(
2271
2341
  account: typing.Optional[builtins.str] = None,
2272
2342
  color: typing.Optional[builtins.str] = None,
2273
2343
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2344
+ id: typing.Optional[builtins.str] = None,
2274
2345
  label: typing.Optional[builtins.str] = None,
2275
2346
  period: typing.Optional[_Duration_4839e8c3] = None,
2276
2347
  region: typing.Optional[builtins.str] = None,
@@ -2278,6 +2349,7 @@ class _IQueueProxy(
2278
2349
  stack_region: typing.Optional[builtins.str] = None,
2279
2350
  statistic: typing.Optional[builtins.str] = None,
2280
2351
  unit: typing.Optional[_Unit_61bc6f70] = None,
2352
+ visible: typing.Optional[builtins.bool] = None,
2281
2353
  ) -> _Metric_e396a4dc:
2282
2354
  '''The number of ReceiveMessage API calls that did not return a message.
2283
2355
 
@@ -2286,6 +2358,7 @@ class _IQueueProxy(
2286
2358
  :param account: Account which this metric comes from. Default: - Deployment account.
2287
2359
  :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
2288
2360
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2361
+ :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
2289
2362
  :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
2290
2363
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2291
2364
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2293,11 +2366,13 @@ class _IQueueProxy(
2293
2366
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2294
2367
  :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
2295
2368
  :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
2369
+ :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
2296
2370
  '''
2297
2371
  props = _MetricOptions_1788b62f(
2298
2372
  account=account,
2299
2373
  color=color,
2300
2374
  dimensions_map=dimensions_map,
2375
+ id=id,
2301
2376
  label=label,
2302
2377
  period=period,
2303
2378
  region=region,
@@ -2305,6 +2380,7 @@ class _IQueueProxy(
2305
2380
  stack_region=stack_region,
2306
2381
  statistic=statistic,
2307
2382
  unit=unit,
2383
+ visible=visible,
2308
2384
  )
2309
2385
 
2310
2386
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricNumberOfEmptyReceives", [props]))
@@ -2316,6 +2392,7 @@ class _IQueueProxy(
2316
2392
  account: typing.Optional[builtins.str] = None,
2317
2393
  color: typing.Optional[builtins.str] = None,
2318
2394
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2395
+ id: typing.Optional[builtins.str] = None,
2319
2396
  label: typing.Optional[builtins.str] = None,
2320
2397
  period: typing.Optional[_Duration_4839e8c3] = None,
2321
2398
  region: typing.Optional[builtins.str] = None,
@@ -2323,6 +2400,7 @@ class _IQueueProxy(
2323
2400
  stack_region: typing.Optional[builtins.str] = None,
2324
2401
  statistic: typing.Optional[builtins.str] = None,
2325
2402
  unit: typing.Optional[_Unit_61bc6f70] = None,
2403
+ visible: typing.Optional[builtins.bool] = None,
2326
2404
  ) -> _Metric_e396a4dc:
2327
2405
  '''The number of messages deleted from the queue.
2328
2406
 
@@ -2331,6 +2409,7 @@ class _IQueueProxy(
2331
2409
  :param account: Account which this metric comes from. Default: - Deployment account.
2332
2410
  :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
2333
2411
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2412
+ :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
2334
2413
  :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
2335
2414
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2336
2415
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2338,11 +2417,13 @@ class _IQueueProxy(
2338
2417
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2339
2418
  :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
2340
2419
  :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
2420
+ :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
2341
2421
  '''
2342
2422
  props = _MetricOptions_1788b62f(
2343
2423
  account=account,
2344
2424
  color=color,
2345
2425
  dimensions_map=dimensions_map,
2426
+ id=id,
2346
2427
  label=label,
2347
2428
  period=period,
2348
2429
  region=region,
@@ -2350,6 +2431,7 @@ class _IQueueProxy(
2350
2431
  stack_region=stack_region,
2351
2432
  statistic=statistic,
2352
2433
  unit=unit,
2434
+ visible=visible,
2353
2435
  )
2354
2436
 
2355
2437
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricNumberOfMessagesDeleted", [props]))
@@ -2361,6 +2443,7 @@ class _IQueueProxy(
2361
2443
  account: typing.Optional[builtins.str] = None,
2362
2444
  color: typing.Optional[builtins.str] = None,
2363
2445
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2446
+ id: typing.Optional[builtins.str] = None,
2364
2447
  label: typing.Optional[builtins.str] = None,
2365
2448
  period: typing.Optional[_Duration_4839e8c3] = None,
2366
2449
  region: typing.Optional[builtins.str] = None,
@@ -2368,6 +2451,7 @@ class _IQueueProxy(
2368
2451
  stack_region: typing.Optional[builtins.str] = None,
2369
2452
  statistic: typing.Optional[builtins.str] = None,
2370
2453
  unit: typing.Optional[_Unit_61bc6f70] = None,
2454
+ visible: typing.Optional[builtins.bool] = None,
2371
2455
  ) -> _Metric_e396a4dc:
2372
2456
  '''The number of messages returned by calls to the ReceiveMessage action.
2373
2457
 
@@ -2376,6 +2460,7 @@ class _IQueueProxy(
2376
2460
  :param account: Account which this metric comes from. Default: - Deployment account.
2377
2461
  :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
2378
2462
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2463
+ :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
2379
2464
  :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
2380
2465
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2381
2466
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2383,11 +2468,13 @@ class _IQueueProxy(
2383
2468
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2384
2469
  :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
2385
2470
  :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
2471
+ :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
2386
2472
  '''
2387
2473
  props = _MetricOptions_1788b62f(
2388
2474
  account=account,
2389
2475
  color=color,
2390
2476
  dimensions_map=dimensions_map,
2477
+ id=id,
2391
2478
  label=label,
2392
2479
  period=period,
2393
2480
  region=region,
@@ -2395,6 +2482,7 @@ class _IQueueProxy(
2395
2482
  stack_region=stack_region,
2396
2483
  statistic=statistic,
2397
2484
  unit=unit,
2485
+ visible=visible,
2398
2486
  )
2399
2487
 
2400
2488
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricNumberOfMessagesReceived", [props]))
@@ -2406,6 +2494,7 @@ class _IQueueProxy(
2406
2494
  account: typing.Optional[builtins.str] = None,
2407
2495
  color: typing.Optional[builtins.str] = None,
2408
2496
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2497
+ id: typing.Optional[builtins.str] = None,
2409
2498
  label: typing.Optional[builtins.str] = None,
2410
2499
  period: typing.Optional[_Duration_4839e8c3] = None,
2411
2500
  region: typing.Optional[builtins.str] = None,
@@ -2413,6 +2502,7 @@ class _IQueueProxy(
2413
2502
  stack_region: typing.Optional[builtins.str] = None,
2414
2503
  statistic: typing.Optional[builtins.str] = None,
2415
2504
  unit: typing.Optional[_Unit_61bc6f70] = None,
2505
+ visible: typing.Optional[builtins.bool] = None,
2416
2506
  ) -> _Metric_e396a4dc:
2417
2507
  '''The number of messages added to a queue.
2418
2508
 
@@ -2421,6 +2511,7 @@ class _IQueueProxy(
2421
2511
  :param account: Account which this metric comes from. Default: - Deployment account.
2422
2512
  :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
2423
2513
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2514
+ :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
2424
2515
  :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
2425
2516
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2426
2517
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2428,11 +2519,13 @@ class _IQueueProxy(
2428
2519
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2429
2520
  :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
2430
2521
  :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
2522
+ :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
2431
2523
  '''
2432
2524
  props = _MetricOptions_1788b62f(
2433
2525
  account=account,
2434
2526
  color=color,
2435
2527
  dimensions_map=dimensions_map,
2528
+ id=id,
2436
2529
  label=label,
2437
2530
  period=period,
2438
2531
  region=region,
@@ -2440,6 +2533,7 @@ class _IQueueProxy(
2440
2533
  stack_region=stack_region,
2441
2534
  statistic=statistic,
2442
2535
  unit=unit,
2536
+ visible=visible,
2443
2537
  )
2444
2538
 
2445
2539
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricNumberOfMessagesSent", [props]))
@@ -2451,6 +2545,7 @@ class _IQueueProxy(
2451
2545
  account: typing.Optional[builtins.str] = None,
2452
2546
  color: typing.Optional[builtins.str] = None,
2453
2547
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2548
+ id: typing.Optional[builtins.str] = None,
2454
2549
  label: typing.Optional[builtins.str] = None,
2455
2550
  period: typing.Optional[_Duration_4839e8c3] = None,
2456
2551
  region: typing.Optional[builtins.str] = None,
@@ -2458,6 +2553,7 @@ class _IQueueProxy(
2458
2553
  stack_region: typing.Optional[builtins.str] = None,
2459
2554
  statistic: typing.Optional[builtins.str] = None,
2460
2555
  unit: typing.Optional[_Unit_61bc6f70] = None,
2556
+ visible: typing.Optional[builtins.bool] = None,
2461
2557
  ) -> _Metric_e396a4dc:
2462
2558
  '''The size of messages added to a queue.
2463
2559
 
@@ -2466,6 +2562,7 @@ class _IQueueProxy(
2466
2562
  :param account: Account which this metric comes from. Default: - Deployment account.
2467
2563
  :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
2468
2564
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2565
+ :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
2469
2566
  :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
2470
2567
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2471
2568
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2473,11 +2570,13 @@ class _IQueueProxy(
2473
2570
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2474
2571
  :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
2475
2572
  :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
2573
+ :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
2476
2574
  '''
2477
2575
  props = _MetricOptions_1788b62f(
2478
2576
  account=account,
2479
2577
  color=color,
2480
2578
  dimensions_map=dimensions_map,
2579
+ id=id,
2481
2580
  label=label,
2482
2581
  period=period,
2483
2582
  region=region,
@@ -2485,6 +2584,7 @@ class _IQueueProxy(
2485
2584
  stack_region=stack_region,
2486
2585
  statistic=statistic,
2487
2586
  unit=unit,
2587
+ visible=visible,
2488
2588
  )
2489
2589
 
2490
2590
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricSentMessageSize", [props]))
@@ -2768,6 +2868,7 @@ class QueueBase(
2768
2868
  account: typing.Optional[builtins.str] = None,
2769
2869
  color: typing.Optional[builtins.str] = None,
2770
2870
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2871
+ id: typing.Optional[builtins.str] = None,
2771
2872
  label: typing.Optional[builtins.str] = None,
2772
2873
  period: typing.Optional[_Duration_4839e8c3] = None,
2773
2874
  region: typing.Optional[builtins.str] = None,
@@ -2775,6 +2876,7 @@ class QueueBase(
2775
2876
  stack_region: typing.Optional[builtins.str] = None,
2776
2877
  statistic: typing.Optional[builtins.str] = None,
2777
2878
  unit: typing.Optional[_Unit_61bc6f70] = None,
2879
+ visible: typing.Optional[builtins.bool] = None,
2778
2880
  ) -> _Metric_e396a4dc:
2779
2881
  '''Return the given named metric for this Queue.
2780
2882
 
@@ -2782,6 +2884,7 @@ class QueueBase(
2782
2884
  :param account: Account which this metric comes from. Default: - Deployment account.
2783
2885
  :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
2784
2886
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2887
+ :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
2785
2888
  :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
2786
2889
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2787
2890
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2789,6 +2892,7 @@ class QueueBase(
2789
2892
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2790
2893
  :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
2791
2894
  :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
2895
+ :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
2792
2896
  '''
2793
2897
  if __debug__:
2794
2898
  type_hints = typing.get_type_hints(_typecheckingstub__9ffb259ebfbf10975a9ae041468c8a95370628f64ddfb35eda3c5a406f766edf)
@@ -2797,6 +2901,7 @@ class QueueBase(
2797
2901
  account=account,
2798
2902
  color=color,
2799
2903
  dimensions_map=dimensions_map,
2904
+ id=id,
2800
2905
  label=label,
2801
2906
  period=period,
2802
2907
  region=region,
@@ -2804,6 +2909,7 @@ class QueueBase(
2804
2909
  stack_region=stack_region,
2805
2910
  statistic=statistic,
2806
2911
  unit=unit,
2912
+ visible=visible,
2807
2913
  )
2808
2914
 
2809
2915
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metric", [metric_name, props]))
@@ -2815,6 +2921,7 @@ class QueueBase(
2815
2921
  account: typing.Optional[builtins.str] = None,
2816
2922
  color: typing.Optional[builtins.str] = None,
2817
2923
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2924
+ id: typing.Optional[builtins.str] = None,
2818
2925
  label: typing.Optional[builtins.str] = None,
2819
2926
  period: typing.Optional[_Duration_4839e8c3] = None,
2820
2927
  region: typing.Optional[builtins.str] = None,
@@ -2822,6 +2929,7 @@ class QueueBase(
2822
2929
  stack_region: typing.Optional[builtins.str] = None,
2823
2930
  statistic: typing.Optional[builtins.str] = None,
2824
2931
  unit: typing.Optional[_Unit_61bc6f70] = None,
2932
+ visible: typing.Optional[builtins.bool] = None,
2825
2933
  ) -> _Metric_e396a4dc:
2826
2934
  '''The approximate age of the oldest non-deleted message in the queue.
2827
2935
 
@@ -2830,6 +2938,7 @@ class QueueBase(
2830
2938
  :param account: Account which this metric comes from. Default: - Deployment account.
2831
2939
  :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
2832
2940
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2941
+ :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
2833
2942
  :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
2834
2943
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2835
2944
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2837,11 +2946,13 @@ class QueueBase(
2837
2946
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2838
2947
  :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
2839
2948
  :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
2949
+ :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
2840
2950
  '''
2841
2951
  props = _MetricOptions_1788b62f(
2842
2952
  account=account,
2843
2953
  color=color,
2844
2954
  dimensions_map=dimensions_map,
2955
+ id=id,
2845
2956
  label=label,
2846
2957
  period=period,
2847
2958
  region=region,
@@ -2849,6 +2960,7 @@ class QueueBase(
2849
2960
  stack_region=stack_region,
2850
2961
  statistic=statistic,
2851
2962
  unit=unit,
2963
+ visible=visible,
2852
2964
  )
2853
2965
 
2854
2966
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricApproximateAgeOfOldestMessage", [props]))
@@ -2860,6 +2972,7 @@ class QueueBase(
2860
2972
  account: typing.Optional[builtins.str] = None,
2861
2973
  color: typing.Optional[builtins.str] = None,
2862
2974
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2975
+ id: typing.Optional[builtins.str] = None,
2863
2976
  label: typing.Optional[builtins.str] = None,
2864
2977
  period: typing.Optional[_Duration_4839e8c3] = None,
2865
2978
  region: typing.Optional[builtins.str] = None,
@@ -2867,6 +2980,7 @@ class QueueBase(
2867
2980
  stack_region: typing.Optional[builtins.str] = None,
2868
2981
  statistic: typing.Optional[builtins.str] = None,
2869
2982
  unit: typing.Optional[_Unit_61bc6f70] = None,
2983
+ visible: typing.Optional[builtins.bool] = None,
2870
2984
  ) -> _Metric_e396a4dc:
2871
2985
  '''The number of messages in the queue that are delayed and not available for reading immediately.
2872
2986
 
@@ -2875,6 +2989,7 @@ class QueueBase(
2875
2989
  :param account: Account which this metric comes from. Default: - Deployment account.
2876
2990
  :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
2877
2991
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2992
+ :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
2878
2993
  :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
2879
2994
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2880
2995
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2882,11 +2997,13 @@ class QueueBase(
2882
2997
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2883
2998
  :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
2884
2999
  :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
3000
+ :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
2885
3001
  '''
2886
3002
  props = _MetricOptions_1788b62f(
2887
3003
  account=account,
2888
3004
  color=color,
2889
3005
  dimensions_map=dimensions_map,
3006
+ id=id,
2890
3007
  label=label,
2891
3008
  period=period,
2892
3009
  region=region,
@@ -2894,6 +3011,7 @@ class QueueBase(
2894
3011
  stack_region=stack_region,
2895
3012
  statistic=statistic,
2896
3013
  unit=unit,
3014
+ visible=visible,
2897
3015
  )
2898
3016
 
2899
3017
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricApproximateNumberOfMessagesDelayed", [props]))
@@ -2905,6 +3023,7 @@ class QueueBase(
2905
3023
  account: typing.Optional[builtins.str] = None,
2906
3024
  color: typing.Optional[builtins.str] = None,
2907
3025
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
3026
+ id: typing.Optional[builtins.str] = None,
2908
3027
  label: typing.Optional[builtins.str] = None,
2909
3028
  period: typing.Optional[_Duration_4839e8c3] = None,
2910
3029
  region: typing.Optional[builtins.str] = None,
@@ -2912,6 +3031,7 @@ class QueueBase(
2912
3031
  stack_region: typing.Optional[builtins.str] = None,
2913
3032
  statistic: typing.Optional[builtins.str] = None,
2914
3033
  unit: typing.Optional[_Unit_61bc6f70] = None,
3034
+ visible: typing.Optional[builtins.bool] = None,
2915
3035
  ) -> _Metric_e396a4dc:
2916
3036
  '''The number of messages that are in flight.
2917
3037
 
@@ -2920,6 +3040,7 @@ class QueueBase(
2920
3040
  :param account: Account which this metric comes from. Default: - Deployment account.
2921
3041
  :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
2922
3042
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
3043
+ :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
2923
3044
  :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
2924
3045
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2925
3046
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2927,11 +3048,13 @@ class QueueBase(
2927
3048
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2928
3049
  :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
2929
3050
  :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
3051
+ :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
2930
3052
  '''
2931
3053
  props = _MetricOptions_1788b62f(
2932
3054
  account=account,
2933
3055
  color=color,
2934
3056
  dimensions_map=dimensions_map,
3057
+ id=id,
2935
3058
  label=label,
2936
3059
  period=period,
2937
3060
  region=region,
@@ -2939,6 +3062,7 @@ class QueueBase(
2939
3062
  stack_region=stack_region,
2940
3063
  statistic=statistic,
2941
3064
  unit=unit,
3065
+ visible=visible,
2942
3066
  )
2943
3067
 
2944
3068
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricApproximateNumberOfMessagesNotVisible", [props]))
@@ -2950,6 +3074,7 @@ class QueueBase(
2950
3074
  account: typing.Optional[builtins.str] = None,
2951
3075
  color: typing.Optional[builtins.str] = None,
2952
3076
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
3077
+ id: typing.Optional[builtins.str] = None,
2953
3078
  label: typing.Optional[builtins.str] = None,
2954
3079
  period: typing.Optional[_Duration_4839e8c3] = None,
2955
3080
  region: typing.Optional[builtins.str] = None,
@@ -2957,6 +3082,7 @@ class QueueBase(
2957
3082
  stack_region: typing.Optional[builtins.str] = None,
2958
3083
  statistic: typing.Optional[builtins.str] = None,
2959
3084
  unit: typing.Optional[_Unit_61bc6f70] = None,
3085
+ visible: typing.Optional[builtins.bool] = None,
2960
3086
  ) -> _Metric_e396a4dc:
2961
3087
  '''The number of messages available for retrieval from the queue.
2962
3088
 
@@ -2965,6 +3091,7 @@ class QueueBase(
2965
3091
  :param account: Account which this metric comes from. Default: - Deployment account.
2966
3092
  :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
2967
3093
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
3094
+ :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
2968
3095
  :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
2969
3096
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2970
3097
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2972,11 +3099,13 @@ class QueueBase(
2972
3099
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2973
3100
  :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
2974
3101
  :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
3102
+ :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
2975
3103
  '''
2976
3104
  props = _MetricOptions_1788b62f(
2977
3105
  account=account,
2978
3106
  color=color,
2979
3107
  dimensions_map=dimensions_map,
3108
+ id=id,
2980
3109
  label=label,
2981
3110
  period=period,
2982
3111
  region=region,
@@ -2984,6 +3113,7 @@ class QueueBase(
2984
3113
  stack_region=stack_region,
2985
3114
  statistic=statistic,
2986
3115
  unit=unit,
3116
+ visible=visible,
2987
3117
  )
2988
3118
 
2989
3119
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricApproximateNumberOfMessagesVisible", [props]))
@@ -2995,6 +3125,7 @@ class QueueBase(
2995
3125
  account: typing.Optional[builtins.str] = None,
2996
3126
  color: typing.Optional[builtins.str] = None,
2997
3127
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
3128
+ id: typing.Optional[builtins.str] = None,
2998
3129
  label: typing.Optional[builtins.str] = None,
2999
3130
  period: typing.Optional[_Duration_4839e8c3] = None,
3000
3131
  region: typing.Optional[builtins.str] = None,
@@ -3002,6 +3133,7 @@ class QueueBase(
3002
3133
  stack_region: typing.Optional[builtins.str] = None,
3003
3134
  statistic: typing.Optional[builtins.str] = None,
3004
3135
  unit: typing.Optional[_Unit_61bc6f70] = None,
3136
+ visible: typing.Optional[builtins.bool] = None,
3005
3137
  ) -> _Metric_e396a4dc:
3006
3138
  '''The number of ReceiveMessage API calls that did not return a message.
3007
3139
 
@@ -3010,6 +3142,7 @@ class QueueBase(
3010
3142
  :param account: Account which this metric comes from. Default: - Deployment account.
3011
3143
  :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
3012
3144
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
3145
+ :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
3013
3146
  :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
3014
3147
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
3015
3148
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -3017,11 +3150,13 @@ class QueueBase(
3017
3150
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
3018
3151
  :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
3019
3152
  :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
3153
+ :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
3020
3154
  '''
3021
3155
  props = _MetricOptions_1788b62f(
3022
3156
  account=account,
3023
3157
  color=color,
3024
3158
  dimensions_map=dimensions_map,
3159
+ id=id,
3025
3160
  label=label,
3026
3161
  period=period,
3027
3162
  region=region,
@@ -3029,6 +3164,7 @@ class QueueBase(
3029
3164
  stack_region=stack_region,
3030
3165
  statistic=statistic,
3031
3166
  unit=unit,
3167
+ visible=visible,
3032
3168
  )
3033
3169
 
3034
3170
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricNumberOfEmptyReceives", [props]))
@@ -3040,6 +3176,7 @@ class QueueBase(
3040
3176
  account: typing.Optional[builtins.str] = None,
3041
3177
  color: typing.Optional[builtins.str] = None,
3042
3178
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
3179
+ id: typing.Optional[builtins.str] = None,
3043
3180
  label: typing.Optional[builtins.str] = None,
3044
3181
  period: typing.Optional[_Duration_4839e8c3] = None,
3045
3182
  region: typing.Optional[builtins.str] = None,
@@ -3047,6 +3184,7 @@ class QueueBase(
3047
3184
  stack_region: typing.Optional[builtins.str] = None,
3048
3185
  statistic: typing.Optional[builtins.str] = None,
3049
3186
  unit: typing.Optional[_Unit_61bc6f70] = None,
3187
+ visible: typing.Optional[builtins.bool] = None,
3050
3188
  ) -> _Metric_e396a4dc:
3051
3189
  '''The number of messages deleted from the queue.
3052
3190
 
@@ -3055,6 +3193,7 @@ class QueueBase(
3055
3193
  :param account: Account which this metric comes from. Default: - Deployment account.
3056
3194
  :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
3057
3195
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
3196
+ :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
3058
3197
  :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
3059
3198
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
3060
3199
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -3062,11 +3201,13 @@ class QueueBase(
3062
3201
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
3063
3202
  :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
3064
3203
  :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
3204
+ :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
3065
3205
  '''
3066
3206
  props = _MetricOptions_1788b62f(
3067
3207
  account=account,
3068
3208
  color=color,
3069
3209
  dimensions_map=dimensions_map,
3210
+ id=id,
3070
3211
  label=label,
3071
3212
  period=period,
3072
3213
  region=region,
@@ -3074,6 +3215,7 @@ class QueueBase(
3074
3215
  stack_region=stack_region,
3075
3216
  statistic=statistic,
3076
3217
  unit=unit,
3218
+ visible=visible,
3077
3219
  )
3078
3220
 
3079
3221
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricNumberOfMessagesDeleted", [props]))
@@ -3085,6 +3227,7 @@ class QueueBase(
3085
3227
  account: typing.Optional[builtins.str] = None,
3086
3228
  color: typing.Optional[builtins.str] = None,
3087
3229
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
3230
+ id: typing.Optional[builtins.str] = None,
3088
3231
  label: typing.Optional[builtins.str] = None,
3089
3232
  period: typing.Optional[_Duration_4839e8c3] = None,
3090
3233
  region: typing.Optional[builtins.str] = None,
@@ -3092,6 +3235,7 @@ class QueueBase(
3092
3235
  stack_region: typing.Optional[builtins.str] = None,
3093
3236
  statistic: typing.Optional[builtins.str] = None,
3094
3237
  unit: typing.Optional[_Unit_61bc6f70] = None,
3238
+ visible: typing.Optional[builtins.bool] = None,
3095
3239
  ) -> _Metric_e396a4dc:
3096
3240
  '''The number of messages returned by calls to the ReceiveMessage action.
3097
3241
 
@@ -3100,6 +3244,7 @@ class QueueBase(
3100
3244
  :param account: Account which this metric comes from. Default: - Deployment account.
3101
3245
  :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
3102
3246
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
3247
+ :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
3103
3248
  :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
3104
3249
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
3105
3250
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -3107,11 +3252,13 @@ class QueueBase(
3107
3252
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
3108
3253
  :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
3109
3254
  :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
3255
+ :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
3110
3256
  '''
3111
3257
  props = _MetricOptions_1788b62f(
3112
3258
  account=account,
3113
3259
  color=color,
3114
3260
  dimensions_map=dimensions_map,
3261
+ id=id,
3115
3262
  label=label,
3116
3263
  period=period,
3117
3264
  region=region,
@@ -3119,6 +3266,7 @@ class QueueBase(
3119
3266
  stack_region=stack_region,
3120
3267
  statistic=statistic,
3121
3268
  unit=unit,
3269
+ visible=visible,
3122
3270
  )
3123
3271
 
3124
3272
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricNumberOfMessagesReceived", [props]))
@@ -3130,6 +3278,7 @@ class QueueBase(
3130
3278
  account: typing.Optional[builtins.str] = None,
3131
3279
  color: typing.Optional[builtins.str] = None,
3132
3280
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
3281
+ id: typing.Optional[builtins.str] = None,
3133
3282
  label: typing.Optional[builtins.str] = None,
3134
3283
  period: typing.Optional[_Duration_4839e8c3] = None,
3135
3284
  region: typing.Optional[builtins.str] = None,
@@ -3137,6 +3286,7 @@ class QueueBase(
3137
3286
  stack_region: typing.Optional[builtins.str] = None,
3138
3287
  statistic: typing.Optional[builtins.str] = None,
3139
3288
  unit: typing.Optional[_Unit_61bc6f70] = None,
3289
+ visible: typing.Optional[builtins.bool] = None,
3140
3290
  ) -> _Metric_e396a4dc:
3141
3291
  '''The number of messages added to a queue.
3142
3292
 
@@ -3145,6 +3295,7 @@ class QueueBase(
3145
3295
  :param account: Account which this metric comes from. Default: - Deployment account.
3146
3296
  :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
3147
3297
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
3298
+ :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
3148
3299
  :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
3149
3300
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
3150
3301
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -3152,11 +3303,13 @@ class QueueBase(
3152
3303
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
3153
3304
  :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
3154
3305
  :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
3306
+ :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
3155
3307
  '''
3156
3308
  props = _MetricOptions_1788b62f(
3157
3309
  account=account,
3158
3310
  color=color,
3159
3311
  dimensions_map=dimensions_map,
3312
+ id=id,
3160
3313
  label=label,
3161
3314
  period=period,
3162
3315
  region=region,
@@ -3164,6 +3317,7 @@ class QueueBase(
3164
3317
  stack_region=stack_region,
3165
3318
  statistic=statistic,
3166
3319
  unit=unit,
3320
+ visible=visible,
3167
3321
  )
3168
3322
 
3169
3323
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricNumberOfMessagesSent", [props]))
@@ -3175,6 +3329,7 @@ class QueueBase(
3175
3329
  account: typing.Optional[builtins.str] = None,
3176
3330
  color: typing.Optional[builtins.str] = None,
3177
3331
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
3332
+ id: typing.Optional[builtins.str] = None,
3178
3333
  label: typing.Optional[builtins.str] = None,
3179
3334
  period: typing.Optional[_Duration_4839e8c3] = None,
3180
3335
  region: typing.Optional[builtins.str] = None,
@@ -3182,6 +3337,7 @@ class QueueBase(
3182
3337
  stack_region: typing.Optional[builtins.str] = None,
3183
3338
  statistic: typing.Optional[builtins.str] = None,
3184
3339
  unit: typing.Optional[_Unit_61bc6f70] = None,
3340
+ visible: typing.Optional[builtins.bool] = None,
3185
3341
  ) -> _Metric_e396a4dc:
3186
3342
  '''The size of messages added to a queue.
3187
3343
 
@@ -3190,6 +3346,7 @@ class QueueBase(
3190
3346
  :param account: Account which this metric comes from. Default: - Deployment account.
3191
3347
  :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
3192
3348
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
3349
+ :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
3193
3350
  :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
3194
3351
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
3195
3352
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -3197,11 +3354,13 @@ class QueueBase(
3197
3354
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
3198
3355
  :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
3199
3356
  :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
3357
+ :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
3200
3358
  '''
3201
3359
  props = _MetricOptions_1788b62f(
3202
3360
  account=account,
3203
3361
  color=color,
3204
3362
  dimensions_map=dimensions_map,
3363
+ id=id,
3205
3364
  label=label,
3206
3365
  period=period,
3207
3366
  region=region,
@@ -3209,6 +3368,7 @@ class QueueBase(
3209
3368
  stack_region=stack_region,
3210
3369
  statistic=statistic,
3211
3370
  unit=unit,
3371
+ visible=visible,
3212
3372
  )
3213
3373
 
3214
3374
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricSentMessageSize", [props]))
@@ -4509,6 +4669,7 @@ def _typecheckingstub__0dc9d740764123624195584bb5156ec848518db29961d3251cb049c75
4509
4669
  account: typing.Optional[builtins.str] = None,
4510
4670
  color: typing.Optional[builtins.str] = None,
4511
4671
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
4672
+ id: typing.Optional[builtins.str] = None,
4512
4673
  label: typing.Optional[builtins.str] = None,
4513
4674
  period: typing.Optional[_Duration_4839e8c3] = None,
4514
4675
  region: typing.Optional[builtins.str] = None,
@@ -4516,6 +4677,7 @@ def _typecheckingstub__0dc9d740764123624195584bb5156ec848518db29961d3251cb049c75
4516
4677
  stack_region: typing.Optional[builtins.str] = None,
4517
4678
  statistic: typing.Optional[builtins.str] = None,
4518
4679
  unit: typing.Optional[_Unit_61bc6f70] = None,
4680
+ visible: typing.Optional[builtins.bool] = None,
4519
4681
  ) -> None:
4520
4682
  """Type checking stubs"""
4521
4683
  pass
@@ -4580,6 +4742,7 @@ def _typecheckingstub__9ffb259ebfbf10975a9ae041468c8a95370628f64ddfb35eda3c5a406
4580
4742
  account: typing.Optional[builtins.str] = None,
4581
4743
  color: typing.Optional[builtins.str] = None,
4582
4744
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
4745
+ id: typing.Optional[builtins.str] = None,
4583
4746
  label: typing.Optional[builtins.str] = None,
4584
4747
  period: typing.Optional[_Duration_4839e8c3] = None,
4585
4748
  region: typing.Optional[builtins.str] = None,
@@ -4587,6 +4750,7 @@ def _typecheckingstub__9ffb259ebfbf10975a9ae041468c8a95370628f64ddfb35eda3c5a406
4587
4750
  stack_region: typing.Optional[builtins.str] = None,
4588
4751
  statistic: typing.Optional[builtins.str] = None,
4589
4752
  unit: typing.Optional[_Unit_61bc6f70] = None,
4753
+ visible: typing.Optional[builtins.bool] = None,
4590
4754
  ) -> None:
4591
4755
  """Type checking stubs"""
4592
4756
  pass