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

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

Potentially problematic release.


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

Files changed (33) hide show
  1. aws_cdk/__init__.py +38 -0
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.203.0.jsii.tgz → aws-cdk-lib@2.204.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_apigateway/__init__.py +164 -0
  5. aws_cdk/aws_apigatewayv2/__init__.py +412 -0
  6. aws_cdk/aws_certificatemanager/__init__.py +28 -0
  7. aws_cdk/aws_chatbot/__init__.py +28 -0
  8. aws_cdk/aws_cloudfront/__init__.py +92 -0
  9. aws_cdk/aws_cloudfront/experimental/__init__.py +32 -0
  10. aws_cdk/aws_cloudwatch/__init__.py +217 -23
  11. aws_cdk/aws_codebuild/__init__.py +84 -0
  12. aws_cdk/aws_dynamodb/__init__.py +316 -2
  13. aws_cdk/aws_ec2/__init__.py +94 -0
  14. aws_cdk/aws_ecs/__init__.py +52 -0
  15. aws_cdk/aws_elasticloadbalancingv2/__init__.py +724 -0
  16. aws_cdk/aws_elasticsearch/__init__.py +260 -0
  17. aws_cdk/aws_kinesis/__init__.py +324 -0
  18. aws_cdk/aws_kinesisfirehose/__init__.py +100 -0
  19. aws_cdk/aws_lambda/__init__.py +144 -0
  20. aws_cdk/aws_logs/__init__.py +58 -0
  21. aws_cdk/aws_opensearchservice/__init__.py +260 -0
  22. aws_cdk/aws_rds/__init__.py +384 -0
  23. aws_cdk/aws_scheduler/__init__.py +210 -0
  24. aws_cdk/aws_sns/__init__.py +164 -0
  25. aws_cdk/aws_sqs/__init__.py +164 -0
  26. aws_cdk/aws_stepfunctions/__init__.py +288 -0
  27. aws_cdk/aws_synthetics/__init__.py +18 -0
  28. {aws_cdk_lib-2.203.0.dist-info → aws_cdk_lib-2.204.0.dist-info}/METADATA +2 -2
  29. {aws_cdk_lib-2.203.0.dist-info → aws_cdk_lib-2.204.0.dist-info}/RECORD +33 -33
  30. {aws_cdk_lib-2.203.0.dist-info → aws_cdk_lib-2.204.0.dist-info}/LICENSE +0 -0
  31. {aws_cdk_lib-2.203.0.dist-info → aws_cdk_lib-2.204.0.dist-info}/NOTICE +0 -0
  32. {aws_cdk_lib-2.203.0.dist-info → aws_cdk_lib-2.204.0.dist-info}/WHEEL +0 -0
  33. {aws_cdk_lib-2.203.0.dist-info → aws_cdk_lib-2.204.0.dist-info}/top_level.txt +0 -0
@@ -1460,6 +1460,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1460
1460
  account: typing.Optional[builtins.str] = None,
1461
1461
  color: typing.Optional[builtins.str] = None,
1462
1462
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
1463
+ id: typing.Optional[builtins.str] = None,
1463
1464
  label: typing.Optional[builtins.str] = None,
1464
1465
  period: typing.Optional[_Duration_4839e8c3] = None,
1465
1466
  region: typing.Optional[builtins.str] = None,
@@ -1467,6 +1468,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1467
1468
  stack_region: typing.Optional[builtins.str] = None,
1468
1469
  statistic: typing.Optional[builtins.str] = None,
1469
1470
  unit: typing.Optional[_Unit_61bc6f70] = None,
1471
+ visible: typing.Optional[builtins.bool] = None,
1470
1472
  ) -> _Metric_e396a4dc:
1471
1473
  '''Return stream metric based from its metric name.
1472
1474
 
@@ -1474,6 +1476,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1474
1476
  :param account: Account which this metric comes from. Default: - Deployment account.
1475
1477
  :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
1476
1478
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
1479
+ :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
1477
1480
  :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
1478
1481
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
1479
1482
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -1481,6 +1484,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1481
1484
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
1482
1485
  :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
1483
1486
  :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
1487
+ :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
1484
1488
  '''
1485
1489
  ...
1486
1490
 
@@ -1491,6 +1495,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1491
1495
  account: typing.Optional[builtins.str] = None,
1492
1496
  color: typing.Optional[builtins.str] = None,
1493
1497
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
1498
+ id: typing.Optional[builtins.str] = None,
1494
1499
  label: typing.Optional[builtins.str] = None,
1495
1500
  period: typing.Optional[_Duration_4839e8c3] = None,
1496
1501
  region: typing.Optional[builtins.str] = None,
@@ -1498,6 +1503,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1498
1503
  stack_region: typing.Optional[builtins.str] = None,
1499
1504
  statistic: typing.Optional[builtins.str] = None,
1500
1505
  unit: typing.Optional[_Unit_61bc6f70] = None,
1506
+ visible: typing.Optional[builtins.bool] = None,
1501
1507
  ) -> _Metric_e396a4dc:
1502
1508
  '''The number of records retrieved from the shard, measured over the specified time period.
1503
1509
 
@@ -1510,6 +1516,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1510
1516
  :param account: Account which this metric comes from. Default: - Deployment account.
1511
1517
  :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
1512
1518
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
1519
+ :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
1513
1520
  :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
1514
1521
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
1515
1522
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -1517,6 +1524,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1517
1524
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
1518
1525
  :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
1519
1526
  :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
1527
+ :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
1520
1528
  '''
1521
1529
  ...
1522
1530
 
@@ -1527,6 +1535,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1527
1535
  account: typing.Optional[builtins.str] = None,
1528
1536
  color: typing.Optional[builtins.str] = None,
1529
1537
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
1538
+ id: typing.Optional[builtins.str] = None,
1530
1539
  label: typing.Optional[builtins.str] = None,
1531
1540
  period: typing.Optional[_Duration_4839e8c3] = None,
1532
1541
  region: typing.Optional[builtins.str] = None,
@@ -1534,6 +1543,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1534
1543
  stack_region: typing.Optional[builtins.str] = None,
1535
1544
  statistic: typing.Optional[builtins.str] = None,
1536
1545
  unit: typing.Optional[_Unit_61bc6f70] = None,
1546
+ visible: typing.Optional[builtins.bool] = None,
1537
1547
  ) -> _Metric_e396a4dc:
1538
1548
  '''The number of bytes retrieved from the Kinesis stream, measured over the specified time period.
1539
1549
 
@@ -1546,6 +1556,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1546
1556
  :param account: Account which this metric comes from. Default: - Deployment account.
1547
1557
  :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
1548
1558
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
1559
+ :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
1549
1560
  :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
1550
1561
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
1551
1562
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -1553,6 +1564,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1553
1564
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
1554
1565
  :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
1555
1566
  :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
1567
+ :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
1556
1568
  '''
1557
1569
  ...
1558
1570
 
@@ -1563,6 +1575,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1563
1575
  account: typing.Optional[builtins.str] = None,
1564
1576
  color: typing.Optional[builtins.str] = None,
1565
1577
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
1578
+ id: typing.Optional[builtins.str] = None,
1566
1579
  label: typing.Optional[builtins.str] = None,
1567
1580
  period: typing.Optional[_Duration_4839e8c3] = None,
1568
1581
  region: typing.Optional[builtins.str] = None,
@@ -1570,6 +1583,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1570
1583
  stack_region: typing.Optional[builtins.str] = None,
1571
1584
  statistic: typing.Optional[builtins.str] = None,
1572
1585
  unit: typing.Optional[_Unit_61bc6f70] = None,
1586
+ visible: typing.Optional[builtins.bool] = None,
1573
1587
  ) -> _Metric_e396a4dc:
1574
1588
  '''The age of the last record in all GetRecords calls made against a Kinesis stream, measured over the specified time period.
1575
1589
 
@@ -1582,6 +1596,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1582
1596
  :param account: Account which this metric comes from. Default: - Deployment account.
1583
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
1584
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
1585
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
1586
1601
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
1587
1602
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -1589,6 +1604,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1589
1604
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
1590
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
1591
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
1592
1608
  '''
1593
1609
  ...
1594
1610
 
@@ -1599,6 +1615,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1599
1615
  account: typing.Optional[builtins.str] = None,
1600
1616
  color: typing.Optional[builtins.str] = None,
1601
1617
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
1618
+ id: typing.Optional[builtins.str] = None,
1602
1619
  label: typing.Optional[builtins.str] = None,
1603
1620
  period: typing.Optional[_Duration_4839e8c3] = None,
1604
1621
  region: typing.Optional[builtins.str] = None,
@@ -1606,6 +1623,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1606
1623
  stack_region: typing.Optional[builtins.str] = None,
1607
1624
  statistic: typing.Optional[builtins.str] = None,
1608
1625
  unit: typing.Optional[_Unit_61bc6f70] = None,
1626
+ visible: typing.Optional[builtins.bool] = None,
1609
1627
  ) -> _Metric_e396a4dc:
1610
1628
  '''The time taken per GetRecords operation, measured over the specified time period.
1611
1629
 
@@ -1614,6 +1632,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1614
1632
  :param account: Account which this metric comes from. Default: - Deployment account.
1615
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
1616
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
1617
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
1618
1637
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
1619
1638
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -1621,6 +1640,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1621
1640
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
1622
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
1623
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
1624
1644
  '''
1625
1645
  ...
1626
1646
 
@@ -1631,6 +1651,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1631
1651
  account: typing.Optional[builtins.str] = None,
1632
1652
  color: typing.Optional[builtins.str] = None,
1633
1653
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
1654
+ id: typing.Optional[builtins.str] = None,
1634
1655
  label: typing.Optional[builtins.str] = None,
1635
1656
  period: typing.Optional[_Duration_4839e8c3] = None,
1636
1657
  region: typing.Optional[builtins.str] = None,
@@ -1638,6 +1659,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1638
1659
  stack_region: typing.Optional[builtins.str] = None,
1639
1660
  statistic: typing.Optional[builtins.str] = None,
1640
1661
  unit: typing.Optional[_Unit_61bc6f70] = None,
1662
+ visible: typing.Optional[builtins.bool] = None,
1641
1663
  ) -> _Metric_e396a4dc:
1642
1664
  '''The number of successful GetRecords operations per stream, measured over the specified time period.
1643
1665
 
@@ -1646,6 +1668,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1646
1668
  :param account: Account which this metric comes from. Default: - Deployment account.
1647
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
1648
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
1649
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
1650
1673
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
1651
1674
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -1653,6 +1676,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1653
1676
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
1654
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
1655
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
1656
1680
  '''
1657
1681
  ...
1658
1682
 
@@ -1663,6 +1687,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1663
1687
  account: typing.Optional[builtins.str] = None,
1664
1688
  color: typing.Optional[builtins.str] = None,
1665
1689
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
1690
+ id: typing.Optional[builtins.str] = None,
1666
1691
  label: typing.Optional[builtins.str] = None,
1667
1692
  period: typing.Optional[_Duration_4839e8c3] = None,
1668
1693
  region: typing.Optional[builtins.str] = None,
@@ -1670,6 +1695,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1670
1695
  stack_region: typing.Optional[builtins.str] = None,
1671
1696
  statistic: typing.Optional[builtins.str] = None,
1672
1697
  unit: typing.Optional[_Unit_61bc6f70] = None,
1698
+ visible: typing.Optional[builtins.bool] = None,
1673
1699
  ) -> _Metric_e396a4dc:
1674
1700
  '''The number of bytes successfully put to the Kinesis stream over the specified time period.
1675
1701
 
@@ -1682,6 +1708,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1682
1708
  :param account: Account which this metric comes from. Default: - Deployment account.
1683
1709
  :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
1684
1710
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
1711
+ :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
1685
1712
  :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
1686
1713
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
1687
1714
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -1689,6 +1716,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1689
1716
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
1690
1717
  :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
1691
1718
  :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
1719
+ :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
1692
1720
  '''
1693
1721
  ...
1694
1722
 
@@ -1699,6 +1727,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1699
1727
  account: typing.Optional[builtins.str] = None,
1700
1728
  color: typing.Optional[builtins.str] = None,
1701
1729
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
1730
+ id: typing.Optional[builtins.str] = None,
1702
1731
  label: typing.Optional[builtins.str] = None,
1703
1732
  period: typing.Optional[_Duration_4839e8c3] = None,
1704
1733
  region: typing.Optional[builtins.str] = None,
@@ -1706,6 +1735,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1706
1735
  stack_region: typing.Optional[builtins.str] = None,
1707
1736
  statistic: typing.Optional[builtins.str] = None,
1708
1737
  unit: typing.Optional[_Unit_61bc6f70] = None,
1738
+ visible: typing.Optional[builtins.bool] = None,
1709
1739
  ) -> _Metric_e396a4dc:
1710
1740
  '''The number of records successfully put to the Kinesis stream over the specified time period.
1711
1741
 
@@ -1718,6 +1748,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1718
1748
  :param account: Account which this metric comes from. Default: - Deployment account.
1719
1749
  :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
1720
1750
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
1751
+ :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
1721
1752
  :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
1722
1753
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
1723
1754
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -1725,6 +1756,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1725
1756
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
1726
1757
  :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
1727
1758
  :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
1759
+ :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
1728
1760
  '''
1729
1761
  ...
1730
1762
 
@@ -1735,6 +1767,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1735
1767
  account: typing.Optional[builtins.str] = None,
1736
1768
  color: typing.Optional[builtins.str] = None,
1737
1769
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
1770
+ id: typing.Optional[builtins.str] = None,
1738
1771
  label: typing.Optional[builtins.str] = None,
1739
1772
  period: typing.Optional[_Duration_4839e8c3] = None,
1740
1773
  region: typing.Optional[builtins.str] = None,
@@ -1742,6 +1775,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1742
1775
  stack_region: typing.Optional[builtins.str] = None,
1743
1776
  statistic: typing.Optional[builtins.str] = None,
1744
1777
  unit: typing.Optional[_Unit_61bc6f70] = None,
1778
+ visible: typing.Optional[builtins.bool] = None,
1745
1779
  ) -> _Metric_e396a4dc:
1746
1780
  '''The number of bytes put to the Kinesis stream using the PutRecord operation over the specified time period.
1747
1781
 
@@ -1750,6 +1784,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1750
1784
  :param account: Account which this metric comes from. Default: - Deployment account.
1751
1785
  :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
1752
1786
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
1787
+ :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
1753
1788
  :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
1754
1789
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
1755
1790
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -1757,6 +1792,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1757
1792
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
1758
1793
  :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
1759
1794
  :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
1795
+ :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
1760
1796
  '''
1761
1797
  ...
1762
1798
 
@@ -1767,6 +1803,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1767
1803
  account: typing.Optional[builtins.str] = None,
1768
1804
  color: typing.Optional[builtins.str] = None,
1769
1805
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
1806
+ id: typing.Optional[builtins.str] = None,
1770
1807
  label: typing.Optional[builtins.str] = None,
1771
1808
  period: typing.Optional[_Duration_4839e8c3] = None,
1772
1809
  region: typing.Optional[builtins.str] = None,
@@ -1774,6 +1811,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1774
1811
  stack_region: typing.Optional[builtins.str] = None,
1775
1812
  statistic: typing.Optional[builtins.str] = None,
1776
1813
  unit: typing.Optional[_Unit_61bc6f70] = None,
1814
+ visible: typing.Optional[builtins.bool] = None,
1777
1815
  ) -> _Metric_e396a4dc:
1778
1816
  '''The time taken per PutRecord operation, measured over the specified time period.
1779
1817
 
@@ -1782,6 +1820,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1782
1820
  :param account: Account which this metric comes from. Default: - Deployment account.
1783
1821
  :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
1784
1822
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
1823
+ :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
1785
1824
  :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
1786
1825
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
1787
1826
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -1789,6 +1828,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1789
1828
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
1790
1829
  :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
1791
1830
  :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
1831
+ :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
1792
1832
  '''
1793
1833
  ...
1794
1834
 
@@ -1799,6 +1839,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1799
1839
  account: typing.Optional[builtins.str] = None,
1800
1840
  color: typing.Optional[builtins.str] = None,
1801
1841
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
1842
+ id: typing.Optional[builtins.str] = None,
1802
1843
  label: typing.Optional[builtins.str] = None,
1803
1844
  period: typing.Optional[_Duration_4839e8c3] = None,
1804
1845
  region: typing.Optional[builtins.str] = None,
@@ -1806,6 +1847,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1806
1847
  stack_region: typing.Optional[builtins.str] = None,
1807
1848
  statistic: typing.Optional[builtins.str] = None,
1808
1849
  unit: typing.Optional[_Unit_61bc6f70] = None,
1850
+ visible: typing.Optional[builtins.bool] = None,
1809
1851
  ) -> _Metric_e396a4dc:
1810
1852
  '''The number of bytes put to the Kinesis stream using the PutRecords operation over the specified time period.
1811
1853
 
@@ -1814,6 +1856,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1814
1856
  :param account: Account which this metric comes from. Default: - Deployment account.
1815
1857
  :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
1816
1858
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
1859
+ :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
1817
1860
  :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
1818
1861
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
1819
1862
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -1821,6 +1864,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1821
1864
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
1822
1865
  :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
1823
1866
  :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
1867
+ :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
1824
1868
  '''
1825
1869
  ...
1826
1870
 
@@ -1831,6 +1875,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1831
1875
  account: typing.Optional[builtins.str] = None,
1832
1876
  color: typing.Optional[builtins.str] = None,
1833
1877
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
1878
+ id: typing.Optional[builtins.str] = None,
1834
1879
  label: typing.Optional[builtins.str] = None,
1835
1880
  period: typing.Optional[_Duration_4839e8c3] = None,
1836
1881
  region: typing.Optional[builtins.str] = None,
@@ -1838,6 +1883,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1838
1883
  stack_region: typing.Optional[builtins.str] = None,
1839
1884
  statistic: typing.Optional[builtins.str] = None,
1840
1885
  unit: typing.Optional[_Unit_61bc6f70] = None,
1886
+ visible: typing.Optional[builtins.bool] = None,
1841
1887
  ) -> _Metric_e396a4dc:
1842
1888
  '''The number of records rejected due to internal failures in a PutRecords operation per Kinesis data stream, measured over the specified time period.
1843
1889
 
@@ -1848,6 +1894,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1848
1894
  :param account: Account which this metric comes from. Default: - Deployment account.
1849
1895
  :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
1850
1896
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
1897
+ :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
1851
1898
  :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
1852
1899
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
1853
1900
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -1855,6 +1902,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1855
1902
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
1856
1903
  :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
1857
1904
  :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
1905
+ :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
1858
1906
  '''
1859
1907
  ...
1860
1908
 
@@ -1865,6 +1913,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1865
1913
  account: typing.Optional[builtins.str] = None,
1866
1914
  color: typing.Optional[builtins.str] = None,
1867
1915
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
1916
+ id: typing.Optional[builtins.str] = None,
1868
1917
  label: typing.Optional[builtins.str] = None,
1869
1918
  period: typing.Optional[_Duration_4839e8c3] = None,
1870
1919
  region: typing.Optional[builtins.str] = None,
@@ -1872,6 +1921,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1872
1921
  stack_region: typing.Optional[builtins.str] = None,
1873
1922
  statistic: typing.Optional[builtins.str] = None,
1874
1923
  unit: typing.Optional[_Unit_61bc6f70] = None,
1924
+ visible: typing.Optional[builtins.bool] = None,
1875
1925
  ) -> _Metric_e396a4dc:
1876
1926
  '''The time taken per PutRecords operation, measured over the specified time period.
1877
1927
 
@@ -1880,6 +1930,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1880
1930
  :param account: Account which this metric comes from. Default: - Deployment account.
1881
1931
  :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
1882
1932
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
1933
+ :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
1883
1934
  :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
1884
1935
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
1885
1936
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -1887,6 +1938,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1887
1938
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
1888
1939
  :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
1889
1940
  :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
1941
+ :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
1890
1942
  '''
1891
1943
  ...
1892
1944
 
@@ -1897,6 +1949,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1897
1949
  account: typing.Optional[builtins.str] = None,
1898
1950
  color: typing.Optional[builtins.str] = None,
1899
1951
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
1952
+ id: typing.Optional[builtins.str] = None,
1900
1953
  label: typing.Optional[builtins.str] = None,
1901
1954
  period: typing.Optional[_Duration_4839e8c3] = None,
1902
1955
  region: typing.Optional[builtins.str] = None,
@@ -1904,6 +1957,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1904
1957
  stack_region: typing.Optional[builtins.str] = None,
1905
1958
  statistic: typing.Optional[builtins.str] = None,
1906
1959
  unit: typing.Optional[_Unit_61bc6f70] = None,
1960
+ visible: typing.Optional[builtins.bool] = None,
1907
1961
  ) -> _Metric_e396a4dc:
1908
1962
  '''The number of PutRecords operations where at least one record succeeded, per Kinesis stream, measured over the specified time period.
1909
1963
 
@@ -1912,6 +1966,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1912
1966
  :param account: Account which this metric comes from. Default: - Deployment account.
1913
1967
  :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
1914
1968
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
1969
+ :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
1915
1970
  :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
1916
1971
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
1917
1972
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -1919,6 +1974,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1919
1974
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
1920
1975
  :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
1921
1976
  :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
1977
+ :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
1922
1978
  '''
1923
1979
  ...
1924
1980
 
@@ -1929,6 +1985,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1929
1985
  account: typing.Optional[builtins.str] = None,
1930
1986
  color: typing.Optional[builtins.str] = None,
1931
1987
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
1988
+ id: typing.Optional[builtins.str] = None,
1932
1989
  label: typing.Optional[builtins.str] = None,
1933
1990
  period: typing.Optional[_Duration_4839e8c3] = None,
1934
1991
  region: typing.Optional[builtins.str] = None,
@@ -1936,6 +1993,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1936
1993
  stack_region: typing.Optional[builtins.str] = None,
1937
1994
  statistic: typing.Optional[builtins.str] = None,
1938
1995
  unit: typing.Optional[_Unit_61bc6f70] = None,
1996
+ visible: typing.Optional[builtins.bool] = None,
1939
1997
  ) -> _Metric_e396a4dc:
1940
1998
  '''The number of successful records in a PutRecords operation per Kinesis data stream, measured over the specified time period.
1941
1999
 
@@ -1944,6 +2002,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1944
2002
  :param account: Account which this metric comes from. Default: - Deployment account.
1945
2003
  :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
1946
2004
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2005
+ :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
1947
2006
  :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
1948
2007
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
1949
2008
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -1951,6 +2010,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1951
2010
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
1952
2011
  :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
1953
2012
  :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
2013
+ :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
1954
2014
  '''
1955
2015
  ...
1956
2016
 
@@ -1961,6 +2021,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1961
2021
  account: typing.Optional[builtins.str] = None,
1962
2022
  color: typing.Optional[builtins.str] = None,
1963
2023
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2024
+ id: typing.Optional[builtins.str] = None,
1964
2025
  label: typing.Optional[builtins.str] = None,
1965
2026
  period: typing.Optional[_Duration_4839e8c3] = None,
1966
2027
  region: typing.Optional[builtins.str] = None,
@@ -1968,6 +2029,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1968
2029
  stack_region: typing.Optional[builtins.str] = None,
1969
2030
  statistic: typing.Optional[builtins.str] = None,
1970
2031
  unit: typing.Optional[_Unit_61bc6f70] = None,
2032
+ visible: typing.Optional[builtins.bool] = None,
1971
2033
  ) -> _Metric_e396a4dc:
1972
2034
  '''The number of records rejected due to throttling in a PutRecords operation per Kinesis data stream, measured over the specified time period.
1973
2035
 
@@ -1976,6 +2038,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1976
2038
  :param account: Account which this metric comes from. Default: - Deployment account.
1977
2039
  :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
1978
2040
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2041
+ :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
1979
2042
  :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
1980
2043
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
1981
2044
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -1983,6 +2046,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1983
2046
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
1984
2047
  :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
1985
2048
  :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
2049
+ :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
1986
2050
  '''
1987
2051
  ...
1988
2052
 
@@ -1993,6 +2057,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1993
2057
  account: typing.Optional[builtins.str] = None,
1994
2058
  color: typing.Optional[builtins.str] = None,
1995
2059
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2060
+ id: typing.Optional[builtins.str] = None,
1996
2061
  label: typing.Optional[builtins.str] = None,
1997
2062
  period: typing.Optional[_Duration_4839e8c3] = None,
1998
2063
  region: typing.Optional[builtins.str] = None,
@@ -2000,6 +2065,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
2000
2065
  stack_region: typing.Optional[builtins.str] = None,
2001
2066
  statistic: typing.Optional[builtins.str] = None,
2002
2067
  unit: typing.Optional[_Unit_61bc6f70] = None,
2068
+ visible: typing.Optional[builtins.bool] = None,
2003
2069
  ) -> _Metric_e396a4dc:
2004
2070
  '''The total number of records sent in a PutRecords operation per Kinesis data stream, measured over the specified time period.
2005
2071
 
@@ -2008,6 +2074,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
2008
2074
  :param account: Account which this metric comes from. Default: - Deployment account.
2009
2075
  :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
2010
2076
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2077
+ :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
2011
2078
  :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
2012
2079
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2013
2080
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2015,6 +2082,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
2015
2082
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2016
2083
  :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
2017
2084
  :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
2085
+ :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
2018
2086
  '''
2019
2087
  ...
2020
2088
 
@@ -2025,6 +2093,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
2025
2093
  account: typing.Optional[builtins.str] = None,
2026
2094
  color: typing.Optional[builtins.str] = None,
2027
2095
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2096
+ id: typing.Optional[builtins.str] = None,
2028
2097
  label: typing.Optional[builtins.str] = None,
2029
2098
  period: typing.Optional[_Duration_4839e8c3] = None,
2030
2099
  region: typing.Optional[builtins.str] = None,
@@ -2032,6 +2101,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
2032
2101
  stack_region: typing.Optional[builtins.str] = None,
2033
2102
  statistic: typing.Optional[builtins.str] = None,
2034
2103
  unit: typing.Optional[_Unit_61bc6f70] = None,
2104
+ visible: typing.Optional[builtins.bool] = None,
2035
2105
  ) -> _Metric_e396a4dc:
2036
2106
  '''The number of successful PutRecord operations per Kinesis stream, measured over the specified time period.
2037
2107
 
@@ -2043,6 +2113,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
2043
2113
  :param account: Account which this metric comes from. Default: - Deployment account.
2044
2114
  :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
2045
2115
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2116
+ :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
2046
2117
  :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
2047
2118
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2048
2119
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2050,6 +2121,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
2050
2121
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2051
2122
  :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
2052
2123
  :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
2124
+ :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
2053
2125
  '''
2054
2126
  ...
2055
2127
 
@@ -2060,6 +2132,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
2060
2132
  account: typing.Optional[builtins.str] = None,
2061
2133
  color: typing.Optional[builtins.str] = None,
2062
2134
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2135
+ id: typing.Optional[builtins.str] = None,
2063
2136
  label: typing.Optional[builtins.str] = None,
2064
2137
  period: typing.Optional[_Duration_4839e8c3] = None,
2065
2138
  region: typing.Optional[builtins.str] = None,
@@ -2067,6 +2140,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
2067
2140
  stack_region: typing.Optional[builtins.str] = None,
2068
2141
  statistic: typing.Optional[builtins.str] = None,
2069
2142
  unit: typing.Optional[_Unit_61bc6f70] = None,
2143
+ visible: typing.Optional[builtins.bool] = None,
2070
2144
  ) -> _Metric_e396a4dc:
2071
2145
  '''The number of GetRecords calls throttled for the stream over the specified time period.
2072
2146
 
@@ -2084,6 +2158,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
2084
2158
  :param account: Account which this metric comes from. Default: - Deployment account.
2085
2159
  :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
2086
2160
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2161
+ :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
2087
2162
  :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
2088
2163
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2089
2164
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2091,6 +2166,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
2091
2166
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2092
2167
  :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
2093
2168
  :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
2169
+ :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
2094
2170
  '''
2095
2171
  ...
2096
2172
 
@@ -2101,6 +2177,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
2101
2177
  account: typing.Optional[builtins.str] = None,
2102
2178
  color: typing.Optional[builtins.str] = None,
2103
2179
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2180
+ id: typing.Optional[builtins.str] = None,
2104
2181
  label: typing.Optional[builtins.str] = None,
2105
2182
  period: typing.Optional[_Duration_4839e8c3] = None,
2106
2183
  region: typing.Optional[builtins.str] = None,
@@ -2108,6 +2185,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
2108
2185
  stack_region: typing.Optional[builtins.str] = None,
2109
2186
  statistic: typing.Optional[builtins.str] = None,
2110
2187
  unit: typing.Optional[_Unit_61bc6f70] = None,
2188
+ visible: typing.Optional[builtins.bool] = None,
2111
2189
  ) -> _Metric_e396a4dc:
2112
2190
  '''The number of records rejected due to throttling for the stream over the specified time period.
2113
2191
 
@@ -2125,6 +2203,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
2125
2203
  :param account: Account which this metric comes from. Default: - Deployment account.
2126
2204
  :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
2127
2205
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2206
+ :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
2128
2207
  :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
2129
2208
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2130
2209
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2132,6 +2211,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
2132
2211
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2133
2212
  :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
2134
2213
  :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
2214
+ :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
2135
2215
  '''
2136
2216
  ...
2137
2217
 
@@ -2252,6 +2332,7 @@ class _IStreamProxy(
2252
2332
  account: typing.Optional[builtins.str] = None,
2253
2333
  color: typing.Optional[builtins.str] = None,
2254
2334
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2335
+ id: typing.Optional[builtins.str] = None,
2255
2336
  label: typing.Optional[builtins.str] = None,
2256
2337
  period: typing.Optional[_Duration_4839e8c3] = None,
2257
2338
  region: typing.Optional[builtins.str] = None,
@@ -2259,6 +2340,7 @@ class _IStreamProxy(
2259
2340
  stack_region: typing.Optional[builtins.str] = None,
2260
2341
  statistic: typing.Optional[builtins.str] = None,
2261
2342
  unit: typing.Optional[_Unit_61bc6f70] = None,
2343
+ visible: typing.Optional[builtins.bool] = None,
2262
2344
  ) -> _Metric_e396a4dc:
2263
2345
  '''Return stream metric based from its metric name.
2264
2346
 
@@ -2266,6 +2348,7 @@ class _IStreamProxy(
2266
2348
  :param account: Account which this metric comes from. Default: - Deployment account.
2267
2349
  :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
2268
2350
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2351
+ :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
2269
2352
  :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
2270
2353
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2271
2354
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2273,6 +2356,7 @@ class _IStreamProxy(
2273
2356
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2274
2357
  :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
2275
2358
  :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
2359
+ :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
2276
2360
  '''
2277
2361
  if __debug__:
2278
2362
  type_hints = typing.get_type_hints(_typecheckingstub__bd578f4ca8facd0463f7e56d3d2cea7e56ba9ad274338af8f84fa661d088f98e)
@@ -2281,6 +2365,7 @@ class _IStreamProxy(
2281
2365
  account=account,
2282
2366
  color=color,
2283
2367
  dimensions_map=dimensions_map,
2368
+ id=id,
2284
2369
  label=label,
2285
2370
  period=period,
2286
2371
  region=region,
@@ -2288,6 +2373,7 @@ class _IStreamProxy(
2288
2373
  stack_region=stack_region,
2289
2374
  statistic=statistic,
2290
2375
  unit=unit,
2376
+ visible=visible,
2291
2377
  )
2292
2378
 
2293
2379
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metric", [metric_name, props]))
@@ -2299,6 +2385,7 @@ class _IStreamProxy(
2299
2385
  account: typing.Optional[builtins.str] = None,
2300
2386
  color: typing.Optional[builtins.str] = None,
2301
2387
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2388
+ id: typing.Optional[builtins.str] = None,
2302
2389
  label: typing.Optional[builtins.str] = None,
2303
2390
  period: typing.Optional[_Duration_4839e8c3] = None,
2304
2391
  region: typing.Optional[builtins.str] = None,
@@ -2306,6 +2393,7 @@ class _IStreamProxy(
2306
2393
  stack_region: typing.Optional[builtins.str] = None,
2307
2394
  statistic: typing.Optional[builtins.str] = None,
2308
2395
  unit: typing.Optional[_Unit_61bc6f70] = None,
2396
+ visible: typing.Optional[builtins.bool] = None,
2309
2397
  ) -> _Metric_e396a4dc:
2310
2398
  '''The number of records retrieved from the shard, measured over the specified time period.
2311
2399
 
@@ -2318,6 +2406,7 @@ class _IStreamProxy(
2318
2406
  :param account: Account which this metric comes from. Default: - Deployment account.
2319
2407
  :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
2320
2408
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2409
+ :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
2321
2410
  :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
2322
2411
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2323
2412
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2325,11 +2414,13 @@ class _IStreamProxy(
2325
2414
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2326
2415
  :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
2327
2416
  :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
2417
+ :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
2328
2418
  '''
2329
2419
  props = _MetricOptions_1788b62f(
2330
2420
  account=account,
2331
2421
  color=color,
2332
2422
  dimensions_map=dimensions_map,
2423
+ id=id,
2333
2424
  label=label,
2334
2425
  period=period,
2335
2426
  region=region,
@@ -2337,6 +2428,7 @@ class _IStreamProxy(
2337
2428
  stack_region=stack_region,
2338
2429
  statistic=statistic,
2339
2430
  unit=unit,
2431
+ visible=visible,
2340
2432
  )
2341
2433
 
2342
2434
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricGetRecords", [props]))
@@ -2348,6 +2440,7 @@ class _IStreamProxy(
2348
2440
  account: typing.Optional[builtins.str] = None,
2349
2441
  color: typing.Optional[builtins.str] = None,
2350
2442
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2443
+ id: typing.Optional[builtins.str] = None,
2351
2444
  label: typing.Optional[builtins.str] = None,
2352
2445
  period: typing.Optional[_Duration_4839e8c3] = None,
2353
2446
  region: typing.Optional[builtins.str] = None,
@@ -2355,6 +2448,7 @@ class _IStreamProxy(
2355
2448
  stack_region: typing.Optional[builtins.str] = None,
2356
2449
  statistic: typing.Optional[builtins.str] = None,
2357
2450
  unit: typing.Optional[_Unit_61bc6f70] = None,
2451
+ visible: typing.Optional[builtins.bool] = None,
2358
2452
  ) -> _Metric_e396a4dc:
2359
2453
  '''The number of bytes retrieved from the Kinesis stream, measured over the specified time period.
2360
2454
 
@@ -2367,6 +2461,7 @@ class _IStreamProxy(
2367
2461
  :param account: Account which this metric comes from. Default: - Deployment account.
2368
2462
  :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
2369
2463
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2464
+ :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
2370
2465
  :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
2371
2466
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2372
2467
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2374,11 +2469,13 @@ class _IStreamProxy(
2374
2469
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2375
2470
  :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
2376
2471
  :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
2472
+ :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
2377
2473
  '''
2378
2474
  props = _MetricOptions_1788b62f(
2379
2475
  account=account,
2380
2476
  color=color,
2381
2477
  dimensions_map=dimensions_map,
2478
+ id=id,
2382
2479
  label=label,
2383
2480
  period=period,
2384
2481
  region=region,
@@ -2386,6 +2483,7 @@ class _IStreamProxy(
2386
2483
  stack_region=stack_region,
2387
2484
  statistic=statistic,
2388
2485
  unit=unit,
2486
+ visible=visible,
2389
2487
  )
2390
2488
 
2391
2489
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricGetRecordsBytes", [props]))
@@ -2397,6 +2495,7 @@ class _IStreamProxy(
2397
2495
  account: typing.Optional[builtins.str] = None,
2398
2496
  color: typing.Optional[builtins.str] = None,
2399
2497
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2498
+ id: typing.Optional[builtins.str] = None,
2400
2499
  label: typing.Optional[builtins.str] = None,
2401
2500
  period: typing.Optional[_Duration_4839e8c3] = None,
2402
2501
  region: typing.Optional[builtins.str] = None,
@@ -2404,6 +2503,7 @@ class _IStreamProxy(
2404
2503
  stack_region: typing.Optional[builtins.str] = None,
2405
2504
  statistic: typing.Optional[builtins.str] = None,
2406
2505
  unit: typing.Optional[_Unit_61bc6f70] = None,
2506
+ visible: typing.Optional[builtins.bool] = None,
2407
2507
  ) -> _Metric_e396a4dc:
2408
2508
  '''The age of the last record in all GetRecords calls made against a Kinesis stream, measured over the specified time period.
2409
2509
 
@@ -2416,6 +2516,7 @@ class _IStreamProxy(
2416
2516
  :param account: Account which this metric comes from. Default: - Deployment account.
2417
2517
  :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
2418
2518
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2519
+ :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
2419
2520
  :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
2420
2521
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2421
2522
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2423,11 +2524,13 @@ class _IStreamProxy(
2423
2524
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2424
2525
  :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
2425
2526
  :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
2527
+ :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
2426
2528
  '''
2427
2529
  props = _MetricOptions_1788b62f(
2428
2530
  account=account,
2429
2531
  color=color,
2430
2532
  dimensions_map=dimensions_map,
2533
+ id=id,
2431
2534
  label=label,
2432
2535
  period=period,
2433
2536
  region=region,
@@ -2435,6 +2538,7 @@ class _IStreamProxy(
2435
2538
  stack_region=stack_region,
2436
2539
  statistic=statistic,
2437
2540
  unit=unit,
2541
+ visible=visible,
2438
2542
  )
2439
2543
 
2440
2544
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricGetRecordsIteratorAgeMilliseconds", [props]))
@@ -2446,6 +2550,7 @@ class _IStreamProxy(
2446
2550
  account: typing.Optional[builtins.str] = None,
2447
2551
  color: typing.Optional[builtins.str] = None,
2448
2552
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2553
+ id: typing.Optional[builtins.str] = None,
2449
2554
  label: typing.Optional[builtins.str] = None,
2450
2555
  period: typing.Optional[_Duration_4839e8c3] = None,
2451
2556
  region: typing.Optional[builtins.str] = None,
@@ -2453,6 +2558,7 @@ class _IStreamProxy(
2453
2558
  stack_region: typing.Optional[builtins.str] = None,
2454
2559
  statistic: typing.Optional[builtins.str] = None,
2455
2560
  unit: typing.Optional[_Unit_61bc6f70] = None,
2561
+ visible: typing.Optional[builtins.bool] = None,
2456
2562
  ) -> _Metric_e396a4dc:
2457
2563
  '''The time taken per GetRecords operation, measured over the specified time period.
2458
2564
 
@@ -2461,6 +2567,7 @@ class _IStreamProxy(
2461
2567
  :param account: Account which this metric comes from. Default: - Deployment account.
2462
2568
  :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
2463
2569
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2570
+ :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
2464
2571
  :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
2465
2572
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2466
2573
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2468,11 +2575,13 @@ class _IStreamProxy(
2468
2575
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2469
2576
  :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
2470
2577
  :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
2578
+ :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
2471
2579
  '''
2472
2580
  props = _MetricOptions_1788b62f(
2473
2581
  account=account,
2474
2582
  color=color,
2475
2583
  dimensions_map=dimensions_map,
2584
+ id=id,
2476
2585
  label=label,
2477
2586
  period=period,
2478
2587
  region=region,
@@ -2480,6 +2589,7 @@ class _IStreamProxy(
2480
2589
  stack_region=stack_region,
2481
2590
  statistic=statistic,
2482
2591
  unit=unit,
2592
+ visible=visible,
2483
2593
  )
2484
2594
 
2485
2595
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricGetRecordsLatency", [props]))
@@ -2491,6 +2601,7 @@ class _IStreamProxy(
2491
2601
  account: typing.Optional[builtins.str] = None,
2492
2602
  color: typing.Optional[builtins.str] = None,
2493
2603
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2604
+ id: typing.Optional[builtins.str] = None,
2494
2605
  label: typing.Optional[builtins.str] = None,
2495
2606
  period: typing.Optional[_Duration_4839e8c3] = None,
2496
2607
  region: typing.Optional[builtins.str] = None,
@@ -2498,6 +2609,7 @@ class _IStreamProxy(
2498
2609
  stack_region: typing.Optional[builtins.str] = None,
2499
2610
  statistic: typing.Optional[builtins.str] = None,
2500
2611
  unit: typing.Optional[_Unit_61bc6f70] = None,
2612
+ visible: typing.Optional[builtins.bool] = None,
2501
2613
  ) -> _Metric_e396a4dc:
2502
2614
  '''The number of successful GetRecords operations per stream, measured over the specified time period.
2503
2615
 
@@ -2506,6 +2618,7 @@ class _IStreamProxy(
2506
2618
  :param account: Account which this metric comes from. Default: - Deployment account.
2507
2619
  :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
2508
2620
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2621
+ :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
2509
2622
  :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
2510
2623
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2511
2624
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2513,11 +2626,13 @@ class _IStreamProxy(
2513
2626
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2514
2627
  :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
2515
2628
  :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
2629
+ :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
2516
2630
  '''
2517
2631
  props = _MetricOptions_1788b62f(
2518
2632
  account=account,
2519
2633
  color=color,
2520
2634
  dimensions_map=dimensions_map,
2635
+ id=id,
2521
2636
  label=label,
2522
2637
  period=period,
2523
2638
  region=region,
@@ -2525,6 +2640,7 @@ class _IStreamProxy(
2525
2640
  stack_region=stack_region,
2526
2641
  statistic=statistic,
2527
2642
  unit=unit,
2643
+ visible=visible,
2528
2644
  )
2529
2645
 
2530
2646
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricGetRecordsSuccess", [props]))
@@ -2536,6 +2652,7 @@ class _IStreamProxy(
2536
2652
  account: typing.Optional[builtins.str] = None,
2537
2653
  color: typing.Optional[builtins.str] = None,
2538
2654
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2655
+ id: typing.Optional[builtins.str] = None,
2539
2656
  label: typing.Optional[builtins.str] = None,
2540
2657
  period: typing.Optional[_Duration_4839e8c3] = None,
2541
2658
  region: typing.Optional[builtins.str] = None,
@@ -2543,6 +2660,7 @@ class _IStreamProxy(
2543
2660
  stack_region: typing.Optional[builtins.str] = None,
2544
2661
  statistic: typing.Optional[builtins.str] = None,
2545
2662
  unit: typing.Optional[_Unit_61bc6f70] = None,
2663
+ visible: typing.Optional[builtins.bool] = None,
2546
2664
  ) -> _Metric_e396a4dc:
2547
2665
  '''The number of bytes successfully put to the Kinesis stream over the specified time period.
2548
2666
 
@@ -2555,6 +2673,7 @@ class _IStreamProxy(
2555
2673
  :param account: Account which this metric comes from. Default: - Deployment account.
2556
2674
  :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
2557
2675
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2676
+ :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
2558
2677
  :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
2559
2678
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2560
2679
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2562,11 +2681,13 @@ class _IStreamProxy(
2562
2681
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2563
2682
  :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
2564
2683
  :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
2684
+ :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
2565
2685
  '''
2566
2686
  props = _MetricOptions_1788b62f(
2567
2687
  account=account,
2568
2688
  color=color,
2569
2689
  dimensions_map=dimensions_map,
2690
+ id=id,
2570
2691
  label=label,
2571
2692
  period=period,
2572
2693
  region=region,
@@ -2574,6 +2695,7 @@ class _IStreamProxy(
2574
2695
  stack_region=stack_region,
2575
2696
  statistic=statistic,
2576
2697
  unit=unit,
2698
+ visible=visible,
2577
2699
  )
2578
2700
 
2579
2701
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricIncomingBytes", [props]))
@@ -2585,6 +2707,7 @@ class _IStreamProxy(
2585
2707
  account: typing.Optional[builtins.str] = None,
2586
2708
  color: typing.Optional[builtins.str] = None,
2587
2709
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2710
+ id: typing.Optional[builtins.str] = None,
2588
2711
  label: typing.Optional[builtins.str] = None,
2589
2712
  period: typing.Optional[_Duration_4839e8c3] = None,
2590
2713
  region: typing.Optional[builtins.str] = None,
@@ -2592,6 +2715,7 @@ class _IStreamProxy(
2592
2715
  stack_region: typing.Optional[builtins.str] = None,
2593
2716
  statistic: typing.Optional[builtins.str] = None,
2594
2717
  unit: typing.Optional[_Unit_61bc6f70] = None,
2718
+ visible: typing.Optional[builtins.bool] = None,
2595
2719
  ) -> _Metric_e396a4dc:
2596
2720
  '''The number of records successfully put to the Kinesis stream over the specified time period.
2597
2721
 
@@ -2604,6 +2728,7 @@ class _IStreamProxy(
2604
2728
  :param account: Account which this metric comes from. Default: - Deployment account.
2605
2729
  :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
2606
2730
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2731
+ :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
2607
2732
  :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
2608
2733
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2609
2734
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2611,11 +2736,13 @@ class _IStreamProxy(
2611
2736
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2612
2737
  :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
2613
2738
  :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
2739
+ :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
2614
2740
  '''
2615
2741
  props = _MetricOptions_1788b62f(
2616
2742
  account=account,
2617
2743
  color=color,
2618
2744
  dimensions_map=dimensions_map,
2745
+ id=id,
2619
2746
  label=label,
2620
2747
  period=period,
2621
2748
  region=region,
@@ -2623,6 +2750,7 @@ class _IStreamProxy(
2623
2750
  stack_region=stack_region,
2624
2751
  statistic=statistic,
2625
2752
  unit=unit,
2753
+ visible=visible,
2626
2754
  )
2627
2755
 
2628
2756
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricIncomingRecords", [props]))
@@ -2634,6 +2762,7 @@ class _IStreamProxy(
2634
2762
  account: typing.Optional[builtins.str] = None,
2635
2763
  color: typing.Optional[builtins.str] = None,
2636
2764
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2765
+ id: typing.Optional[builtins.str] = None,
2637
2766
  label: typing.Optional[builtins.str] = None,
2638
2767
  period: typing.Optional[_Duration_4839e8c3] = None,
2639
2768
  region: typing.Optional[builtins.str] = None,
@@ -2641,6 +2770,7 @@ class _IStreamProxy(
2641
2770
  stack_region: typing.Optional[builtins.str] = None,
2642
2771
  statistic: typing.Optional[builtins.str] = None,
2643
2772
  unit: typing.Optional[_Unit_61bc6f70] = None,
2773
+ visible: typing.Optional[builtins.bool] = None,
2644
2774
  ) -> _Metric_e396a4dc:
2645
2775
  '''The number of bytes put to the Kinesis stream using the PutRecord operation over the specified time period.
2646
2776
 
@@ -2649,6 +2779,7 @@ class _IStreamProxy(
2649
2779
  :param account: Account which this metric comes from. Default: - Deployment account.
2650
2780
  :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
2651
2781
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2782
+ :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
2652
2783
  :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
2653
2784
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2654
2785
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2656,11 +2787,13 @@ class _IStreamProxy(
2656
2787
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2657
2788
  :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
2658
2789
  :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
2790
+ :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
2659
2791
  '''
2660
2792
  props = _MetricOptions_1788b62f(
2661
2793
  account=account,
2662
2794
  color=color,
2663
2795
  dimensions_map=dimensions_map,
2796
+ id=id,
2664
2797
  label=label,
2665
2798
  period=period,
2666
2799
  region=region,
@@ -2668,6 +2801,7 @@ class _IStreamProxy(
2668
2801
  stack_region=stack_region,
2669
2802
  statistic=statistic,
2670
2803
  unit=unit,
2804
+ visible=visible,
2671
2805
  )
2672
2806
 
2673
2807
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordBytes", [props]))
@@ -2679,6 +2813,7 @@ class _IStreamProxy(
2679
2813
  account: typing.Optional[builtins.str] = None,
2680
2814
  color: typing.Optional[builtins.str] = None,
2681
2815
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2816
+ id: typing.Optional[builtins.str] = None,
2682
2817
  label: typing.Optional[builtins.str] = None,
2683
2818
  period: typing.Optional[_Duration_4839e8c3] = None,
2684
2819
  region: typing.Optional[builtins.str] = None,
@@ -2686,6 +2821,7 @@ class _IStreamProxy(
2686
2821
  stack_region: typing.Optional[builtins.str] = None,
2687
2822
  statistic: typing.Optional[builtins.str] = None,
2688
2823
  unit: typing.Optional[_Unit_61bc6f70] = None,
2824
+ visible: typing.Optional[builtins.bool] = None,
2689
2825
  ) -> _Metric_e396a4dc:
2690
2826
  '''The time taken per PutRecord operation, measured over the specified time period.
2691
2827
 
@@ -2694,6 +2830,7 @@ class _IStreamProxy(
2694
2830
  :param account: Account which this metric comes from. Default: - Deployment account.
2695
2831
  :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
2696
2832
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2833
+ :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
2697
2834
  :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
2698
2835
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2699
2836
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2701,11 +2838,13 @@ class _IStreamProxy(
2701
2838
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2702
2839
  :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
2703
2840
  :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
2841
+ :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
2704
2842
  '''
2705
2843
  props = _MetricOptions_1788b62f(
2706
2844
  account=account,
2707
2845
  color=color,
2708
2846
  dimensions_map=dimensions_map,
2847
+ id=id,
2709
2848
  label=label,
2710
2849
  period=period,
2711
2850
  region=region,
@@ -2713,6 +2852,7 @@ class _IStreamProxy(
2713
2852
  stack_region=stack_region,
2714
2853
  statistic=statistic,
2715
2854
  unit=unit,
2855
+ visible=visible,
2716
2856
  )
2717
2857
 
2718
2858
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordLatency", [props]))
@@ -2724,6 +2864,7 @@ class _IStreamProxy(
2724
2864
  account: typing.Optional[builtins.str] = None,
2725
2865
  color: typing.Optional[builtins.str] = None,
2726
2866
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2867
+ id: typing.Optional[builtins.str] = None,
2727
2868
  label: typing.Optional[builtins.str] = None,
2728
2869
  period: typing.Optional[_Duration_4839e8c3] = None,
2729
2870
  region: typing.Optional[builtins.str] = None,
@@ -2731,6 +2872,7 @@ class _IStreamProxy(
2731
2872
  stack_region: typing.Optional[builtins.str] = None,
2732
2873
  statistic: typing.Optional[builtins.str] = None,
2733
2874
  unit: typing.Optional[_Unit_61bc6f70] = None,
2875
+ visible: typing.Optional[builtins.bool] = None,
2734
2876
  ) -> _Metric_e396a4dc:
2735
2877
  '''The number of bytes put to the Kinesis stream using the PutRecords operation over the specified time period.
2736
2878
 
@@ -2739,6 +2881,7 @@ class _IStreamProxy(
2739
2881
  :param account: Account which this metric comes from. Default: - Deployment account.
2740
2882
  :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
2741
2883
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2884
+ :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
2742
2885
  :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
2743
2886
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2744
2887
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2746,11 +2889,13 @@ class _IStreamProxy(
2746
2889
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2747
2890
  :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
2748
2891
  :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
2892
+ :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
2749
2893
  '''
2750
2894
  props = _MetricOptions_1788b62f(
2751
2895
  account=account,
2752
2896
  color=color,
2753
2897
  dimensions_map=dimensions_map,
2898
+ id=id,
2754
2899
  label=label,
2755
2900
  period=period,
2756
2901
  region=region,
@@ -2758,6 +2903,7 @@ class _IStreamProxy(
2758
2903
  stack_region=stack_region,
2759
2904
  statistic=statistic,
2760
2905
  unit=unit,
2906
+ visible=visible,
2761
2907
  )
2762
2908
 
2763
2909
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordsBytes", [props]))
@@ -2769,6 +2915,7 @@ class _IStreamProxy(
2769
2915
  account: typing.Optional[builtins.str] = None,
2770
2916
  color: typing.Optional[builtins.str] = None,
2771
2917
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2918
+ id: typing.Optional[builtins.str] = None,
2772
2919
  label: typing.Optional[builtins.str] = None,
2773
2920
  period: typing.Optional[_Duration_4839e8c3] = None,
2774
2921
  region: typing.Optional[builtins.str] = None,
@@ -2776,6 +2923,7 @@ class _IStreamProxy(
2776
2923
  stack_region: typing.Optional[builtins.str] = None,
2777
2924
  statistic: typing.Optional[builtins.str] = None,
2778
2925
  unit: typing.Optional[_Unit_61bc6f70] = None,
2926
+ visible: typing.Optional[builtins.bool] = None,
2779
2927
  ) -> _Metric_e396a4dc:
2780
2928
  '''The number of records rejected due to internal failures in a PutRecords operation per Kinesis data stream, measured over the specified time period.
2781
2929
 
@@ -2786,6 +2934,7 @@ class _IStreamProxy(
2786
2934
  :param account: Account which this metric comes from. Default: - Deployment account.
2787
2935
  :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
2788
2936
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2937
+ :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
2789
2938
  :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
2790
2939
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2791
2940
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2793,11 +2942,13 @@ class _IStreamProxy(
2793
2942
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2794
2943
  :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
2795
2944
  :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
2945
+ :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
2796
2946
  '''
2797
2947
  props = _MetricOptions_1788b62f(
2798
2948
  account=account,
2799
2949
  color=color,
2800
2950
  dimensions_map=dimensions_map,
2951
+ id=id,
2801
2952
  label=label,
2802
2953
  period=period,
2803
2954
  region=region,
@@ -2805,6 +2956,7 @@ class _IStreamProxy(
2805
2956
  stack_region=stack_region,
2806
2957
  statistic=statistic,
2807
2958
  unit=unit,
2959
+ visible=visible,
2808
2960
  )
2809
2961
 
2810
2962
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordsFailedRecords", [props]))
@@ -2816,6 +2968,7 @@ class _IStreamProxy(
2816
2968
  account: typing.Optional[builtins.str] = None,
2817
2969
  color: typing.Optional[builtins.str] = None,
2818
2970
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2971
+ id: typing.Optional[builtins.str] = None,
2819
2972
  label: typing.Optional[builtins.str] = None,
2820
2973
  period: typing.Optional[_Duration_4839e8c3] = None,
2821
2974
  region: typing.Optional[builtins.str] = None,
@@ -2823,6 +2976,7 @@ class _IStreamProxy(
2823
2976
  stack_region: typing.Optional[builtins.str] = None,
2824
2977
  statistic: typing.Optional[builtins.str] = None,
2825
2978
  unit: typing.Optional[_Unit_61bc6f70] = None,
2979
+ visible: typing.Optional[builtins.bool] = None,
2826
2980
  ) -> _Metric_e396a4dc:
2827
2981
  '''The time taken per PutRecords operation, measured over the specified time period.
2828
2982
 
@@ -2831,6 +2985,7 @@ class _IStreamProxy(
2831
2985
  :param account: Account which this metric comes from. Default: - Deployment account.
2832
2986
  :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
2833
2987
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2988
+ :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
2834
2989
  :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
2835
2990
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2836
2991
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2838,11 +2993,13 @@ class _IStreamProxy(
2838
2993
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2839
2994
  :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
2840
2995
  :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
2996
+ :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
2841
2997
  '''
2842
2998
  props = _MetricOptions_1788b62f(
2843
2999
  account=account,
2844
3000
  color=color,
2845
3001
  dimensions_map=dimensions_map,
3002
+ id=id,
2846
3003
  label=label,
2847
3004
  period=period,
2848
3005
  region=region,
@@ -2850,6 +3007,7 @@ class _IStreamProxy(
2850
3007
  stack_region=stack_region,
2851
3008
  statistic=statistic,
2852
3009
  unit=unit,
3010
+ visible=visible,
2853
3011
  )
2854
3012
 
2855
3013
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordsLatency", [props]))
@@ -2861,6 +3019,7 @@ class _IStreamProxy(
2861
3019
  account: typing.Optional[builtins.str] = None,
2862
3020
  color: typing.Optional[builtins.str] = None,
2863
3021
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
3022
+ id: typing.Optional[builtins.str] = None,
2864
3023
  label: typing.Optional[builtins.str] = None,
2865
3024
  period: typing.Optional[_Duration_4839e8c3] = None,
2866
3025
  region: typing.Optional[builtins.str] = None,
@@ -2868,6 +3027,7 @@ class _IStreamProxy(
2868
3027
  stack_region: typing.Optional[builtins.str] = None,
2869
3028
  statistic: typing.Optional[builtins.str] = None,
2870
3029
  unit: typing.Optional[_Unit_61bc6f70] = None,
3030
+ visible: typing.Optional[builtins.bool] = None,
2871
3031
  ) -> _Metric_e396a4dc:
2872
3032
  '''The number of PutRecords operations where at least one record succeeded, per Kinesis stream, measured over the specified time period.
2873
3033
 
@@ -2876,6 +3036,7 @@ class _IStreamProxy(
2876
3036
  :param account: Account which this metric comes from. Default: - Deployment account.
2877
3037
  :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
2878
3038
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
3039
+ :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
2879
3040
  :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
2880
3041
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2881
3042
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2883,11 +3044,13 @@ class _IStreamProxy(
2883
3044
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2884
3045
  :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
2885
3046
  :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
3047
+ :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
2886
3048
  '''
2887
3049
  props = _MetricOptions_1788b62f(
2888
3050
  account=account,
2889
3051
  color=color,
2890
3052
  dimensions_map=dimensions_map,
3053
+ id=id,
2891
3054
  label=label,
2892
3055
  period=period,
2893
3056
  region=region,
@@ -2895,6 +3058,7 @@ class _IStreamProxy(
2895
3058
  stack_region=stack_region,
2896
3059
  statistic=statistic,
2897
3060
  unit=unit,
3061
+ visible=visible,
2898
3062
  )
2899
3063
 
2900
3064
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordsSuccess", [props]))
@@ -2906,6 +3070,7 @@ class _IStreamProxy(
2906
3070
  account: typing.Optional[builtins.str] = None,
2907
3071
  color: typing.Optional[builtins.str] = None,
2908
3072
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
3073
+ id: typing.Optional[builtins.str] = None,
2909
3074
  label: typing.Optional[builtins.str] = None,
2910
3075
  period: typing.Optional[_Duration_4839e8c3] = None,
2911
3076
  region: typing.Optional[builtins.str] = None,
@@ -2913,6 +3078,7 @@ class _IStreamProxy(
2913
3078
  stack_region: typing.Optional[builtins.str] = None,
2914
3079
  statistic: typing.Optional[builtins.str] = None,
2915
3080
  unit: typing.Optional[_Unit_61bc6f70] = None,
3081
+ visible: typing.Optional[builtins.bool] = None,
2916
3082
  ) -> _Metric_e396a4dc:
2917
3083
  '''The number of successful records in a PutRecords operation per Kinesis data stream, measured over the specified time period.
2918
3084
 
@@ -2921,6 +3087,7 @@ class _IStreamProxy(
2921
3087
  :param account: Account which this metric comes from. Default: - Deployment account.
2922
3088
  :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
2923
3089
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
3090
+ :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
2924
3091
  :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
2925
3092
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2926
3093
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2928,11 +3095,13 @@ class _IStreamProxy(
2928
3095
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2929
3096
  :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
2930
3097
  :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
3098
+ :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
2931
3099
  '''
2932
3100
  props = _MetricOptions_1788b62f(
2933
3101
  account=account,
2934
3102
  color=color,
2935
3103
  dimensions_map=dimensions_map,
3104
+ id=id,
2936
3105
  label=label,
2937
3106
  period=period,
2938
3107
  region=region,
@@ -2940,6 +3109,7 @@ class _IStreamProxy(
2940
3109
  stack_region=stack_region,
2941
3110
  statistic=statistic,
2942
3111
  unit=unit,
3112
+ visible=visible,
2943
3113
  )
2944
3114
 
2945
3115
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordsSuccessfulRecords", [props]))
@@ -2951,6 +3121,7 @@ class _IStreamProxy(
2951
3121
  account: typing.Optional[builtins.str] = None,
2952
3122
  color: typing.Optional[builtins.str] = None,
2953
3123
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
3124
+ id: typing.Optional[builtins.str] = None,
2954
3125
  label: typing.Optional[builtins.str] = None,
2955
3126
  period: typing.Optional[_Duration_4839e8c3] = None,
2956
3127
  region: typing.Optional[builtins.str] = None,
@@ -2958,6 +3129,7 @@ class _IStreamProxy(
2958
3129
  stack_region: typing.Optional[builtins.str] = None,
2959
3130
  statistic: typing.Optional[builtins.str] = None,
2960
3131
  unit: typing.Optional[_Unit_61bc6f70] = None,
3132
+ visible: typing.Optional[builtins.bool] = None,
2961
3133
  ) -> _Metric_e396a4dc:
2962
3134
  '''The number of records rejected due to throttling in a PutRecords operation per Kinesis data stream, measured over the specified time period.
2963
3135
 
@@ -2966,6 +3138,7 @@ class _IStreamProxy(
2966
3138
  :param account: Account which this metric comes from. Default: - Deployment account.
2967
3139
  :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
2968
3140
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
3141
+ :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
2969
3142
  :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
2970
3143
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2971
3144
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2973,11 +3146,13 @@ class _IStreamProxy(
2973
3146
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2974
3147
  :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
2975
3148
  :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
3149
+ :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
2976
3150
  '''
2977
3151
  props = _MetricOptions_1788b62f(
2978
3152
  account=account,
2979
3153
  color=color,
2980
3154
  dimensions_map=dimensions_map,
3155
+ id=id,
2981
3156
  label=label,
2982
3157
  period=period,
2983
3158
  region=region,
@@ -2985,6 +3160,7 @@ class _IStreamProxy(
2985
3160
  stack_region=stack_region,
2986
3161
  statistic=statistic,
2987
3162
  unit=unit,
3163
+ visible=visible,
2988
3164
  )
2989
3165
 
2990
3166
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordsThrottledRecords", [props]))
@@ -2996,6 +3172,7 @@ class _IStreamProxy(
2996
3172
  account: typing.Optional[builtins.str] = None,
2997
3173
  color: typing.Optional[builtins.str] = None,
2998
3174
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
3175
+ id: typing.Optional[builtins.str] = None,
2999
3176
  label: typing.Optional[builtins.str] = None,
3000
3177
  period: typing.Optional[_Duration_4839e8c3] = None,
3001
3178
  region: typing.Optional[builtins.str] = None,
@@ -3003,6 +3180,7 @@ class _IStreamProxy(
3003
3180
  stack_region: typing.Optional[builtins.str] = None,
3004
3181
  statistic: typing.Optional[builtins.str] = None,
3005
3182
  unit: typing.Optional[_Unit_61bc6f70] = None,
3183
+ visible: typing.Optional[builtins.bool] = None,
3006
3184
  ) -> _Metric_e396a4dc:
3007
3185
  '''The total number of records sent in a PutRecords operation per Kinesis data stream, measured over the specified time period.
3008
3186
 
@@ -3011,6 +3189,7 @@ class _IStreamProxy(
3011
3189
  :param account: Account which this metric comes from. Default: - Deployment account.
3012
3190
  :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
3013
3191
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
3192
+ :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
3014
3193
  :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
3015
3194
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
3016
3195
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -3018,11 +3197,13 @@ class _IStreamProxy(
3018
3197
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
3019
3198
  :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
3020
3199
  :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
3200
+ :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
3021
3201
  '''
3022
3202
  props = _MetricOptions_1788b62f(
3023
3203
  account=account,
3024
3204
  color=color,
3025
3205
  dimensions_map=dimensions_map,
3206
+ id=id,
3026
3207
  label=label,
3027
3208
  period=period,
3028
3209
  region=region,
@@ -3030,6 +3211,7 @@ class _IStreamProxy(
3030
3211
  stack_region=stack_region,
3031
3212
  statistic=statistic,
3032
3213
  unit=unit,
3214
+ visible=visible,
3033
3215
  )
3034
3216
 
3035
3217
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordsTotalRecords", [props]))
@@ -3041,6 +3223,7 @@ class _IStreamProxy(
3041
3223
  account: typing.Optional[builtins.str] = None,
3042
3224
  color: typing.Optional[builtins.str] = None,
3043
3225
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
3226
+ id: typing.Optional[builtins.str] = None,
3044
3227
  label: typing.Optional[builtins.str] = None,
3045
3228
  period: typing.Optional[_Duration_4839e8c3] = None,
3046
3229
  region: typing.Optional[builtins.str] = None,
@@ -3048,6 +3231,7 @@ class _IStreamProxy(
3048
3231
  stack_region: typing.Optional[builtins.str] = None,
3049
3232
  statistic: typing.Optional[builtins.str] = None,
3050
3233
  unit: typing.Optional[_Unit_61bc6f70] = None,
3234
+ visible: typing.Optional[builtins.bool] = None,
3051
3235
  ) -> _Metric_e396a4dc:
3052
3236
  '''The number of successful PutRecord operations per Kinesis stream, measured over the specified time period.
3053
3237
 
@@ -3059,6 +3243,7 @@ class _IStreamProxy(
3059
3243
  :param account: Account which this metric comes from. Default: - Deployment account.
3060
3244
  :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
3061
3245
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
3246
+ :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
3062
3247
  :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
3063
3248
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
3064
3249
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -3066,11 +3251,13 @@ class _IStreamProxy(
3066
3251
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
3067
3252
  :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
3068
3253
  :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
3254
+ :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
3069
3255
  '''
3070
3256
  props = _MetricOptions_1788b62f(
3071
3257
  account=account,
3072
3258
  color=color,
3073
3259
  dimensions_map=dimensions_map,
3260
+ id=id,
3074
3261
  label=label,
3075
3262
  period=period,
3076
3263
  region=region,
@@ -3078,6 +3265,7 @@ class _IStreamProxy(
3078
3265
  stack_region=stack_region,
3079
3266
  statistic=statistic,
3080
3267
  unit=unit,
3268
+ visible=visible,
3081
3269
  )
3082
3270
 
3083
3271
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordSuccess", [props]))
@@ -3089,6 +3277,7 @@ class _IStreamProxy(
3089
3277
  account: typing.Optional[builtins.str] = None,
3090
3278
  color: typing.Optional[builtins.str] = None,
3091
3279
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
3280
+ id: typing.Optional[builtins.str] = None,
3092
3281
  label: typing.Optional[builtins.str] = None,
3093
3282
  period: typing.Optional[_Duration_4839e8c3] = None,
3094
3283
  region: typing.Optional[builtins.str] = None,
@@ -3096,6 +3285,7 @@ class _IStreamProxy(
3096
3285
  stack_region: typing.Optional[builtins.str] = None,
3097
3286
  statistic: typing.Optional[builtins.str] = None,
3098
3287
  unit: typing.Optional[_Unit_61bc6f70] = None,
3288
+ visible: typing.Optional[builtins.bool] = None,
3099
3289
  ) -> _Metric_e396a4dc:
3100
3290
  '''The number of GetRecords calls throttled for the stream over the specified time period.
3101
3291
 
@@ -3113,6 +3303,7 @@ class _IStreamProxy(
3113
3303
  :param account: Account which this metric comes from. Default: - Deployment account.
3114
3304
  :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
3115
3305
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
3306
+ :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
3116
3307
  :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
3117
3308
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
3118
3309
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -3120,11 +3311,13 @@ class _IStreamProxy(
3120
3311
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
3121
3312
  :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
3122
3313
  :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
3314
+ :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
3123
3315
  '''
3124
3316
  props = _MetricOptions_1788b62f(
3125
3317
  account=account,
3126
3318
  color=color,
3127
3319
  dimensions_map=dimensions_map,
3320
+ id=id,
3128
3321
  label=label,
3129
3322
  period=period,
3130
3323
  region=region,
@@ -3132,6 +3325,7 @@ class _IStreamProxy(
3132
3325
  stack_region=stack_region,
3133
3326
  statistic=statistic,
3134
3327
  unit=unit,
3328
+ visible=visible,
3135
3329
  )
3136
3330
 
3137
3331
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricReadProvisionedThroughputExceeded", [props]))
@@ -3143,6 +3337,7 @@ class _IStreamProxy(
3143
3337
  account: typing.Optional[builtins.str] = None,
3144
3338
  color: typing.Optional[builtins.str] = None,
3145
3339
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
3340
+ id: typing.Optional[builtins.str] = None,
3146
3341
  label: typing.Optional[builtins.str] = None,
3147
3342
  period: typing.Optional[_Duration_4839e8c3] = None,
3148
3343
  region: typing.Optional[builtins.str] = None,
@@ -3150,6 +3345,7 @@ class _IStreamProxy(
3150
3345
  stack_region: typing.Optional[builtins.str] = None,
3151
3346
  statistic: typing.Optional[builtins.str] = None,
3152
3347
  unit: typing.Optional[_Unit_61bc6f70] = None,
3348
+ visible: typing.Optional[builtins.bool] = None,
3153
3349
  ) -> _Metric_e396a4dc:
3154
3350
  '''The number of records rejected due to throttling for the stream over the specified time period.
3155
3351
 
@@ -3167,6 +3363,7 @@ class _IStreamProxy(
3167
3363
  :param account: Account which this metric comes from. Default: - Deployment account.
3168
3364
  :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
3169
3365
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
3366
+ :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
3170
3367
  :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
3171
3368
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
3172
3369
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -3174,11 +3371,13 @@ class _IStreamProxy(
3174
3371
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
3175
3372
  :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
3176
3373
  :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
3374
+ :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
3177
3375
  '''
3178
3376
  props = _MetricOptions_1788b62f(
3179
3377
  account=account,
3180
3378
  color=color,
3181
3379
  dimensions_map=dimensions_map,
3380
+ id=id,
3182
3381
  label=label,
3183
3382
  period=period,
3184
3383
  region=region,
@@ -3186,6 +3385,7 @@ class _IStreamProxy(
3186
3385
  stack_region=stack_region,
3187
3386
  statistic=statistic,
3188
3387
  unit=unit,
3388
+ visible=visible,
3189
3389
  )
3190
3390
 
3191
3391
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricWriteProvisionedThroughputExceeded", [props]))
@@ -3751,6 +3951,7 @@ class Stream(
3751
3951
  account: typing.Optional[builtins.str] = None,
3752
3952
  color: typing.Optional[builtins.str] = None,
3753
3953
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
3954
+ id: typing.Optional[builtins.str] = None,
3754
3955
  label: typing.Optional[builtins.str] = None,
3755
3956
  period: typing.Optional[_Duration_4839e8c3] = None,
3756
3957
  region: typing.Optional[builtins.str] = None,
@@ -3758,6 +3959,7 @@ class Stream(
3758
3959
  stack_region: typing.Optional[builtins.str] = None,
3759
3960
  statistic: typing.Optional[builtins.str] = None,
3760
3961
  unit: typing.Optional[_Unit_61bc6f70] = None,
3962
+ visible: typing.Optional[builtins.bool] = None,
3761
3963
  ) -> _Metric_e396a4dc:
3762
3964
  '''Return stream metric based from its metric name.
3763
3965
 
@@ -3765,6 +3967,7 @@ class Stream(
3765
3967
  :param account: Account which this metric comes from. Default: - Deployment account.
3766
3968
  :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
3767
3969
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
3970
+ :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
3768
3971
  :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
3769
3972
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
3770
3973
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -3772,6 +3975,7 @@ class Stream(
3772
3975
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
3773
3976
  :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
3774
3977
  :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
3978
+ :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
3775
3979
  '''
3776
3980
  if __debug__:
3777
3981
  type_hints = typing.get_type_hints(_typecheckingstub__c2a600a35f466b97cb6589291e1c140f381da66a0d5026de6030101a865c80d1)
@@ -3780,6 +3984,7 @@ class Stream(
3780
3984
  account=account,
3781
3985
  color=color,
3782
3986
  dimensions_map=dimensions_map,
3987
+ id=id,
3783
3988
  label=label,
3784
3989
  period=period,
3785
3990
  region=region,
@@ -3787,6 +3992,7 @@ class Stream(
3787
3992
  stack_region=stack_region,
3788
3993
  statistic=statistic,
3789
3994
  unit=unit,
3995
+ visible=visible,
3790
3996
  )
3791
3997
 
3792
3998
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metric", [metric_name, props]))
@@ -3798,6 +4004,7 @@ class Stream(
3798
4004
  account: typing.Optional[builtins.str] = None,
3799
4005
  color: typing.Optional[builtins.str] = None,
3800
4006
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
4007
+ id: typing.Optional[builtins.str] = None,
3801
4008
  label: typing.Optional[builtins.str] = None,
3802
4009
  period: typing.Optional[_Duration_4839e8c3] = None,
3803
4010
  region: typing.Optional[builtins.str] = None,
@@ -3805,6 +4012,7 @@ class Stream(
3805
4012
  stack_region: typing.Optional[builtins.str] = None,
3806
4013
  statistic: typing.Optional[builtins.str] = None,
3807
4014
  unit: typing.Optional[_Unit_61bc6f70] = None,
4015
+ visible: typing.Optional[builtins.bool] = None,
3808
4016
  ) -> _Metric_e396a4dc:
3809
4017
  '''The number of records retrieved from the shard, measured over the specified time period.
3810
4018
 
@@ -3818,6 +4026,7 @@ class Stream(
3818
4026
  :param account: Account which this metric comes from. Default: - Deployment account.
3819
4027
  :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
3820
4028
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
4029
+ :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
3821
4030
  :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
3822
4031
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
3823
4032
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -3825,11 +4034,13 @@ class Stream(
3825
4034
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
3826
4035
  :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
3827
4036
  :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
4037
+ :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
3828
4038
  '''
3829
4039
  props = _MetricOptions_1788b62f(
3830
4040
  account=account,
3831
4041
  color=color,
3832
4042
  dimensions_map=dimensions_map,
4043
+ id=id,
3833
4044
  label=label,
3834
4045
  period=period,
3835
4046
  region=region,
@@ -3837,6 +4048,7 @@ class Stream(
3837
4048
  stack_region=stack_region,
3838
4049
  statistic=statistic,
3839
4050
  unit=unit,
4051
+ visible=visible,
3840
4052
  )
3841
4053
 
3842
4054
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricGetRecords", [props]))
@@ -3848,6 +4060,7 @@ class Stream(
3848
4060
  account: typing.Optional[builtins.str] = None,
3849
4061
  color: typing.Optional[builtins.str] = None,
3850
4062
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
4063
+ id: typing.Optional[builtins.str] = None,
3851
4064
  label: typing.Optional[builtins.str] = None,
3852
4065
  period: typing.Optional[_Duration_4839e8c3] = None,
3853
4066
  region: typing.Optional[builtins.str] = None,
@@ -3855,6 +4068,7 @@ class Stream(
3855
4068
  stack_region: typing.Optional[builtins.str] = None,
3856
4069
  statistic: typing.Optional[builtins.str] = None,
3857
4070
  unit: typing.Optional[_Unit_61bc6f70] = None,
4071
+ visible: typing.Optional[builtins.bool] = None,
3858
4072
  ) -> _Metric_e396a4dc:
3859
4073
  '''The number of bytes retrieved from the Kinesis stream, measured over the specified time period.
3860
4074
 
@@ -3867,6 +4081,7 @@ class Stream(
3867
4081
  :param account: Account which this metric comes from. Default: - Deployment account.
3868
4082
  :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
3869
4083
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
4084
+ :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
3870
4085
  :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
3871
4086
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
3872
4087
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -3874,11 +4089,13 @@ class Stream(
3874
4089
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
3875
4090
  :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
3876
4091
  :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
4092
+ :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
3877
4093
  '''
3878
4094
  props = _MetricOptions_1788b62f(
3879
4095
  account=account,
3880
4096
  color=color,
3881
4097
  dimensions_map=dimensions_map,
4098
+ id=id,
3882
4099
  label=label,
3883
4100
  period=period,
3884
4101
  region=region,
@@ -3886,6 +4103,7 @@ class Stream(
3886
4103
  stack_region=stack_region,
3887
4104
  statistic=statistic,
3888
4105
  unit=unit,
4106
+ visible=visible,
3889
4107
  )
3890
4108
 
3891
4109
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricGetRecordsBytes", [props]))
@@ -3897,6 +4115,7 @@ class Stream(
3897
4115
  account: typing.Optional[builtins.str] = None,
3898
4116
  color: typing.Optional[builtins.str] = None,
3899
4117
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
4118
+ id: typing.Optional[builtins.str] = None,
3900
4119
  label: typing.Optional[builtins.str] = None,
3901
4120
  period: typing.Optional[_Duration_4839e8c3] = None,
3902
4121
  region: typing.Optional[builtins.str] = None,
@@ -3904,6 +4123,7 @@ class Stream(
3904
4123
  stack_region: typing.Optional[builtins.str] = None,
3905
4124
  statistic: typing.Optional[builtins.str] = None,
3906
4125
  unit: typing.Optional[_Unit_61bc6f70] = None,
4126
+ visible: typing.Optional[builtins.bool] = None,
3907
4127
  ) -> _Metric_e396a4dc:
3908
4128
  '''The age of the last record in all GetRecords calls made against a Kinesis stream, measured over the specified time period.
3909
4129
 
@@ -3916,6 +4136,7 @@ class Stream(
3916
4136
  :param account: Account which this metric comes from. Default: - Deployment account.
3917
4137
  :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
3918
4138
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
4139
+ :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
3919
4140
  :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
3920
4141
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
3921
4142
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -3923,11 +4144,13 @@ class Stream(
3923
4144
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
3924
4145
  :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
3925
4146
  :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
4147
+ :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
3926
4148
  '''
3927
4149
  props = _MetricOptions_1788b62f(
3928
4150
  account=account,
3929
4151
  color=color,
3930
4152
  dimensions_map=dimensions_map,
4153
+ id=id,
3931
4154
  label=label,
3932
4155
  period=period,
3933
4156
  region=region,
@@ -3935,6 +4158,7 @@ class Stream(
3935
4158
  stack_region=stack_region,
3936
4159
  statistic=statistic,
3937
4160
  unit=unit,
4161
+ visible=visible,
3938
4162
  )
3939
4163
 
3940
4164
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricGetRecordsIteratorAgeMilliseconds", [props]))
@@ -3946,6 +4170,7 @@ class Stream(
3946
4170
  account: typing.Optional[builtins.str] = None,
3947
4171
  color: typing.Optional[builtins.str] = None,
3948
4172
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
4173
+ id: typing.Optional[builtins.str] = None,
3949
4174
  label: typing.Optional[builtins.str] = None,
3950
4175
  period: typing.Optional[_Duration_4839e8c3] = None,
3951
4176
  region: typing.Optional[builtins.str] = None,
@@ -3953,6 +4178,7 @@ class Stream(
3953
4178
  stack_region: typing.Optional[builtins.str] = None,
3954
4179
  statistic: typing.Optional[builtins.str] = None,
3955
4180
  unit: typing.Optional[_Unit_61bc6f70] = None,
4181
+ visible: typing.Optional[builtins.bool] = None,
3956
4182
  ) -> _Metric_e396a4dc:
3957
4183
  '''The number of successful GetRecords operations per stream, measured over the specified time period.
3958
4184
 
@@ -3961,6 +4187,7 @@ class Stream(
3961
4187
  :param account: Account which this metric comes from. Default: - Deployment account.
3962
4188
  :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
3963
4189
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
4190
+ :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
3964
4191
  :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
3965
4192
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
3966
4193
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -3968,11 +4195,13 @@ class Stream(
3968
4195
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
3969
4196
  :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
3970
4197
  :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
4198
+ :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
3971
4199
  '''
3972
4200
  props = _MetricOptions_1788b62f(
3973
4201
  account=account,
3974
4202
  color=color,
3975
4203
  dimensions_map=dimensions_map,
4204
+ id=id,
3976
4205
  label=label,
3977
4206
  period=period,
3978
4207
  region=region,
@@ -3980,6 +4209,7 @@ class Stream(
3980
4209
  stack_region=stack_region,
3981
4210
  statistic=statistic,
3982
4211
  unit=unit,
4212
+ visible=visible,
3983
4213
  )
3984
4214
 
3985
4215
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricGetRecordsLatency", [props]))
@@ -3991,6 +4221,7 @@ class Stream(
3991
4221
  account: typing.Optional[builtins.str] = None,
3992
4222
  color: typing.Optional[builtins.str] = None,
3993
4223
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
4224
+ id: typing.Optional[builtins.str] = None,
3994
4225
  label: typing.Optional[builtins.str] = None,
3995
4226
  period: typing.Optional[_Duration_4839e8c3] = None,
3996
4227
  region: typing.Optional[builtins.str] = None,
@@ -3998,6 +4229,7 @@ class Stream(
3998
4229
  stack_region: typing.Optional[builtins.str] = None,
3999
4230
  statistic: typing.Optional[builtins.str] = None,
4000
4231
  unit: typing.Optional[_Unit_61bc6f70] = None,
4232
+ visible: typing.Optional[builtins.bool] = None,
4001
4233
  ) -> _Metric_e396a4dc:
4002
4234
  '''The number of successful GetRecords operations per stream, measured over the specified time period.
4003
4235
 
@@ -4006,6 +4238,7 @@ class Stream(
4006
4238
  :param account: Account which this metric comes from. Default: - Deployment account.
4007
4239
  :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
4008
4240
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
4241
+ :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
4009
4242
  :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
4010
4243
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
4011
4244
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -4013,11 +4246,13 @@ class Stream(
4013
4246
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
4014
4247
  :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
4015
4248
  :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
4249
+ :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
4016
4250
  '''
4017
4251
  props = _MetricOptions_1788b62f(
4018
4252
  account=account,
4019
4253
  color=color,
4020
4254
  dimensions_map=dimensions_map,
4255
+ id=id,
4021
4256
  label=label,
4022
4257
  period=period,
4023
4258
  region=region,
@@ -4025,6 +4260,7 @@ class Stream(
4025
4260
  stack_region=stack_region,
4026
4261
  statistic=statistic,
4027
4262
  unit=unit,
4263
+ visible=visible,
4028
4264
  )
4029
4265
 
4030
4266
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricGetRecordsSuccess", [props]))
@@ -4036,6 +4272,7 @@ class Stream(
4036
4272
  account: typing.Optional[builtins.str] = None,
4037
4273
  color: typing.Optional[builtins.str] = None,
4038
4274
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
4275
+ id: typing.Optional[builtins.str] = None,
4039
4276
  label: typing.Optional[builtins.str] = None,
4040
4277
  period: typing.Optional[_Duration_4839e8c3] = None,
4041
4278
  region: typing.Optional[builtins.str] = None,
@@ -4043,6 +4280,7 @@ class Stream(
4043
4280
  stack_region: typing.Optional[builtins.str] = None,
4044
4281
  statistic: typing.Optional[builtins.str] = None,
4045
4282
  unit: typing.Optional[_Unit_61bc6f70] = None,
4283
+ visible: typing.Optional[builtins.bool] = None,
4046
4284
  ) -> _Metric_e396a4dc:
4047
4285
  '''The number of bytes successfully put to the Kinesis stream over the specified time period.
4048
4286
 
@@ -4055,6 +4293,7 @@ class Stream(
4055
4293
  :param account: Account which this metric comes from. Default: - Deployment account.
4056
4294
  :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
4057
4295
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
4296
+ :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
4058
4297
  :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
4059
4298
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
4060
4299
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -4062,11 +4301,13 @@ class Stream(
4062
4301
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
4063
4302
  :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
4064
4303
  :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
4304
+ :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
4065
4305
  '''
4066
4306
  props = _MetricOptions_1788b62f(
4067
4307
  account=account,
4068
4308
  color=color,
4069
4309
  dimensions_map=dimensions_map,
4310
+ id=id,
4070
4311
  label=label,
4071
4312
  period=period,
4072
4313
  region=region,
@@ -4074,6 +4315,7 @@ class Stream(
4074
4315
  stack_region=stack_region,
4075
4316
  statistic=statistic,
4076
4317
  unit=unit,
4318
+ visible=visible,
4077
4319
  )
4078
4320
 
4079
4321
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricIncomingBytes", [props]))
@@ -4085,6 +4327,7 @@ class Stream(
4085
4327
  account: typing.Optional[builtins.str] = None,
4086
4328
  color: typing.Optional[builtins.str] = None,
4087
4329
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
4330
+ id: typing.Optional[builtins.str] = None,
4088
4331
  label: typing.Optional[builtins.str] = None,
4089
4332
  period: typing.Optional[_Duration_4839e8c3] = None,
4090
4333
  region: typing.Optional[builtins.str] = None,
@@ -4092,6 +4335,7 @@ class Stream(
4092
4335
  stack_region: typing.Optional[builtins.str] = None,
4093
4336
  statistic: typing.Optional[builtins.str] = None,
4094
4337
  unit: typing.Optional[_Unit_61bc6f70] = None,
4338
+ visible: typing.Optional[builtins.bool] = None,
4095
4339
  ) -> _Metric_e396a4dc:
4096
4340
  '''The number of records successfully put to the Kinesis stream over the specified time period.
4097
4341
 
@@ -4104,6 +4348,7 @@ class Stream(
4104
4348
  :param account: Account which this metric comes from. Default: - Deployment account.
4105
4349
  :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
4106
4350
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
4351
+ :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
4107
4352
  :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
4108
4353
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
4109
4354
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -4111,11 +4356,13 @@ class Stream(
4111
4356
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
4112
4357
  :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
4113
4358
  :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
4359
+ :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
4114
4360
  '''
4115
4361
  props = _MetricOptions_1788b62f(
4116
4362
  account=account,
4117
4363
  color=color,
4118
4364
  dimensions_map=dimensions_map,
4365
+ id=id,
4119
4366
  label=label,
4120
4367
  period=period,
4121
4368
  region=region,
@@ -4123,6 +4370,7 @@ class Stream(
4123
4370
  stack_region=stack_region,
4124
4371
  statistic=statistic,
4125
4372
  unit=unit,
4373
+ visible=visible,
4126
4374
  )
4127
4375
 
4128
4376
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricIncomingRecords", [props]))
@@ -4134,6 +4382,7 @@ class Stream(
4134
4382
  account: typing.Optional[builtins.str] = None,
4135
4383
  color: typing.Optional[builtins.str] = None,
4136
4384
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
4385
+ id: typing.Optional[builtins.str] = None,
4137
4386
  label: typing.Optional[builtins.str] = None,
4138
4387
  period: typing.Optional[_Duration_4839e8c3] = None,
4139
4388
  region: typing.Optional[builtins.str] = None,
@@ -4141,6 +4390,7 @@ class Stream(
4141
4390
  stack_region: typing.Optional[builtins.str] = None,
4142
4391
  statistic: typing.Optional[builtins.str] = None,
4143
4392
  unit: typing.Optional[_Unit_61bc6f70] = None,
4393
+ visible: typing.Optional[builtins.bool] = None,
4144
4394
  ) -> _Metric_e396a4dc:
4145
4395
  '''The number of bytes put to the Kinesis stream using the PutRecord operation over the specified time period.
4146
4396
 
@@ -4149,6 +4399,7 @@ class Stream(
4149
4399
  :param account: Account which this metric comes from. Default: - Deployment account.
4150
4400
  :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
4151
4401
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
4402
+ :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
4152
4403
  :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
4153
4404
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
4154
4405
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -4156,11 +4407,13 @@ class Stream(
4156
4407
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
4157
4408
  :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
4158
4409
  :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
4410
+ :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
4159
4411
  '''
4160
4412
  props = _MetricOptions_1788b62f(
4161
4413
  account=account,
4162
4414
  color=color,
4163
4415
  dimensions_map=dimensions_map,
4416
+ id=id,
4164
4417
  label=label,
4165
4418
  period=period,
4166
4419
  region=region,
@@ -4168,6 +4421,7 @@ class Stream(
4168
4421
  stack_region=stack_region,
4169
4422
  statistic=statistic,
4170
4423
  unit=unit,
4424
+ visible=visible,
4171
4425
  )
4172
4426
 
4173
4427
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordBytes", [props]))
@@ -4179,6 +4433,7 @@ class Stream(
4179
4433
  account: typing.Optional[builtins.str] = None,
4180
4434
  color: typing.Optional[builtins.str] = None,
4181
4435
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
4436
+ id: typing.Optional[builtins.str] = None,
4182
4437
  label: typing.Optional[builtins.str] = None,
4183
4438
  period: typing.Optional[_Duration_4839e8c3] = None,
4184
4439
  region: typing.Optional[builtins.str] = None,
@@ -4186,6 +4441,7 @@ class Stream(
4186
4441
  stack_region: typing.Optional[builtins.str] = None,
4187
4442
  statistic: typing.Optional[builtins.str] = None,
4188
4443
  unit: typing.Optional[_Unit_61bc6f70] = None,
4444
+ visible: typing.Optional[builtins.bool] = None,
4189
4445
  ) -> _Metric_e396a4dc:
4190
4446
  '''The time taken per PutRecord operation, measured over the specified time period.
4191
4447
 
@@ -4194,6 +4450,7 @@ class Stream(
4194
4450
  :param account: Account which this metric comes from. Default: - Deployment account.
4195
4451
  :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
4196
4452
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
4453
+ :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
4197
4454
  :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
4198
4455
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
4199
4456
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -4201,11 +4458,13 @@ class Stream(
4201
4458
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
4202
4459
  :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
4203
4460
  :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
4461
+ :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
4204
4462
  '''
4205
4463
  props = _MetricOptions_1788b62f(
4206
4464
  account=account,
4207
4465
  color=color,
4208
4466
  dimensions_map=dimensions_map,
4467
+ id=id,
4209
4468
  label=label,
4210
4469
  period=period,
4211
4470
  region=region,
@@ -4213,6 +4472,7 @@ class Stream(
4213
4472
  stack_region=stack_region,
4214
4473
  statistic=statistic,
4215
4474
  unit=unit,
4475
+ visible=visible,
4216
4476
  )
4217
4477
 
4218
4478
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordLatency", [props]))
@@ -4224,6 +4484,7 @@ class Stream(
4224
4484
  account: typing.Optional[builtins.str] = None,
4225
4485
  color: typing.Optional[builtins.str] = None,
4226
4486
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
4487
+ id: typing.Optional[builtins.str] = None,
4227
4488
  label: typing.Optional[builtins.str] = None,
4228
4489
  period: typing.Optional[_Duration_4839e8c3] = None,
4229
4490
  region: typing.Optional[builtins.str] = None,
@@ -4231,6 +4492,7 @@ class Stream(
4231
4492
  stack_region: typing.Optional[builtins.str] = None,
4232
4493
  statistic: typing.Optional[builtins.str] = None,
4233
4494
  unit: typing.Optional[_Unit_61bc6f70] = None,
4495
+ visible: typing.Optional[builtins.bool] = None,
4234
4496
  ) -> _Metric_e396a4dc:
4235
4497
  '''The number of bytes put to the Kinesis stream using the PutRecords operation over the specified time period.
4236
4498
 
@@ -4239,6 +4501,7 @@ class Stream(
4239
4501
  :param account: Account which this metric comes from. Default: - Deployment account.
4240
4502
  :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
4241
4503
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
4504
+ :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
4242
4505
  :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
4243
4506
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
4244
4507
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -4246,11 +4509,13 @@ class Stream(
4246
4509
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
4247
4510
  :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
4248
4511
  :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
4512
+ :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
4249
4513
  '''
4250
4514
  props = _MetricOptions_1788b62f(
4251
4515
  account=account,
4252
4516
  color=color,
4253
4517
  dimensions_map=dimensions_map,
4518
+ id=id,
4254
4519
  label=label,
4255
4520
  period=period,
4256
4521
  region=region,
@@ -4258,6 +4523,7 @@ class Stream(
4258
4523
  stack_region=stack_region,
4259
4524
  statistic=statistic,
4260
4525
  unit=unit,
4526
+ visible=visible,
4261
4527
  )
4262
4528
 
4263
4529
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordsBytes", [props]))
@@ -4269,6 +4535,7 @@ class Stream(
4269
4535
  account: typing.Optional[builtins.str] = None,
4270
4536
  color: typing.Optional[builtins.str] = None,
4271
4537
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
4538
+ id: typing.Optional[builtins.str] = None,
4272
4539
  label: typing.Optional[builtins.str] = None,
4273
4540
  period: typing.Optional[_Duration_4839e8c3] = None,
4274
4541
  region: typing.Optional[builtins.str] = None,
@@ -4276,6 +4543,7 @@ class Stream(
4276
4543
  stack_region: typing.Optional[builtins.str] = None,
4277
4544
  statistic: typing.Optional[builtins.str] = None,
4278
4545
  unit: typing.Optional[_Unit_61bc6f70] = None,
4546
+ visible: typing.Optional[builtins.bool] = None,
4279
4547
  ) -> _Metric_e396a4dc:
4280
4548
  '''The number of records rejected due to internal failures in a PutRecords operation per Kinesis data stream, measured over the specified time period.
4281
4549
 
@@ -4286,6 +4554,7 @@ class Stream(
4286
4554
  :param account: Account which this metric comes from. Default: - Deployment account.
4287
4555
  :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
4288
4556
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
4557
+ :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
4289
4558
  :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
4290
4559
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
4291
4560
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -4293,11 +4562,13 @@ class Stream(
4293
4562
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
4294
4563
  :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
4295
4564
  :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
4565
+ :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
4296
4566
  '''
4297
4567
  props = _MetricOptions_1788b62f(
4298
4568
  account=account,
4299
4569
  color=color,
4300
4570
  dimensions_map=dimensions_map,
4571
+ id=id,
4301
4572
  label=label,
4302
4573
  period=period,
4303
4574
  region=region,
@@ -4305,6 +4576,7 @@ class Stream(
4305
4576
  stack_region=stack_region,
4306
4577
  statistic=statistic,
4307
4578
  unit=unit,
4579
+ visible=visible,
4308
4580
  )
4309
4581
 
4310
4582
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordsFailedRecords", [props]))
@@ -4316,6 +4588,7 @@ class Stream(
4316
4588
  account: typing.Optional[builtins.str] = None,
4317
4589
  color: typing.Optional[builtins.str] = None,
4318
4590
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
4591
+ id: typing.Optional[builtins.str] = None,
4319
4592
  label: typing.Optional[builtins.str] = None,
4320
4593
  period: typing.Optional[_Duration_4839e8c3] = None,
4321
4594
  region: typing.Optional[builtins.str] = None,
@@ -4323,6 +4596,7 @@ class Stream(
4323
4596
  stack_region: typing.Optional[builtins.str] = None,
4324
4597
  statistic: typing.Optional[builtins.str] = None,
4325
4598
  unit: typing.Optional[_Unit_61bc6f70] = None,
4599
+ visible: typing.Optional[builtins.bool] = None,
4326
4600
  ) -> _Metric_e396a4dc:
4327
4601
  '''The time taken per PutRecords operation, measured over the specified time period.
4328
4602
 
@@ -4331,6 +4605,7 @@ class Stream(
4331
4605
  :param account: Account which this metric comes from. Default: - Deployment account.
4332
4606
  :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
4333
4607
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
4608
+ :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
4334
4609
  :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
4335
4610
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
4336
4611
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -4338,11 +4613,13 @@ class Stream(
4338
4613
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
4339
4614
  :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
4340
4615
  :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
4616
+ :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
4341
4617
  '''
4342
4618
  props = _MetricOptions_1788b62f(
4343
4619
  account=account,
4344
4620
  color=color,
4345
4621
  dimensions_map=dimensions_map,
4622
+ id=id,
4346
4623
  label=label,
4347
4624
  period=period,
4348
4625
  region=region,
@@ -4350,6 +4627,7 @@ class Stream(
4350
4627
  stack_region=stack_region,
4351
4628
  statistic=statistic,
4352
4629
  unit=unit,
4630
+ visible=visible,
4353
4631
  )
4354
4632
 
4355
4633
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordsLatency", [props]))
@@ -4361,6 +4639,7 @@ class Stream(
4361
4639
  account: typing.Optional[builtins.str] = None,
4362
4640
  color: typing.Optional[builtins.str] = None,
4363
4641
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
4642
+ id: typing.Optional[builtins.str] = None,
4364
4643
  label: typing.Optional[builtins.str] = None,
4365
4644
  period: typing.Optional[_Duration_4839e8c3] = None,
4366
4645
  region: typing.Optional[builtins.str] = None,
@@ -4368,6 +4647,7 @@ class Stream(
4368
4647
  stack_region: typing.Optional[builtins.str] = None,
4369
4648
  statistic: typing.Optional[builtins.str] = None,
4370
4649
  unit: typing.Optional[_Unit_61bc6f70] = None,
4650
+ visible: typing.Optional[builtins.bool] = None,
4371
4651
  ) -> _Metric_e396a4dc:
4372
4652
  '''The number of PutRecords operations where at least one record succeeded, per Kinesis stream, measured over the specified time period.
4373
4653
 
@@ -4376,6 +4656,7 @@ class Stream(
4376
4656
  :param account: Account which this metric comes from. Default: - Deployment account.
4377
4657
  :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
4378
4658
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
4659
+ :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
4379
4660
  :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
4380
4661
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
4381
4662
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -4383,11 +4664,13 @@ class Stream(
4383
4664
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
4384
4665
  :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
4385
4666
  :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
4667
+ :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
4386
4668
  '''
4387
4669
  props = _MetricOptions_1788b62f(
4388
4670
  account=account,
4389
4671
  color=color,
4390
4672
  dimensions_map=dimensions_map,
4673
+ id=id,
4391
4674
  label=label,
4392
4675
  period=period,
4393
4676
  region=region,
@@ -4395,6 +4678,7 @@ class Stream(
4395
4678
  stack_region=stack_region,
4396
4679
  statistic=statistic,
4397
4680
  unit=unit,
4681
+ visible=visible,
4398
4682
  )
4399
4683
 
4400
4684
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordsSuccess", [props]))
@@ -4406,6 +4690,7 @@ class Stream(
4406
4690
  account: typing.Optional[builtins.str] = None,
4407
4691
  color: typing.Optional[builtins.str] = None,
4408
4692
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
4693
+ id: typing.Optional[builtins.str] = None,
4409
4694
  label: typing.Optional[builtins.str] = None,
4410
4695
  period: typing.Optional[_Duration_4839e8c3] = None,
4411
4696
  region: typing.Optional[builtins.str] = None,
@@ -4413,6 +4698,7 @@ class Stream(
4413
4698
  stack_region: typing.Optional[builtins.str] = None,
4414
4699
  statistic: typing.Optional[builtins.str] = None,
4415
4700
  unit: typing.Optional[_Unit_61bc6f70] = None,
4701
+ visible: typing.Optional[builtins.bool] = None,
4416
4702
  ) -> _Metric_e396a4dc:
4417
4703
  '''The number of successful records in a PutRecords operation per Kinesis data stream, measured over the specified time period.
4418
4704
 
@@ -4421,6 +4707,7 @@ class Stream(
4421
4707
  :param account: Account which this metric comes from. Default: - Deployment account.
4422
4708
  :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
4423
4709
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
4710
+ :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
4424
4711
  :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
4425
4712
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
4426
4713
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -4428,11 +4715,13 @@ class Stream(
4428
4715
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
4429
4716
  :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
4430
4717
  :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
4718
+ :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
4431
4719
  '''
4432
4720
  props = _MetricOptions_1788b62f(
4433
4721
  account=account,
4434
4722
  color=color,
4435
4723
  dimensions_map=dimensions_map,
4724
+ id=id,
4436
4725
  label=label,
4437
4726
  period=period,
4438
4727
  region=region,
@@ -4440,6 +4729,7 @@ class Stream(
4440
4729
  stack_region=stack_region,
4441
4730
  statistic=statistic,
4442
4731
  unit=unit,
4732
+ visible=visible,
4443
4733
  )
4444
4734
 
4445
4735
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordsSuccessfulRecords", [props]))
@@ -4451,6 +4741,7 @@ class Stream(
4451
4741
  account: typing.Optional[builtins.str] = None,
4452
4742
  color: typing.Optional[builtins.str] = None,
4453
4743
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
4744
+ id: typing.Optional[builtins.str] = None,
4454
4745
  label: typing.Optional[builtins.str] = None,
4455
4746
  period: typing.Optional[_Duration_4839e8c3] = None,
4456
4747
  region: typing.Optional[builtins.str] = None,
@@ -4458,6 +4749,7 @@ class Stream(
4458
4749
  stack_region: typing.Optional[builtins.str] = None,
4459
4750
  statistic: typing.Optional[builtins.str] = None,
4460
4751
  unit: typing.Optional[_Unit_61bc6f70] = None,
4752
+ visible: typing.Optional[builtins.bool] = None,
4461
4753
  ) -> _Metric_e396a4dc:
4462
4754
  '''The number of records rejected due to throttling in a PutRecords operation per Kinesis data stream, measured over the specified time period.
4463
4755
 
@@ -4466,6 +4758,7 @@ class Stream(
4466
4758
  :param account: Account which this metric comes from. Default: - Deployment account.
4467
4759
  :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
4468
4760
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
4761
+ :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
4469
4762
  :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
4470
4763
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
4471
4764
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -4473,11 +4766,13 @@ class Stream(
4473
4766
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
4474
4767
  :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
4475
4768
  :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
4769
+ :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
4476
4770
  '''
4477
4771
  props = _MetricOptions_1788b62f(
4478
4772
  account=account,
4479
4773
  color=color,
4480
4774
  dimensions_map=dimensions_map,
4775
+ id=id,
4481
4776
  label=label,
4482
4777
  period=period,
4483
4778
  region=region,
@@ -4485,6 +4780,7 @@ class Stream(
4485
4780
  stack_region=stack_region,
4486
4781
  statistic=statistic,
4487
4782
  unit=unit,
4783
+ visible=visible,
4488
4784
  )
4489
4785
 
4490
4786
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordsThrottledRecords", [props]))
@@ -4496,6 +4792,7 @@ class Stream(
4496
4792
  account: typing.Optional[builtins.str] = None,
4497
4793
  color: typing.Optional[builtins.str] = None,
4498
4794
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
4795
+ id: typing.Optional[builtins.str] = None,
4499
4796
  label: typing.Optional[builtins.str] = None,
4500
4797
  period: typing.Optional[_Duration_4839e8c3] = None,
4501
4798
  region: typing.Optional[builtins.str] = None,
@@ -4503,6 +4800,7 @@ class Stream(
4503
4800
  stack_region: typing.Optional[builtins.str] = None,
4504
4801
  statistic: typing.Optional[builtins.str] = None,
4505
4802
  unit: typing.Optional[_Unit_61bc6f70] = None,
4803
+ visible: typing.Optional[builtins.bool] = None,
4506
4804
  ) -> _Metric_e396a4dc:
4507
4805
  '''The total number of records sent in a PutRecords operation per Kinesis data stream, measured over the specified time period.
4508
4806
 
@@ -4511,6 +4809,7 @@ class Stream(
4511
4809
  :param account: Account which this metric comes from. Default: - Deployment account.
4512
4810
  :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
4513
4811
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
4812
+ :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
4514
4813
  :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
4515
4814
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
4516
4815
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -4518,11 +4817,13 @@ class Stream(
4518
4817
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
4519
4818
  :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
4520
4819
  :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
4820
+ :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
4521
4821
  '''
4522
4822
  props = _MetricOptions_1788b62f(
4523
4823
  account=account,
4524
4824
  color=color,
4525
4825
  dimensions_map=dimensions_map,
4826
+ id=id,
4526
4827
  label=label,
4527
4828
  period=period,
4528
4829
  region=region,
@@ -4530,6 +4831,7 @@ class Stream(
4530
4831
  stack_region=stack_region,
4531
4832
  statistic=statistic,
4532
4833
  unit=unit,
4834
+ visible=visible,
4533
4835
  )
4534
4836
 
4535
4837
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordsTotalRecords", [props]))
@@ -4541,6 +4843,7 @@ class Stream(
4541
4843
  account: typing.Optional[builtins.str] = None,
4542
4844
  color: typing.Optional[builtins.str] = None,
4543
4845
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
4846
+ id: typing.Optional[builtins.str] = None,
4544
4847
  label: typing.Optional[builtins.str] = None,
4545
4848
  period: typing.Optional[_Duration_4839e8c3] = None,
4546
4849
  region: typing.Optional[builtins.str] = None,
@@ -4548,6 +4851,7 @@ class Stream(
4548
4851
  stack_region: typing.Optional[builtins.str] = None,
4549
4852
  statistic: typing.Optional[builtins.str] = None,
4550
4853
  unit: typing.Optional[_Unit_61bc6f70] = None,
4854
+ visible: typing.Optional[builtins.bool] = None,
4551
4855
  ) -> _Metric_e396a4dc:
4552
4856
  '''The number of successful PutRecord operations per Kinesis stream, measured over the specified time period.
4553
4857
 
@@ -4559,6 +4863,7 @@ class Stream(
4559
4863
  :param account: Account which this metric comes from. Default: - Deployment account.
4560
4864
  :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
4561
4865
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
4866
+ :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
4562
4867
  :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
4563
4868
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
4564
4869
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -4566,11 +4871,13 @@ class Stream(
4566
4871
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
4567
4872
  :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
4568
4873
  :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
4874
+ :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
4569
4875
  '''
4570
4876
  props = _MetricOptions_1788b62f(
4571
4877
  account=account,
4572
4878
  color=color,
4573
4879
  dimensions_map=dimensions_map,
4880
+ id=id,
4574
4881
  label=label,
4575
4882
  period=period,
4576
4883
  region=region,
@@ -4578,6 +4885,7 @@ class Stream(
4578
4885
  stack_region=stack_region,
4579
4886
  statistic=statistic,
4580
4887
  unit=unit,
4888
+ visible=visible,
4581
4889
  )
4582
4890
 
4583
4891
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordSuccess", [props]))
@@ -4589,6 +4897,7 @@ class Stream(
4589
4897
  account: typing.Optional[builtins.str] = None,
4590
4898
  color: typing.Optional[builtins.str] = None,
4591
4899
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
4900
+ id: typing.Optional[builtins.str] = None,
4592
4901
  label: typing.Optional[builtins.str] = None,
4593
4902
  period: typing.Optional[_Duration_4839e8c3] = None,
4594
4903
  region: typing.Optional[builtins.str] = None,
@@ -4596,6 +4905,7 @@ class Stream(
4596
4905
  stack_region: typing.Optional[builtins.str] = None,
4597
4906
  statistic: typing.Optional[builtins.str] = None,
4598
4907
  unit: typing.Optional[_Unit_61bc6f70] = None,
4908
+ visible: typing.Optional[builtins.bool] = None,
4599
4909
  ) -> _Metric_e396a4dc:
4600
4910
  '''The number of GetRecords calls throttled for the stream over the specified time period.
4601
4911
 
@@ -4613,6 +4923,7 @@ class Stream(
4613
4923
  :param account: Account which this metric comes from. Default: - Deployment account.
4614
4924
  :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
4615
4925
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
4926
+ :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
4616
4927
  :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
4617
4928
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
4618
4929
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -4620,11 +4931,13 @@ class Stream(
4620
4931
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
4621
4932
  :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
4622
4933
  :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
4934
+ :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
4623
4935
  '''
4624
4936
  props = _MetricOptions_1788b62f(
4625
4937
  account=account,
4626
4938
  color=color,
4627
4939
  dimensions_map=dimensions_map,
4940
+ id=id,
4628
4941
  label=label,
4629
4942
  period=period,
4630
4943
  region=region,
@@ -4632,6 +4945,7 @@ class Stream(
4632
4945
  stack_region=stack_region,
4633
4946
  statistic=statistic,
4634
4947
  unit=unit,
4948
+ visible=visible,
4635
4949
  )
4636
4950
 
4637
4951
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricReadProvisionedThroughputExceeded", [props]))
@@ -4643,6 +4957,7 @@ class Stream(
4643
4957
  account: typing.Optional[builtins.str] = None,
4644
4958
  color: typing.Optional[builtins.str] = None,
4645
4959
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
4960
+ id: typing.Optional[builtins.str] = None,
4646
4961
  label: typing.Optional[builtins.str] = None,
4647
4962
  period: typing.Optional[_Duration_4839e8c3] = None,
4648
4963
  region: typing.Optional[builtins.str] = None,
@@ -4650,6 +4965,7 @@ class Stream(
4650
4965
  stack_region: typing.Optional[builtins.str] = None,
4651
4966
  statistic: typing.Optional[builtins.str] = None,
4652
4967
  unit: typing.Optional[_Unit_61bc6f70] = None,
4968
+ visible: typing.Optional[builtins.bool] = None,
4653
4969
  ) -> _Metric_e396a4dc:
4654
4970
  '''The number of records rejected due to throttling for the stream over the specified time period.
4655
4971
 
@@ -4667,6 +4983,7 @@ class Stream(
4667
4983
  :param account: Account which this metric comes from. Default: - Deployment account.
4668
4984
  :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
4669
4985
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
4986
+ :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
4670
4987
  :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
4671
4988
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
4672
4989
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -4674,11 +4991,13 @@ class Stream(
4674
4991
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
4675
4992
  :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
4676
4993
  :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
4994
+ :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
4677
4995
  '''
4678
4996
  props = _MetricOptions_1788b62f(
4679
4997
  account=account,
4680
4998
  color=color,
4681
4999
  dimensions_map=dimensions_map,
5000
+ id=id,
4682
5001
  label=label,
4683
5002
  period=period,
4684
5003
  region=region,
@@ -4686,6 +5005,7 @@ class Stream(
4686
5005
  stack_region=stack_region,
4687
5006
  statistic=statistic,
4688
5007
  unit=unit,
5008
+ visible=visible,
4689
5009
  )
4690
5010
 
4691
5011
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricWriteProvisionedThroughputExceeded", [props]))
@@ -5537,6 +5857,7 @@ def _typecheckingstub__bd578f4ca8facd0463f7e56d3d2cea7e56ba9ad274338af8f84fa661d
5537
5857
  account: typing.Optional[builtins.str] = None,
5538
5858
  color: typing.Optional[builtins.str] = None,
5539
5859
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
5860
+ id: typing.Optional[builtins.str] = None,
5540
5861
  label: typing.Optional[builtins.str] = None,
5541
5862
  period: typing.Optional[_Duration_4839e8c3] = None,
5542
5863
  region: typing.Optional[builtins.str] = None,
@@ -5544,6 +5865,7 @@ def _typecheckingstub__bd578f4ca8facd0463f7e56d3d2cea7e56ba9ad274338af8f84fa661d
5544
5865
  stack_region: typing.Optional[builtins.str] = None,
5545
5866
  statistic: typing.Optional[builtins.str] = None,
5546
5867
  unit: typing.Optional[_Unit_61bc6f70] = None,
5868
+ visible: typing.Optional[builtins.bool] = None,
5547
5869
  ) -> None:
5548
5870
  """Type checking stubs"""
5549
5871
  pass
@@ -5657,6 +5979,7 @@ def _typecheckingstub__c2a600a35f466b97cb6589291e1c140f381da66a0d5026de6030101a8
5657
5979
  account: typing.Optional[builtins.str] = None,
5658
5980
  color: typing.Optional[builtins.str] = None,
5659
5981
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
5982
+ id: typing.Optional[builtins.str] = None,
5660
5983
  label: typing.Optional[builtins.str] = None,
5661
5984
  period: typing.Optional[_Duration_4839e8c3] = None,
5662
5985
  region: typing.Optional[builtins.str] = None,
@@ -5664,6 +5987,7 @@ def _typecheckingstub__c2a600a35f466b97cb6589291e1c140f381da66a0d5026de6030101a8
5664
5987
  stack_region: typing.Optional[builtins.str] = None,
5665
5988
  statistic: typing.Optional[builtins.str] = None,
5666
5989
  unit: typing.Optional[_Unit_61bc6f70] = None,
5990
+ visible: typing.Optional[builtins.bool] = None,
5667
5991
  ) -> None:
5668
5992
  """Type checking stubs"""
5669
5993
  pass