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

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

Potentially problematic release.


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

Files changed (62) hide show
  1. aws_cdk/__init__.py +208 -92
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.203.1.jsii.tgz → aws-cdk-lib@2.205.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_aiops/__init__.py +89 -39
  5. aws_cdk/aws_apigateway/__init__.py +164 -0
  6. aws_cdk/aws_apigatewayv2/__init__.py +412 -0
  7. aws_cdk/aws_applicationautoscaling/__init__.py +2 -2
  8. aws_cdk/aws_arczonalshift/__init__.py +4 -1
  9. aws_cdk/aws_b2bi/__init__.py +32 -16
  10. aws_cdk/aws_bedrock/__init__.py +198 -10
  11. aws_cdk/aws_cassandra/__init__.py +156 -0
  12. aws_cdk/aws_certificatemanager/__init__.py +28 -0
  13. aws_cdk/aws_chatbot/__init__.py +28 -0
  14. aws_cdk/aws_cloudformation/__init__.py +74 -72
  15. aws_cdk/aws_cloudfront/__init__.py +1273 -485
  16. aws_cdk/aws_cloudfront/experimental/__init__.py +32 -0
  17. aws_cdk/aws_cloudfront_origins/__init__.py +26 -21
  18. aws_cdk/aws_cloudwatch/__init__.py +278 -23
  19. aws_cdk/aws_codebuild/__init__.py +300 -36
  20. aws_cdk/aws_datasync/__init__.py +2 -2
  21. aws_cdk/aws_docdb/__init__.py +78 -0
  22. aws_cdk/aws_dynamodb/__init__.py +523 -37
  23. aws_cdk/aws_ec2/__init__.py +126 -30
  24. aws_cdk/aws_ecs/__init__.py +64 -19
  25. aws_cdk/aws_elasticloadbalancingv2/__init__.py +724 -0
  26. aws_cdk/aws_elasticsearch/__init__.py +260 -0
  27. aws_cdk/aws_emrserverless/__init__.py +5 -5
  28. aws_cdk/aws_events/__init__.py +58 -3
  29. aws_cdk/aws_events_targets/__init__.py +7 -2
  30. aws_cdk/aws_evs/__init__.py +7 -7
  31. aws_cdk/aws_fsx/__init__.py +138 -78
  32. aws_cdk/aws_gamelift/__init__.py +19 -0
  33. aws_cdk/aws_glue/__init__.py +3 -3
  34. aws_cdk/aws_iot/__init__.py +1 -1
  35. aws_cdk/aws_kinesis/__init__.py +391 -13
  36. aws_cdk/aws_kinesisfirehose/__init__.py +128 -1
  37. aws_cdk/aws_lambda/__init__.py +144 -0
  38. aws_cdk/aws_lex/__init__.py +36 -19
  39. aws_cdk/aws_logs/__init__.py +58 -0
  40. aws_cdk/aws_neptune/__init__.py +12 -12
  41. aws_cdk/aws_odb/__init__.py +4049 -0
  42. aws_cdk/aws_omics/__init__.py +1 -1
  43. aws_cdk/aws_opensearchservice/__init__.py +260 -0
  44. aws_cdk/aws_qbusiness/__init__.py +471 -4
  45. aws_cdk/aws_quicksight/__init__.py +185 -16
  46. aws_cdk/aws_rds/__init__.py +553 -17
  47. aws_cdk/aws_redshiftserverless/__init__.py +72 -45
  48. aws_cdk/aws_route53/__init__.py +41 -19
  49. aws_cdk/aws_s3tables/__init__.py +1005 -0
  50. aws_cdk/aws_sagemaker/__init__.py +20 -0
  51. aws_cdk/aws_scheduler/__init__.py +210 -0
  52. aws_cdk/aws_sns/__init__.py +164 -0
  53. aws_cdk/aws_sqs/__init__.py +164 -0
  54. aws_cdk/aws_stepfunctions/__init__.py +288 -0
  55. aws_cdk/aws_synthetics/__init__.py +159 -37
  56. aws_cdk/aws_transfer/__init__.py +23 -1
  57. {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.205.0.dist-info}/METADATA +2 -2
  58. {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.205.0.dist-info}/RECORD +62 -61
  59. {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.205.0.dist-info}/LICENSE +0 -0
  60. {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.205.0.dist-info}/NOTICE +0 -0
  61. {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.205.0.dist-info}/WHEEL +0 -0
  62. {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.205.0.dist-info}/top_level.txt +0 -0
@@ -342,6 +342,7 @@ from .. import (
342
342
  IResolvable as _IResolvable_da3f097b,
343
343
  IResource as _IResource_c80c4260,
344
344
  ITaggable as _ITaggable_36806126,
345
+ ITaggableV2 as _ITaggableV2_4e6798f8,
345
346
  RemovalPolicy as _RemovalPolicy_9f93c814,
346
347
  Resource as _Resource_45bc6135,
347
348
  TagManager as _TagManager_0a598cb3,
@@ -938,7 +939,7 @@ class CfnStream(
938
939
  )
939
940
 
940
941
 
941
- @jsii.implements(_IInspectable_c2943556)
942
+ @jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
942
943
  class CfnStreamConsumer(
943
944
  _CfnResource_9df397a6,
944
945
  metaclass=jsii.JSIIMeta,
@@ -964,7 +965,13 @@ class CfnStreamConsumer(
964
965
 
965
966
  cfn_stream_consumer = kinesis.CfnStreamConsumer(self, "MyCfnStreamConsumer",
966
967
  consumer_name="consumerName",
967
- stream_arn="streamArn"
968
+ stream_arn="streamArn",
969
+
970
+ # the properties below are optional
971
+ tags=[CfnTag(
972
+ key="key",
973
+ value="value"
974
+ )]
968
975
  )
969
976
  '''
970
977
 
@@ -975,19 +982,21 @@ class CfnStreamConsumer(
975
982
  *,
976
983
  consumer_name: builtins.str,
977
984
  stream_arn: builtins.str,
985
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
978
986
  ) -> None:
979
987
  '''
980
988
  :param scope: Scope in which this resource is defined.
981
989
  :param id: Construct identifier for this resource (unique in its scope).
982
990
  :param consumer_name: The name of the consumer is something you choose when you register the consumer.
983
991
  :param stream_arn: The ARN of the stream with which you registered the consumer.
992
+ :param tags: An array of tags to be added to a specified Kinesis resource. A tag consists of a required key and an optional value. You can specify up to 50 tag key-value pairs.
984
993
  '''
985
994
  if __debug__:
986
995
  type_hints = typing.get_type_hints(_typecheckingstub__40129c585ad941f6708a726728b53f8f98c392e9aac49550e397150ee353888f)
987
996
  check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
988
997
  check_type(argname="argument id", value=id, expected_type=type_hints["id"])
989
998
  props = CfnStreamConsumerProps(
990
- consumer_name=consumer_name, stream_arn=stream_arn
999
+ consumer_name=consumer_name, stream_arn=stream_arn, tags=tags
991
1000
  )
992
1001
 
993
1002
  jsii.create(self.__class__, self, [scope, id, props])
@@ -1062,14 +1071,6 @@ class CfnStreamConsumer(
1062
1071
  '''
1063
1072
  return typing.cast(builtins.str, jsii.get(self, "attrConsumerStatus"))
1064
1073
 
1065
- @builtins.property
1066
- @jsii.member(jsii_name="attrId")
1067
- def attr_id(self) -> builtins.str:
1068
- '''
1069
- :cloudformationAttribute: Id
1070
- '''
1071
- return typing.cast(builtins.str, jsii.get(self, "attrId"))
1072
-
1073
1074
  @builtins.property
1074
1075
  @jsii.member(jsii_name="attrStreamArn")
1075
1076
  def attr_stream_arn(self) -> builtins.str:
@@ -1079,6 +1080,12 @@ class CfnStreamConsumer(
1079
1080
  '''
1080
1081
  return typing.cast(builtins.str, jsii.get(self, "attrStreamArn"))
1081
1082
 
1083
+ @builtins.property
1084
+ @jsii.member(jsii_name="cdkTagManager")
1085
+ def cdk_tag_manager(self) -> _TagManager_0a598cb3:
1086
+ '''Tag Manager which manages the tags for this resource.'''
1087
+ return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
1088
+
1082
1089
  @builtins.property
1083
1090
  @jsii.member(jsii_name="cfnProperties")
1084
1091
  def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
@@ -1110,11 +1117,28 @@ class CfnStreamConsumer(
1110
1117
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1111
1118
  jsii.set(self, "streamArn", value) # pyright: ignore[reportArgumentType]
1112
1119
 
1120
+ @builtins.property
1121
+ @jsii.member(jsii_name="tags")
1122
+ def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
1123
+ '''An array of tags to be added to a specified Kinesis resource.'''
1124
+ return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
1125
+
1126
+ @tags.setter
1127
+ def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
1128
+ if __debug__:
1129
+ type_hints = typing.get_type_hints(_typecheckingstub__741a97d9ae28403dd10b071c7777bb76448096ad2b30f06325c121d8271174db)
1130
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1131
+ jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
1132
+
1113
1133
 
1114
1134
  @jsii.data_type(
1115
1135
  jsii_type="aws-cdk-lib.aws_kinesis.CfnStreamConsumerProps",
1116
1136
  jsii_struct_bases=[],
1117
- name_mapping={"consumer_name": "consumerName", "stream_arn": "streamArn"},
1137
+ name_mapping={
1138
+ "consumer_name": "consumerName",
1139
+ "stream_arn": "streamArn",
1140
+ "tags": "tags",
1141
+ },
1118
1142
  )
1119
1143
  class CfnStreamConsumerProps:
1120
1144
  def __init__(
@@ -1122,11 +1146,13 @@ class CfnStreamConsumerProps:
1122
1146
  *,
1123
1147
  consumer_name: builtins.str,
1124
1148
  stream_arn: builtins.str,
1149
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
1125
1150
  ) -> None:
1126
1151
  '''Properties for defining a ``CfnStreamConsumer``.
1127
1152
 
1128
1153
  :param consumer_name: The name of the consumer is something you choose when you register the consumer.
1129
1154
  :param stream_arn: The ARN of the stream with which you registered the consumer.
1155
+ :param tags: An array of tags to be added to a specified Kinesis resource. A tag consists of a required key and an optional value. You can specify up to 50 tag key-value pairs.
1130
1156
 
1131
1157
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesis-streamconsumer.html
1132
1158
  :exampleMetadata: fixture=_generated
@@ -1139,17 +1165,26 @@ class CfnStreamConsumerProps:
1139
1165
 
1140
1166
  cfn_stream_consumer_props = kinesis.CfnStreamConsumerProps(
1141
1167
  consumer_name="consumerName",
1142
- stream_arn="streamArn"
1168
+ stream_arn="streamArn",
1169
+
1170
+ # the properties below are optional
1171
+ tags=[CfnTag(
1172
+ key="key",
1173
+ value="value"
1174
+ )]
1143
1175
  )
1144
1176
  '''
1145
1177
  if __debug__:
1146
1178
  type_hints = typing.get_type_hints(_typecheckingstub__04af0c0cee5710afdb7b50f59ef3686da8bba1bf2ed3a56c1e5209c6859bca6f)
1147
1179
  check_type(argname="argument consumer_name", value=consumer_name, expected_type=type_hints["consumer_name"])
1148
1180
  check_type(argname="argument stream_arn", value=stream_arn, expected_type=type_hints["stream_arn"])
1181
+ check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
1149
1182
  self._values: typing.Dict[builtins.str, typing.Any] = {
1150
1183
  "consumer_name": consumer_name,
1151
1184
  "stream_arn": stream_arn,
1152
1185
  }
1186
+ if tags is not None:
1187
+ self._values["tags"] = tags
1153
1188
 
1154
1189
  @builtins.property
1155
1190
  def consumer_name(self) -> builtins.str:
@@ -1171,6 +1206,17 @@ class CfnStreamConsumerProps:
1171
1206
  assert result is not None, "Required property 'stream_arn' is missing"
1172
1207
  return typing.cast(builtins.str, result)
1173
1208
 
1209
+ @builtins.property
1210
+ def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
1211
+ '''An array of tags to be added to a specified Kinesis resource.
1212
+
1213
+ A tag consists of a required key and an optional value. You can specify up to 50 tag key-value pairs.
1214
+
1215
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesis-streamconsumer.html#cfn-kinesis-streamconsumer-tags
1216
+ '''
1217
+ result = self._values.get("tags")
1218
+ return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
1219
+
1174
1220
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
1175
1221
  return isinstance(rhs, self.__class__) and rhs._values == self._values
1176
1222
 
@@ -1460,6 +1506,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1460
1506
  account: typing.Optional[builtins.str] = None,
1461
1507
  color: typing.Optional[builtins.str] = None,
1462
1508
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
1509
+ id: typing.Optional[builtins.str] = None,
1463
1510
  label: typing.Optional[builtins.str] = None,
1464
1511
  period: typing.Optional[_Duration_4839e8c3] = None,
1465
1512
  region: typing.Optional[builtins.str] = None,
@@ -1467,6 +1514,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1467
1514
  stack_region: typing.Optional[builtins.str] = None,
1468
1515
  statistic: typing.Optional[builtins.str] = None,
1469
1516
  unit: typing.Optional[_Unit_61bc6f70] = None,
1517
+ visible: typing.Optional[builtins.bool] = None,
1470
1518
  ) -> _Metric_e396a4dc:
1471
1519
  '''Return stream metric based from its metric name.
1472
1520
 
@@ -1474,6 +1522,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1474
1522
  :param account: Account which this metric comes from. Default: - Deployment account.
1475
1523
  :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
1524
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
1525
+ :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
1526
  :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
1527
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
1479
1528
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -1481,6 +1530,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1481
1530
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
1482
1531
  :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
1532
  :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
1533
+ :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
1534
  '''
1485
1535
  ...
1486
1536
 
@@ -1491,6 +1541,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1491
1541
  account: typing.Optional[builtins.str] = None,
1492
1542
  color: typing.Optional[builtins.str] = None,
1493
1543
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
1544
+ id: typing.Optional[builtins.str] = None,
1494
1545
  label: typing.Optional[builtins.str] = None,
1495
1546
  period: typing.Optional[_Duration_4839e8c3] = None,
1496
1547
  region: typing.Optional[builtins.str] = None,
@@ -1498,6 +1549,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1498
1549
  stack_region: typing.Optional[builtins.str] = None,
1499
1550
  statistic: typing.Optional[builtins.str] = None,
1500
1551
  unit: typing.Optional[_Unit_61bc6f70] = None,
1552
+ visible: typing.Optional[builtins.bool] = None,
1501
1553
  ) -> _Metric_e396a4dc:
1502
1554
  '''The number of records retrieved from the shard, measured over the specified time period.
1503
1555
 
@@ -1510,6 +1562,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1510
1562
  :param account: Account which this metric comes from. Default: - Deployment account.
1511
1563
  :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
1564
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
1565
+ :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
1566
  :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
1567
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
1515
1568
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -1517,6 +1570,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1517
1570
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
1518
1571
  :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
1572
  :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
1573
+ :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
1574
  '''
1521
1575
  ...
1522
1576
 
@@ -1527,6 +1581,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1527
1581
  account: typing.Optional[builtins.str] = None,
1528
1582
  color: typing.Optional[builtins.str] = None,
1529
1583
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
1584
+ id: typing.Optional[builtins.str] = None,
1530
1585
  label: typing.Optional[builtins.str] = None,
1531
1586
  period: typing.Optional[_Duration_4839e8c3] = None,
1532
1587
  region: typing.Optional[builtins.str] = None,
@@ -1534,6 +1589,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1534
1589
  stack_region: typing.Optional[builtins.str] = None,
1535
1590
  statistic: typing.Optional[builtins.str] = None,
1536
1591
  unit: typing.Optional[_Unit_61bc6f70] = None,
1592
+ visible: typing.Optional[builtins.bool] = None,
1537
1593
  ) -> _Metric_e396a4dc:
1538
1594
  '''The number of bytes retrieved from the Kinesis stream, measured over the specified time period.
1539
1595
 
@@ -1546,6 +1602,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1546
1602
  :param account: Account which this metric comes from. Default: - Deployment account.
1547
1603
  :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
1604
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
1605
+ :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
1606
  :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
1607
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
1551
1608
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -1553,6 +1610,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1553
1610
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
1554
1611
  :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
1612
  :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
1613
+ :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
1614
  '''
1557
1615
  ...
1558
1616
 
@@ -1563,6 +1621,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1563
1621
  account: typing.Optional[builtins.str] = None,
1564
1622
  color: typing.Optional[builtins.str] = None,
1565
1623
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
1624
+ id: typing.Optional[builtins.str] = None,
1566
1625
  label: typing.Optional[builtins.str] = None,
1567
1626
  period: typing.Optional[_Duration_4839e8c3] = None,
1568
1627
  region: typing.Optional[builtins.str] = None,
@@ -1570,6 +1629,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1570
1629
  stack_region: typing.Optional[builtins.str] = None,
1571
1630
  statistic: typing.Optional[builtins.str] = None,
1572
1631
  unit: typing.Optional[_Unit_61bc6f70] = None,
1632
+ visible: typing.Optional[builtins.bool] = None,
1573
1633
  ) -> _Metric_e396a4dc:
1574
1634
  '''The age of the last record in all GetRecords calls made against a Kinesis stream, measured over the specified time period.
1575
1635
 
@@ -1582,6 +1642,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1582
1642
  :param account: Account which this metric comes from. Default: - Deployment account.
1583
1643
  :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
1644
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
1645
+ :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
1646
  :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
1647
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
1587
1648
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -1589,6 +1650,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1589
1650
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
1590
1651
  :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
1652
  :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
1653
+ :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
1654
  '''
1593
1655
  ...
1594
1656
 
@@ -1599,6 +1661,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1599
1661
  account: typing.Optional[builtins.str] = None,
1600
1662
  color: typing.Optional[builtins.str] = None,
1601
1663
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
1664
+ id: typing.Optional[builtins.str] = None,
1602
1665
  label: typing.Optional[builtins.str] = None,
1603
1666
  period: typing.Optional[_Duration_4839e8c3] = None,
1604
1667
  region: typing.Optional[builtins.str] = None,
@@ -1606,6 +1669,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1606
1669
  stack_region: typing.Optional[builtins.str] = None,
1607
1670
  statistic: typing.Optional[builtins.str] = None,
1608
1671
  unit: typing.Optional[_Unit_61bc6f70] = None,
1672
+ visible: typing.Optional[builtins.bool] = None,
1609
1673
  ) -> _Metric_e396a4dc:
1610
1674
  '''The time taken per GetRecords operation, measured over the specified time period.
1611
1675
 
@@ -1614,6 +1678,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1614
1678
  :param account: Account which this metric comes from. Default: - Deployment account.
1615
1679
  :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
1680
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
1681
+ :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
1682
  :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
1683
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
1619
1684
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -1621,6 +1686,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1621
1686
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
1622
1687
  :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
1688
  :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
1689
+ :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
1690
  '''
1625
1691
  ...
1626
1692
 
@@ -1631,6 +1697,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1631
1697
  account: typing.Optional[builtins.str] = None,
1632
1698
  color: typing.Optional[builtins.str] = None,
1633
1699
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
1700
+ id: typing.Optional[builtins.str] = None,
1634
1701
  label: typing.Optional[builtins.str] = None,
1635
1702
  period: typing.Optional[_Duration_4839e8c3] = None,
1636
1703
  region: typing.Optional[builtins.str] = None,
@@ -1638,6 +1705,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1638
1705
  stack_region: typing.Optional[builtins.str] = None,
1639
1706
  statistic: typing.Optional[builtins.str] = None,
1640
1707
  unit: typing.Optional[_Unit_61bc6f70] = None,
1708
+ visible: typing.Optional[builtins.bool] = None,
1641
1709
  ) -> _Metric_e396a4dc:
1642
1710
  '''The number of successful GetRecords operations per stream, measured over the specified time period.
1643
1711
 
@@ -1646,6 +1714,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1646
1714
  :param account: Account which this metric comes from. Default: - Deployment account.
1647
1715
  :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
1716
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
1717
+ :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
1718
  :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
1719
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
1651
1720
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -1653,6 +1722,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1653
1722
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
1654
1723
  :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
1724
  :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
1725
+ :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
1726
  '''
1657
1727
  ...
1658
1728
 
@@ -1663,6 +1733,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1663
1733
  account: typing.Optional[builtins.str] = None,
1664
1734
  color: typing.Optional[builtins.str] = None,
1665
1735
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
1736
+ id: typing.Optional[builtins.str] = None,
1666
1737
  label: typing.Optional[builtins.str] = None,
1667
1738
  period: typing.Optional[_Duration_4839e8c3] = None,
1668
1739
  region: typing.Optional[builtins.str] = None,
@@ -1670,6 +1741,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1670
1741
  stack_region: typing.Optional[builtins.str] = None,
1671
1742
  statistic: typing.Optional[builtins.str] = None,
1672
1743
  unit: typing.Optional[_Unit_61bc6f70] = None,
1744
+ visible: typing.Optional[builtins.bool] = None,
1673
1745
  ) -> _Metric_e396a4dc:
1674
1746
  '''The number of bytes successfully put to the Kinesis stream over the specified time period.
1675
1747
 
@@ -1682,6 +1754,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1682
1754
  :param account: Account which this metric comes from. Default: - Deployment account.
1683
1755
  :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
1756
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
1757
+ :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
1758
  :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
1759
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
1687
1760
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -1689,6 +1762,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1689
1762
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
1690
1763
  :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
1764
  :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
1765
+ :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
1766
  '''
1693
1767
  ...
1694
1768
 
@@ -1699,6 +1773,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1699
1773
  account: typing.Optional[builtins.str] = None,
1700
1774
  color: typing.Optional[builtins.str] = None,
1701
1775
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
1776
+ id: typing.Optional[builtins.str] = None,
1702
1777
  label: typing.Optional[builtins.str] = None,
1703
1778
  period: typing.Optional[_Duration_4839e8c3] = None,
1704
1779
  region: typing.Optional[builtins.str] = None,
@@ -1706,6 +1781,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1706
1781
  stack_region: typing.Optional[builtins.str] = None,
1707
1782
  statistic: typing.Optional[builtins.str] = None,
1708
1783
  unit: typing.Optional[_Unit_61bc6f70] = None,
1784
+ visible: typing.Optional[builtins.bool] = None,
1709
1785
  ) -> _Metric_e396a4dc:
1710
1786
  '''The number of records successfully put to the Kinesis stream over the specified time period.
1711
1787
 
@@ -1718,6 +1794,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1718
1794
  :param account: Account which this metric comes from. Default: - Deployment account.
1719
1795
  :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
1796
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
1797
+ :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
1798
  :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
1799
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
1723
1800
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -1725,6 +1802,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1725
1802
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
1726
1803
  :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
1804
  :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
1805
+ :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
1806
  '''
1729
1807
  ...
1730
1808
 
@@ -1735,6 +1813,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1735
1813
  account: typing.Optional[builtins.str] = None,
1736
1814
  color: typing.Optional[builtins.str] = None,
1737
1815
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
1816
+ id: typing.Optional[builtins.str] = None,
1738
1817
  label: typing.Optional[builtins.str] = None,
1739
1818
  period: typing.Optional[_Duration_4839e8c3] = None,
1740
1819
  region: typing.Optional[builtins.str] = None,
@@ -1742,6 +1821,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1742
1821
  stack_region: typing.Optional[builtins.str] = None,
1743
1822
  statistic: typing.Optional[builtins.str] = None,
1744
1823
  unit: typing.Optional[_Unit_61bc6f70] = None,
1824
+ visible: typing.Optional[builtins.bool] = None,
1745
1825
  ) -> _Metric_e396a4dc:
1746
1826
  '''The number of bytes put to the Kinesis stream using the PutRecord operation over the specified time period.
1747
1827
 
@@ -1750,6 +1830,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1750
1830
  :param account: Account which this metric comes from. Default: - Deployment account.
1751
1831
  :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
1832
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
1833
+ :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
1834
  :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
1835
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
1755
1836
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -1757,6 +1838,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1757
1838
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
1758
1839
  :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
1840
  :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
1841
+ :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
1842
  '''
1761
1843
  ...
1762
1844
 
@@ -1767,6 +1849,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1767
1849
  account: typing.Optional[builtins.str] = None,
1768
1850
  color: typing.Optional[builtins.str] = None,
1769
1851
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
1852
+ id: typing.Optional[builtins.str] = None,
1770
1853
  label: typing.Optional[builtins.str] = None,
1771
1854
  period: typing.Optional[_Duration_4839e8c3] = None,
1772
1855
  region: typing.Optional[builtins.str] = None,
@@ -1774,6 +1857,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1774
1857
  stack_region: typing.Optional[builtins.str] = None,
1775
1858
  statistic: typing.Optional[builtins.str] = None,
1776
1859
  unit: typing.Optional[_Unit_61bc6f70] = None,
1860
+ visible: typing.Optional[builtins.bool] = None,
1777
1861
  ) -> _Metric_e396a4dc:
1778
1862
  '''The time taken per PutRecord operation, measured over the specified time period.
1779
1863
 
@@ -1782,6 +1866,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1782
1866
  :param account: Account which this metric comes from. Default: - Deployment account.
1783
1867
  :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
1868
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
1869
+ :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
1870
  :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
1871
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
1787
1872
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -1789,6 +1874,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1789
1874
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
1790
1875
  :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
1876
  :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
1877
+ :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
1878
  '''
1793
1879
  ...
1794
1880
 
@@ -1799,6 +1885,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1799
1885
  account: typing.Optional[builtins.str] = None,
1800
1886
  color: typing.Optional[builtins.str] = None,
1801
1887
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
1888
+ id: typing.Optional[builtins.str] = None,
1802
1889
  label: typing.Optional[builtins.str] = None,
1803
1890
  period: typing.Optional[_Duration_4839e8c3] = None,
1804
1891
  region: typing.Optional[builtins.str] = None,
@@ -1806,6 +1893,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1806
1893
  stack_region: typing.Optional[builtins.str] = None,
1807
1894
  statistic: typing.Optional[builtins.str] = None,
1808
1895
  unit: typing.Optional[_Unit_61bc6f70] = None,
1896
+ visible: typing.Optional[builtins.bool] = None,
1809
1897
  ) -> _Metric_e396a4dc:
1810
1898
  '''The number of bytes put to the Kinesis stream using the PutRecords operation over the specified time period.
1811
1899
 
@@ -1814,6 +1902,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1814
1902
  :param account: Account which this metric comes from. Default: - Deployment account.
1815
1903
  :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
1904
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
1905
+ :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
1906
  :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
1907
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
1819
1908
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -1821,6 +1910,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1821
1910
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
1822
1911
  :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
1912
  :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
1913
+ :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
1914
  '''
1825
1915
  ...
1826
1916
 
@@ -1831,6 +1921,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1831
1921
  account: typing.Optional[builtins.str] = None,
1832
1922
  color: typing.Optional[builtins.str] = None,
1833
1923
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
1924
+ id: typing.Optional[builtins.str] = None,
1834
1925
  label: typing.Optional[builtins.str] = None,
1835
1926
  period: typing.Optional[_Duration_4839e8c3] = None,
1836
1927
  region: typing.Optional[builtins.str] = None,
@@ -1838,6 +1929,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1838
1929
  stack_region: typing.Optional[builtins.str] = None,
1839
1930
  statistic: typing.Optional[builtins.str] = None,
1840
1931
  unit: typing.Optional[_Unit_61bc6f70] = None,
1932
+ visible: typing.Optional[builtins.bool] = None,
1841
1933
  ) -> _Metric_e396a4dc:
1842
1934
  '''The number of records rejected due to internal failures in a PutRecords operation per Kinesis data stream, measured over the specified time period.
1843
1935
 
@@ -1848,6 +1940,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1848
1940
  :param account: Account which this metric comes from. Default: - Deployment account.
1849
1941
  :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
1942
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
1943
+ :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
1944
  :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
1945
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
1853
1946
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -1855,6 +1948,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1855
1948
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
1856
1949
  :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
1950
  :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
1951
+ :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
1952
  '''
1859
1953
  ...
1860
1954
 
@@ -1865,6 +1959,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1865
1959
  account: typing.Optional[builtins.str] = None,
1866
1960
  color: typing.Optional[builtins.str] = None,
1867
1961
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
1962
+ id: typing.Optional[builtins.str] = None,
1868
1963
  label: typing.Optional[builtins.str] = None,
1869
1964
  period: typing.Optional[_Duration_4839e8c3] = None,
1870
1965
  region: typing.Optional[builtins.str] = None,
@@ -1872,6 +1967,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1872
1967
  stack_region: typing.Optional[builtins.str] = None,
1873
1968
  statistic: typing.Optional[builtins.str] = None,
1874
1969
  unit: typing.Optional[_Unit_61bc6f70] = None,
1970
+ visible: typing.Optional[builtins.bool] = None,
1875
1971
  ) -> _Metric_e396a4dc:
1876
1972
  '''The time taken per PutRecords operation, measured over the specified time period.
1877
1973
 
@@ -1880,6 +1976,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1880
1976
  :param account: Account which this metric comes from. Default: - Deployment account.
1881
1977
  :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
1978
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
1979
+ :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
1980
  :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
1981
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
1885
1982
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -1887,6 +1984,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1887
1984
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
1888
1985
  :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
1986
  :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
1987
+ :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
1988
  '''
1891
1989
  ...
1892
1990
 
@@ -1897,6 +1995,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1897
1995
  account: typing.Optional[builtins.str] = None,
1898
1996
  color: typing.Optional[builtins.str] = None,
1899
1997
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
1998
+ id: typing.Optional[builtins.str] = None,
1900
1999
  label: typing.Optional[builtins.str] = None,
1901
2000
  period: typing.Optional[_Duration_4839e8c3] = None,
1902
2001
  region: typing.Optional[builtins.str] = None,
@@ -1904,6 +2003,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1904
2003
  stack_region: typing.Optional[builtins.str] = None,
1905
2004
  statistic: typing.Optional[builtins.str] = None,
1906
2005
  unit: typing.Optional[_Unit_61bc6f70] = None,
2006
+ visible: typing.Optional[builtins.bool] = None,
1907
2007
  ) -> _Metric_e396a4dc:
1908
2008
  '''The number of PutRecords operations where at least one record succeeded, per Kinesis stream, measured over the specified time period.
1909
2009
 
@@ -1912,6 +2012,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1912
2012
  :param account: Account which this metric comes from. Default: - Deployment account.
1913
2013
  :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
2014
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2015
+ :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
2016
  :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
2017
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
1917
2018
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -1919,6 +2020,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1919
2020
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
1920
2021
  :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
2022
  :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
2023
+ :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
2024
  '''
1923
2025
  ...
1924
2026
 
@@ -1929,6 +2031,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1929
2031
  account: typing.Optional[builtins.str] = None,
1930
2032
  color: typing.Optional[builtins.str] = None,
1931
2033
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2034
+ id: typing.Optional[builtins.str] = None,
1932
2035
  label: typing.Optional[builtins.str] = None,
1933
2036
  period: typing.Optional[_Duration_4839e8c3] = None,
1934
2037
  region: typing.Optional[builtins.str] = None,
@@ -1936,6 +2039,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1936
2039
  stack_region: typing.Optional[builtins.str] = None,
1937
2040
  statistic: typing.Optional[builtins.str] = None,
1938
2041
  unit: typing.Optional[_Unit_61bc6f70] = None,
2042
+ visible: typing.Optional[builtins.bool] = None,
1939
2043
  ) -> _Metric_e396a4dc:
1940
2044
  '''The number of successful records in a PutRecords operation per Kinesis data stream, measured over the specified time period.
1941
2045
 
@@ -1944,6 +2048,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1944
2048
  :param account: Account which this metric comes from. Default: - Deployment account.
1945
2049
  :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
2050
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2051
+ :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
2052
  :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
2053
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
1949
2054
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -1951,6 +2056,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1951
2056
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
1952
2057
  :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
2058
  :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
2059
+ :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
2060
  '''
1955
2061
  ...
1956
2062
 
@@ -1961,6 +2067,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1961
2067
  account: typing.Optional[builtins.str] = None,
1962
2068
  color: typing.Optional[builtins.str] = None,
1963
2069
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2070
+ id: typing.Optional[builtins.str] = None,
1964
2071
  label: typing.Optional[builtins.str] = None,
1965
2072
  period: typing.Optional[_Duration_4839e8c3] = None,
1966
2073
  region: typing.Optional[builtins.str] = None,
@@ -1968,6 +2075,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1968
2075
  stack_region: typing.Optional[builtins.str] = None,
1969
2076
  statistic: typing.Optional[builtins.str] = None,
1970
2077
  unit: typing.Optional[_Unit_61bc6f70] = None,
2078
+ visible: typing.Optional[builtins.bool] = None,
1971
2079
  ) -> _Metric_e396a4dc:
1972
2080
  '''The number of records rejected due to throttling in a PutRecords operation per Kinesis data stream, measured over the specified time period.
1973
2081
 
@@ -1976,6 +2084,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1976
2084
  :param account: Account which this metric comes from. Default: - Deployment account.
1977
2085
  :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
2086
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2087
+ :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
2088
  :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
2089
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
1981
2090
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -1983,6 +2092,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1983
2092
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
1984
2093
  :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
2094
  :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
2095
+ :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
2096
  '''
1987
2097
  ...
1988
2098
 
@@ -1993,6 +2103,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1993
2103
  account: typing.Optional[builtins.str] = None,
1994
2104
  color: typing.Optional[builtins.str] = None,
1995
2105
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2106
+ id: typing.Optional[builtins.str] = None,
1996
2107
  label: typing.Optional[builtins.str] = None,
1997
2108
  period: typing.Optional[_Duration_4839e8c3] = None,
1998
2109
  region: typing.Optional[builtins.str] = None,
@@ -2000,6 +2111,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
2000
2111
  stack_region: typing.Optional[builtins.str] = None,
2001
2112
  statistic: typing.Optional[builtins.str] = None,
2002
2113
  unit: typing.Optional[_Unit_61bc6f70] = None,
2114
+ visible: typing.Optional[builtins.bool] = None,
2003
2115
  ) -> _Metric_e396a4dc:
2004
2116
  '''The total number of records sent in a PutRecords operation per Kinesis data stream, measured over the specified time period.
2005
2117
 
@@ -2008,6 +2120,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
2008
2120
  :param account: Account which this metric comes from. Default: - Deployment account.
2009
2121
  :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
2122
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2123
+ :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
2124
  :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
2125
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2013
2126
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2015,6 +2128,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
2015
2128
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2016
2129
  :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
2130
  :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
2131
+ :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
2132
  '''
2019
2133
  ...
2020
2134
 
@@ -2025,6 +2139,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
2025
2139
  account: typing.Optional[builtins.str] = None,
2026
2140
  color: typing.Optional[builtins.str] = None,
2027
2141
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2142
+ id: typing.Optional[builtins.str] = None,
2028
2143
  label: typing.Optional[builtins.str] = None,
2029
2144
  period: typing.Optional[_Duration_4839e8c3] = None,
2030
2145
  region: typing.Optional[builtins.str] = None,
@@ -2032,6 +2147,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
2032
2147
  stack_region: typing.Optional[builtins.str] = None,
2033
2148
  statistic: typing.Optional[builtins.str] = None,
2034
2149
  unit: typing.Optional[_Unit_61bc6f70] = None,
2150
+ visible: typing.Optional[builtins.bool] = None,
2035
2151
  ) -> _Metric_e396a4dc:
2036
2152
  '''The number of successful PutRecord operations per Kinesis stream, measured over the specified time period.
2037
2153
 
@@ -2043,6 +2159,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
2043
2159
  :param account: Account which this metric comes from. Default: - Deployment account.
2044
2160
  :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
2161
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2162
+ :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
2163
  :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
2164
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2048
2165
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2050,6 +2167,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
2050
2167
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2051
2168
  :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
2169
  :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
2170
+ :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
2171
  '''
2054
2172
  ...
2055
2173
 
@@ -2060,6 +2178,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
2060
2178
  account: typing.Optional[builtins.str] = None,
2061
2179
  color: typing.Optional[builtins.str] = None,
2062
2180
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2181
+ id: typing.Optional[builtins.str] = None,
2063
2182
  label: typing.Optional[builtins.str] = None,
2064
2183
  period: typing.Optional[_Duration_4839e8c3] = None,
2065
2184
  region: typing.Optional[builtins.str] = None,
@@ -2067,6 +2186,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
2067
2186
  stack_region: typing.Optional[builtins.str] = None,
2068
2187
  statistic: typing.Optional[builtins.str] = None,
2069
2188
  unit: typing.Optional[_Unit_61bc6f70] = None,
2189
+ visible: typing.Optional[builtins.bool] = None,
2070
2190
  ) -> _Metric_e396a4dc:
2071
2191
  '''The number of GetRecords calls throttled for the stream over the specified time period.
2072
2192
 
@@ -2084,6 +2204,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
2084
2204
  :param account: Account which this metric comes from. Default: - Deployment account.
2085
2205
  :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
2206
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2207
+ :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
2208
  :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
2209
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2089
2210
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2091,6 +2212,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
2091
2212
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2092
2213
  :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
2214
  :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
2215
+ :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
2216
  '''
2095
2217
  ...
2096
2218
 
@@ -2101,6 +2223,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
2101
2223
  account: typing.Optional[builtins.str] = None,
2102
2224
  color: typing.Optional[builtins.str] = None,
2103
2225
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2226
+ id: typing.Optional[builtins.str] = None,
2104
2227
  label: typing.Optional[builtins.str] = None,
2105
2228
  period: typing.Optional[_Duration_4839e8c3] = None,
2106
2229
  region: typing.Optional[builtins.str] = None,
@@ -2108,6 +2231,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
2108
2231
  stack_region: typing.Optional[builtins.str] = None,
2109
2232
  statistic: typing.Optional[builtins.str] = None,
2110
2233
  unit: typing.Optional[_Unit_61bc6f70] = None,
2234
+ visible: typing.Optional[builtins.bool] = None,
2111
2235
  ) -> _Metric_e396a4dc:
2112
2236
  '''The number of records rejected due to throttling for the stream over the specified time period.
2113
2237
 
@@ -2125,6 +2249,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
2125
2249
  :param account: Account which this metric comes from. Default: - Deployment account.
2126
2250
  :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
2251
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2252
+ :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
2253
  :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
2254
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2130
2255
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2132,6 +2257,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
2132
2257
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2133
2258
  :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
2259
  :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
2260
+ :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
2261
  '''
2136
2262
  ...
2137
2263
 
@@ -2252,6 +2378,7 @@ class _IStreamProxy(
2252
2378
  account: typing.Optional[builtins.str] = None,
2253
2379
  color: typing.Optional[builtins.str] = None,
2254
2380
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2381
+ id: typing.Optional[builtins.str] = None,
2255
2382
  label: typing.Optional[builtins.str] = None,
2256
2383
  period: typing.Optional[_Duration_4839e8c3] = None,
2257
2384
  region: typing.Optional[builtins.str] = None,
@@ -2259,6 +2386,7 @@ class _IStreamProxy(
2259
2386
  stack_region: typing.Optional[builtins.str] = None,
2260
2387
  statistic: typing.Optional[builtins.str] = None,
2261
2388
  unit: typing.Optional[_Unit_61bc6f70] = None,
2389
+ visible: typing.Optional[builtins.bool] = None,
2262
2390
  ) -> _Metric_e396a4dc:
2263
2391
  '''Return stream metric based from its metric name.
2264
2392
 
@@ -2266,6 +2394,7 @@ class _IStreamProxy(
2266
2394
  :param account: Account which this metric comes from. Default: - Deployment account.
2267
2395
  :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
2396
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2397
+ :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
2398
  :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
2399
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2271
2400
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2273,6 +2402,7 @@ class _IStreamProxy(
2273
2402
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2274
2403
  :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
2404
  :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
2405
+ :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
2406
  '''
2277
2407
  if __debug__:
2278
2408
  type_hints = typing.get_type_hints(_typecheckingstub__bd578f4ca8facd0463f7e56d3d2cea7e56ba9ad274338af8f84fa661d088f98e)
@@ -2281,6 +2411,7 @@ class _IStreamProxy(
2281
2411
  account=account,
2282
2412
  color=color,
2283
2413
  dimensions_map=dimensions_map,
2414
+ id=id,
2284
2415
  label=label,
2285
2416
  period=period,
2286
2417
  region=region,
@@ -2288,6 +2419,7 @@ class _IStreamProxy(
2288
2419
  stack_region=stack_region,
2289
2420
  statistic=statistic,
2290
2421
  unit=unit,
2422
+ visible=visible,
2291
2423
  )
2292
2424
 
2293
2425
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metric", [metric_name, props]))
@@ -2299,6 +2431,7 @@ class _IStreamProxy(
2299
2431
  account: typing.Optional[builtins.str] = None,
2300
2432
  color: typing.Optional[builtins.str] = None,
2301
2433
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2434
+ id: typing.Optional[builtins.str] = None,
2302
2435
  label: typing.Optional[builtins.str] = None,
2303
2436
  period: typing.Optional[_Duration_4839e8c3] = None,
2304
2437
  region: typing.Optional[builtins.str] = None,
@@ -2306,6 +2439,7 @@ class _IStreamProxy(
2306
2439
  stack_region: typing.Optional[builtins.str] = None,
2307
2440
  statistic: typing.Optional[builtins.str] = None,
2308
2441
  unit: typing.Optional[_Unit_61bc6f70] = None,
2442
+ visible: typing.Optional[builtins.bool] = None,
2309
2443
  ) -> _Metric_e396a4dc:
2310
2444
  '''The number of records retrieved from the shard, measured over the specified time period.
2311
2445
 
@@ -2318,6 +2452,7 @@ class _IStreamProxy(
2318
2452
  :param account: Account which this metric comes from. Default: - Deployment account.
2319
2453
  :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
2454
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2455
+ :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
2456
  :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
2457
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2323
2458
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2325,11 +2460,13 @@ class _IStreamProxy(
2325
2460
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2326
2461
  :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
2462
  :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
2463
+ :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
2464
  '''
2329
2465
  props = _MetricOptions_1788b62f(
2330
2466
  account=account,
2331
2467
  color=color,
2332
2468
  dimensions_map=dimensions_map,
2469
+ id=id,
2333
2470
  label=label,
2334
2471
  period=period,
2335
2472
  region=region,
@@ -2337,6 +2474,7 @@ class _IStreamProxy(
2337
2474
  stack_region=stack_region,
2338
2475
  statistic=statistic,
2339
2476
  unit=unit,
2477
+ visible=visible,
2340
2478
  )
2341
2479
 
2342
2480
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricGetRecords", [props]))
@@ -2348,6 +2486,7 @@ class _IStreamProxy(
2348
2486
  account: typing.Optional[builtins.str] = None,
2349
2487
  color: typing.Optional[builtins.str] = None,
2350
2488
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2489
+ id: typing.Optional[builtins.str] = None,
2351
2490
  label: typing.Optional[builtins.str] = None,
2352
2491
  period: typing.Optional[_Duration_4839e8c3] = None,
2353
2492
  region: typing.Optional[builtins.str] = None,
@@ -2355,6 +2494,7 @@ class _IStreamProxy(
2355
2494
  stack_region: typing.Optional[builtins.str] = None,
2356
2495
  statistic: typing.Optional[builtins.str] = None,
2357
2496
  unit: typing.Optional[_Unit_61bc6f70] = None,
2497
+ visible: typing.Optional[builtins.bool] = None,
2358
2498
  ) -> _Metric_e396a4dc:
2359
2499
  '''The number of bytes retrieved from the Kinesis stream, measured over the specified time period.
2360
2500
 
@@ -2367,6 +2507,7 @@ class _IStreamProxy(
2367
2507
  :param account: Account which this metric comes from. Default: - Deployment account.
2368
2508
  :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
2509
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2510
+ :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
2511
  :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
2512
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2372
2513
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2374,11 +2515,13 @@ class _IStreamProxy(
2374
2515
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2375
2516
  :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
2517
  :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
2518
+ :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
2519
  '''
2378
2520
  props = _MetricOptions_1788b62f(
2379
2521
  account=account,
2380
2522
  color=color,
2381
2523
  dimensions_map=dimensions_map,
2524
+ id=id,
2382
2525
  label=label,
2383
2526
  period=period,
2384
2527
  region=region,
@@ -2386,6 +2529,7 @@ class _IStreamProxy(
2386
2529
  stack_region=stack_region,
2387
2530
  statistic=statistic,
2388
2531
  unit=unit,
2532
+ visible=visible,
2389
2533
  )
2390
2534
 
2391
2535
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricGetRecordsBytes", [props]))
@@ -2397,6 +2541,7 @@ class _IStreamProxy(
2397
2541
  account: typing.Optional[builtins.str] = None,
2398
2542
  color: typing.Optional[builtins.str] = None,
2399
2543
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2544
+ id: typing.Optional[builtins.str] = None,
2400
2545
  label: typing.Optional[builtins.str] = None,
2401
2546
  period: typing.Optional[_Duration_4839e8c3] = None,
2402
2547
  region: typing.Optional[builtins.str] = None,
@@ -2404,6 +2549,7 @@ class _IStreamProxy(
2404
2549
  stack_region: typing.Optional[builtins.str] = None,
2405
2550
  statistic: typing.Optional[builtins.str] = None,
2406
2551
  unit: typing.Optional[_Unit_61bc6f70] = None,
2552
+ visible: typing.Optional[builtins.bool] = None,
2407
2553
  ) -> _Metric_e396a4dc:
2408
2554
  '''The age of the last record in all GetRecords calls made against a Kinesis stream, measured over the specified time period.
2409
2555
 
@@ -2416,6 +2562,7 @@ class _IStreamProxy(
2416
2562
  :param account: Account which this metric comes from. Default: - Deployment account.
2417
2563
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
2418
2564
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2565
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
2419
2566
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
2420
2567
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2421
2568
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2423,11 +2570,13 @@ class _IStreamProxy(
2423
2570
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2424
2571
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
2425
2572
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
2573
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
2426
2574
  '''
2427
2575
  props = _MetricOptions_1788b62f(
2428
2576
  account=account,
2429
2577
  color=color,
2430
2578
  dimensions_map=dimensions_map,
2579
+ id=id,
2431
2580
  label=label,
2432
2581
  period=period,
2433
2582
  region=region,
@@ -2435,6 +2584,7 @@ class _IStreamProxy(
2435
2584
  stack_region=stack_region,
2436
2585
  statistic=statistic,
2437
2586
  unit=unit,
2587
+ visible=visible,
2438
2588
  )
2439
2589
 
2440
2590
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricGetRecordsIteratorAgeMilliseconds", [props]))
@@ -2446,6 +2596,7 @@ class _IStreamProxy(
2446
2596
  account: typing.Optional[builtins.str] = None,
2447
2597
  color: typing.Optional[builtins.str] = None,
2448
2598
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2599
+ id: typing.Optional[builtins.str] = None,
2449
2600
  label: typing.Optional[builtins.str] = None,
2450
2601
  period: typing.Optional[_Duration_4839e8c3] = None,
2451
2602
  region: typing.Optional[builtins.str] = None,
@@ -2453,6 +2604,7 @@ class _IStreamProxy(
2453
2604
  stack_region: typing.Optional[builtins.str] = None,
2454
2605
  statistic: typing.Optional[builtins.str] = None,
2455
2606
  unit: typing.Optional[_Unit_61bc6f70] = None,
2607
+ visible: typing.Optional[builtins.bool] = None,
2456
2608
  ) -> _Metric_e396a4dc:
2457
2609
  '''The time taken per GetRecords operation, measured over the specified time period.
2458
2610
 
@@ -2461,6 +2613,7 @@ class _IStreamProxy(
2461
2613
  :param account: Account which this metric comes from. Default: - Deployment account.
2462
2614
  :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
2615
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2616
+ :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
2617
  :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
2618
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2466
2619
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2468,11 +2621,13 @@ class _IStreamProxy(
2468
2621
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2469
2622
  :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
2623
  :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
2624
+ :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
2625
  '''
2472
2626
  props = _MetricOptions_1788b62f(
2473
2627
  account=account,
2474
2628
  color=color,
2475
2629
  dimensions_map=dimensions_map,
2630
+ id=id,
2476
2631
  label=label,
2477
2632
  period=period,
2478
2633
  region=region,
@@ -2480,6 +2635,7 @@ class _IStreamProxy(
2480
2635
  stack_region=stack_region,
2481
2636
  statistic=statistic,
2482
2637
  unit=unit,
2638
+ visible=visible,
2483
2639
  )
2484
2640
 
2485
2641
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricGetRecordsLatency", [props]))
@@ -2491,6 +2647,7 @@ class _IStreamProxy(
2491
2647
  account: typing.Optional[builtins.str] = None,
2492
2648
  color: typing.Optional[builtins.str] = None,
2493
2649
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2650
+ id: typing.Optional[builtins.str] = None,
2494
2651
  label: typing.Optional[builtins.str] = None,
2495
2652
  period: typing.Optional[_Duration_4839e8c3] = None,
2496
2653
  region: typing.Optional[builtins.str] = None,
@@ -2498,6 +2655,7 @@ class _IStreamProxy(
2498
2655
  stack_region: typing.Optional[builtins.str] = None,
2499
2656
  statistic: typing.Optional[builtins.str] = None,
2500
2657
  unit: typing.Optional[_Unit_61bc6f70] = None,
2658
+ visible: typing.Optional[builtins.bool] = None,
2501
2659
  ) -> _Metric_e396a4dc:
2502
2660
  '''The number of successful GetRecords operations per stream, measured over the specified time period.
2503
2661
 
@@ -2506,6 +2664,7 @@ class _IStreamProxy(
2506
2664
  :param account: Account which this metric comes from. Default: - Deployment account.
2507
2665
  :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
2666
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2667
+ :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
2668
  :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
2669
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2511
2670
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2513,11 +2672,13 @@ class _IStreamProxy(
2513
2672
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2514
2673
  :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
2674
  :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
2675
+ :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
2676
  '''
2517
2677
  props = _MetricOptions_1788b62f(
2518
2678
  account=account,
2519
2679
  color=color,
2520
2680
  dimensions_map=dimensions_map,
2681
+ id=id,
2521
2682
  label=label,
2522
2683
  period=period,
2523
2684
  region=region,
@@ -2525,6 +2686,7 @@ class _IStreamProxy(
2525
2686
  stack_region=stack_region,
2526
2687
  statistic=statistic,
2527
2688
  unit=unit,
2689
+ visible=visible,
2528
2690
  )
2529
2691
 
2530
2692
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricGetRecordsSuccess", [props]))
@@ -2536,6 +2698,7 @@ class _IStreamProxy(
2536
2698
  account: typing.Optional[builtins.str] = None,
2537
2699
  color: typing.Optional[builtins.str] = None,
2538
2700
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2701
+ id: typing.Optional[builtins.str] = None,
2539
2702
  label: typing.Optional[builtins.str] = None,
2540
2703
  period: typing.Optional[_Duration_4839e8c3] = None,
2541
2704
  region: typing.Optional[builtins.str] = None,
@@ -2543,6 +2706,7 @@ class _IStreamProxy(
2543
2706
  stack_region: typing.Optional[builtins.str] = None,
2544
2707
  statistic: typing.Optional[builtins.str] = None,
2545
2708
  unit: typing.Optional[_Unit_61bc6f70] = None,
2709
+ visible: typing.Optional[builtins.bool] = None,
2546
2710
  ) -> _Metric_e396a4dc:
2547
2711
  '''The number of bytes successfully put to the Kinesis stream over the specified time period.
2548
2712
 
@@ -2555,6 +2719,7 @@ class _IStreamProxy(
2555
2719
  :param account: Account which this metric comes from. Default: - Deployment account.
2556
2720
  :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
2721
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2722
+ :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
2723
  :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
2724
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2560
2725
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2562,11 +2727,13 @@ class _IStreamProxy(
2562
2727
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2563
2728
  :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
2729
  :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
2730
+ :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
2731
  '''
2566
2732
  props = _MetricOptions_1788b62f(
2567
2733
  account=account,
2568
2734
  color=color,
2569
2735
  dimensions_map=dimensions_map,
2736
+ id=id,
2570
2737
  label=label,
2571
2738
  period=period,
2572
2739
  region=region,
@@ -2574,6 +2741,7 @@ class _IStreamProxy(
2574
2741
  stack_region=stack_region,
2575
2742
  statistic=statistic,
2576
2743
  unit=unit,
2744
+ visible=visible,
2577
2745
  )
2578
2746
 
2579
2747
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricIncomingBytes", [props]))
@@ -2585,6 +2753,7 @@ class _IStreamProxy(
2585
2753
  account: typing.Optional[builtins.str] = None,
2586
2754
  color: typing.Optional[builtins.str] = None,
2587
2755
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2756
+ id: typing.Optional[builtins.str] = None,
2588
2757
  label: typing.Optional[builtins.str] = None,
2589
2758
  period: typing.Optional[_Duration_4839e8c3] = None,
2590
2759
  region: typing.Optional[builtins.str] = None,
@@ -2592,6 +2761,7 @@ class _IStreamProxy(
2592
2761
  stack_region: typing.Optional[builtins.str] = None,
2593
2762
  statistic: typing.Optional[builtins.str] = None,
2594
2763
  unit: typing.Optional[_Unit_61bc6f70] = None,
2764
+ visible: typing.Optional[builtins.bool] = None,
2595
2765
  ) -> _Metric_e396a4dc:
2596
2766
  '''The number of records successfully put to the Kinesis stream over the specified time period.
2597
2767
 
@@ -2604,6 +2774,7 @@ class _IStreamProxy(
2604
2774
  :param account: Account which this metric comes from. Default: - Deployment account.
2605
2775
  :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
2776
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2777
+ :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
2778
  :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
2779
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2609
2780
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2611,11 +2782,13 @@ class _IStreamProxy(
2611
2782
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2612
2783
  :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
2784
  :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
2785
+ :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
2786
  '''
2615
2787
  props = _MetricOptions_1788b62f(
2616
2788
  account=account,
2617
2789
  color=color,
2618
2790
  dimensions_map=dimensions_map,
2791
+ id=id,
2619
2792
  label=label,
2620
2793
  period=period,
2621
2794
  region=region,
@@ -2623,6 +2796,7 @@ class _IStreamProxy(
2623
2796
  stack_region=stack_region,
2624
2797
  statistic=statistic,
2625
2798
  unit=unit,
2799
+ visible=visible,
2626
2800
  )
2627
2801
 
2628
2802
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricIncomingRecords", [props]))
@@ -2634,6 +2808,7 @@ class _IStreamProxy(
2634
2808
  account: typing.Optional[builtins.str] = None,
2635
2809
  color: typing.Optional[builtins.str] = None,
2636
2810
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2811
+ id: typing.Optional[builtins.str] = None,
2637
2812
  label: typing.Optional[builtins.str] = None,
2638
2813
  period: typing.Optional[_Duration_4839e8c3] = None,
2639
2814
  region: typing.Optional[builtins.str] = None,
@@ -2641,6 +2816,7 @@ class _IStreamProxy(
2641
2816
  stack_region: typing.Optional[builtins.str] = None,
2642
2817
  statistic: typing.Optional[builtins.str] = None,
2643
2818
  unit: typing.Optional[_Unit_61bc6f70] = None,
2819
+ visible: typing.Optional[builtins.bool] = None,
2644
2820
  ) -> _Metric_e396a4dc:
2645
2821
  '''The number of bytes put to the Kinesis stream using the PutRecord operation over the specified time period.
2646
2822
 
@@ -2649,6 +2825,7 @@ class _IStreamProxy(
2649
2825
  :param account: Account which this metric comes from. Default: - Deployment account.
2650
2826
  :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
2827
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2828
+ :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
2829
  :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
2830
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2654
2831
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2656,11 +2833,13 @@ class _IStreamProxy(
2656
2833
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2657
2834
  :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
2835
  :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
2836
+ :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
2837
  '''
2660
2838
  props = _MetricOptions_1788b62f(
2661
2839
  account=account,
2662
2840
  color=color,
2663
2841
  dimensions_map=dimensions_map,
2842
+ id=id,
2664
2843
  label=label,
2665
2844
  period=period,
2666
2845
  region=region,
@@ -2668,6 +2847,7 @@ class _IStreamProxy(
2668
2847
  stack_region=stack_region,
2669
2848
  statistic=statistic,
2670
2849
  unit=unit,
2850
+ visible=visible,
2671
2851
  )
2672
2852
 
2673
2853
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordBytes", [props]))
@@ -2679,6 +2859,7 @@ class _IStreamProxy(
2679
2859
  account: typing.Optional[builtins.str] = None,
2680
2860
  color: typing.Optional[builtins.str] = None,
2681
2861
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2862
+ id: typing.Optional[builtins.str] = None,
2682
2863
  label: typing.Optional[builtins.str] = None,
2683
2864
  period: typing.Optional[_Duration_4839e8c3] = None,
2684
2865
  region: typing.Optional[builtins.str] = None,
@@ -2686,6 +2867,7 @@ class _IStreamProxy(
2686
2867
  stack_region: typing.Optional[builtins.str] = None,
2687
2868
  statistic: typing.Optional[builtins.str] = None,
2688
2869
  unit: typing.Optional[_Unit_61bc6f70] = None,
2870
+ visible: typing.Optional[builtins.bool] = None,
2689
2871
  ) -> _Metric_e396a4dc:
2690
2872
  '''The time taken per PutRecord operation, measured over the specified time period.
2691
2873
 
@@ -2694,6 +2876,7 @@ class _IStreamProxy(
2694
2876
  :param account: Account which this metric comes from. Default: - Deployment account.
2695
2877
  :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
2878
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2879
+ :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
2880
  :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
2881
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2699
2882
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2701,11 +2884,13 @@ class _IStreamProxy(
2701
2884
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2702
2885
  :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
2886
  :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
2887
+ :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
2888
  '''
2705
2889
  props = _MetricOptions_1788b62f(
2706
2890
  account=account,
2707
2891
  color=color,
2708
2892
  dimensions_map=dimensions_map,
2893
+ id=id,
2709
2894
  label=label,
2710
2895
  period=period,
2711
2896
  region=region,
@@ -2713,6 +2898,7 @@ class _IStreamProxy(
2713
2898
  stack_region=stack_region,
2714
2899
  statistic=statistic,
2715
2900
  unit=unit,
2901
+ visible=visible,
2716
2902
  )
2717
2903
 
2718
2904
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordLatency", [props]))
@@ -2724,6 +2910,7 @@ class _IStreamProxy(
2724
2910
  account: typing.Optional[builtins.str] = None,
2725
2911
  color: typing.Optional[builtins.str] = None,
2726
2912
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2913
+ id: typing.Optional[builtins.str] = None,
2727
2914
  label: typing.Optional[builtins.str] = None,
2728
2915
  period: typing.Optional[_Duration_4839e8c3] = None,
2729
2916
  region: typing.Optional[builtins.str] = None,
@@ -2731,6 +2918,7 @@ class _IStreamProxy(
2731
2918
  stack_region: typing.Optional[builtins.str] = None,
2732
2919
  statistic: typing.Optional[builtins.str] = None,
2733
2920
  unit: typing.Optional[_Unit_61bc6f70] = None,
2921
+ visible: typing.Optional[builtins.bool] = None,
2734
2922
  ) -> _Metric_e396a4dc:
2735
2923
  '''The number of bytes put to the Kinesis stream using the PutRecords operation over the specified time period.
2736
2924
 
@@ -2739,6 +2927,7 @@ class _IStreamProxy(
2739
2927
  :param account: Account which this metric comes from. Default: - Deployment account.
2740
2928
  :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
2929
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2930
+ :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
2931
  :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
2932
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2744
2933
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2746,11 +2935,13 @@ class _IStreamProxy(
2746
2935
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2747
2936
  :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
2937
  :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
2938
+ :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
2939
  '''
2750
2940
  props = _MetricOptions_1788b62f(
2751
2941
  account=account,
2752
2942
  color=color,
2753
2943
  dimensions_map=dimensions_map,
2944
+ id=id,
2754
2945
  label=label,
2755
2946
  period=period,
2756
2947
  region=region,
@@ -2758,6 +2949,7 @@ class _IStreamProxy(
2758
2949
  stack_region=stack_region,
2759
2950
  statistic=statistic,
2760
2951
  unit=unit,
2952
+ visible=visible,
2761
2953
  )
2762
2954
 
2763
2955
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordsBytes", [props]))
@@ -2769,6 +2961,7 @@ class _IStreamProxy(
2769
2961
  account: typing.Optional[builtins.str] = None,
2770
2962
  color: typing.Optional[builtins.str] = None,
2771
2963
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2964
+ id: typing.Optional[builtins.str] = None,
2772
2965
  label: typing.Optional[builtins.str] = None,
2773
2966
  period: typing.Optional[_Duration_4839e8c3] = None,
2774
2967
  region: typing.Optional[builtins.str] = None,
@@ -2776,6 +2969,7 @@ class _IStreamProxy(
2776
2969
  stack_region: typing.Optional[builtins.str] = None,
2777
2970
  statistic: typing.Optional[builtins.str] = None,
2778
2971
  unit: typing.Optional[_Unit_61bc6f70] = None,
2972
+ visible: typing.Optional[builtins.bool] = None,
2779
2973
  ) -> _Metric_e396a4dc:
2780
2974
  '''The number of records rejected due to internal failures in a PutRecords operation per Kinesis data stream, measured over the specified time period.
2781
2975
 
@@ -2786,6 +2980,7 @@ class _IStreamProxy(
2786
2980
  :param account: Account which this metric comes from. Default: - Deployment account.
2787
2981
  :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
2982
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2983
+ :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
2984
  :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
2985
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2791
2986
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2793,11 +2988,13 @@ class _IStreamProxy(
2793
2988
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2794
2989
  :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
2990
  :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
2991
+ :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
2992
  '''
2797
2993
  props = _MetricOptions_1788b62f(
2798
2994
  account=account,
2799
2995
  color=color,
2800
2996
  dimensions_map=dimensions_map,
2997
+ id=id,
2801
2998
  label=label,
2802
2999
  period=period,
2803
3000
  region=region,
@@ -2805,6 +3002,7 @@ class _IStreamProxy(
2805
3002
  stack_region=stack_region,
2806
3003
  statistic=statistic,
2807
3004
  unit=unit,
3005
+ visible=visible,
2808
3006
  )
2809
3007
 
2810
3008
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordsFailedRecords", [props]))
@@ -2816,6 +3014,7 @@ class _IStreamProxy(
2816
3014
  account: typing.Optional[builtins.str] = None,
2817
3015
  color: typing.Optional[builtins.str] = None,
2818
3016
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
3017
+ id: typing.Optional[builtins.str] = None,
2819
3018
  label: typing.Optional[builtins.str] = None,
2820
3019
  period: typing.Optional[_Duration_4839e8c3] = None,
2821
3020
  region: typing.Optional[builtins.str] = None,
@@ -2823,6 +3022,7 @@ class _IStreamProxy(
2823
3022
  stack_region: typing.Optional[builtins.str] = None,
2824
3023
  statistic: typing.Optional[builtins.str] = None,
2825
3024
  unit: typing.Optional[_Unit_61bc6f70] = None,
3025
+ visible: typing.Optional[builtins.bool] = None,
2826
3026
  ) -> _Metric_e396a4dc:
2827
3027
  '''The time taken per PutRecords operation, measured over the specified time period.
2828
3028
 
@@ -2831,6 +3031,7 @@ class _IStreamProxy(
2831
3031
  :param account: Account which this metric comes from. Default: - Deployment account.
2832
3032
  :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
3033
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
3034
+ :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
3035
  :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
3036
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2836
3037
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2838,11 +3039,13 @@ class _IStreamProxy(
2838
3039
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2839
3040
  :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
3041
  :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
3042
+ :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
3043
  '''
2842
3044
  props = _MetricOptions_1788b62f(
2843
3045
  account=account,
2844
3046
  color=color,
2845
3047
  dimensions_map=dimensions_map,
3048
+ id=id,
2846
3049
  label=label,
2847
3050
  period=period,
2848
3051
  region=region,
@@ -2850,6 +3053,7 @@ class _IStreamProxy(
2850
3053
  stack_region=stack_region,
2851
3054
  statistic=statistic,
2852
3055
  unit=unit,
3056
+ visible=visible,
2853
3057
  )
2854
3058
 
2855
3059
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordsLatency", [props]))
@@ -2861,6 +3065,7 @@ class _IStreamProxy(
2861
3065
  account: typing.Optional[builtins.str] = None,
2862
3066
  color: typing.Optional[builtins.str] = None,
2863
3067
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
3068
+ id: typing.Optional[builtins.str] = None,
2864
3069
  label: typing.Optional[builtins.str] = None,
2865
3070
  period: typing.Optional[_Duration_4839e8c3] = None,
2866
3071
  region: typing.Optional[builtins.str] = None,
@@ -2868,6 +3073,7 @@ class _IStreamProxy(
2868
3073
  stack_region: typing.Optional[builtins.str] = None,
2869
3074
  statistic: typing.Optional[builtins.str] = None,
2870
3075
  unit: typing.Optional[_Unit_61bc6f70] = None,
3076
+ visible: typing.Optional[builtins.bool] = None,
2871
3077
  ) -> _Metric_e396a4dc:
2872
3078
  '''The number of PutRecords operations where at least one record succeeded, per Kinesis stream, measured over the specified time period.
2873
3079
 
@@ -2876,6 +3082,7 @@ class _IStreamProxy(
2876
3082
  :param account: Account which this metric comes from. Default: - Deployment account.
2877
3083
  :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
3084
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
3085
+ :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
3086
  :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
3087
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2881
3088
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2883,11 +3090,13 @@ class _IStreamProxy(
2883
3090
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2884
3091
  :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
3092
  :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
3093
+ :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
3094
  '''
2887
3095
  props = _MetricOptions_1788b62f(
2888
3096
  account=account,
2889
3097
  color=color,
2890
3098
  dimensions_map=dimensions_map,
3099
+ id=id,
2891
3100
  label=label,
2892
3101
  period=period,
2893
3102
  region=region,
@@ -2895,6 +3104,7 @@ class _IStreamProxy(
2895
3104
  stack_region=stack_region,
2896
3105
  statistic=statistic,
2897
3106
  unit=unit,
3107
+ visible=visible,
2898
3108
  )
2899
3109
 
2900
3110
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordsSuccess", [props]))
@@ -2906,6 +3116,7 @@ class _IStreamProxy(
2906
3116
  account: typing.Optional[builtins.str] = None,
2907
3117
  color: typing.Optional[builtins.str] = None,
2908
3118
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
3119
+ id: typing.Optional[builtins.str] = None,
2909
3120
  label: typing.Optional[builtins.str] = None,
2910
3121
  period: typing.Optional[_Duration_4839e8c3] = None,
2911
3122
  region: typing.Optional[builtins.str] = None,
@@ -2913,6 +3124,7 @@ class _IStreamProxy(
2913
3124
  stack_region: typing.Optional[builtins.str] = None,
2914
3125
  statistic: typing.Optional[builtins.str] = None,
2915
3126
  unit: typing.Optional[_Unit_61bc6f70] = None,
3127
+ visible: typing.Optional[builtins.bool] = None,
2916
3128
  ) -> _Metric_e396a4dc:
2917
3129
  '''The number of successful records in a PutRecords operation per Kinesis data stream, measured over the specified time period.
2918
3130
 
@@ -2921,6 +3133,7 @@ class _IStreamProxy(
2921
3133
  :param account: Account which this metric comes from. Default: - Deployment account.
2922
3134
  :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
3135
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
3136
+ :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
3137
  :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
3138
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2926
3139
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2928,11 +3141,13 @@ class _IStreamProxy(
2928
3141
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2929
3142
  :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
3143
  :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
3144
+ :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
3145
  '''
2932
3146
  props = _MetricOptions_1788b62f(
2933
3147
  account=account,
2934
3148
  color=color,
2935
3149
  dimensions_map=dimensions_map,
3150
+ id=id,
2936
3151
  label=label,
2937
3152
  period=period,
2938
3153
  region=region,
@@ -2940,6 +3155,7 @@ class _IStreamProxy(
2940
3155
  stack_region=stack_region,
2941
3156
  statistic=statistic,
2942
3157
  unit=unit,
3158
+ visible=visible,
2943
3159
  )
2944
3160
 
2945
3161
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordsSuccessfulRecords", [props]))
@@ -2951,6 +3167,7 @@ class _IStreamProxy(
2951
3167
  account: typing.Optional[builtins.str] = None,
2952
3168
  color: typing.Optional[builtins.str] = None,
2953
3169
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
3170
+ id: typing.Optional[builtins.str] = None,
2954
3171
  label: typing.Optional[builtins.str] = None,
2955
3172
  period: typing.Optional[_Duration_4839e8c3] = None,
2956
3173
  region: typing.Optional[builtins.str] = None,
@@ -2958,6 +3175,7 @@ class _IStreamProxy(
2958
3175
  stack_region: typing.Optional[builtins.str] = None,
2959
3176
  statistic: typing.Optional[builtins.str] = None,
2960
3177
  unit: typing.Optional[_Unit_61bc6f70] = None,
3178
+ visible: typing.Optional[builtins.bool] = None,
2961
3179
  ) -> _Metric_e396a4dc:
2962
3180
  '''The number of records rejected due to throttling in a PutRecords operation per Kinesis data stream, measured over the specified time period.
2963
3181
 
@@ -2966,6 +3184,7 @@ class _IStreamProxy(
2966
3184
  :param account: Account which this metric comes from. Default: - Deployment account.
2967
3185
  :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
3186
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
3187
+ :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
3188
  :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
3189
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2971
3190
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2973,11 +3192,13 @@ class _IStreamProxy(
2973
3192
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2974
3193
  :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
3194
  :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
3195
+ :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
3196
  '''
2977
3197
  props = _MetricOptions_1788b62f(
2978
3198
  account=account,
2979
3199
  color=color,
2980
3200
  dimensions_map=dimensions_map,
3201
+ id=id,
2981
3202
  label=label,
2982
3203
  period=period,
2983
3204
  region=region,
@@ -2985,6 +3206,7 @@ class _IStreamProxy(
2985
3206
  stack_region=stack_region,
2986
3207
  statistic=statistic,
2987
3208
  unit=unit,
3209
+ visible=visible,
2988
3210
  )
2989
3211
 
2990
3212
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordsThrottledRecords", [props]))
@@ -2996,6 +3218,7 @@ class _IStreamProxy(
2996
3218
  account: typing.Optional[builtins.str] = None,
2997
3219
  color: typing.Optional[builtins.str] = None,
2998
3220
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
3221
+ id: typing.Optional[builtins.str] = None,
2999
3222
  label: typing.Optional[builtins.str] = None,
3000
3223
  period: typing.Optional[_Duration_4839e8c3] = None,
3001
3224
  region: typing.Optional[builtins.str] = None,
@@ -3003,6 +3226,7 @@ class _IStreamProxy(
3003
3226
  stack_region: typing.Optional[builtins.str] = None,
3004
3227
  statistic: typing.Optional[builtins.str] = None,
3005
3228
  unit: typing.Optional[_Unit_61bc6f70] = None,
3229
+ visible: typing.Optional[builtins.bool] = None,
3006
3230
  ) -> _Metric_e396a4dc:
3007
3231
  '''The total number of records sent in a PutRecords operation per Kinesis data stream, measured over the specified time period.
3008
3232
 
@@ -3011,6 +3235,7 @@ class _IStreamProxy(
3011
3235
  :param account: Account which this metric comes from. Default: - Deployment account.
3012
3236
  :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
3237
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
3238
+ :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
3239
  :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
3240
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
3016
3241
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -3018,11 +3243,13 @@ class _IStreamProxy(
3018
3243
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
3019
3244
  :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
3245
  :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
3246
+ :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
3247
  '''
3022
3248
  props = _MetricOptions_1788b62f(
3023
3249
  account=account,
3024
3250
  color=color,
3025
3251
  dimensions_map=dimensions_map,
3252
+ id=id,
3026
3253
  label=label,
3027
3254
  period=period,
3028
3255
  region=region,
@@ -3030,6 +3257,7 @@ class _IStreamProxy(
3030
3257
  stack_region=stack_region,
3031
3258
  statistic=statistic,
3032
3259
  unit=unit,
3260
+ visible=visible,
3033
3261
  )
3034
3262
 
3035
3263
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordsTotalRecords", [props]))
@@ -3041,6 +3269,7 @@ class _IStreamProxy(
3041
3269
  account: typing.Optional[builtins.str] = None,
3042
3270
  color: typing.Optional[builtins.str] = None,
3043
3271
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
3272
+ id: typing.Optional[builtins.str] = None,
3044
3273
  label: typing.Optional[builtins.str] = None,
3045
3274
  period: typing.Optional[_Duration_4839e8c3] = None,
3046
3275
  region: typing.Optional[builtins.str] = None,
@@ -3048,6 +3277,7 @@ class _IStreamProxy(
3048
3277
  stack_region: typing.Optional[builtins.str] = None,
3049
3278
  statistic: typing.Optional[builtins.str] = None,
3050
3279
  unit: typing.Optional[_Unit_61bc6f70] = None,
3280
+ visible: typing.Optional[builtins.bool] = None,
3051
3281
  ) -> _Metric_e396a4dc:
3052
3282
  '''The number of successful PutRecord operations per Kinesis stream, measured over the specified time period.
3053
3283
 
@@ -3059,6 +3289,7 @@ class _IStreamProxy(
3059
3289
  :param account: Account which this metric comes from. Default: - Deployment account.
3060
3290
  :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
3291
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
3292
+ :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
3293
  :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
3294
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
3064
3295
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -3066,11 +3297,13 @@ class _IStreamProxy(
3066
3297
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
3067
3298
  :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
3299
  :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
3300
+ :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
3301
  '''
3070
3302
  props = _MetricOptions_1788b62f(
3071
3303
  account=account,
3072
3304
  color=color,
3073
3305
  dimensions_map=dimensions_map,
3306
+ id=id,
3074
3307
  label=label,
3075
3308
  period=period,
3076
3309
  region=region,
@@ -3078,6 +3311,7 @@ class _IStreamProxy(
3078
3311
  stack_region=stack_region,
3079
3312
  statistic=statistic,
3080
3313
  unit=unit,
3314
+ visible=visible,
3081
3315
  )
3082
3316
 
3083
3317
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordSuccess", [props]))
@@ -3089,6 +3323,7 @@ class _IStreamProxy(
3089
3323
  account: typing.Optional[builtins.str] = None,
3090
3324
  color: typing.Optional[builtins.str] = None,
3091
3325
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
3326
+ id: typing.Optional[builtins.str] = None,
3092
3327
  label: typing.Optional[builtins.str] = None,
3093
3328
  period: typing.Optional[_Duration_4839e8c3] = None,
3094
3329
  region: typing.Optional[builtins.str] = None,
@@ -3096,6 +3331,7 @@ class _IStreamProxy(
3096
3331
  stack_region: typing.Optional[builtins.str] = None,
3097
3332
  statistic: typing.Optional[builtins.str] = None,
3098
3333
  unit: typing.Optional[_Unit_61bc6f70] = None,
3334
+ visible: typing.Optional[builtins.bool] = None,
3099
3335
  ) -> _Metric_e396a4dc:
3100
3336
  '''The number of GetRecords calls throttled for the stream over the specified time period.
3101
3337
 
@@ -3113,6 +3349,7 @@ class _IStreamProxy(
3113
3349
  :param account: Account which this metric comes from. Default: - Deployment account.
3114
3350
  :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
3351
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
3352
+ :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
3353
  :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
3354
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
3118
3355
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -3120,11 +3357,13 @@ class _IStreamProxy(
3120
3357
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
3121
3358
  :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
3359
  :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
3360
+ :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
3361
  '''
3124
3362
  props = _MetricOptions_1788b62f(
3125
3363
  account=account,
3126
3364
  color=color,
3127
3365
  dimensions_map=dimensions_map,
3366
+ id=id,
3128
3367
  label=label,
3129
3368
  period=period,
3130
3369
  region=region,
@@ -3132,6 +3371,7 @@ class _IStreamProxy(
3132
3371
  stack_region=stack_region,
3133
3372
  statistic=statistic,
3134
3373
  unit=unit,
3374
+ visible=visible,
3135
3375
  )
3136
3376
 
3137
3377
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricReadProvisionedThroughputExceeded", [props]))
@@ -3143,6 +3383,7 @@ class _IStreamProxy(
3143
3383
  account: typing.Optional[builtins.str] = None,
3144
3384
  color: typing.Optional[builtins.str] = None,
3145
3385
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
3386
+ id: typing.Optional[builtins.str] = None,
3146
3387
  label: typing.Optional[builtins.str] = None,
3147
3388
  period: typing.Optional[_Duration_4839e8c3] = None,
3148
3389
  region: typing.Optional[builtins.str] = None,
@@ -3150,6 +3391,7 @@ class _IStreamProxy(
3150
3391
  stack_region: typing.Optional[builtins.str] = None,
3151
3392
  statistic: typing.Optional[builtins.str] = None,
3152
3393
  unit: typing.Optional[_Unit_61bc6f70] = None,
3394
+ visible: typing.Optional[builtins.bool] = None,
3153
3395
  ) -> _Metric_e396a4dc:
3154
3396
  '''The number of records rejected due to throttling for the stream over the specified time period.
3155
3397
 
@@ -3167,6 +3409,7 @@ class _IStreamProxy(
3167
3409
  :param account: Account which this metric comes from. Default: - Deployment account.
3168
3410
  :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
3411
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
3412
+ :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
3413
  :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
3414
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
3172
3415
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -3174,11 +3417,13 @@ class _IStreamProxy(
3174
3417
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
3175
3418
  :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
3419
  :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
3420
+ :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
3421
  '''
3178
3422
  props = _MetricOptions_1788b62f(
3179
3423
  account=account,
3180
3424
  color=color,
3181
3425
  dimensions_map=dimensions_map,
3426
+ id=id,
3182
3427
  label=label,
3183
3428
  period=period,
3184
3429
  region=region,
@@ -3186,6 +3431,7 @@ class _IStreamProxy(
3186
3431
  stack_region=stack_region,
3187
3432
  statistic=statistic,
3188
3433
  unit=unit,
3434
+ visible=visible,
3189
3435
  )
3190
3436
 
3191
3437
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricWriteProvisionedThroughputExceeded", [props]))
@@ -3751,6 +3997,7 @@ class Stream(
3751
3997
  account: typing.Optional[builtins.str] = None,
3752
3998
  color: typing.Optional[builtins.str] = None,
3753
3999
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
4000
+ id: typing.Optional[builtins.str] = None,
3754
4001
  label: typing.Optional[builtins.str] = None,
3755
4002
  period: typing.Optional[_Duration_4839e8c3] = None,
3756
4003
  region: typing.Optional[builtins.str] = None,
@@ -3758,6 +4005,7 @@ class Stream(
3758
4005
  stack_region: typing.Optional[builtins.str] = None,
3759
4006
  statistic: typing.Optional[builtins.str] = None,
3760
4007
  unit: typing.Optional[_Unit_61bc6f70] = None,
4008
+ visible: typing.Optional[builtins.bool] = None,
3761
4009
  ) -> _Metric_e396a4dc:
3762
4010
  '''Return stream metric based from its metric name.
3763
4011
 
@@ -3765,6 +4013,7 @@ class Stream(
3765
4013
  :param account: Account which this metric comes from. Default: - Deployment account.
3766
4014
  :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
4015
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
4016
+ :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
4017
  :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
4018
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
3770
4019
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -3772,6 +4021,7 @@ class Stream(
3772
4021
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
3773
4022
  :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
4023
  :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
4024
+ :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
4025
  '''
3776
4026
  if __debug__:
3777
4027
  type_hints = typing.get_type_hints(_typecheckingstub__c2a600a35f466b97cb6589291e1c140f381da66a0d5026de6030101a865c80d1)
@@ -3780,6 +4030,7 @@ class Stream(
3780
4030
  account=account,
3781
4031
  color=color,
3782
4032
  dimensions_map=dimensions_map,
4033
+ id=id,
3783
4034
  label=label,
3784
4035
  period=period,
3785
4036
  region=region,
@@ -3787,6 +4038,7 @@ class Stream(
3787
4038
  stack_region=stack_region,
3788
4039
  statistic=statistic,
3789
4040
  unit=unit,
4041
+ visible=visible,
3790
4042
  )
3791
4043
 
3792
4044
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metric", [metric_name, props]))
@@ -3798,6 +4050,7 @@ class Stream(
3798
4050
  account: typing.Optional[builtins.str] = None,
3799
4051
  color: typing.Optional[builtins.str] = None,
3800
4052
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
4053
+ id: typing.Optional[builtins.str] = None,
3801
4054
  label: typing.Optional[builtins.str] = None,
3802
4055
  period: typing.Optional[_Duration_4839e8c3] = None,
3803
4056
  region: typing.Optional[builtins.str] = None,
@@ -3805,6 +4058,7 @@ class Stream(
3805
4058
  stack_region: typing.Optional[builtins.str] = None,
3806
4059
  statistic: typing.Optional[builtins.str] = None,
3807
4060
  unit: typing.Optional[_Unit_61bc6f70] = None,
4061
+ visible: typing.Optional[builtins.bool] = None,
3808
4062
  ) -> _Metric_e396a4dc:
3809
4063
  '''The number of records retrieved from the shard, measured over the specified time period.
3810
4064
 
@@ -3818,6 +4072,7 @@ class Stream(
3818
4072
  :param account: Account which this metric comes from. Default: - Deployment account.
3819
4073
  :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
4074
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
4075
+ :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
4076
  :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
4077
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
3823
4078
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -3825,11 +4080,13 @@ class Stream(
3825
4080
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
3826
4081
  :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
4082
  :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
4083
+ :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
4084
  '''
3829
4085
  props = _MetricOptions_1788b62f(
3830
4086
  account=account,
3831
4087
  color=color,
3832
4088
  dimensions_map=dimensions_map,
4089
+ id=id,
3833
4090
  label=label,
3834
4091
  period=period,
3835
4092
  region=region,
@@ -3837,6 +4094,7 @@ class Stream(
3837
4094
  stack_region=stack_region,
3838
4095
  statistic=statistic,
3839
4096
  unit=unit,
4097
+ visible=visible,
3840
4098
  )
3841
4099
 
3842
4100
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricGetRecords", [props]))
@@ -3848,6 +4106,7 @@ class Stream(
3848
4106
  account: typing.Optional[builtins.str] = None,
3849
4107
  color: typing.Optional[builtins.str] = None,
3850
4108
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
4109
+ id: typing.Optional[builtins.str] = None,
3851
4110
  label: typing.Optional[builtins.str] = None,
3852
4111
  period: typing.Optional[_Duration_4839e8c3] = None,
3853
4112
  region: typing.Optional[builtins.str] = None,
@@ -3855,6 +4114,7 @@ class Stream(
3855
4114
  stack_region: typing.Optional[builtins.str] = None,
3856
4115
  statistic: typing.Optional[builtins.str] = None,
3857
4116
  unit: typing.Optional[_Unit_61bc6f70] = None,
4117
+ visible: typing.Optional[builtins.bool] = None,
3858
4118
  ) -> _Metric_e396a4dc:
3859
4119
  '''The number of bytes retrieved from the Kinesis stream, measured over the specified time period.
3860
4120
 
@@ -3867,6 +4127,7 @@ class Stream(
3867
4127
  :param account: Account which this metric comes from. Default: - Deployment account.
3868
4128
  :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
4129
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
4130
+ :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
4131
  :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
4132
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
3872
4133
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -3874,11 +4135,13 @@ class Stream(
3874
4135
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
3875
4136
  :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
4137
  :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
4138
+ :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
4139
  '''
3878
4140
  props = _MetricOptions_1788b62f(
3879
4141
  account=account,
3880
4142
  color=color,
3881
4143
  dimensions_map=dimensions_map,
4144
+ id=id,
3882
4145
  label=label,
3883
4146
  period=period,
3884
4147
  region=region,
@@ -3886,6 +4149,7 @@ class Stream(
3886
4149
  stack_region=stack_region,
3887
4150
  statistic=statistic,
3888
4151
  unit=unit,
4152
+ visible=visible,
3889
4153
  )
3890
4154
 
3891
4155
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricGetRecordsBytes", [props]))
@@ -3897,6 +4161,7 @@ class Stream(
3897
4161
  account: typing.Optional[builtins.str] = None,
3898
4162
  color: typing.Optional[builtins.str] = None,
3899
4163
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
4164
+ id: typing.Optional[builtins.str] = None,
3900
4165
  label: typing.Optional[builtins.str] = None,
3901
4166
  period: typing.Optional[_Duration_4839e8c3] = None,
3902
4167
  region: typing.Optional[builtins.str] = None,
@@ -3904,6 +4169,7 @@ class Stream(
3904
4169
  stack_region: typing.Optional[builtins.str] = None,
3905
4170
  statistic: typing.Optional[builtins.str] = None,
3906
4171
  unit: typing.Optional[_Unit_61bc6f70] = None,
4172
+ visible: typing.Optional[builtins.bool] = None,
3907
4173
  ) -> _Metric_e396a4dc:
3908
4174
  '''The age of the last record in all GetRecords calls made against a Kinesis stream, measured over the specified time period.
3909
4175
 
@@ -3916,6 +4182,7 @@ class Stream(
3916
4182
  :param account: Account which this metric comes from. Default: - Deployment account.
3917
4183
  :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
4184
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
4185
+ :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
4186
  :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
4187
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
3921
4188
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -3923,11 +4190,13 @@ class Stream(
3923
4190
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
3924
4191
  :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
4192
  :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
4193
+ :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
4194
  '''
3927
4195
  props = _MetricOptions_1788b62f(
3928
4196
  account=account,
3929
4197
  color=color,
3930
4198
  dimensions_map=dimensions_map,
4199
+ id=id,
3931
4200
  label=label,
3932
4201
  period=period,
3933
4202
  region=region,
@@ -3935,6 +4204,7 @@ class Stream(
3935
4204
  stack_region=stack_region,
3936
4205
  statistic=statistic,
3937
4206
  unit=unit,
4207
+ visible=visible,
3938
4208
  )
3939
4209
 
3940
4210
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricGetRecordsIteratorAgeMilliseconds", [props]))
@@ -3946,6 +4216,7 @@ class Stream(
3946
4216
  account: typing.Optional[builtins.str] = None,
3947
4217
  color: typing.Optional[builtins.str] = None,
3948
4218
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
4219
+ id: typing.Optional[builtins.str] = None,
3949
4220
  label: typing.Optional[builtins.str] = None,
3950
4221
  period: typing.Optional[_Duration_4839e8c3] = None,
3951
4222
  region: typing.Optional[builtins.str] = None,
@@ -3953,6 +4224,7 @@ class Stream(
3953
4224
  stack_region: typing.Optional[builtins.str] = None,
3954
4225
  statistic: typing.Optional[builtins.str] = None,
3955
4226
  unit: typing.Optional[_Unit_61bc6f70] = None,
4227
+ visible: typing.Optional[builtins.bool] = None,
3956
4228
  ) -> _Metric_e396a4dc:
3957
4229
  '''The number of successful GetRecords operations per stream, measured over the specified time period.
3958
4230
 
@@ -3961,6 +4233,7 @@ class Stream(
3961
4233
  :param account: Account which this metric comes from. Default: - Deployment account.
3962
4234
  :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
4235
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
4236
+ :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
4237
  :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
4238
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
3966
4239
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -3968,11 +4241,13 @@ class Stream(
3968
4241
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
3969
4242
  :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
4243
  :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
4244
+ :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
4245
  '''
3972
4246
  props = _MetricOptions_1788b62f(
3973
4247
  account=account,
3974
4248
  color=color,
3975
4249
  dimensions_map=dimensions_map,
4250
+ id=id,
3976
4251
  label=label,
3977
4252
  period=period,
3978
4253
  region=region,
@@ -3980,6 +4255,7 @@ class Stream(
3980
4255
  stack_region=stack_region,
3981
4256
  statistic=statistic,
3982
4257
  unit=unit,
4258
+ visible=visible,
3983
4259
  )
3984
4260
 
3985
4261
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricGetRecordsLatency", [props]))
@@ -3991,6 +4267,7 @@ class Stream(
3991
4267
  account: typing.Optional[builtins.str] = None,
3992
4268
  color: typing.Optional[builtins.str] = None,
3993
4269
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
4270
+ id: typing.Optional[builtins.str] = None,
3994
4271
  label: typing.Optional[builtins.str] = None,
3995
4272
  period: typing.Optional[_Duration_4839e8c3] = None,
3996
4273
  region: typing.Optional[builtins.str] = None,
@@ -3998,6 +4275,7 @@ class Stream(
3998
4275
  stack_region: typing.Optional[builtins.str] = None,
3999
4276
  statistic: typing.Optional[builtins.str] = None,
4000
4277
  unit: typing.Optional[_Unit_61bc6f70] = None,
4278
+ visible: typing.Optional[builtins.bool] = None,
4001
4279
  ) -> _Metric_e396a4dc:
4002
4280
  '''The number of successful GetRecords operations per stream, measured over the specified time period.
4003
4281
 
@@ -4006,6 +4284,7 @@ class Stream(
4006
4284
  :param account: Account which this metric comes from. Default: - Deployment account.
4007
4285
  :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
4286
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
4287
+ :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
4288
  :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
4289
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
4011
4290
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -4013,11 +4292,13 @@ class Stream(
4013
4292
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
4014
4293
  :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
4294
  :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
4295
+ :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
4296
  '''
4017
4297
  props = _MetricOptions_1788b62f(
4018
4298
  account=account,
4019
4299
  color=color,
4020
4300
  dimensions_map=dimensions_map,
4301
+ id=id,
4021
4302
  label=label,
4022
4303
  period=period,
4023
4304
  region=region,
@@ -4025,6 +4306,7 @@ class Stream(
4025
4306
  stack_region=stack_region,
4026
4307
  statistic=statistic,
4027
4308
  unit=unit,
4309
+ visible=visible,
4028
4310
  )
4029
4311
 
4030
4312
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricGetRecordsSuccess", [props]))
@@ -4036,6 +4318,7 @@ class Stream(
4036
4318
  account: typing.Optional[builtins.str] = None,
4037
4319
  color: typing.Optional[builtins.str] = None,
4038
4320
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
4321
+ id: typing.Optional[builtins.str] = None,
4039
4322
  label: typing.Optional[builtins.str] = None,
4040
4323
  period: typing.Optional[_Duration_4839e8c3] = None,
4041
4324
  region: typing.Optional[builtins.str] = None,
@@ -4043,6 +4326,7 @@ class Stream(
4043
4326
  stack_region: typing.Optional[builtins.str] = None,
4044
4327
  statistic: typing.Optional[builtins.str] = None,
4045
4328
  unit: typing.Optional[_Unit_61bc6f70] = None,
4329
+ visible: typing.Optional[builtins.bool] = None,
4046
4330
  ) -> _Metric_e396a4dc:
4047
4331
  '''The number of bytes successfully put to the Kinesis stream over the specified time period.
4048
4332
 
@@ -4055,6 +4339,7 @@ class Stream(
4055
4339
  :param account: Account which this metric comes from. Default: - Deployment account.
4056
4340
  :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
4341
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
4342
+ :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
4343
  :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
4344
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
4060
4345
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -4062,11 +4347,13 @@ class Stream(
4062
4347
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
4063
4348
  :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
4349
  :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
4350
+ :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
4351
  '''
4066
4352
  props = _MetricOptions_1788b62f(
4067
4353
  account=account,
4068
4354
  color=color,
4069
4355
  dimensions_map=dimensions_map,
4356
+ id=id,
4070
4357
  label=label,
4071
4358
  period=period,
4072
4359
  region=region,
@@ -4074,6 +4361,7 @@ class Stream(
4074
4361
  stack_region=stack_region,
4075
4362
  statistic=statistic,
4076
4363
  unit=unit,
4364
+ visible=visible,
4077
4365
  )
4078
4366
 
4079
4367
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricIncomingBytes", [props]))
@@ -4085,6 +4373,7 @@ class Stream(
4085
4373
  account: typing.Optional[builtins.str] = None,
4086
4374
  color: typing.Optional[builtins.str] = None,
4087
4375
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
4376
+ id: typing.Optional[builtins.str] = None,
4088
4377
  label: typing.Optional[builtins.str] = None,
4089
4378
  period: typing.Optional[_Duration_4839e8c3] = None,
4090
4379
  region: typing.Optional[builtins.str] = None,
@@ -4092,6 +4381,7 @@ class Stream(
4092
4381
  stack_region: typing.Optional[builtins.str] = None,
4093
4382
  statistic: typing.Optional[builtins.str] = None,
4094
4383
  unit: typing.Optional[_Unit_61bc6f70] = None,
4384
+ visible: typing.Optional[builtins.bool] = None,
4095
4385
  ) -> _Metric_e396a4dc:
4096
4386
  '''The number of records successfully put to the Kinesis stream over the specified time period.
4097
4387
 
@@ -4104,6 +4394,7 @@ class Stream(
4104
4394
  :param account: Account which this metric comes from. Default: - Deployment account.
4105
4395
  :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
4396
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
4397
+ :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
4398
  :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
4399
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
4109
4400
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -4111,11 +4402,13 @@ class Stream(
4111
4402
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
4112
4403
  :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
4404
  :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
4405
+ :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
4406
  '''
4115
4407
  props = _MetricOptions_1788b62f(
4116
4408
  account=account,
4117
4409
  color=color,
4118
4410
  dimensions_map=dimensions_map,
4411
+ id=id,
4119
4412
  label=label,
4120
4413
  period=period,
4121
4414
  region=region,
@@ -4123,6 +4416,7 @@ class Stream(
4123
4416
  stack_region=stack_region,
4124
4417
  statistic=statistic,
4125
4418
  unit=unit,
4419
+ visible=visible,
4126
4420
  )
4127
4421
 
4128
4422
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricIncomingRecords", [props]))
@@ -4134,6 +4428,7 @@ class Stream(
4134
4428
  account: typing.Optional[builtins.str] = None,
4135
4429
  color: typing.Optional[builtins.str] = None,
4136
4430
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
4431
+ id: typing.Optional[builtins.str] = None,
4137
4432
  label: typing.Optional[builtins.str] = None,
4138
4433
  period: typing.Optional[_Duration_4839e8c3] = None,
4139
4434
  region: typing.Optional[builtins.str] = None,
@@ -4141,6 +4436,7 @@ class Stream(
4141
4436
  stack_region: typing.Optional[builtins.str] = None,
4142
4437
  statistic: typing.Optional[builtins.str] = None,
4143
4438
  unit: typing.Optional[_Unit_61bc6f70] = None,
4439
+ visible: typing.Optional[builtins.bool] = None,
4144
4440
  ) -> _Metric_e396a4dc:
4145
4441
  '''The number of bytes put to the Kinesis stream using the PutRecord operation over the specified time period.
4146
4442
 
@@ -4149,6 +4445,7 @@ class Stream(
4149
4445
  :param account: Account which this metric comes from. Default: - Deployment account.
4150
4446
  :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
4447
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
4448
+ :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
4449
  :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
4450
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
4154
4451
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -4156,11 +4453,13 @@ class Stream(
4156
4453
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
4157
4454
  :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
4455
  :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
4456
+ :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
4457
  '''
4160
4458
  props = _MetricOptions_1788b62f(
4161
4459
  account=account,
4162
4460
  color=color,
4163
4461
  dimensions_map=dimensions_map,
4462
+ id=id,
4164
4463
  label=label,
4165
4464
  period=period,
4166
4465
  region=region,
@@ -4168,6 +4467,7 @@ class Stream(
4168
4467
  stack_region=stack_region,
4169
4468
  statistic=statistic,
4170
4469
  unit=unit,
4470
+ visible=visible,
4171
4471
  )
4172
4472
 
4173
4473
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordBytes", [props]))
@@ -4179,6 +4479,7 @@ class Stream(
4179
4479
  account: typing.Optional[builtins.str] = None,
4180
4480
  color: typing.Optional[builtins.str] = None,
4181
4481
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
4482
+ id: typing.Optional[builtins.str] = None,
4182
4483
  label: typing.Optional[builtins.str] = None,
4183
4484
  period: typing.Optional[_Duration_4839e8c3] = None,
4184
4485
  region: typing.Optional[builtins.str] = None,
@@ -4186,6 +4487,7 @@ class Stream(
4186
4487
  stack_region: typing.Optional[builtins.str] = None,
4187
4488
  statistic: typing.Optional[builtins.str] = None,
4188
4489
  unit: typing.Optional[_Unit_61bc6f70] = None,
4490
+ visible: typing.Optional[builtins.bool] = None,
4189
4491
  ) -> _Metric_e396a4dc:
4190
4492
  '''The time taken per PutRecord operation, measured over the specified time period.
4191
4493
 
@@ -4194,6 +4496,7 @@ class Stream(
4194
4496
  :param account: Account which this metric comes from. Default: - Deployment account.
4195
4497
  :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
4498
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
4499
+ :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
4500
  :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
4501
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
4199
4502
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -4201,11 +4504,13 @@ class Stream(
4201
4504
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
4202
4505
  :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
4506
  :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
4507
+ :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
4508
  '''
4205
4509
  props = _MetricOptions_1788b62f(
4206
4510
  account=account,
4207
4511
  color=color,
4208
4512
  dimensions_map=dimensions_map,
4513
+ id=id,
4209
4514
  label=label,
4210
4515
  period=period,
4211
4516
  region=region,
@@ -4213,6 +4518,7 @@ class Stream(
4213
4518
  stack_region=stack_region,
4214
4519
  statistic=statistic,
4215
4520
  unit=unit,
4521
+ visible=visible,
4216
4522
  )
4217
4523
 
4218
4524
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordLatency", [props]))
@@ -4224,6 +4530,7 @@ class Stream(
4224
4530
  account: typing.Optional[builtins.str] = None,
4225
4531
  color: typing.Optional[builtins.str] = None,
4226
4532
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
4533
+ id: typing.Optional[builtins.str] = None,
4227
4534
  label: typing.Optional[builtins.str] = None,
4228
4535
  period: typing.Optional[_Duration_4839e8c3] = None,
4229
4536
  region: typing.Optional[builtins.str] = None,
@@ -4231,6 +4538,7 @@ class Stream(
4231
4538
  stack_region: typing.Optional[builtins.str] = None,
4232
4539
  statistic: typing.Optional[builtins.str] = None,
4233
4540
  unit: typing.Optional[_Unit_61bc6f70] = None,
4541
+ visible: typing.Optional[builtins.bool] = None,
4234
4542
  ) -> _Metric_e396a4dc:
4235
4543
  '''The number of bytes put to the Kinesis stream using the PutRecords operation over the specified time period.
4236
4544
 
@@ -4239,6 +4547,7 @@ class Stream(
4239
4547
  :param account: Account which this metric comes from. Default: - Deployment account.
4240
4548
  :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
4549
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
4550
+ :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
4551
  :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
4552
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
4244
4553
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -4246,11 +4555,13 @@ class Stream(
4246
4555
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
4247
4556
  :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
4557
  :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
4558
+ :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
4559
  '''
4250
4560
  props = _MetricOptions_1788b62f(
4251
4561
  account=account,
4252
4562
  color=color,
4253
4563
  dimensions_map=dimensions_map,
4564
+ id=id,
4254
4565
  label=label,
4255
4566
  period=period,
4256
4567
  region=region,
@@ -4258,6 +4569,7 @@ class Stream(
4258
4569
  stack_region=stack_region,
4259
4570
  statistic=statistic,
4260
4571
  unit=unit,
4572
+ visible=visible,
4261
4573
  )
4262
4574
 
4263
4575
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordsBytes", [props]))
@@ -4269,6 +4581,7 @@ class Stream(
4269
4581
  account: typing.Optional[builtins.str] = None,
4270
4582
  color: typing.Optional[builtins.str] = None,
4271
4583
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
4584
+ id: typing.Optional[builtins.str] = None,
4272
4585
  label: typing.Optional[builtins.str] = None,
4273
4586
  period: typing.Optional[_Duration_4839e8c3] = None,
4274
4587
  region: typing.Optional[builtins.str] = None,
@@ -4276,6 +4589,7 @@ class Stream(
4276
4589
  stack_region: typing.Optional[builtins.str] = None,
4277
4590
  statistic: typing.Optional[builtins.str] = None,
4278
4591
  unit: typing.Optional[_Unit_61bc6f70] = None,
4592
+ visible: typing.Optional[builtins.bool] = None,
4279
4593
  ) -> _Metric_e396a4dc:
4280
4594
  '''The number of records rejected due to internal failures in a PutRecords operation per Kinesis data stream, measured over the specified time period.
4281
4595
 
@@ -4286,6 +4600,7 @@ class Stream(
4286
4600
  :param account: Account which this metric comes from. Default: - Deployment account.
4287
4601
  :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
4602
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
4603
+ :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
4604
  :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
4605
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
4291
4606
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -4293,11 +4608,13 @@ class Stream(
4293
4608
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
4294
4609
  :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
4610
  :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
4611
+ :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
4612
  '''
4297
4613
  props = _MetricOptions_1788b62f(
4298
4614
  account=account,
4299
4615
  color=color,
4300
4616
  dimensions_map=dimensions_map,
4617
+ id=id,
4301
4618
  label=label,
4302
4619
  period=period,
4303
4620
  region=region,
@@ -4305,6 +4622,7 @@ class Stream(
4305
4622
  stack_region=stack_region,
4306
4623
  statistic=statistic,
4307
4624
  unit=unit,
4625
+ visible=visible,
4308
4626
  )
4309
4627
 
4310
4628
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordsFailedRecords", [props]))
@@ -4316,6 +4634,7 @@ class Stream(
4316
4634
  account: typing.Optional[builtins.str] = None,
4317
4635
  color: typing.Optional[builtins.str] = None,
4318
4636
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
4637
+ id: typing.Optional[builtins.str] = None,
4319
4638
  label: typing.Optional[builtins.str] = None,
4320
4639
  period: typing.Optional[_Duration_4839e8c3] = None,
4321
4640
  region: typing.Optional[builtins.str] = None,
@@ -4323,6 +4642,7 @@ class Stream(
4323
4642
  stack_region: typing.Optional[builtins.str] = None,
4324
4643
  statistic: typing.Optional[builtins.str] = None,
4325
4644
  unit: typing.Optional[_Unit_61bc6f70] = None,
4645
+ visible: typing.Optional[builtins.bool] = None,
4326
4646
  ) -> _Metric_e396a4dc:
4327
4647
  '''The time taken per PutRecords operation, measured over the specified time period.
4328
4648
 
@@ -4331,6 +4651,7 @@ class Stream(
4331
4651
  :param account: Account which this metric comes from. Default: - Deployment account.
4332
4652
  :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
4653
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
4654
+ :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
4655
  :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
4656
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
4336
4657
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -4338,11 +4659,13 @@ class Stream(
4338
4659
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
4339
4660
  :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
4661
  :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
4662
+ :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
4663
  '''
4342
4664
  props = _MetricOptions_1788b62f(
4343
4665
  account=account,
4344
4666
  color=color,
4345
4667
  dimensions_map=dimensions_map,
4668
+ id=id,
4346
4669
  label=label,
4347
4670
  period=period,
4348
4671
  region=region,
@@ -4350,6 +4673,7 @@ class Stream(
4350
4673
  stack_region=stack_region,
4351
4674
  statistic=statistic,
4352
4675
  unit=unit,
4676
+ visible=visible,
4353
4677
  )
4354
4678
 
4355
4679
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordsLatency", [props]))
@@ -4361,6 +4685,7 @@ class Stream(
4361
4685
  account: typing.Optional[builtins.str] = None,
4362
4686
  color: typing.Optional[builtins.str] = None,
4363
4687
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
4688
+ id: typing.Optional[builtins.str] = None,
4364
4689
  label: typing.Optional[builtins.str] = None,
4365
4690
  period: typing.Optional[_Duration_4839e8c3] = None,
4366
4691
  region: typing.Optional[builtins.str] = None,
@@ -4368,6 +4693,7 @@ class Stream(
4368
4693
  stack_region: typing.Optional[builtins.str] = None,
4369
4694
  statistic: typing.Optional[builtins.str] = None,
4370
4695
  unit: typing.Optional[_Unit_61bc6f70] = None,
4696
+ visible: typing.Optional[builtins.bool] = None,
4371
4697
  ) -> _Metric_e396a4dc:
4372
4698
  '''The number of PutRecords operations where at least one record succeeded, per Kinesis stream, measured over the specified time period.
4373
4699
 
@@ -4376,6 +4702,7 @@ class Stream(
4376
4702
  :param account: Account which this metric comes from. Default: - Deployment account.
4377
4703
  :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
4704
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
4705
+ :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
4706
  :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
4707
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
4381
4708
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -4383,11 +4710,13 @@ class Stream(
4383
4710
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
4384
4711
  :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
4712
  :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
4713
+ :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
4714
  '''
4387
4715
  props = _MetricOptions_1788b62f(
4388
4716
  account=account,
4389
4717
  color=color,
4390
4718
  dimensions_map=dimensions_map,
4719
+ id=id,
4391
4720
  label=label,
4392
4721
  period=period,
4393
4722
  region=region,
@@ -4395,6 +4724,7 @@ class Stream(
4395
4724
  stack_region=stack_region,
4396
4725
  statistic=statistic,
4397
4726
  unit=unit,
4727
+ visible=visible,
4398
4728
  )
4399
4729
 
4400
4730
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordsSuccess", [props]))
@@ -4406,6 +4736,7 @@ class Stream(
4406
4736
  account: typing.Optional[builtins.str] = None,
4407
4737
  color: typing.Optional[builtins.str] = None,
4408
4738
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
4739
+ id: typing.Optional[builtins.str] = None,
4409
4740
  label: typing.Optional[builtins.str] = None,
4410
4741
  period: typing.Optional[_Duration_4839e8c3] = None,
4411
4742
  region: typing.Optional[builtins.str] = None,
@@ -4413,6 +4744,7 @@ class Stream(
4413
4744
  stack_region: typing.Optional[builtins.str] = None,
4414
4745
  statistic: typing.Optional[builtins.str] = None,
4415
4746
  unit: typing.Optional[_Unit_61bc6f70] = None,
4747
+ visible: typing.Optional[builtins.bool] = None,
4416
4748
  ) -> _Metric_e396a4dc:
4417
4749
  '''The number of successful records in a PutRecords operation per Kinesis data stream, measured over the specified time period.
4418
4750
 
@@ -4421,6 +4753,7 @@ class Stream(
4421
4753
  :param account: Account which this metric comes from. Default: - Deployment account.
4422
4754
  :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
4755
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
4756
+ :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
4757
  :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
4758
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
4426
4759
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -4428,11 +4761,13 @@ class Stream(
4428
4761
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
4429
4762
  :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
4763
  :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
4764
+ :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
4765
  '''
4432
4766
  props = _MetricOptions_1788b62f(
4433
4767
  account=account,
4434
4768
  color=color,
4435
4769
  dimensions_map=dimensions_map,
4770
+ id=id,
4436
4771
  label=label,
4437
4772
  period=period,
4438
4773
  region=region,
@@ -4440,6 +4775,7 @@ class Stream(
4440
4775
  stack_region=stack_region,
4441
4776
  statistic=statistic,
4442
4777
  unit=unit,
4778
+ visible=visible,
4443
4779
  )
4444
4780
 
4445
4781
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordsSuccessfulRecords", [props]))
@@ -4451,6 +4787,7 @@ class Stream(
4451
4787
  account: typing.Optional[builtins.str] = None,
4452
4788
  color: typing.Optional[builtins.str] = None,
4453
4789
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
4790
+ id: typing.Optional[builtins.str] = None,
4454
4791
  label: typing.Optional[builtins.str] = None,
4455
4792
  period: typing.Optional[_Duration_4839e8c3] = None,
4456
4793
  region: typing.Optional[builtins.str] = None,
@@ -4458,6 +4795,7 @@ class Stream(
4458
4795
  stack_region: typing.Optional[builtins.str] = None,
4459
4796
  statistic: typing.Optional[builtins.str] = None,
4460
4797
  unit: typing.Optional[_Unit_61bc6f70] = None,
4798
+ visible: typing.Optional[builtins.bool] = None,
4461
4799
  ) -> _Metric_e396a4dc:
4462
4800
  '''The number of records rejected due to throttling in a PutRecords operation per Kinesis data stream, measured over the specified time period.
4463
4801
 
@@ -4466,6 +4804,7 @@ class Stream(
4466
4804
  :param account: Account which this metric comes from. Default: - Deployment account.
4467
4805
  :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
4806
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
4807
+ :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
4808
  :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
4809
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
4471
4810
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -4473,11 +4812,13 @@ class Stream(
4473
4812
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
4474
4813
  :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
4814
  :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
4815
+ :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
4816
  '''
4477
4817
  props = _MetricOptions_1788b62f(
4478
4818
  account=account,
4479
4819
  color=color,
4480
4820
  dimensions_map=dimensions_map,
4821
+ id=id,
4481
4822
  label=label,
4482
4823
  period=period,
4483
4824
  region=region,
@@ -4485,6 +4826,7 @@ class Stream(
4485
4826
  stack_region=stack_region,
4486
4827
  statistic=statistic,
4487
4828
  unit=unit,
4829
+ visible=visible,
4488
4830
  )
4489
4831
 
4490
4832
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordsThrottledRecords", [props]))
@@ -4496,6 +4838,7 @@ class Stream(
4496
4838
  account: typing.Optional[builtins.str] = None,
4497
4839
  color: typing.Optional[builtins.str] = None,
4498
4840
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
4841
+ id: typing.Optional[builtins.str] = None,
4499
4842
  label: typing.Optional[builtins.str] = None,
4500
4843
  period: typing.Optional[_Duration_4839e8c3] = None,
4501
4844
  region: typing.Optional[builtins.str] = None,
@@ -4503,6 +4846,7 @@ class Stream(
4503
4846
  stack_region: typing.Optional[builtins.str] = None,
4504
4847
  statistic: typing.Optional[builtins.str] = None,
4505
4848
  unit: typing.Optional[_Unit_61bc6f70] = None,
4849
+ visible: typing.Optional[builtins.bool] = None,
4506
4850
  ) -> _Metric_e396a4dc:
4507
4851
  '''The total number of records sent in a PutRecords operation per Kinesis data stream, measured over the specified time period.
4508
4852
 
@@ -4511,6 +4855,7 @@ class Stream(
4511
4855
  :param account: Account which this metric comes from. Default: - Deployment account.
4512
4856
  :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
4857
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
4858
+ :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
4859
  :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
4860
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
4516
4861
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -4518,11 +4863,13 @@ class Stream(
4518
4863
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
4519
4864
  :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
4865
  :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
4866
+ :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
4867
  '''
4522
4868
  props = _MetricOptions_1788b62f(
4523
4869
  account=account,
4524
4870
  color=color,
4525
4871
  dimensions_map=dimensions_map,
4872
+ id=id,
4526
4873
  label=label,
4527
4874
  period=period,
4528
4875
  region=region,
@@ -4530,6 +4877,7 @@ class Stream(
4530
4877
  stack_region=stack_region,
4531
4878
  statistic=statistic,
4532
4879
  unit=unit,
4880
+ visible=visible,
4533
4881
  )
4534
4882
 
4535
4883
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordsTotalRecords", [props]))
@@ -4541,6 +4889,7 @@ class Stream(
4541
4889
  account: typing.Optional[builtins.str] = None,
4542
4890
  color: typing.Optional[builtins.str] = None,
4543
4891
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
4892
+ id: typing.Optional[builtins.str] = None,
4544
4893
  label: typing.Optional[builtins.str] = None,
4545
4894
  period: typing.Optional[_Duration_4839e8c3] = None,
4546
4895
  region: typing.Optional[builtins.str] = None,
@@ -4548,6 +4897,7 @@ class Stream(
4548
4897
  stack_region: typing.Optional[builtins.str] = None,
4549
4898
  statistic: typing.Optional[builtins.str] = None,
4550
4899
  unit: typing.Optional[_Unit_61bc6f70] = None,
4900
+ visible: typing.Optional[builtins.bool] = None,
4551
4901
  ) -> _Metric_e396a4dc:
4552
4902
  '''The number of successful PutRecord operations per Kinesis stream, measured over the specified time period.
4553
4903
 
@@ -4559,6 +4909,7 @@ class Stream(
4559
4909
  :param account: Account which this metric comes from. Default: - Deployment account.
4560
4910
  :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
4911
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
4912
+ :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
4913
  :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
4914
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
4564
4915
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -4566,11 +4917,13 @@ class Stream(
4566
4917
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
4567
4918
  :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
4919
  :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
4920
+ :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
4921
  '''
4570
4922
  props = _MetricOptions_1788b62f(
4571
4923
  account=account,
4572
4924
  color=color,
4573
4925
  dimensions_map=dimensions_map,
4926
+ id=id,
4574
4927
  label=label,
4575
4928
  period=period,
4576
4929
  region=region,
@@ -4578,6 +4931,7 @@ class Stream(
4578
4931
  stack_region=stack_region,
4579
4932
  statistic=statistic,
4580
4933
  unit=unit,
4934
+ visible=visible,
4581
4935
  )
4582
4936
 
4583
4937
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordSuccess", [props]))
@@ -4589,6 +4943,7 @@ class Stream(
4589
4943
  account: typing.Optional[builtins.str] = None,
4590
4944
  color: typing.Optional[builtins.str] = None,
4591
4945
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
4946
+ id: typing.Optional[builtins.str] = None,
4592
4947
  label: typing.Optional[builtins.str] = None,
4593
4948
  period: typing.Optional[_Duration_4839e8c3] = None,
4594
4949
  region: typing.Optional[builtins.str] = None,
@@ -4596,6 +4951,7 @@ class Stream(
4596
4951
  stack_region: typing.Optional[builtins.str] = None,
4597
4952
  statistic: typing.Optional[builtins.str] = None,
4598
4953
  unit: typing.Optional[_Unit_61bc6f70] = None,
4954
+ visible: typing.Optional[builtins.bool] = None,
4599
4955
  ) -> _Metric_e396a4dc:
4600
4956
  '''The number of GetRecords calls throttled for the stream over the specified time period.
4601
4957
 
@@ -4613,6 +4969,7 @@ class Stream(
4613
4969
  :param account: Account which this metric comes from. Default: - Deployment account.
4614
4970
  :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
4971
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
4972
+ :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
4973
  :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
4974
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
4618
4975
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -4620,11 +4977,13 @@ class Stream(
4620
4977
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
4621
4978
  :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
4979
  :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
4980
+ :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
4981
  '''
4624
4982
  props = _MetricOptions_1788b62f(
4625
4983
  account=account,
4626
4984
  color=color,
4627
4985
  dimensions_map=dimensions_map,
4986
+ id=id,
4628
4987
  label=label,
4629
4988
  period=period,
4630
4989
  region=region,
@@ -4632,6 +4991,7 @@ class Stream(
4632
4991
  stack_region=stack_region,
4633
4992
  statistic=statistic,
4634
4993
  unit=unit,
4994
+ visible=visible,
4635
4995
  )
4636
4996
 
4637
4997
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricReadProvisionedThroughputExceeded", [props]))
@@ -4643,6 +5003,7 @@ class Stream(
4643
5003
  account: typing.Optional[builtins.str] = None,
4644
5004
  color: typing.Optional[builtins.str] = None,
4645
5005
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
5006
+ id: typing.Optional[builtins.str] = None,
4646
5007
  label: typing.Optional[builtins.str] = None,
4647
5008
  period: typing.Optional[_Duration_4839e8c3] = None,
4648
5009
  region: typing.Optional[builtins.str] = None,
@@ -4650,6 +5011,7 @@ class Stream(
4650
5011
  stack_region: typing.Optional[builtins.str] = None,
4651
5012
  statistic: typing.Optional[builtins.str] = None,
4652
5013
  unit: typing.Optional[_Unit_61bc6f70] = None,
5014
+ visible: typing.Optional[builtins.bool] = None,
4653
5015
  ) -> _Metric_e396a4dc:
4654
5016
  '''The number of records rejected due to throttling for the stream over the specified time period.
4655
5017
 
@@ -4667,6 +5029,7 @@ class Stream(
4667
5029
  :param account: Account which this metric comes from. Default: - Deployment account.
4668
5030
  :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
5031
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
5032
+ :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
5033
  :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
5034
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
4672
5035
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -4674,11 +5037,13 @@ class Stream(
4674
5037
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
4675
5038
  :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
5039
  :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
5040
+ :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
5041
  '''
4678
5042
  props = _MetricOptions_1788b62f(
4679
5043
  account=account,
4680
5044
  color=color,
4681
5045
  dimensions_map=dimensions_map,
5046
+ id=id,
4682
5047
  label=label,
4683
5048
  period=period,
4684
5049
  region=region,
@@ -4686,6 +5051,7 @@ class Stream(
4686
5051
  stack_region=stack_region,
4687
5052
  statistic=statistic,
4688
5053
  unit=unit,
5054
+ visible=visible,
4689
5055
  )
4690
5056
 
4691
5057
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricWriteProvisionedThroughputExceeded", [props]))
@@ -5451,6 +5817,7 @@ def _typecheckingstub__40129c585ad941f6708a726728b53f8f98c392e9aac49550e397150ee
5451
5817
  *,
5452
5818
  consumer_name: builtins.str,
5453
5819
  stream_arn: builtins.str,
5820
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
5454
5821
  ) -> None:
5455
5822
  """Type checking stubs"""
5456
5823
  pass
@@ -5479,10 +5846,17 @@ def _typecheckingstub__decaab8d4ef9478c7a29a7262bbddccc719545cf6499f4ac625d9c446
5479
5846
  """Type checking stubs"""
5480
5847
  pass
5481
5848
 
5849
+ def _typecheckingstub__741a97d9ae28403dd10b071c7777bb76448096ad2b30f06325c121d8271174db(
5850
+ value: typing.Optional[typing.List[_CfnTag_f6864754]],
5851
+ ) -> None:
5852
+ """Type checking stubs"""
5853
+ pass
5854
+
5482
5855
  def _typecheckingstub__04af0c0cee5710afdb7b50f59ef3686da8bba1bf2ed3a56c1e5209c6859bca6f(
5483
5856
  *,
5484
5857
  consumer_name: builtins.str,
5485
5858
  stream_arn: builtins.str,
5859
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
5486
5860
  ) -> None:
5487
5861
  """Type checking stubs"""
5488
5862
  pass
@@ -5537,6 +5911,7 @@ def _typecheckingstub__bd578f4ca8facd0463f7e56d3d2cea7e56ba9ad274338af8f84fa661d
5537
5911
  account: typing.Optional[builtins.str] = None,
5538
5912
  color: typing.Optional[builtins.str] = None,
5539
5913
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
5914
+ id: typing.Optional[builtins.str] = None,
5540
5915
  label: typing.Optional[builtins.str] = None,
5541
5916
  period: typing.Optional[_Duration_4839e8c3] = None,
5542
5917
  region: typing.Optional[builtins.str] = None,
@@ -5544,6 +5919,7 @@ def _typecheckingstub__bd578f4ca8facd0463f7e56d3d2cea7e56ba9ad274338af8f84fa661d
5544
5919
  stack_region: typing.Optional[builtins.str] = None,
5545
5920
  statistic: typing.Optional[builtins.str] = None,
5546
5921
  unit: typing.Optional[_Unit_61bc6f70] = None,
5922
+ visible: typing.Optional[builtins.bool] = None,
5547
5923
  ) -> None:
5548
5924
  """Type checking stubs"""
5549
5925
  pass
@@ -5657,6 +6033,7 @@ def _typecheckingstub__c2a600a35f466b97cb6589291e1c140f381da66a0d5026de6030101a8
5657
6033
  account: typing.Optional[builtins.str] = None,
5658
6034
  color: typing.Optional[builtins.str] = None,
5659
6035
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
6036
+ id: typing.Optional[builtins.str] = None,
5660
6037
  label: typing.Optional[builtins.str] = None,
5661
6038
  period: typing.Optional[_Duration_4839e8c3] = None,
5662
6039
  region: typing.Optional[builtins.str] = None,
@@ -5664,6 +6041,7 @@ def _typecheckingstub__c2a600a35f466b97cb6589291e1c140f381da66a0d5026de6030101a8
5664
6041
  stack_region: typing.Optional[builtins.str] = None,
5665
6042
  statistic: typing.Optional[builtins.str] = None,
5666
6043
  unit: typing.Optional[_Unit_61bc6f70] = None,
6044
+ visible: typing.Optional[builtins.bool] = None,
5667
6045
  ) -> None:
5668
6046
  """Type checking stubs"""
5669
6047
  pass