aws-cdk-lib 2.200.2__py3-none-any.whl → 2.224.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 (569) hide show
  1. aws_cdk/__init__.py +1349 -373
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.200.2.jsii.tgz → aws-cdk-lib@2.224.0.jsii.tgz} +0 -0
  4. aws_cdk/alexa_ask/__init__.py +12 -2
  5. aws_cdk/aws_accessanalyzer/__init__.py +323 -6
  6. aws_cdk/aws_acmpca/__init__.py +53 -10
  7. aws_cdk/aws_aiops/__init__.py +1019 -0
  8. aws_cdk/aws_amazonmq/__init__.py +357 -313
  9. aws_cdk/aws_amplify/__init__.py +173 -17
  10. aws_cdk/aws_amplifyuibuilder/__init__.py +35 -6
  11. aws_cdk/aws_apigateway/__init__.py +1017 -155
  12. aws_cdk/aws_apigatewayv2/__init__.py +2796 -379
  13. aws_cdk/aws_apigatewayv2_integrations/__init__.py +94 -16
  14. aws_cdk/aws_appconfig/__init__.py +298 -43
  15. aws_cdk/aws_appflow/__init__.py +151 -6
  16. aws_cdk/aws_appintegrations/__init__.py +546 -6
  17. aws_cdk/aws_applicationautoscaling/__init__.py +29 -6
  18. aws_cdk/aws_applicationinsights/__init__.py +13 -2
  19. aws_cdk/aws_applicationsignals/__init__.py +374 -6
  20. aws_cdk/aws_appmesh/__init__.py +94 -26
  21. aws_cdk/aws_apprunner/__init__.py +66 -18
  22. aws_cdk/aws_appstream/__init__.py +309 -55
  23. aws_cdk/aws_appsync/__init__.py +227 -53
  24. aws_cdk/aws_apptest/__init__.py +71 -2
  25. aws_cdk/aws_aps/__init__.py +1875 -132
  26. aws_cdk/aws_arcregionswitch/__init__.py +5095 -0
  27. aws_cdk/aws_arczonalshift/__init__.py +39 -12
  28. aws_cdk/aws_athena/__init__.py +365 -29
  29. aws_cdk/aws_auditmanager/__init__.py +71 -2
  30. aws_cdk/aws_autoscaling/__init__.py +135 -55
  31. aws_cdk/aws_autoscaling_common/__init__.py +3 -0
  32. aws_cdk/aws_autoscalingplans/__init__.py +13 -2
  33. aws_cdk/aws_b2bi/__init__.py +1819 -99
  34. aws_cdk/aws_backup/__init__.py +317 -28
  35. aws_cdk/aws_backupgateway/__init__.py +13 -2
  36. aws_cdk/aws_batch/__init__.py +1405 -178
  37. aws_cdk/aws_bcmdataexports/__init__.py +21 -2
  38. aws_cdk/aws_bedrock/__init__.py +6747 -627
  39. aws_cdk/aws_bedrockagentcore/__init__.py +10425 -0
  40. aws_cdk/aws_billingconductor/__init__.py +197 -11
  41. aws_cdk/aws_budgets/__init__.py +42 -4
  42. aws_cdk/aws_cassandra/__init__.py +247 -6
  43. aws_cdk/aws_ce/__init__.py +35 -6
  44. aws_cdk/aws_certificatemanager/__init__.py +237 -32
  45. aws_cdk/aws_chatbot/__init__.py +70 -6
  46. aws_cdk/aws_cleanrooms/__init__.py +709 -206
  47. aws_cdk/aws_cleanroomsml/__init__.py +13 -2
  48. aws_cdk/aws_cloud9/__init__.py +13 -2
  49. aws_cdk/aws_cloudformation/__init__.py +345 -166
  50. aws_cdk/aws_cloudfront/__init__.py +2101 -680
  51. aws_cdk/aws_cloudfront/experimental/__init__.py +108 -16
  52. aws_cdk/aws_cloudfront_origins/__init__.py +614 -73
  53. aws_cdk/aws_cloudtrail/__init__.py +301 -17
  54. aws_cdk/aws_cloudwatch/__init__.py +1414 -153
  55. aws_cdk/aws_codeartifact/__init__.py +35 -6
  56. aws_cdk/aws_codebuild/__init__.py +1103 -118
  57. aws_cdk/aws_codecommit/__init__.py +23 -9
  58. aws_cdk/aws_codeconnections/__init__.py +13 -2
  59. aws_cdk/aws_codedeploy/__init__.py +67 -6
  60. aws_cdk/aws_codeguruprofiler/__init__.py +74 -2
  61. aws_cdk/aws_codegurureviewer/__init__.py +13 -2
  62. aws_cdk/aws_codepipeline/__init__.py +127 -64
  63. aws_cdk/aws_codepipeline_actions/__init__.py +749 -0
  64. aws_cdk/aws_codestar/__init__.py +13 -2
  65. aws_cdk/aws_codestarconnections/__init__.py +35 -6
  66. aws_cdk/aws_codestarnotifications/__init__.py +16 -2
  67. aws_cdk/aws_cognito/__init__.py +814 -80
  68. aws_cdk/aws_cognito_identitypool/__init__.py +17 -12
  69. aws_cdk/aws_comprehend/__init__.py +24 -4
  70. aws_cdk/aws_config/__init__.py +191 -30
  71. aws_cdk/aws_connect/__init__.py +2736 -191
  72. aws_cdk/aws_connectcampaigns/__init__.py +13 -2
  73. aws_cdk/aws_connectcampaignsv2/__init__.py +268 -6
  74. aws_cdk/aws_controltower/__init__.py +35 -6
  75. aws_cdk/aws_cur/__init__.py +100 -4
  76. aws_cdk/aws_customerprofiles/__init__.py +617 -27
  77. aws_cdk/aws_databrew/__init__.py +68 -12
  78. aws_cdk/aws_datapipeline/__init__.py +42 -2
  79. aws_cdk/aws_datasync/__init__.py +723 -203
  80. aws_cdk/aws_datazone/__init__.py +4425 -608
  81. aws_cdk/aws_dax/__init__.py +83 -6
  82. aws_cdk/aws_deadline/__init__.py +321 -32
  83. aws_cdk/aws_detective/__init__.py +35 -6
  84. aws_cdk/aws_devicefarm/__init__.py +68 -12
  85. aws_cdk/aws_devopsguru/__init__.py +37 -6
  86. aws_cdk/aws_directoryservice/__init__.py +53 -4
  87. aws_cdk/aws_dlm/__init__.py +13 -2
  88. aws_cdk/aws_dms/__init__.py +184 -27
  89. aws_cdk/aws_docdb/__init__.py +323 -46
  90. aws_cdk/aws_docdbelastic/__init__.py +13 -2
  91. aws_cdk/aws_dsql/__init__.py +340 -12
  92. aws_cdk/aws_dynamodb/__init__.py +1463 -166
  93. aws_cdk/aws_ec2/__init__.py +9636 -1120
  94. aws_cdk/aws_ecr/__init__.py +631 -43
  95. aws_cdk/aws_ecr_assets/__init__.py +4 -0
  96. aws_cdk/aws_ecs/__init__.py +6524 -497
  97. aws_cdk/aws_ecs_patterns/__init__.py +2 -0
  98. aws_cdk/aws_efs/__init__.py +264 -24
  99. aws_cdk/aws_eks/__init__.py +1050 -218
  100. aws_cdk/aws_elasticache/__init__.py +373 -20
  101. aws_cdk/aws_elasticbeanstalk/__init__.py +75 -8
  102. aws_cdk/aws_elasticloadbalancing/__init__.py +16 -2
  103. aws_cdk/aws_elasticloadbalancingv2/__init__.py +1670 -106
  104. aws_cdk/aws_elasticsearch/__init__.py +282 -9
  105. aws_cdk/aws_emr/__init__.py +187 -20
  106. aws_cdk/aws_emrcontainers/__init__.py +71 -2
  107. aws_cdk/aws_emrserverless/__init__.py +188 -3
  108. aws_cdk/aws_entityresolution/__init__.py +585 -58
  109. aws_cdk/aws_events/__init__.py +969 -124
  110. aws_cdk/aws_events_targets/__init__.py +310 -54
  111. aws_cdk/aws_eventschemas/__init__.py +46 -8
  112. aws_cdk/aws_evidently/__init__.py +57 -10
  113. aws_cdk/aws_evs/__init__.py +2244 -0
  114. aws_cdk/aws_finspace/__init__.py +71 -2
  115. aws_cdk/aws_fis/__init__.py +26 -4
  116. aws_cdk/aws_fms/__init__.py +35 -6
  117. aws_cdk/aws_forecast/__init__.py +24 -4
  118. aws_cdk/aws_frauddetector/__init__.py +79 -14
  119. aws_cdk/aws_fsx/__init__.py +1236 -142
  120. aws_cdk/aws_gamelift/__init__.py +653 -78
  121. aws_cdk/aws_gameliftstreams/__init__.py +38 -16
  122. aws_cdk/aws_globalaccelerator/__init__.py +55 -14
  123. aws_cdk/aws_glue/__init__.py +1368 -320
  124. aws_cdk/aws_grafana/__init__.py +13 -2
  125. aws_cdk/aws_greengrass/__init__.py +654 -32
  126. aws_cdk/aws_greengrassv2/__init__.py +53 -4
  127. aws_cdk/aws_groundstation/__init__.py +122 -6
  128. aws_cdk/aws_guardduty/__init__.py +1613 -123
  129. aws_cdk/aws_healthimaging/__init__.py +71 -2
  130. aws_cdk/aws_healthlake/__init__.py +42 -2
  131. aws_cdk/aws_iam/__init__.py +480 -140
  132. aws_cdk/aws_identitystore/__init__.py +24 -4
  133. aws_cdk/aws_imagebuilder/__init__.py +1433 -183
  134. aws_cdk/aws_inspector/__init__.py +38 -6
  135. aws_cdk/aws_inspectorv2/__init__.py +2285 -243
  136. aws_cdk/aws_internetmonitor/__init__.py +71 -2
  137. aws_cdk/aws_invoicing/__init__.py +13 -2
  138. aws_cdk/aws_iot/__init__.py +1730 -86
  139. aws_cdk/aws_iotanalytics/__init__.py +162 -8
  140. aws_cdk/aws_iotcoredeviceadvisor/__init__.py +106 -40
  141. aws_cdk/aws_iotevents/__init__.py +122 -6
  142. aws_cdk/aws_iotfleethub/__init__.py +71 -2
  143. aws_cdk/aws_iotfleetwise/__init__.py +195 -14
  144. aws_cdk/aws_iotsitewise/__init__.py +1837 -89
  145. aws_cdk/aws_iotthingsgraph/__init__.py +13 -2
  146. aws_cdk/aws_iottwinmaker/__init__.py +115 -10
  147. aws_cdk/aws_iotwireless/__init__.py +649 -22
  148. aws_cdk/aws_ivs/__init__.py +561 -57
  149. aws_cdk/aws_ivschat/__init__.py +24 -4
  150. aws_cdk/aws_kafkaconnect/__init__.py +35 -6
  151. aws_cdk/aws_kendra/__init__.py +120 -28
  152. aws_cdk/aws_kendraranking/__init__.py +13 -2
  153. aws_cdk/aws_kinesis/__init__.py +622 -22
  154. aws_cdk/aws_kinesisanalytics/__init__.py +467 -94
  155. aws_cdk/aws_kinesisanalyticsv2/__init__.py +201 -11
  156. aws_cdk/aws_kinesisfirehose/__init__.py +3077 -295
  157. aws_cdk/aws_kinesisvideo/__init__.py +24 -4
  158. aws_cdk/aws_kms/__init__.py +188 -41
  159. aws_cdk/aws_lakeformation/__init__.py +80 -15
  160. aws_cdk/aws_lambda/__init__.py +2101 -252
  161. aws_cdk/aws_lambda_event_sources/__init__.py +638 -1
  162. aws_cdk/aws_lambda_nodejs/__init__.py +63 -24
  163. aws_cdk/aws_launchwizard/__init__.py +13 -2
  164. aws_cdk/aws_lex/__init__.py +871 -8
  165. aws_cdk/aws_licensemanager/__init__.py +24 -4
  166. aws_cdk/aws_lightsail/__init__.py +2159 -975
  167. aws_cdk/aws_location/__init__.py +618 -14
  168. aws_cdk/aws_logs/__init__.py +5904 -956
  169. aws_cdk/aws_lookoutequipment/__init__.py +13 -2
  170. aws_cdk/aws_lookoutmetrics/__init__.py +38 -6
  171. aws_cdk/aws_lookoutvision/__init__.py +71 -2
  172. aws_cdk/aws_m2/__init__.py +94 -19
  173. aws_cdk/aws_macie/__init__.py +49 -11
  174. aws_cdk/aws_managedblockchain/__init__.py +180 -6
  175. aws_cdk/aws_mediaconnect/__init__.py +101 -18
  176. aws_cdk/aws_mediaconvert/__init__.py +35 -6
  177. aws_cdk/aws_medialive/__init__.py +1239 -35
  178. aws_cdk/aws_mediapackage/__init__.py +59 -12
  179. aws_cdk/aws_mediapackagev2/__init__.py +1607 -225
  180. aws_cdk/aws_mediastore/__init__.py +13 -2
  181. aws_cdk/aws_mediatailor/__init__.py +583 -12
  182. aws_cdk/aws_memorydb/__init__.py +271 -12
  183. aws_cdk/aws_mpa/__init__.py +1495 -0
  184. aws_cdk/aws_msk/__init__.py +104 -18
  185. aws_cdk/aws_mwaa/__init__.py +121 -9
  186. aws_cdk/aws_neptune/__init__.py +290 -78
  187. aws_cdk/aws_neptunegraph/__init__.py +24 -4
  188. aws_cdk/aws_networkfirewall/__init__.py +1289 -273
  189. aws_cdk/aws_networkmanager/__init__.py +349 -33
  190. aws_cdk/aws_nimblestudio/__init__.py +75 -8
  191. aws_cdk/aws_notifications/__init__.py +317 -12
  192. aws_cdk/aws_notificationscontacts/__init__.py +13 -2
  193. aws_cdk/aws_oam/__init__.py +24 -4
  194. aws_cdk/aws_observabilityadmin/__init__.py +2561 -0
  195. aws_cdk/aws_odb/__init__.py +5872 -0
  196. aws_cdk/aws_omics/__init__.py +2495 -529
  197. aws_cdk/aws_opensearchserverless/__init__.py +312 -37
  198. aws_cdk/aws_opensearchservice/__init__.py +495 -19
  199. aws_cdk/aws_opsworks/__init__.py +235 -139
  200. aws_cdk/aws_opsworkscm/__init__.py +16 -52
  201. aws_cdk/aws_organizations/__init__.py +70 -10
  202. aws_cdk/aws_osis/__init__.py +167 -2
  203. aws_cdk/aws_panorama/__init__.py +151 -6
  204. aws_cdk/aws_paymentcryptography/__init__.py +24 -4
  205. aws_cdk/aws_pcaconnectorad/__init__.py +59 -10
  206. aws_cdk/aws_pcaconnectorscep/__init__.py +24 -4
  207. aws_cdk/aws_pcs/__init__.py +387 -68
  208. aws_cdk/aws_personalize/__init__.py +46 -8
  209. aws_cdk/aws_pinpoint/__init__.py +329 -38
  210. aws_cdk/aws_pinpointemail/__init__.py +48 -8
  211. aws_cdk/aws_pipes/__init__.py +12 -2
  212. aws_cdk/aws_proton/__init__.py +37 -6
  213. aws_cdk/aws_qbusiness/__init__.py +635 -34
  214. aws_cdk/aws_qldb/__init__.py +24 -4
  215. aws_cdk/aws_quicksight/__init__.py +7900 -1160
  216. aws_cdk/aws_ram/__init__.py +24 -4
  217. aws_cdk/aws_rbin/__init__.py +12 -2
  218. aws_cdk/aws_rds/__init__.py +3345 -512
  219. aws_cdk/aws_redshift/__init__.py +143 -20
  220. aws_cdk/aws_redshiftserverless/__init__.py +692 -4
  221. aws_cdk/aws_refactorspaces/__init__.py +64 -14
  222. aws_cdk/aws_rekognition/__init__.py +93 -6
  223. aws_cdk/aws_resiliencehub/__init__.py +24 -4
  224. aws_cdk/aws_resourceexplorer2/__init__.py +35 -6
  225. aws_cdk/aws_resourcegroups/__init__.py +82 -4
  226. aws_cdk/aws_robomaker/__init__.py +72 -12
  227. aws_cdk/aws_rolesanywhere/__init__.py +180 -6
  228. aws_cdk/aws_route53/__init__.py +3273 -1442
  229. aws_cdk/aws_route53_targets/__init__.py +3 -0
  230. aws_cdk/aws_route53profiles/__init__.py +37 -6
  231. aws_cdk/aws_route53recoverycontrol/__init__.py +46 -8
  232. aws_cdk/aws_route53recoveryreadiness/__init__.py +104 -8
  233. aws_cdk/aws_route53resolver/__init__.py +226 -36
  234. aws_cdk/aws_rtbfabric/__init__.py +3498 -0
  235. aws_cdk/aws_rum/__init__.py +13 -2
  236. aws_cdk/aws_s3/__init__.py +1291 -158
  237. aws_cdk/aws_s3_assets/__init__.py +11 -11
  238. aws_cdk/aws_s3_deployment/__init__.py +147 -11
  239. aws_cdk/aws_s3_notifications/__init__.py +7 -7
  240. aws_cdk/aws_s3express/__init__.py +266 -8
  241. aws_cdk/aws_s3objectlambda/__init__.py +68 -16
  242. aws_cdk/aws_s3outposts/__init__.py +46 -8
  243. aws_cdk/aws_s3tables/__init__.py +2000 -323
  244. aws_cdk/aws_s3vectors/__init__.py +1378 -0
  245. aws_cdk/aws_sagemaker/__init__.py +6617 -363
  246. aws_cdk/aws_sam/__init__.py +79 -14
  247. aws_cdk/aws_scheduler/__init__.py +237 -4
  248. aws_cdk/aws_sdb/__init__.py +12 -2
  249. aws_cdk/aws_secretsmanager/__init__.py +170 -14
  250. aws_cdk/aws_securityhub/__init__.py +3121 -176
  251. aws_cdk/aws_securitylake/__init__.py +46 -8
  252. aws_cdk/aws_servicecatalog/__init__.py +405 -246
  253. aws_cdk/aws_servicecatalogappregistry/__init__.py +164 -8
  254. aws_cdk/aws_servicediscovery/__init__.py +140 -47
  255. aws_cdk/aws_ses/__init__.py +1231 -140
  256. aws_cdk/aws_shield/__init__.py +46 -8
  257. aws_cdk/aws_signer/__init__.py +27 -4
  258. aws_cdk/aws_simspaceweaver/__init__.py +42 -2
  259. aws_cdk/aws_smsvoice/__init__.py +4716 -0
  260. aws_cdk/aws_sns/__init__.py +245 -29
  261. aws_cdk/aws_sns_subscriptions/__init__.py +3 -1
  262. aws_cdk/aws_sqs/__init__.py +211 -14
  263. aws_cdk/aws_ssm/__init__.py +401 -58
  264. aws_cdk/aws_ssmcontacts/__init__.py +46 -8
  265. aws_cdk/aws_ssmguiconnect/__init__.py +13 -2
  266. aws_cdk/aws_ssmincidents/__init__.py +24 -4
  267. aws_cdk/aws_ssmquicksetup/__init__.py +383 -6
  268. aws_cdk/aws_sso/__init__.py +70 -12
  269. aws_cdk/aws_stepfunctions/__init__.py +615 -70
  270. aws_cdk/aws_stepfunctions_tasks/__init__.py +781 -144
  271. aws_cdk/aws_supportapp/__init__.py +39 -6
  272. aws_cdk/aws_synthetics/__init__.py +861 -75
  273. aws_cdk/aws_systemsmanagersap/__init__.py +13 -2
  274. aws_cdk/aws_timestream/__init__.py +104 -8
  275. aws_cdk/aws_transfer/__init__.py +784 -87
  276. aws_cdk/aws_verifiedpermissions/__init__.py +145 -17
  277. aws_cdk/aws_voiceid/__init__.py +41 -2
  278. aws_cdk/aws_vpclattice/__init__.py +376 -30
  279. aws_cdk/aws_waf/__init__.py +79 -14
  280. aws_cdk/aws_wafregional/__init__.py +123 -22
  281. aws_cdk/aws_wafv2/__init__.py +1179 -60
  282. aws_cdk/aws_wisdom/__init__.py +1401 -90
  283. aws_cdk/aws_workspaces/__init__.py +93 -6
  284. aws_cdk/aws_workspacesinstances/__init__.py +3940 -0
  285. aws_cdk/aws_workspacesthinclient/__init__.py +79 -10
  286. aws_cdk/aws_workspacesweb/__init__.py +1057 -141
  287. aws_cdk/aws_xray/__init__.py +48 -8
  288. aws_cdk/cloud_assembly_schema/__init__.py +231 -6
  289. aws_cdk/custom_resources/__init__.py +40 -12
  290. aws_cdk/cx_api/__init__.py +85 -14
  291. aws_cdk/interfaces/__init__.py +739 -0
  292. aws_cdk/interfaces/alexa_ask/__init__.py +146 -0
  293. aws_cdk/interfaces/aws_accessanalyzer/__init__.py +146 -0
  294. aws_cdk/interfaces/aws_acmpca/__init__.py +501 -0
  295. aws_cdk/interfaces/aws_aiops/__init__.py +146 -0
  296. aws_cdk/interfaces/aws_amazonmq/__init__.py +386 -0
  297. aws_cdk/interfaces/aws_amplify/__init__.py +352 -0
  298. aws_cdk/interfaces/aws_amplifyuibuilder/__init__.py +454 -0
  299. aws_cdk/interfaces/aws_apigateway/__init__.py +2486 -0
  300. aws_cdk/interfaces/aws_apigatewayv2/__init__.py +1651 -0
  301. aws_cdk/interfaces/aws_appconfig/__init__.py +1020 -0
  302. aws_cdk/interfaces/aws_appflow/__init__.py +404 -0
  303. aws_cdk/interfaces/aws_appintegrations/__init__.py +396 -0
  304. aws_cdk/interfaces/aws_applicationautoscaling/__init__.py +307 -0
  305. aws_cdk/interfaces/aws_applicationinsights/__init__.py +148 -0
  306. aws_cdk/interfaces/aws_applicationsignals/__init__.py +358 -0
  307. aws_cdk/interfaces/aws_appmesh/__init__.py +888 -0
  308. aws_cdk/interfaces/aws_apprunner/__init__.py +564 -0
  309. aws_cdk/interfaces/aws_appstream/__init__.py +1482 -0
  310. aws_cdk/interfaces/aws_appsync/__init__.py +1326 -0
  311. aws_cdk/interfaces/aws_apptest/__init__.py +163 -0
  312. aws_cdk/interfaces/aws_aps/__init__.py +558 -0
  313. aws_cdk/interfaces/aws_arcregionswitch/__init__.py +146 -0
  314. aws_cdk/interfaces/aws_arczonalshift/__init__.py +273 -0
  315. aws_cdk/interfaces/aws_athena/__init__.py +575 -0
  316. aws_cdk/interfaces/aws_auditmanager/__init__.py +163 -0
  317. aws_cdk/interfaces/aws_autoscaling/__init__.py +705 -0
  318. aws_cdk/interfaces/aws_autoscalingplans/__init__.py +148 -0
  319. aws_cdk/interfaces/aws_b2bi/__init__.py +524 -0
  320. aws_cdk/interfaces/aws_backup/__init__.py +955 -0
  321. aws_cdk/interfaces/aws_backupgateway/__init__.py +146 -0
  322. aws_cdk/interfaces/aws_batch/__init__.py +681 -0
  323. aws_cdk/interfaces/aws_bcmdataexports/__init__.py +146 -0
  324. aws_cdk/interfaces/aws_bedrock/__init__.py +1942 -0
  325. aws_cdk/interfaces/aws_bedrockagentcore/__init__.py +934 -0
  326. aws_cdk/interfaces/aws_billing/__init__.py +146 -0
  327. aws_cdk/interfaces/aws_billingconductor/__init__.py +463 -0
  328. aws_cdk/interfaces/aws_budgets/__init__.py +261 -0
  329. aws_cdk/interfaces/aws_cassandra/__init__.py +381 -0
  330. aws_cdk/interfaces/aws_ce/__init__.py +352 -0
  331. aws_cdk/interfaces/aws_certificatemanager/__init__.py +251 -0
  332. aws_cdk/interfaces/aws_chatbot/__init__.py +366 -0
  333. aws_cdk/interfaces/aws_cleanrooms/__init__.py +1103 -0
  334. aws_cdk/interfaces/aws_cleanroomsml/__init__.py +148 -0
  335. aws_cdk/interfaces/aws_cloud9/__init__.py +166 -0
  336. aws_cdk/interfaces/aws_cloudformation/__init__.py +1919 -0
  337. aws_cdk/interfaces/aws_cloudfront/__init__.py +1998 -0
  338. aws_cdk/interfaces/aws_cloudtrail/__init__.py +570 -0
  339. aws_cdk/interfaces/aws_cloudwatch/__init__.py +733 -0
  340. aws_cdk/interfaces/aws_codeartifact/__init__.py +352 -0
  341. aws_cdk/interfaces/aws_codebuild/__init__.py +487 -0
  342. aws_cdk/interfaces/aws_codecommit/__init__.py +163 -0
  343. aws_cdk/interfaces/aws_codeconnections/__init__.py +146 -0
  344. aws_cdk/interfaces/aws_codedeploy/__init__.py +352 -0
  345. aws_cdk/interfaces/aws_codeguruprofiler/__init__.py +168 -0
  346. aws_cdk/interfaces/aws_codegurureviewer/__init__.py +148 -0
  347. aws_cdk/interfaces/aws_codepipeline/__init__.py +388 -0
  348. aws_cdk/interfaces/aws_codestar/__init__.py +146 -0
  349. aws_cdk/interfaces/aws_codestarconnections/__init__.py +370 -0
  350. aws_cdk/interfaces/aws_codestarnotifications/__init__.py +148 -0
  351. aws_cdk/interfaces/aws_cognito/__init__.py +1929 -0
  352. aws_cdk/interfaces/aws_comprehend/__init__.py +251 -0
  353. aws_cdk/interfaces/aws_config/__init__.py +1165 -0
  354. aws_cdk/interfaces/aws_connect/__init__.py +2949 -0
  355. aws_cdk/interfaces/aws_connectcampaigns/__init__.py +146 -0
  356. aws_cdk/interfaces/aws_connectcampaignsv2/__init__.py +146 -0
  357. aws_cdk/interfaces/aws_controltower/__init__.py +394 -0
  358. aws_cdk/interfaces/aws_cur/__init__.py +146 -0
  359. aws_cdk/interfaces/aws_customerprofiles/__init__.py +915 -0
  360. aws_cdk/interfaces/aws_databrew/__init__.py +661 -0
  361. aws_cdk/interfaces/aws_datapipeline/__init__.py +146 -0
  362. aws_cdk/interfaces/aws_datasync/__init__.py +1384 -0
  363. aws_cdk/interfaces/aws_datazone/__init__.py +2238 -0
  364. aws_cdk/interfaces/aws_dax/__init__.py +364 -0
  365. aws_cdk/interfaces/aws_deadline/__init__.py +1303 -0
  366. aws_cdk/interfaces/aws_detective/__init__.py +364 -0
  367. aws_cdk/interfaces/aws_devicefarm/__init__.py +663 -0
  368. aws_cdk/interfaces/aws_devopsguru/__init__.py +362 -0
  369. aws_cdk/interfaces/aws_directoryservice/__init__.py +251 -0
  370. aws_cdk/interfaces/aws_dlm/__init__.py +166 -0
  371. aws_cdk/interfaces/aws_dms/__init__.py +1176 -0
  372. aws_cdk/interfaces/aws_docdb/__init__.py +560 -0
  373. aws_cdk/interfaces/aws_docdbelastic/__init__.py +146 -0
  374. aws_cdk/interfaces/aws_dsql/__init__.py +146 -0
  375. aws_cdk/interfaces/aws_dynamodb/__init__.py +278 -0
  376. aws_cdk/interfaces/aws_ec2/__init__.py +11963 -0
  377. aws_cdk/interfaces/aws_ecr/__init__.py +814 -0
  378. aws_cdk/interfaces/aws_ecs/__init__.py +845 -0
  379. aws_cdk/interfaces/aws_efs/__init__.py +392 -0
  380. aws_cdk/interfaces/aws_eks/__init__.py +948 -0
  381. aws_cdk/interfaces/aws_elasticache/__init__.py +1108 -0
  382. aws_cdk/interfaces/aws_elasticbeanstalk/__init__.py +503 -0
  383. aws_cdk/interfaces/aws_elasticloadbalancing/__init__.py +148 -0
  384. aws_cdk/interfaces/aws_elasticloadbalancingv2/__init__.py +795 -0
  385. aws_cdk/interfaces/aws_elasticsearch/__init__.py +158 -0
  386. aws_cdk/interfaces/aws_emr/__init__.py +913 -0
  387. aws_cdk/interfaces/aws_emrcontainers/__init__.py +168 -0
  388. aws_cdk/interfaces/aws_emrserverless/__init__.py +166 -0
  389. aws_cdk/interfaces/aws_entityresolution/__init__.py +608 -0
  390. aws_cdk/interfaces/aws_events/__init__.py +872 -0
  391. aws_cdk/interfaces/aws_eventschemas/__init__.py +455 -0
  392. aws_cdk/interfaces/aws_evidently/__init__.py +558 -0
  393. aws_cdk/interfaces/aws_evs/__init__.py +166 -0
  394. aws_cdk/interfaces/aws_finspace/__init__.py +166 -0
  395. aws_cdk/interfaces/aws_fis/__init__.py +271 -0
  396. aws_cdk/interfaces/aws_fms/__init__.py +364 -0
  397. aws_cdk/interfaces/aws_forecast/__init__.py +249 -0
  398. aws_cdk/interfaces/aws_frauddetector/__init__.py +764 -0
  399. aws_cdk/interfaces/aws_fsx/__init__.py +663 -0
  400. aws_cdk/interfaces/aws_gamelift/__init__.py +1325 -0
  401. aws_cdk/interfaces/aws_gameliftstreams/__init__.py +249 -0
  402. aws_cdk/interfaces/aws_globalaccelerator/__init__.py +461 -0
  403. aws_cdk/interfaces/aws_glue/__init__.py +2377 -0
  404. aws_cdk/interfaces/aws_grafana/__init__.py +146 -0
  405. aws_cdk/interfaces/aws_greengrass/__init__.py +1871 -0
  406. aws_cdk/interfaces/aws_greengrassv2/__init__.py +251 -0
  407. aws_cdk/interfaces/aws_groundstation/__init__.py +396 -0
  408. aws_cdk/interfaces/aws_guardduty/__init__.py +1225 -0
  409. aws_cdk/interfaces/aws_healthimaging/__init__.py +163 -0
  410. aws_cdk/interfaces/aws_healthlake/__init__.py +146 -0
  411. aws_cdk/interfaces/aws_iam/__init__.py +1803 -0
  412. aws_cdk/interfaces/aws_identitystore/__init__.py +288 -0
  413. aws_cdk/interfaces/aws_imagebuilder/__init__.py +984 -0
  414. aws_cdk/interfaces/aws_inspector/__init__.py +354 -0
  415. aws_cdk/interfaces/aws_inspectorv2/__init__.py +467 -0
  416. aws_cdk/interfaces/aws_internetmonitor/__init__.py +163 -0
  417. aws_cdk/interfaces/aws_invoicing/__init__.py +146 -0
  418. aws_cdk/interfaces/aws_iot/__init__.py +3483 -0
  419. aws_cdk/interfaces/aws_iotanalytics/__init__.py +455 -0
  420. aws_cdk/interfaces/aws_iotcoredeviceadvisor/__init__.py +168 -0
  421. aws_cdk/interfaces/aws_iotevents/__init__.py +352 -0
  422. aws_cdk/interfaces/aws_iotfleethub/__init__.py +166 -0
  423. aws_cdk/interfaces/aws_iotfleetwise/__init__.py +892 -0
  424. aws_cdk/interfaces/aws_iotsitewise/__init__.py +1097 -0
  425. aws_cdk/interfaces/aws_iotthingsgraph/__init__.py +146 -0
  426. aws_cdk/interfaces/aws_iottwinmaker/__init__.py +711 -0
  427. aws_cdk/interfaces/aws_iotwireless/__init__.py +1401 -0
  428. aws_cdk/interfaces/aws_ivs/__init__.py +1075 -0
  429. aws_cdk/interfaces/aws_ivschat/__init__.py +251 -0
  430. aws_cdk/interfaces/aws_kafkaconnect/__init__.py +354 -0
  431. aws_cdk/interfaces/aws_kendra/__init__.py +428 -0
  432. aws_cdk/interfaces/aws_kendraranking/__init__.py +166 -0
  433. aws_cdk/interfaces/aws_kinesis/__init__.py +364 -0
  434. aws_cdk/interfaces/aws_kinesisanalytics/__init__.py +364 -0
  435. aws_cdk/interfaces/aws_kinesisanalyticsv2/__init__.py +479 -0
  436. aws_cdk/interfaces/aws_kinesisfirehose/__init__.py +168 -0
  437. aws_cdk/interfaces/aws_kinesisvideo/__init__.py +283 -0
  438. aws_cdk/interfaces/aws_kms/__init__.py +376 -0
  439. aws_cdk/interfaces/aws_lakeformation/__init__.py +860 -0
  440. aws_cdk/interfaces/aws_lambda/__init__.py +1141 -0
  441. aws_cdk/interfaces/aws_launchwizard/__init__.py +146 -0
  442. aws_cdk/interfaces/aws_lex/__init__.py +513 -0
  443. aws_cdk/interfaces/aws_licensemanager/__init__.py +249 -0
  444. aws_cdk/interfaces/aws_lightsail/__init__.py +1744 -0
  445. aws_cdk/interfaces/aws_location/__init__.py +879 -0
  446. aws_cdk/interfaces/aws_logs/__init__.py +1667 -0
  447. aws_cdk/interfaces/aws_lookoutequipment/__init__.py +168 -0
  448. aws_cdk/interfaces/aws_lookoutmetrics/__init__.py +251 -0
  449. aws_cdk/interfaces/aws_lookoutvision/__init__.py +163 -0
  450. aws_cdk/interfaces/aws_m2/__init__.py +352 -0
  451. aws_cdk/interfaces/aws_macie/__init__.py +512 -0
  452. aws_cdk/interfaces/aws_managedblockchain/__init__.py +381 -0
  453. aws_cdk/interfaces/aws_mediaconnect/__init__.py +1028 -0
  454. aws_cdk/interfaces/aws_mediaconvert/__init__.py +396 -0
  455. aws_cdk/interfaces/aws_medialive/__init__.py +1755 -0
  456. aws_cdk/interfaces/aws_mediapackage/__init__.py +644 -0
  457. aws_cdk/interfaces/aws_mediapackagev2/__init__.py +618 -0
  458. aws_cdk/interfaces/aws_mediastore/__init__.py +146 -0
  459. aws_cdk/interfaces/aws_mediatailor/__init__.py +788 -0
  460. aws_cdk/interfaces/aws_memorydb/__init__.py +685 -0
  461. aws_cdk/interfaces/aws_mpa/__init__.py +249 -0
  462. aws_cdk/interfaces/aws_msk/__init__.py +764 -0
  463. aws_cdk/interfaces/aws_mwaa/__init__.py +166 -0
  464. aws_cdk/interfaces/aws_neptune/__init__.py +663 -0
  465. aws_cdk/interfaces/aws_neptunegraph/__init__.py +265 -0
  466. aws_cdk/interfaces/aws_networkfirewall/__init__.py +669 -0
  467. aws_cdk/interfaces/aws_networkmanager/__init__.py +1832 -0
  468. aws_cdk/interfaces/aws_nimblestudio/__init__.py +388 -0
  469. aws_cdk/interfaces/aws_notifications/__init__.py +868 -0
  470. aws_cdk/interfaces/aws_notificationscontacts/__init__.py +148 -0
  471. aws_cdk/interfaces/aws_oam/__init__.py +249 -0
  472. aws_cdk/interfaces/aws_observabilityadmin/__init__.py +362 -0
  473. aws_cdk/interfaces/aws_odb/__init__.py +562 -0
  474. aws_cdk/interfaces/aws_omics/__init__.py +838 -0
  475. aws_cdk/interfaces/aws_opensearchserverless/__init__.py +859 -0
  476. aws_cdk/interfaces/aws_opensearchservice/__init__.py +283 -0
  477. aws_cdk/interfaces/aws_opsworks/__init__.py +772 -0
  478. aws_cdk/interfaces/aws_opsworkscm/__init__.py +146 -0
  479. aws_cdk/interfaces/aws_organizations/__init__.py +646 -0
  480. aws_cdk/interfaces/aws_osis/__init__.py +146 -0
  481. aws_cdk/interfaces/aws_panorama/__init__.py +420 -0
  482. aws_cdk/interfaces/aws_paymentcryptography/__init__.py +249 -0
  483. aws_cdk/interfaces/aws_pcaconnectorad/__init__.py +608 -0
  484. aws_cdk/interfaces/aws_pcaconnectorscep/__init__.py +249 -0
  485. aws_cdk/interfaces/aws_pcs/__init__.py +352 -0
  486. aws_cdk/interfaces/aws_personalize/__init__.py +455 -0
  487. aws_cdk/interfaces/aws_pinpoint/__init__.py +2125 -0
  488. aws_cdk/interfaces/aws_pinpointemail/__init__.py +467 -0
  489. aws_cdk/interfaces/aws_pipes/__init__.py +158 -0
  490. aws_cdk/interfaces/aws_proton/__init__.py +360 -0
  491. aws_cdk/interfaces/aws_qbusiness/__init__.py +1122 -0
  492. aws_cdk/interfaces/aws_qldb/__init__.py +283 -0
  493. aws_cdk/interfaces/aws_quicksight/__init__.py +1566 -0
  494. aws_cdk/interfaces/aws_ram/__init__.py +249 -0
  495. aws_cdk/interfaces/aws_rbin/__init__.py +146 -0
  496. aws_cdk/interfaces/aws_rds/__init__.py +1780 -0
  497. aws_cdk/interfaces/aws_redshift/__init__.py +1104 -0
  498. aws_cdk/interfaces/aws_redshiftserverless/__init__.py +356 -0
  499. aws_cdk/interfaces/aws_refactorspaces/__init__.py +605 -0
  500. aws_cdk/interfaces/aws_rekognition/__init__.py +406 -0
  501. aws_cdk/interfaces/aws_resiliencehub/__init__.py +251 -0
  502. aws_cdk/interfaces/aws_resourceexplorer2/__init__.py +354 -0
  503. aws_cdk/interfaces/aws_resourcegroups/__init__.py +261 -0
  504. aws_cdk/interfaces/aws_robomaker/__init__.py +673 -0
  505. aws_cdk/interfaces/aws_rolesanywhere/__init__.py +384 -0
  506. aws_cdk/interfaces/aws_route53/__init__.py +804 -0
  507. aws_cdk/interfaces/aws_route53profiles/__init__.py +368 -0
  508. aws_cdk/interfaces/aws_route53recoverycontrol/__init__.py +463 -0
  509. aws_cdk/interfaces/aws_route53recoveryreadiness/__init__.py +535 -0
  510. aws_cdk/interfaces/aws_route53resolver/__init__.py +1356 -0
  511. aws_cdk/interfaces/aws_rtbfabric/__init__.py +352 -0
  512. aws_cdk/interfaces/aws_rum/__init__.py +146 -0
  513. aws_cdk/interfaces/aws_s3/__init__.py +1171 -0
  514. aws_cdk/interfaces/aws_s3express/__init__.py +392 -0
  515. aws_cdk/interfaces/aws_s3objectlambda/__init__.py +271 -0
  516. aws_cdk/interfaces/aws_s3outposts/__init__.py +455 -0
  517. aws_cdk/interfaces/aws_s3tables/__init__.py +575 -0
  518. aws_cdk/interfaces/aws_s3vectors/__init__.py +354 -0
  519. aws_cdk/interfaces/aws_sagemaker/__init__.py +3797 -0
  520. aws_cdk/interfaces/aws_sam/__init__.py +603 -0
  521. aws_cdk/interfaces/aws_scheduler/__init__.py +286 -0
  522. aws_cdk/interfaces/aws_sdb/__init__.py +146 -0
  523. aws_cdk/interfaces/aws_secretsmanager/__init__.py +461 -0
  524. aws_cdk/interfaces/aws_securityhub/__init__.py +1499 -0
  525. aws_cdk/interfaces/aws_securitylake/__init__.py +474 -0
  526. aws_cdk/interfaces/aws_servicecatalog/__init__.py +1829 -0
  527. aws_cdk/interfaces/aws_servicecatalogappregistry/__init__.py +557 -0
  528. aws_cdk/interfaces/aws_servicediscovery/__init__.py +636 -0
  529. aws_cdk/interfaces/aws_ses/__init__.py +2018 -0
  530. aws_cdk/interfaces/aws_shield/__init__.py +455 -0
  531. aws_cdk/interfaces/aws_signer/__init__.py +266 -0
  532. aws_cdk/interfaces/aws_simspaceweaver/__init__.py +146 -0
  533. aws_cdk/interfaces/aws_smsvoice/__init__.py +892 -0
  534. aws_cdk/interfaces/aws_sns/__init__.py +455 -0
  535. aws_cdk/interfaces/aws_sqs/__init__.py +364 -0
  536. aws_cdk/interfaces/aws_ssm/__init__.py +982 -0
  537. aws_cdk/interfaces/aws_ssmcontacts/__init__.py +455 -0
  538. aws_cdk/interfaces/aws_ssmguiconnect/__init__.py +146 -0
  539. aws_cdk/interfaces/aws_ssmincidents/__init__.py +249 -0
  540. aws_cdk/interfaces/aws_ssmquicksetup/__init__.py +253 -0
  541. aws_cdk/interfaces/aws_sso/__init__.py +797 -0
  542. aws_cdk/interfaces/aws_stepfunctions/__init__.py +459 -0
  543. aws_cdk/interfaces/aws_supportapp/__init__.py +372 -0
  544. aws_cdk/interfaces/aws_synthetics/__init__.py +249 -0
  545. aws_cdk/interfaces/aws_systemsmanagersap/__init__.py +148 -0
  546. aws_cdk/interfaces/aws_timestream/__init__.py +526 -0
  547. aws_cdk/interfaces/aws_transfer/__init__.py +967 -0
  548. aws_cdk/interfaces/aws_verifiedpermissions/__init__.py +538 -0
  549. aws_cdk/interfaces/aws_voiceid/__init__.py +146 -0
  550. aws_cdk/interfaces/aws_vpclattice/__init__.py +1418 -0
  551. aws_cdk/interfaces/aws_waf/__init__.py +764 -0
  552. aws_cdk/interfaces/aws_wafregional/__init__.py +1182 -0
  553. aws_cdk/interfaces/aws_wafv2/__init__.py +870 -0
  554. aws_cdk/interfaces/aws_wisdom/__init__.py +1556 -0
  555. aws_cdk/interfaces/aws_workspaces/__init__.py +352 -0
  556. aws_cdk/interfaces/aws_workspacesinstances/__init__.py +390 -0
  557. aws_cdk/interfaces/aws_workspacesthinclient/__init__.py +168 -0
  558. aws_cdk/interfaces/aws_workspacesweb/__init__.py +1085 -0
  559. aws_cdk/interfaces/aws_xray/__init__.py +457 -0
  560. aws_cdk/pipelines/__init__.py +192 -42
  561. aws_cdk/region_info/__init__.py +3 -0
  562. aws_cdk/triggers/__init__.py +60 -18
  563. {aws_cdk_lib-2.200.2.dist-info → aws_cdk_lib-2.224.0.dist-info}/METADATA +338 -16
  564. aws_cdk_lib-2.224.0.dist-info/RECORD +584 -0
  565. aws_cdk_lib-2.200.2.dist-info/RECORD +0 -304
  566. {aws_cdk_lib-2.200.2.dist-info → aws_cdk_lib-2.224.0.dist-info}/LICENSE +0 -0
  567. {aws_cdk_lib-2.200.2.dist-info → aws_cdk_lib-2.224.0.dist-info}/NOTICE +0 -0
  568. {aws_cdk_lib-2.200.2.dist-info → aws_cdk_lib-2.224.0.dist-info}/WHEEL +0 -0
  569. {aws_cdk_lib-2.200.2.dist-info → aws_cdk_lib-2.224.0.dist-info}/top_level.txt +0 -0
@@ -17,6 +17,8 @@ intake and aggregation.
17
17
  * [Write Permissions](#write-permissions)
18
18
  * [Custom Permissions](#custom-permissions)
19
19
  * [Metrics](#metrics)
20
+
21
+ * [Shard-level Metrics](#shard-level-metrics)
20
22
  * [Stream Consumers](#stream-consumers)
21
23
 
22
24
  * [Read Permissions](#read-permissions-1)
@@ -189,6 +191,40 @@ stream.metric_get_records_success()
189
191
  stream.metric_get_records_success(statistic="Maximum")
190
192
  ```
191
193
 
194
+ #### Shard-level Metrics
195
+
196
+ You can enable enhanced shard-level metrics for your Kinesis stream to get detailed monitoring of individual shards. Shard-level metrics provide more granular insights into the performance and health of your stream.
197
+
198
+ ```python
199
+ stream = kinesis.Stream(self, "MyStream",
200
+ shard_level_metrics=[kinesis.ShardLevelMetrics.ALL]
201
+ )
202
+ ```
203
+
204
+ You can also specify individual metrics that you want to monitor:
205
+
206
+ ```python
207
+ stream = kinesis.Stream(self, "MyStream",
208
+ shard_level_metrics=[kinesis.ShardLevelMetrics.INCOMING_BYTES, kinesis.ShardLevelMetrics.INCOMING_RECORDS, kinesis.ShardLevelMetrics.ITERATOR_AGE_MILLISECONDS, kinesis.ShardLevelMetrics.OUTGOING_BYTES, kinesis.ShardLevelMetrics.OUTGOING_RECORDS, kinesis.ShardLevelMetrics.READ_PROVISIONED_THROUGHPUT_EXCEEDED, kinesis.ShardLevelMetrics.WRITE_PROVISIONED_THROUGHPUT_EXCEEDED
209
+ ]
210
+ )
211
+ ```
212
+
213
+ Available shard-level metrics include:
214
+
215
+ * `INCOMING_BYTES` - The number of bytes successfully put to the shard
216
+ * `INCOMING_RECORDS` - The number of records successfully put to the shard
217
+ * `ITERATOR_AGE_MILLISECONDS` - The age of the last record in all GetRecords calls made against a shard
218
+ * `OUTGOING_BYTES` - The number of bytes retrieved from the shard
219
+ * `OUTGOING_RECORDS` - The number of records retrieved from the shard
220
+ * `READ_PROVISIONED_THROUGHPUT_EXCEEDED` - The number of GetRecords calls throttled for the shard
221
+ * `WRITE_PROVISIONED_THROUGHPUT_EXCEEDED` - The number of records rejected due to throttling for the shard
222
+ * `ALL` - All available metrics
223
+
224
+ Note: You cannot specify `ALL` together with other individual metrics. If you want all metrics, use `ALL` alone.
225
+
226
+ For more information about shard-level metrics, see [Monitoring the Amazon Kinesis Data Streams Service with Amazon CloudWatch](https://docs.aws.amazon.com/streams/latest/dev/monitoring-with-cloudwatch.html#kinesis-metrics-shard).
227
+
192
228
  ## Stream Consumers
193
229
 
194
230
  Creating stream consumers allow consumers to receive data from the stream using enhanced fan-out at a rate of up to 2 MiB per second for every shard.
@@ -342,6 +378,7 @@ from .. import (
342
378
  IResolvable as _IResolvable_da3f097b,
343
379
  IResource as _IResource_c80c4260,
344
380
  ITaggable as _ITaggable_36806126,
381
+ ITaggableV2 as _ITaggableV2_4e6798f8,
345
382
  RemovalPolicy as _RemovalPolicy_9f93c814,
346
383
  Resource as _Resource_45bc6135,
347
384
  TagManager as _TagManager_0a598cb3,
@@ -360,9 +397,17 @@ from ..aws_iam import (
360
397
  PolicyStatement as _PolicyStatement_0fe33853,
361
398
  )
362
399
  from ..aws_kms import IKey as _IKey_5f11635f
400
+ from ..interfaces.aws_kinesis import (
401
+ IResourcePolicyRef as _IResourcePolicyRef_e65ec5be,
402
+ IStreamConsumerRef as _IStreamConsumerRef_62f6b6ad,
403
+ IStreamRef as _IStreamRef_b484e253,
404
+ ResourcePolicyReference as _ResourcePolicyReference_3cd91e96,
405
+ StreamConsumerReference as _StreamConsumerReference_d7ef801e,
406
+ StreamReference as _StreamReference_030b9268,
407
+ )
363
408
 
364
409
 
365
- @jsii.implements(_IInspectable_c2943556)
410
+ @jsii.implements(_IInspectable_c2943556, _IResourcePolicyRef_e65ec5be)
366
411
  class CfnResourcePolicy(
367
412
  _CfnResource_9df397a6,
368
413
  metaclass=jsii.JSIIMeta,
@@ -405,10 +450,11 @@ class CfnResourcePolicy(
405
450
  resource_arn: builtins.str,
406
451
  resource_policy: typing.Any,
407
452
  ) -> None:
408
- '''
453
+ '''Create a new ``AWS::Kinesis::ResourcePolicy``.
454
+
409
455
  :param scope: Scope in which this resource is defined.
410
456
  :param id: Construct identifier for this resource (unique in its scope).
411
- :param resource_arn: This is the name for the resource policy.
457
+ :param resource_arn: Returns the Amazon Resource Name (ARN) of the resource-based policy.
412
458
  :param resource_policy: This is the description for the resource policy.
413
459
  '''
414
460
  if __debug__:
@@ -456,10 +502,16 @@ class CfnResourcePolicy(
456
502
  def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
457
503
  return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
458
504
 
505
+ @builtins.property
506
+ @jsii.member(jsii_name="resourcePolicyRef")
507
+ def resource_policy_ref(self) -> _ResourcePolicyReference_3cd91e96:
508
+ '''A reference to a ResourcePolicy resource.'''
509
+ return typing.cast(_ResourcePolicyReference_3cd91e96, jsii.get(self, "resourcePolicyRef"))
510
+
459
511
  @builtins.property
460
512
  @jsii.member(jsii_name="resourceArn")
461
513
  def resource_arn(self) -> builtins.str:
462
- '''This is the name for the resource policy.'''
514
+ '''Returns the Amazon Resource Name (ARN) of the resource-based policy.'''
463
515
  return typing.cast(builtins.str, jsii.get(self, "resourceArn"))
464
516
 
465
517
  @resource_arn.setter
@@ -497,7 +549,7 @@ class CfnResourcePolicyProps:
497
549
  ) -> None:
498
550
  '''Properties for defining a ``CfnResourcePolicy``.
499
551
 
500
- :param resource_arn: This is the name for the resource policy.
552
+ :param resource_arn: Returns the Amazon Resource Name (ARN) of the resource-based policy.
501
553
  :param resource_policy: This is the description for the resource policy.
502
554
 
503
555
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesis-resourcepolicy.html
@@ -527,7 +579,7 @@ class CfnResourcePolicyProps:
527
579
 
528
580
  @builtins.property
529
581
  def resource_arn(self) -> builtins.str:
530
- '''This is the name for the resource policy.
582
+ '''Returns the Amazon Resource Name (ARN) of the resource-based policy.
531
583
 
532
584
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesis-resourcepolicy.html#cfn-kinesis-resourcepolicy-resourcearn
533
585
  '''
@@ -557,7 +609,7 @@ class CfnResourcePolicyProps:
557
609
  )
558
610
 
559
611
 
560
- @jsii.implements(_IInspectable_c2943556, _ITaggable_36806126)
612
+ @jsii.implements(_IInspectable_c2943556, _IStreamRef_b484e253, _ITaggable_36806126)
561
613
  class CfnStream(
562
614
  _CfnResource_9df397a6,
563
615
  metaclass=jsii.JSIIMeta,
@@ -579,6 +631,7 @@ class CfnStream(
579
631
 
580
632
  cfn_stream = kinesis.CfnStream(self, "MyCfnStream",
581
633
  desired_shard_level_metrics=["desiredShardLevelMetrics"],
634
+ max_record_size_in_ki_b=123,
582
635
  name="name",
583
636
  retention_period_hours=123,
584
637
  shard_count=123,
@@ -602,6 +655,7 @@ class CfnStream(
602
655
  id: builtins.str,
603
656
  *,
604
657
  desired_shard_level_metrics: typing.Optional[typing.Sequence[builtins.str]] = None,
658
+ max_record_size_in_kib: typing.Optional[jsii.Number] = None,
605
659
  name: typing.Optional[builtins.str] = None,
606
660
  retention_period_hours: typing.Optional[jsii.Number] = None,
607
661
  shard_count: typing.Optional[jsii.Number] = None,
@@ -609,10 +663,12 @@ class CfnStream(
609
663
  stream_mode_details: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnStream.StreamModeDetailsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
610
664
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
611
665
  ) -> None:
612
- '''
666
+ '''Create a new ``AWS::Kinesis::Stream``.
667
+
613
668
  :param scope: Scope in which this resource is defined.
614
669
  :param id: Construct identifier for this resource (unique in its scope).
615
670
  :param desired_shard_level_metrics: A list of shard-level metrics in properties to enable enhanced monitoring mode.
671
+ :param max_record_size_in_kib: The maximum record size of a single record in kibibyte (KiB) that you can write to, and read from a stream.
616
672
  :param name: The name of the Kinesis stream. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the stream name. For more information, see `Name Type <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-name.html>`_ . If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
617
673
  :param retention_period_hours: The number of hours for the data records that are stored in shards to remain accessible. The default value is 24. For more information about the stream retention period, see `Changing the Data Retention Period <https://docs.aws.amazon.com/streams/latest/dev/kinesis-extended-retention.html>`_ in the Amazon Kinesis Developer Guide.
618
674
  :param shard_count: The number of shards that the stream uses. For greater provisioned throughput, increase the number of shards.
@@ -626,6 +682,7 @@ class CfnStream(
626
682
  check_type(argname="argument id", value=id, expected_type=type_hints["id"])
627
683
  props = CfnStreamProps(
628
684
  desired_shard_level_metrics=desired_shard_level_metrics,
685
+ max_record_size_in_kib=max_record_size_in_kib,
629
686
  name=name,
630
687
  retention_period_hours=retention_period_hours,
631
688
  shard_count=shard_count,
@@ -636,6 +693,48 @@ class CfnStream(
636
693
 
637
694
  jsii.create(self.__class__, self, [scope, id, props])
638
695
 
696
+ @jsii.member(jsii_name="fromStreamArn")
697
+ @builtins.classmethod
698
+ def from_stream_arn(
699
+ cls,
700
+ scope: _constructs_77d1e7e8.Construct,
701
+ id: builtins.str,
702
+ arn: builtins.str,
703
+ ) -> _IStreamRef_b484e253:
704
+ '''Creates a new IStreamRef from an ARN.
705
+
706
+ :param scope: -
707
+ :param id: -
708
+ :param arn: -
709
+ '''
710
+ if __debug__:
711
+ type_hints = typing.get_type_hints(_typecheckingstub__3c69677685a82f8e525ad2739006025db5278674d3e523946f160156221a9f73)
712
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
713
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
714
+ check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
715
+ return typing.cast(_IStreamRef_b484e253, jsii.sinvoke(cls, "fromStreamArn", [scope, id, arn]))
716
+
717
+ @jsii.member(jsii_name="fromStreamName")
718
+ @builtins.classmethod
719
+ def from_stream_name(
720
+ cls,
721
+ scope: _constructs_77d1e7e8.Construct,
722
+ id: builtins.str,
723
+ stream_name: builtins.str,
724
+ ) -> _IStreamRef_b484e253:
725
+ '''Creates a new IStreamRef from a streamName.
726
+
727
+ :param scope: -
728
+ :param id: -
729
+ :param stream_name: -
730
+ '''
731
+ if __debug__:
732
+ type_hints = typing.get_type_hints(_typecheckingstub__29cb46b7ceb2cd8a127a3866d6508b48f921857bfb60faeb20b84a87cb83f072)
733
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
734
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
735
+ check_type(argname="argument stream_name", value=stream_name, expected_type=type_hints["stream_name"])
736
+ return typing.cast(_IStreamRef_b484e253, jsii.sinvoke(cls, "fromStreamName", [scope, id, stream_name]))
737
+
639
738
  @jsii.member(jsii_name="inspect")
640
739
  def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
641
740
  '''Examines the CloudFormation resource and discloses attributes.
@@ -680,6 +779,12 @@ class CfnStream(
680
779
  def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
681
780
  return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
682
781
 
782
+ @builtins.property
783
+ @jsii.member(jsii_name="streamRef")
784
+ def stream_ref(self) -> _StreamReference_030b9268:
785
+ '''A reference to a Stream resource.'''
786
+ return typing.cast(_StreamReference_030b9268, jsii.get(self, "streamRef"))
787
+
683
788
  @builtins.property
684
789
  @jsii.member(jsii_name="tags")
685
790
  def tags(self) -> _TagManager_0a598cb3:
@@ -702,6 +807,19 @@ class CfnStream(
702
807
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
703
808
  jsii.set(self, "desiredShardLevelMetrics", value) # pyright: ignore[reportArgumentType]
704
809
 
810
+ @builtins.property
811
+ @jsii.member(jsii_name="maxRecordSizeInKiB")
812
+ def max_record_size_in_kib(self) -> typing.Optional[jsii.Number]:
813
+ '''The maximum record size of a single record in kibibyte (KiB) that you can write to, and read from a stream.'''
814
+ return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "maxRecordSizeInKiB"))
815
+
816
+ @max_record_size_in_kib.setter
817
+ def max_record_size_in_kib(self, value: typing.Optional[jsii.Number]) -> None:
818
+ if __debug__:
819
+ type_hints = typing.get_type_hints(_typecheckingstub__cc4d82c06f60950007b5fa7b77421e4c8280037d91abe3d864ec5aefbb103659)
820
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
821
+ jsii.set(self, "maxRecordSizeInKiB", value) # pyright: ignore[reportArgumentType]
822
+
705
823
  @builtins.property
706
824
  @jsii.member(jsii_name="name")
707
825
  def name(self) -> typing.Optional[builtins.str]:
@@ -938,7 +1056,7 @@ class CfnStream(
938
1056
  )
939
1057
 
940
1058
 
941
- @jsii.implements(_IInspectable_c2943556)
1059
+ @jsii.implements(_IInspectable_c2943556, _IStreamConsumerRef_62f6b6ad, _ITaggableV2_4e6798f8)
942
1060
  class CfnStreamConsumer(
943
1061
  _CfnResource_9df397a6,
944
1062
  metaclass=jsii.JSIIMeta,
@@ -964,7 +1082,13 @@ class CfnStreamConsumer(
964
1082
 
965
1083
  cfn_stream_consumer = kinesis.CfnStreamConsumer(self, "MyCfnStreamConsumer",
966
1084
  consumer_name="consumerName",
967
- stream_arn="streamArn"
1085
+ stream_arn="streamArn",
1086
+
1087
+ # the properties below are optional
1088
+ tags=[CfnTag(
1089
+ key="key",
1090
+ value="value"
1091
+ )]
968
1092
  )
969
1093
  '''
970
1094
 
@@ -975,19 +1099,22 @@ class CfnStreamConsumer(
975
1099
  *,
976
1100
  consumer_name: builtins.str,
977
1101
  stream_arn: builtins.str,
1102
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
978
1103
  ) -> None:
979
- '''
1104
+ '''Create a new ``AWS::Kinesis::StreamConsumer``.
1105
+
980
1106
  :param scope: Scope in which this resource is defined.
981
1107
  :param id: Construct identifier for this resource (unique in its scope).
982
1108
  :param consumer_name: The name of the consumer is something you choose when you register the consumer.
983
1109
  :param stream_arn: The ARN of the stream with which you registered the consumer.
1110
+ :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
1111
  '''
985
1112
  if __debug__:
986
1113
  type_hints = typing.get_type_hints(_typecheckingstub__40129c585ad941f6708a726728b53f8f98c392e9aac49550e397150ee353888f)
987
1114
  check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
988
1115
  check_type(argname="argument id", value=id, expected_type=type_hints["id"])
989
1116
  props = CfnStreamConsumerProps(
990
- consumer_name=consumer_name, stream_arn=stream_arn
1117
+ consumer_name=consumer_name, stream_arn=stream_arn, tags=tags
991
1118
  )
992
1119
 
993
1120
  jsii.create(self.__class__, self, [scope, id, props])
@@ -1062,14 +1189,6 @@ class CfnStreamConsumer(
1062
1189
  '''
1063
1190
  return typing.cast(builtins.str, jsii.get(self, "attrConsumerStatus"))
1064
1191
 
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
1192
  @builtins.property
1074
1193
  @jsii.member(jsii_name="attrStreamArn")
1075
1194
  def attr_stream_arn(self) -> builtins.str:
@@ -1079,11 +1198,23 @@ class CfnStreamConsumer(
1079
1198
  '''
1080
1199
  return typing.cast(builtins.str, jsii.get(self, "attrStreamArn"))
1081
1200
 
1201
+ @builtins.property
1202
+ @jsii.member(jsii_name="cdkTagManager")
1203
+ def cdk_tag_manager(self) -> _TagManager_0a598cb3:
1204
+ '''Tag Manager which manages the tags for this resource.'''
1205
+ return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
1206
+
1082
1207
  @builtins.property
1083
1208
  @jsii.member(jsii_name="cfnProperties")
1084
1209
  def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
1085
1210
  return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
1086
1211
 
1212
+ @builtins.property
1213
+ @jsii.member(jsii_name="streamConsumerRef")
1214
+ def stream_consumer_ref(self) -> _StreamConsumerReference_d7ef801e:
1215
+ '''A reference to a StreamConsumer resource.'''
1216
+ return typing.cast(_StreamConsumerReference_d7ef801e, jsii.get(self, "streamConsumerRef"))
1217
+
1087
1218
  @builtins.property
1088
1219
  @jsii.member(jsii_name="consumerName")
1089
1220
  def consumer_name(self) -> builtins.str:
@@ -1110,11 +1241,28 @@ class CfnStreamConsumer(
1110
1241
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1111
1242
  jsii.set(self, "streamArn", value) # pyright: ignore[reportArgumentType]
1112
1243
 
1244
+ @builtins.property
1245
+ @jsii.member(jsii_name="tags")
1246
+ def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
1247
+ '''An array of tags to be added to a specified Kinesis resource.'''
1248
+ return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
1249
+
1250
+ @tags.setter
1251
+ def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
1252
+ if __debug__:
1253
+ type_hints = typing.get_type_hints(_typecheckingstub__741a97d9ae28403dd10b071c7777bb76448096ad2b30f06325c121d8271174db)
1254
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1255
+ jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
1256
+
1113
1257
 
1114
1258
  @jsii.data_type(
1115
1259
  jsii_type="aws-cdk-lib.aws_kinesis.CfnStreamConsumerProps",
1116
1260
  jsii_struct_bases=[],
1117
- name_mapping={"consumer_name": "consumerName", "stream_arn": "streamArn"},
1261
+ name_mapping={
1262
+ "consumer_name": "consumerName",
1263
+ "stream_arn": "streamArn",
1264
+ "tags": "tags",
1265
+ },
1118
1266
  )
1119
1267
  class CfnStreamConsumerProps:
1120
1268
  def __init__(
@@ -1122,11 +1270,13 @@ class CfnStreamConsumerProps:
1122
1270
  *,
1123
1271
  consumer_name: builtins.str,
1124
1272
  stream_arn: builtins.str,
1273
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
1125
1274
  ) -> None:
1126
1275
  '''Properties for defining a ``CfnStreamConsumer``.
1127
1276
 
1128
1277
  :param consumer_name: The name of the consumer is something you choose when you register the consumer.
1129
1278
  :param stream_arn: The ARN of the stream with which you registered the consumer.
1279
+ :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
1280
 
1131
1281
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesis-streamconsumer.html
1132
1282
  :exampleMetadata: fixture=_generated
@@ -1139,17 +1289,26 @@ class CfnStreamConsumerProps:
1139
1289
 
1140
1290
  cfn_stream_consumer_props = kinesis.CfnStreamConsumerProps(
1141
1291
  consumer_name="consumerName",
1142
- stream_arn="streamArn"
1292
+ stream_arn="streamArn",
1293
+
1294
+ # the properties below are optional
1295
+ tags=[CfnTag(
1296
+ key="key",
1297
+ value="value"
1298
+ )]
1143
1299
  )
1144
1300
  '''
1145
1301
  if __debug__:
1146
1302
  type_hints = typing.get_type_hints(_typecheckingstub__04af0c0cee5710afdb7b50f59ef3686da8bba1bf2ed3a56c1e5209c6859bca6f)
1147
1303
  check_type(argname="argument consumer_name", value=consumer_name, expected_type=type_hints["consumer_name"])
1148
1304
  check_type(argname="argument stream_arn", value=stream_arn, expected_type=type_hints["stream_arn"])
1305
+ check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
1149
1306
  self._values: typing.Dict[builtins.str, typing.Any] = {
1150
1307
  "consumer_name": consumer_name,
1151
1308
  "stream_arn": stream_arn,
1152
1309
  }
1310
+ if tags is not None:
1311
+ self._values["tags"] = tags
1153
1312
 
1154
1313
  @builtins.property
1155
1314
  def consumer_name(self) -> builtins.str:
@@ -1171,6 +1330,17 @@ class CfnStreamConsumerProps:
1171
1330
  assert result is not None, "Required property 'stream_arn' is missing"
1172
1331
  return typing.cast(builtins.str, result)
1173
1332
 
1333
+ @builtins.property
1334
+ def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
1335
+ '''An array of tags to be added to a specified Kinesis resource.
1336
+
1337
+ A tag consists of a required key and an optional value. You can specify up to 50 tag key-value pairs.
1338
+
1339
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesis-streamconsumer.html#cfn-kinesis-streamconsumer-tags
1340
+ '''
1341
+ result = self._values.get("tags")
1342
+ return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
1343
+
1174
1344
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
1175
1345
  return isinstance(rhs, self.__class__) and rhs._values == self._values
1176
1346
 
@@ -1188,6 +1358,7 @@ class CfnStreamConsumerProps:
1188
1358
  jsii_struct_bases=[],
1189
1359
  name_mapping={
1190
1360
  "desired_shard_level_metrics": "desiredShardLevelMetrics",
1361
+ "max_record_size_in_kib": "maxRecordSizeInKiB",
1191
1362
  "name": "name",
1192
1363
  "retention_period_hours": "retentionPeriodHours",
1193
1364
  "shard_count": "shardCount",
@@ -1201,6 +1372,7 @@ class CfnStreamProps:
1201
1372
  self,
1202
1373
  *,
1203
1374
  desired_shard_level_metrics: typing.Optional[typing.Sequence[builtins.str]] = None,
1375
+ max_record_size_in_kib: typing.Optional[jsii.Number] = None,
1204
1376
  name: typing.Optional[builtins.str] = None,
1205
1377
  retention_period_hours: typing.Optional[jsii.Number] = None,
1206
1378
  shard_count: typing.Optional[jsii.Number] = None,
@@ -1211,6 +1383,7 @@ class CfnStreamProps:
1211
1383
  '''Properties for defining a ``CfnStream``.
1212
1384
 
1213
1385
  :param desired_shard_level_metrics: A list of shard-level metrics in properties to enable enhanced monitoring mode.
1386
+ :param max_record_size_in_kib: The maximum record size of a single record in kibibyte (KiB) that you can write to, and read from a stream.
1214
1387
  :param name: The name of the Kinesis stream. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the stream name. For more information, see `Name Type <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-name.html>`_ . If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
1215
1388
  :param retention_period_hours: The number of hours for the data records that are stored in shards to remain accessible. The default value is 24. For more information about the stream retention period, see `Changing the Data Retention Period <https://docs.aws.amazon.com/streams/latest/dev/kinesis-extended-retention.html>`_ in the Amazon Kinesis Developer Guide.
1216
1389
  :param shard_count: The number of shards that the stream uses. For greater provisioned throughput, increase the number of shards.
@@ -1229,6 +1402,7 @@ class CfnStreamProps:
1229
1402
 
1230
1403
  cfn_stream_props = kinesis.CfnStreamProps(
1231
1404
  desired_shard_level_metrics=["desiredShardLevelMetrics"],
1405
+ max_record_size_in_ki_b=123,
1232
1406
  name="name",
1233
1407
  retention_period_hours=123,
1234
1408
  shard_count=123,
@@ -1248,6 +1422,7 @@ class CfnStreamProps:
1248
1422
  if __debug__:
1249
1423
  type_hints = typing.get_type_hints(_typecheckingstub__d3bac625363d3769acb567c00e5b48d63afe09fd6d0305829f157ffcc46ec169)
1250
1424
  check_type(argname="argument desired_shard_level_metrics", value=desired_shard_level_metrics, expected_type=type_hints["desired_shard_level_metrics"])
1425
+ check_type(argname="argument max_record_size_in_kib", value=max_record_size_in_kib, expected_type=type_hints["max_record_size_in_kib"])
1251
1426
  check_type(argname="argument name", value=name, expected_type=type_hints["name"])
1252
1427
  check_type(argname="argument retention_period_hours", value=retention_period_hours, expected_type=type_hints["retention_period_hours"])
1253
1428
  check_type(argname="argument shard_count", value=shard_count, expected_type=type_hints["shard_count"])
@@ -1257,6 +1432,8 @@ class CfnStreamProps:
1257
1432
  self._values: typing.Dict[builtins.str, typing.Any] = {}
1258
1433
  if desired_shard_level_metrics is not None:
1259
1434
  self._values["desired_shard_level_metrics"] = desired_shard_level_metrics
1435
+ if max_record_size_in_kib is not None:
1436
+ self._values["max_record_size_in_kib"] = max_record_size_in_kib
1260
1437
  if name is not None:
1261
1438
  self._values["name"] = name
1262
1439
  if retention_period_hours is not None:
@@ -1279,6 +1456,15 @@ class CfnStreamProps:
1279
1456
  result = self._values.get("desired_shard_level_metrics")
1280
1457
  return typing.cast(typing.Optional[typing.List[builtins.str]], result)
1281
1458
 
1459
+ @builtins.property
1460
+ def max_record_size_in_kib(self) -> typing.Optional[jsii.Number]:
1461
+ '''The maximum record size of a single record in kibibyte (KiB) that you can write to, and read from a stream.
1462
+
1463
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesis-stream.html#cfn-kinesis-stream-maxrecordsizeinkib
1464
+ '''
1465
+ result = self._values.get("max_record_size_in_kib")
1466
+ return typing.cast(typing.Optional[jsii.Number], result)
1467
+
1282
1468
  @builtins.property
1283
1469
  def name(self) -> typing.Optional[builtins.str]:
1284
1470
  '''The name of the Kinesis stream.
@@ -1460,6 +1646,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1460
1646
  account: typing.Optional[builtins.str] = None,
1461
1647
  color: typing.Optional[builtins.str] = None,
1462
1648
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
1649
+ id: typing.Optional[builtins.str] = None,
1463
1650
  label: typing.Optional[builtins.str] = None,
1464
1651
  period: typing.Optional[_Duration_4839e8c3] = None,
1465
1652
  region: typing.Optional[builtins.str] = None,
@@ -1467,6 +1654,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1467
1654
  stack_region: typing.Optional[builtins.str] = None,
1468
1655
  statistic: typing.Optional[builtins.str] = None,
1469
1656
  unit: typing.Optional[_Unit_61bc6f70] = None,
1657
+ visible: typing.Optional[builtins.bool] = None,
1470
1658
  ) -> _Metric_e396a4dc:
1471
1659
  '''Return stream metric based from its metric name.
1472
1660
 
@@ -1474,6 +1662,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1474
1662
  :param account: Account which this metric comes from. Default: - Deployment account.
1475
1663
  :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
1664
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
1665
+ :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
1666
  :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
1667
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
1479
1668
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -1481,6 +1670,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1481
1670
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
1482
1671
  :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
1672
  :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
1673
+ :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
1674
  '''
1485
1675
  ...
1486
1676
 
@@ -1491,6 +1681,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1491
1681
  account: typing.Optional[builtins.str] = None,
1492
1682
  color: typing.Optional[builtins.str] = None,
1493
1683
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
1684
+ id: typing.Optional[builtins.str] = None,
1494
1685
  label: typing.Optional[builtins.str] = None,
1495
1686
  period: typing.Optional[_Duration_4839e8c3] = None,
1496
1687
  region: typing.Optional[builtins.str] = None,
@@ -1498,6 +1689,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1498
1689
  stack_region: typing.Optional[builtins.str] = None,
1499
1690
  statistic: typing.Optional[builtins.str] = None,
1500
1691
  unit: typing.Optional[_Unit_61bc6f70] = None,
1692
+ visible: typing.Optional[builtins.bool] = None,
1501
1693
  ) -> _Metric_e396a4dc:
1502
1694
  '''The number of records retrieved from the shard, measured over the specified time period.
1503
1695
 
@@ -1510,6 +1702,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1510
1702
  :param account: Account which this metric comes from. Default: - Deployment account.
1511
1703
  :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
1704
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
1705
+ :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
1706
  :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
1707
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
1515
1708
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -1517,6 +1710,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1517
1710
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
1518
1711
  :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
1712
  :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
1713
+ :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
1714
  '''
1521
1715
  ...
1522
1716
 
@@ -1527,6 +1721,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1527
1721
  account: typing.Optional[builtins.str] = None,
1528
1722
  color: typing.Optional[builtins.str] = None,
1529
1723
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
1724
+ id: typing.Optional[builtins.str] = None,
1530
1725
  label: typing.Optional[builtins.str] = None,
1531
1726
  period: typing.Optional[_Duration_4839e8c3] = None,
1532
1727
  region: typing.Optional[builtins.str] = None,
@@ -1534,6 +1729,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1534
1729
  stack_region: typing.Optional[builtins.str] = None,
1535
1730
  statistic: typing.Optional[builtins.str] = None,
1536
1731
  unit: typing.Optional[_Unit_61bc6f70] = None,
1732
+ visible: typing.Optional[builtins.bool] = None,
1537
1733
  ) -> _Metric_e396a4dc:
1538
1734
  '''The number of bytes retrieved from the Kinesis stream, measured over the specified time period.
1539
1735
 
@@ -1546,6 +1742,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1546
1742
  :param account: Account which this metric comes from. Default: - Deployment account.
1547
1743
  :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
1744
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
1745
+ :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
1746
  :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
1747
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
1551
1748
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -1553,6 +1750,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1553
1750
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
1554
1751
  :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
1752
  :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
1753
+ :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
1754
  '''
1557
1755
  ...
1558
1756
 
@@ -1563,6 +1761,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1563
1761
  account: typing.Optional[builtins.str] = None,
1564
1762
  color: typing.Optional[builtins.str] = None,
1565
1763
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
1764
+ id: typing.Optional[builtins.str] = None,
1566
1765
  label: typing.Optional[builtins.str] = None,
1567
1766
  period: typing.Optional[_Duration_4839e8c3] = None,
1568
1767
  region: typing.Optional[builtins.str] = None,
@@ -1570,6 +1769,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1570
1769
  stack_region: typing.Optional[builtins.str] = None,
1571
1770
  statistic: typing.Optional[builtins.str] = None,
1572
1771
  unit: typing.Optional[_Unit_61bc6f70] = None,
1772
+ visible: typing.Optional[builtins.bool] = None,
1573
1773
  ) -> _Metric_e396a4dc:
1574
1774
  '''The age of the last record in all GetRecords calls made against a Kinesis stream, measured over the specified time period.
1575
1775
 
@@ -1582,6 +1782,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1582
1782
  :param account: Account which this metric comes from. Default: - Deployment account.
1583
1783
  :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
1784
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
1785
+ :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
1786
  :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
1787
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
1587
1788
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -1589,6 +1790,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1589
1790
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
1590
1791
  :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
1792
  :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
1793
+ :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
1794
  '''
1593
1795
  ...
1594
1796
 
@@ -1599,6 +1801,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1599
1801
  account: typing.Optional[builtins.str] = None,
1600
1802
  color: typing.Optional[builtins.str] = None,
1601
1803
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
1804
+ id: typing.Optional[builtins.str] = None,
1602
1805
  label: typing.Optional[builtins.str] = None,
1603
1806
  period: typing.Optional[_Duration_4839e8c3] = None,
1604
1807
  region: typing.Optional[builtins.str] = None,
@@ -1606,6 +1809,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1606
1809
  stack_region: typing.Optional[builtins.str] = None,
1607
1810
  statistic: typing.Optional[builtins.str] = None,
1608
1811
  unit: typing.Optional[_Unit_61bc6f70] = None,
1812
+ visible: typing.Optional[builtins.bool] = None,
1609
1813
  ) -> _Metric_e396a4dc:
1610
1814
  '''The time taken per GetRecords operation, measured over the specified time period.
1611
1815
 
@@ -1614,6 +1818,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1614
1818
  :param account: Account which this metric comes from. Default: - Deployment account.
1615
1819
  :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
1820
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
1821
+ :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
1822
  :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
1823
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
1619
1824
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -1621,6 +1826,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1621
1826
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
1622
1827
  :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
1828
  :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
1829
+ :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
1830
  '''
1625
1831
  ...
1626
1832
 
@@ -1631,6 +1837,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1631
1837
  account: typing.Optional[builtins.str] = None,
1632
1838
  color: typing.Optional[builtins.str] = None,
1633
1839
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
1840
+ id: typing.Optional[builtins.str] = None,
1634
1841
  label: typing.Optional[builtins.str] = None,
1635
1842
  period: typing.Optional[_Duration_4839e8c3] = None,
1636
1843
  region: typing.Optional[builtins.str] = None,
@@ -1638,6 +1845,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1638
1845
  stack_region: typing.Optional[builtins.str] = None,
1639
1846
  statistic: typing.Optional[builtins.str] = None,
1640
1847
  unit: typing.Optional[_Unit_61bc6f70] = None,
1848
+ visible: typing.Optional[builtins.bool] = None,
1641
1849
  ) -> _Metric_e396a4dc:
1642
1850
  '''The number of successful GetRecords operations per stream, measured over the specified time period.
1643
1851
 
@@ -1646,6 +1854,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1646
1854
  :param account: Account which this metric comes from. Default: - Deployment account.
1647
1855
  :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
1856
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
1857
+ :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
1858
  :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
1859
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
1651
1860
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -1653,6 +1862,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1653
1862
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
1654
1863
  :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
1864
  :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
1865
+ :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
1866
  '''
1657
1867
  ...
1658
1868
 
@@ -1663,6 +1873,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1663
1873
  account: typing.Optional[builtins.str] = None,
1664
1874
  color: typing.Optional[builtins.str] = None,
1665
1875
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
1876
+ id: typing.Optional[builtins.str] = None,
1666
1877
  label: typing.Optional[builtins.str] = None,
1667
1878
  period: typing.Optional[_Duration_4839e8c3] = None,
1668
1879
  region: typing.Optional[builtins.str] = None,
@@ -1670,6 +1881,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1670
1881
  stack_region: typing.Optional[builtins.str] = None,
1671
1882
  statistic: typing.Optional[builtins.str] = None,
1672
1883
  unit: typing.Optional[_Unit_61bc6f70] = None,
1884
+ visible: typing.Optional[builtins.bool] = None,
1673
1885
  ) -> _Metric_e396a4dc:
1674
1886
  '''The number of bytes successfully put to the Kinesis stream over the specified time period.
1675
1887
 
@@ -1682,6 +1894,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1682
1894
  :param account: Account which this metric comes from. Default: - Deployment account.
1683
1895
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
1684
1896
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
1897
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
1685
1898
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
1686
1899
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
1687
1900
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -1689,6 +1902,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1689
1902
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
1690
1903
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
1691
1904
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
1905
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
1692
1906
  '''
1693
1907
  ...
1694
1908
 
@@ -1699,6 +1913,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1699
1913
  account: typing.Optional[builtins.str] = None,
1700
1914
  color: typing.Optional[builtins.str] = None,
1701
1915
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
1916
+ id: typing.Optional[builtins.str] = None,
1702
1917
  label: typing.Optional[builtins.str] = None,
1703
1918
  period: typing.Optional[_Duration_4839e8c3] = None,
1704
1919
  region: typing.Optional[builtins.str] = None,
@@ -1706,6 +1921,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1706
1921
  stack_region: typing.Optional[builtins.str] = None,
1707
1922
  statistic: typing.Optional[builtins.str] = None,
1708
1923
  unit: typing.Optional[_Unit_61bc6f70] = None,
1924
+ visible: typing.Optional[builtins.bool] = None,
1709
1925
  ) -> _Metric_e396a4dc:
1710
1926
  '''The number of records successfully put to the Kinesis stream over the specified time period.
1711
1927
 
@@ -1718,6 +1934,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1718
1934
  :param account: Account which this metric comes from. Default: - Deployment account.
1719
1935
  :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
1936
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
1937
+ :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
1938
  :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
1939
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
1723
1940
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -1725,6 +1942,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1725
1942
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
1726
1943
  :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
1944
  :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
1945
+ :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
1946
  '''
1729
1947
  ...
1730
1948
 
@@ -1735,6 +1953,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1735
1953
  account: typing.Optional[builtins.str] = None,
1736
1954
  color: typing.Optional[builtins.str] = None,
1737
1955
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
1956
+ id: typing.Optional[builtins.str] = None,
1738
1957
  label: typing.Optional[builtins.str] = None,
1739
1958
  period: typing.Optional[_Duration_4839e8c3] = None,
1740
1959
  region: typing.Optional[builtins.str] = None,
@@ -1742,6 +1961,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1742
1961
  stack_region: typing.Optional[builtins.str] = None,
1743
1962
  statistic: typing.Optional[builtins.str] = None,
1744
1963
  unit: typing.Optional[_Unit_61bc6f70] = None,
1964
+ visible: typing.Optional[builtins.bool] = None,
1745
1965
  ) -> _Metric_e396a4dc:
1746
1966
  '''The number of bytes put to the Kinesis stream using the PutRecord operation over the specified time period.
1747
1967
 
@@ -1750,6 +1970,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1750
1970
  :param account: Account which this metric comes from. Default: - Deployment account.
1751
1971
  :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
1972
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
1973
+ :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
1974
  :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
1975
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
1755
1976
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -1757,6 +1978,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1757
1978
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
1758
1979
  :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
1980
  :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
1981
+ :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
1982
  '''
1761
1983
  ...
1762
1984
 
@@ -1767,6 +1989,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1767
1989
  account: typing.Optional[builtins.str] = None,
1768
1990
  color: typing.Optional[builtins.str] = None,
1769
1991
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
1992
+ id: typing.Optional[builtins.str] = None,
1770
1993
  label: typing.Optional[builtins.str] = None,
1771
1994
  period: typing.Optional[_Duration_4839e8c3] = None,
1772
1995
  region: typing.Optional[builtins.str] = None,
@@ -1774,6 +1997,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1774
1997
  stack_region: typing.Optional[builtins.str] = None,
1775
1998
  statistic: typing.Optional[builtins.str] = None,
1776
1999
  unit: typing.Optional[_Unit_61bc6f70] = None,
2000
+ visible: typing.Optional[builtins.bool] = None,
1777
2001
  ) -> _Metric_e396a4dc:
1778
2002
  '''The time taken per PutRecord operation, measured over the specified time period.
1779
2003
 
@@ -1782,6 +2006,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1782
2006
  :param account: Account which this metric comes from. Default: - Deployment account.
1783
2007
  :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
2008
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2009
+ :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
2010
  :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
2011
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
1787
2012
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -1789,6 +2014,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1789
2014
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
1790
2015
  :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
2016
  :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
2017
+ :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
2018
  '''
1793
2019
  ...
1794
2020
 
@@ -1799,6 +2025,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1799
2025
  account: typing.Optional[builtins.str] = None,
1800
2026
  color: typing.Optional[builtins.str] = None,
1801
2027
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2028
+ id: typing.Optional[builtins.str] = None,
1802
2029
  label: typing.Optional[builtins.str] = None,
1803
2030
  period: typing.Optional[_Duration_4839e8c3] = None,
1804
2031
  region: typing.Optional[builtins.str] = None,
@@ -1806,6 +2033,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1806
2033
  stack_region: typing.Optional[builtins.str] = None,
1807
2034
  statistic: typing.Optional[builtins.str] = None,
1808
2035
  unit: typing.Optional[_Unit_61bc6f70] = None,
2036
+ visible: typing.Optional[builtins.bool] = None,
1809
2037
  ) -> _Metric_e396a4dc:
1810
2038
  '''The number of bytes put to the Kinesis stream using the PutRecords operation over the specified time period.
1811
2039
 
@@ -1814,6 +2042,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1814
2042
  :param account: Account which this metric comes from. Default: - Deployment account.
1815
2043
  :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
2044
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2045
+ :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
2046
  :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
2047
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
1819
2048
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -1821,6 +2050,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1821
2050
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
1822
2051
  :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
2052
  :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
2053
+ :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
2054
  '''
1825
2055
  ...
1826
2056
 
@@ -1831,6 +2061,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1831
2061
  account: typing.Optional[builtins.str] = None,
1832
2062
  color: typing.Optional[builtins.str] = None,
1833
2063
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2064
+ id: typing.Optional[builtins.str] = None,
1834
2065
  label: typing.Optional[builtins.str] = None,
1835
2066
  period: typing.Optional[_Duration_4839e8c3] = None,
1836
2067
  region: typing.Optional[builtins.str] = None,
@@ -1838,6 +2069,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1838
2069
  stack_region: typing.Optional[builtins.str] = None,
1839
2070
  statistic: typing.Optional[builtins.str] = None,
1840
2071
  unit: typing.Optional[_Unit_61bc6f70] = None,
2072
+ visible: typing.Optional[builtins.bool] = None,
1841
2073
  ) -> _Metric_e396a4dc:
1842
2074
  '''The number of records rejected due to internal failures in a PutRecords operation per Kinesis data stream, measured over the specified time period.
1843
2075
 
@@ -1848,6 +2080,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1848
2080
  :param account: Account which this metric comes from. Default: - Deployment account.
1849
2081
  :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
2082
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2083
+ :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
2084
  :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
2085
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
1853
2086
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -1855,6 +2088,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1855
2088
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
1856
2089
  :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
2090
  :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
2091
+ :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
2092
  '''
1859
2093
  ...
1860
2094
 
@@ -1865,6 +2099,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1865
2099
  account: typing.Optional[builtins.str] = None,
1866
2100
  color: typing.Optional[builtins.str] = None,
1867
2101
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2102
+ id: typing.Optional[builtins.str] = None,
1868
2103
  label: typing.Optional[builtins.str] = None,
1869
2104
  period: typing.Optional[_Duration_4839e8c3] = None,
1870
2105
  region: typing.Optional[builtins.str] = None,
@@ -1872,6 +2107,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1872
2107
  stack_region: typing.Optional[builtins.str] = None,
1873
2108
  statistic: typing.Optional[builtins.str] = None,
1874
2109
  unit: typing.Optional[_Unit_61bc6f70] = None,
2110
+ visible: typing.Optional[builtins.bool] = None,
1875
2111
  ) -> _Metric_e396a4dc:
1876
2112
  '''The time taken per PutRecords operation, measured over the specified time period.
1877
2113
 
@@ -1880,6 +2116,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1880
2116
  :param account: Account which this metric comes from. Default: - Deployment account.
1881
2117
  :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
2118
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2119
+ :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
2120
  :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
2121
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
1885
2122
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -1887,6 +2124,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1887
2124
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
1888
2125
  :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
2126
  :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
2127
+ :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
2128
  '''
1891
2129
  ...
1892
2130
 
@@ -1897,6 +2135,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1897
2135
  account: typing.Optional[builtins.str] = None,
1898
2136
  color: typing.Optional[builtins.str] = None,
1899
2137
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2138
+ id: typing.Optional[builtins.str] = None,
1900
2139
  label: typing.Optional[builtins.str] = None,
1901
2140
  period: typing.Optional[_Duration_4839e8c3] = None,
1902
2141
  region: typing.Optional[builtins.str] = None,
@@ -1904,6 +2143,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1904
2143
  stack_region: typing.Optional[builtins.str] = None,
1905
2144
  statistic: typing.Optional[builtins.str] = None,
1906
2145
  unit: typing.Optional[_Unit_61bc6f70] = None,
2146
+ visible: typing.Optional[builtins.bool] = None,
1907
2147
  ) -> _Metric_e396a4dc:
1908
2148
  '''The number of PutRecords operations where at least one record succeeded, per Kinesis stream, measured over the specified time period.
1909
2149
 
@@ -1912,6 +2152,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1912
2152
  :param account: Account which this metric comes from. Default: - Deployment account.
1913
2153
  :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
2154
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2155
+ :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
2156
  :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
2157
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
1917
2158
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -1919,6 +2160,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1919
2160
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
1920
2161
  :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
2162
  :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
2163
+ :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
2164
  '''
1923
2165
  ...
1924
2166
 
@@ -1929,6 +2171,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1929
2171
  account: typing.Optional[builtins.str] = None,
1930
2172
  color: typing.Optional[builtins.str] = None,
1931
2173
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2174
+ id: typing.Optional[builtins.str] = None,
1932
2175
  label: typing.Optional[builtins.str] = None,
1933
2176
  period: typing.Optional[_Duration_4839e8c3] = None,
1934
2177
  region: typing.Optional[builtins.str] = None,
@@ -1936,6 +2179,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1936
2179
  stack_region: typing.Optional[builtins.str] = None,
1937
2180
  statistic: typing.Optional[builtins.str] = None,
1938
2181
  unit: typing.Optional[_Unit_61bc6f70] = None,
2182
+ visible: typing.Optional[builtins.bool] = None,
1939
2183
  ) -> _Metric_e396a4dc:
1940
2184
  '''The number of successful records in a PutRecords operation per Kinesis data stream, measured over the specified time period.
1941
2185
 
@@ -1944,6 +2188,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1944
2188
  :param account: Account which this metric comes from. Default: - Deployment account.
1945
2189
  :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
2190
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2191
+ :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
2192
  :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
2193
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
1949
2194
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -1951,6 +2196,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1951
2196
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
1952
2197
  :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
2198
  :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
2199
+ :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
2200
  '''
1955
2201
  ...
1956
2202
 
@@ -1961,6 +2207,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1961
2207
  account: typing.Optional[builtins.str] = None,
1962
2208
  color: typing.Optional[builtins.str] = None,
1963
2209
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2210
+ id: typing.Optional[builtins.str] = None,
1964
2211
  label: typing.Optional[builtins.str] = None,
1965
2212
  period: typing.Optional[_Duration_4839e8c3] = None,
1966
2213
  region: typing.Optional[builtins.str] = None,
@@ -1968,6 +2215,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1968
2215
  stack_region: typing.Optional[builtins.str] = None,
1969
2216
  statistic: typing.Optional[builtins.str] = None,
1970
2217
  unit: typing.Optional[_Unit_61bc6f70] = None,
2218
+ visible: typing.Optional[builtins.bool] = None,
1971
2219
  ) -> _Metric_e396a4dc:
1972
2220
  '''The number of records rejected due to throttling in a PutRecords operation per Kinesis data stream, measured over the specified time period.
1973
2221
 
@@ -1976,6 +2224,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1976
2224
  :param account: Account which this metric comes from. Default: - Deployment account.
1977
2225
  :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
2226
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2227
+ :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
2228
  :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
2229
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
1981
2230
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -1983,6 +2232,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1983
2232
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
1984
2233
  :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
2234
  :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
2235
+ :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
2236
  '''
1987
2237
  ...
1988
2238
 
@@ -1993,6 +2243,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
1993
2243
  account: typing.Optional[builtins.str] = None,
1994
2244
  color: typing.Optional[builtins.str] = None,
1995
2245
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2246
+ id: typing.Optional[builtins.str] = None,
1996
2247
  label: typing.Optional[builtins.str] = None,
1997
2248
  period: typing.Optional[_Duration_4839e8c3] = None,
1998
2249
  region: typing.Optional[builtins.str] = None,
@@ -2000,6 +2251,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
2000
2251
  stack_region: typing.Optional[builtins.str] = None,
2001
2252
  statistic: typing.Optional[builtins.str] = None,
2002
2253
  unit: typing.Optional[_Unit_61bc6f70] = None,
2254
+ visible: typing.Optional[builtins.bool] = None,
2003
2255
  ) -> _Metric_e396a4dc:
2004
2256
  '''The total number of records sent in a PutRecords operation per Kinesis data stream, measured over the specified time period.
2005
2257
 
@@ -2008,6 +2260,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
2008
2260
  :param account: Account which this metric comes from. Default: - Deployment account.
2009
2261
  :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
2262
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2263
+ :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
2264
  :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
2265
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2013
2266
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2015,6 +2268,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
2015
2268
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2016
2269
  :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
2270
  :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
2271
+ :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
2272
  '''
2019
2273
  ...
2020
2274
 
@@ -2025,6 +2279,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
2025
2279
  account: typing.Optional[builtins.str] = None,
2026
2280
  color: typing.Optional[builtins.str] = None,
2027
2281
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2282
+ id: typing.Optional[builtins.str] = None,
2028
2283
  label: typing.Optional[builtins.str] = None,
2029
2284
  period: typing.Optional[_Duration_4839e8c3] = None,
2030
2285
  region: typing.Optional[builtins.str] = None,
@@ -2032,6 +2287,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
2032
2287
  stack_region: typing.Optional[builtins.str] = None,
2033
2288
  statistic: typing.Optional[builtins.str] = None,
2034
2289
  unit: typing.Optional[_Unit_61bc6f70] = None,
2290
+ visible: typing.Optional[builtins.bool] = None,
2035
2291
  ) -> _Metric_e396a4dc:
2036
2292
  '''The number of successful PutRecord operations per Kinesis stream, measured over the specified time period.
2037
2293
 
@@ -2043,6 +2299,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
2043
2299
  :param account: Account which this metric comes from. Default: - Deployment account.
2044
2300
  :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
2301
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2302
+ :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
2303
  :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
2304
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2048
2305
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2050,6 +2307,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
2050
2307
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2051
2308
  :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
2309
  :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
2310
+ :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
2311
  '''
2054
2312
  ...
2055
2313
 
@@ -2060,6 +2318,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
2060
2318
  account: typing.Optional[builtins.str] = None,
2061
2319
  color: typing.Optional[builtins.str] = None,
2062
2320
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2321
+ id: typing.Optional[builtins.str] = None,
2063
2322
  label: typing.Optional[builtins.str] = None,
2064
2323
  period: typing.Optional[_Duration_4839e8c3] = None,
2065
2324
  region: typing.Optional[builtins.str] = None,
@@ -2067,6 +2326,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
2067
2326
  stack_region: typing.Optional[builtins.str] = None,
2068
2327
  statistic: typing.Optional[builtins.str] = None,
2069
2328
  unit: typing.Optional[_Unit_61bc6f70] = None,
2329
+ visible: typing.Optional[builtins.bool] = None,
2070
2330
  ) -> _Metric_e396a4dc:
2071
2331
  '''The number of GetRecords calls throttled for the stream over the specified time period.
2072
2332
 
@@ -2084,6 +2344,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
2084
2344
  :param account: Account which this metric comes from. Default: - Deployment account.
2085
2345
  :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
2346
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2347
+ :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
2348
  :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
2349
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2089
2350
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2091,6 +2352,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
2091
2352
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2092
2353
  :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
2354
  :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
2355
+ :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
2356
  '''
2095
2357
  ...
2096
2358
 
@@ -2101,6 +2363,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
2101
2363
  account: typing.Optional[builtins.str] = None,
2102
2364
  color: typing.Optional[builtins.str] = None,
2103
2365
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2366
+ id: typing.Optional[builtins.str] = None,
2104
2367
  label: typing.Optional[builtins.str] = None,
2105
2368
  period: typing.Optional[_Duration_4839e8c3] = None,
2106
2369
  region: typing.Optional[builtins.str] = None,
@@ -2108,6 +2371,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
2108
2371
  stack_region: typing.Optional[builtins.str] = None,
2109
2372
  statistic: typing.Optional[builtins.str] = None,
2110
2373
  unit: typing.Optional[_Unit_61bc6f70] = None,
2374
+ visible: typing.Optional[builtins.bool] = None,
2111
2375
  ) -> _Metric_e396a4dc:
2112
2376
  '''The number of records rejected due to throttling for the stream over the specified time period.
2113
2377
 
@@ -2125,6 +2389,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
2125
2389
  :param account: Account which this metric comes from. Default: - Deployment account.
2126
2390
  :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
2391
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2392
+ :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
2393
  :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
2394
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2130
2395
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2132,6 +2397,7 @@ class IStream(_IResource_c80c4260, typing_extensions.Protocol):
2132
2397
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2133
2398
  :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
2399
  :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
2400
+ :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
2401
  '''
2136
2402
  ...
2137
2403
 
@@ -2252,6 +2518,7 @@ class _IStreamProxy(
2252
2518
  account: typing.Optional[builtins.str] = None,
2253
2519
  color: typing.Optional[builtins.str] = None,
2254
2520
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2521
+ id: typing.Optional[builtins.str] = None,
2255
2522
  label: typing.Optional[builtins.str] = None,
2256
2523
  period: typing.Optional[_Duration_4839e8c3] = None,
2257
2524
  region: typing.Optional[builtins.str] = None,
@@ -2259,6 +2526,7 @@ class _IStreamProxy(
2259
2526
  stack_region: typing.Optional[builtins.str] = None,
2260
2527
  statistic: typing.Optional[builtins.str] = None,
2261
2528
  unit: typing.Optional[_Unit_61bc6f70] = None,
2529
+ visible: typing.Optional[builtins.bool] = None,
2262
2530
  ) -> _Metric_e396a4dc:
2263
2531
  '''Return stream metric based from its metric name.
2264
2532
 
@@ -2266,6 +2534,7 @@ class _IStreamProxy(
2266
2534
  :param account: Account which this metric comes from. Default: - Deployment account.
2267
2535
  :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
2536
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2537
+ :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
2538
  :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
2539
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2271
2540
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2273,6 +2542,7 @@ class _IStreamProxy(
2273
2542
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2274
2543
  :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
2544
  :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
2545
+ :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
2546
  '''
2277
2547
  if __debug__:
2278
2548
  type_hints = typing.get_type_hints(_typecheckingstub__bd578f4ca8facd0463f7e56d3d2cea7e56ba9ad274338af8f84fa661d088f98e)
@@ -2281,6 +2551,7 @@ class _IStreamProxy(
2281
2551
  account=account,
2282
2552
  color=color,
2283
2553
  dimensions_map=dimensions_map,
2554
+ id=id,
2284
2555
  label=label,
2285
2556
  period=period,
2286
2557
  region=region,
@@ -2288,6 +2559,7 @@ class _IStreamProxy(
2288
2559
  stack_region=stack_region,
2289
2560
  statistic=statistic,
2290
2561
  unit=unit,
2562
+ visible=visible,
2291
2563
  )
2292
2564
 
2293
2565
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metric", [metric_name, props]))
@@ -2299,6 +2571,7 @@ class _IStreamProxy(
2299
2571
  account: typing.Optional[builtins.str] = None,
2300
2572
  color: typing.Optional[builtins.str] = None,
2301
2573
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2574
+ id: typing.Optional[builtins.str] = None,
2302
2575
  label: typing.Optional[builtins.str] = None,
2303
2576
  period: typing.Optional[_Duration_4839e8c3] = None,
2304
2577
  region: typing.Optional[builtins.str] = None,
@@ -2306,6 +2579,7 @@ class _IStreamProxy(
2306
2579
  stack_region: typing.Optional[builtins.str] = None,
2307
2580
  statistic: typing.Optional[builtins.str] = None,
2308
2581
  unit: typing.Optional[_Unit_61bc6f70] = None,
2582
+ visible: typing.Optional[builtins.bool] = None,
2309
2583
  ) -> _Metric_e396a4dc:
2310
2584
  '''The number of records retrieved from the shard, measured over the specified time period.
2311
2585
 
@@ -2318,6 +2592,7 @@ class _IStreamProxy(
2318
2592
  :param account: Account which this metric comes from. Default: - Deployment account.
2319
2593
  :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
2594
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2595
+ :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
2596
  :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
2597
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2323
2598
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2325,11 +2600,13 @@ class _IStreamProxy(
2325
2600
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2326
2601
  :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
2602
  :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
2603
+ :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
2604
  '''
2329
2605
  props = _MetricOptions_1788b62f(
2330
2606
  account=account,
2331
2607
  color=color,
2332
2608
  dimensions_map=dimensions_map,
2609
+ id=id,
2333
2610
  label=label,
2334
2611
  period=period,
2335
2612
  region=region,
@@ -2337,6 +2614,7 @@ class _IStreamProxy(
2337
2614
  stack_region=stack_region,
2338
2615
  statistic=statistic,
2339
2616
  unit=unit,
2617
+ visible=visible,
2340
2618
  )
2341
2619
 
2342
2620
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricGetRecords", [props]))
@@ -2348,6 +2626,7 @@ class _IStreamProxy(
2348
2626
  account: typing.Optional[builtins.str] = None,
2349
2627
  color: typing.Optional[builtins.str] = None,
2350
2628
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2629
+ id: typing.Optional[builtins.str] = None,
2351
2630
  label: typing.Optional[builtins.str] = None,
2352
2631
  period: typing.Optional[_Duration_4839e8c3] = None,
2353
2632
  region: typing.Optional[builtins.str] = None,
@@ -2355,6 +2634,7 @@ class _IStreamProxy(
2355
2634
  stack_region: typing.Optional[builtins.str] = None,
2356
2635
  statistic: typing.Optional[builtins.str] = None,
2357
2636
  unit: typing.Optional[_Unit_61bc6f70] = None,
2637
+ visible: typing.Optional[builtins.bool] = None,
2358
2638
  ) -> _Metric_e396a4dc:
2359
2639
  '''The number of bytes retrieved from the Kinesis stream, measured over the specified time period.
2360
2640
 
@@ -2367,6 +2647,7 @@ class _IStreamProxy(
2367
2647
  :param account: Account which this metric comes from. Default: - Deployment account.
2368
2648
  :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
2649
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2650
+ :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
2651
  :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
2652
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2372
2653
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2374,11 +2655,13 @@ class _IStreamProxy(
2374
2655
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2375
2656
  :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
2657
  :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
2658
+ :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
2659
  '''
2378
2660
  props = _MetricOptions_1788b62f(
2379
2661
  account=account,
2380
2662
  color=color,
2381
2663
  dimensions_map=dimensions_map,
2664
+ id=id,
2382
2665
  label=label,
2383
2666
  period=period,
2384
2667
  region=region,
@@ -2386,6 +2669,7 @@ class _IStreamProxy(
2386
2669
  stack_region=stack_region,
2387
2670
  statistic=statistic,
2388
2671
  unit=unit,
2672
+ visible=visible,
2389
2673
  )
2390
2674
 
2391
2675
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricGetRecordsBytes", [props]))
@@ -2397,6 +2681,7 @@ class _IStreamProxy(
2397
2681
  account: typing.Optional[builtins.str] = None,
2398
2682
  color: typing.Optional[builtins.str] = None,
2399
2683
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2684
+ id: typing.Optional[builtins.str] = None,
2400
2685
  label: typing.Optional[builtins.str] = None,
2401
2686
  period: typing.Optional[_Duration_4839e8c3] = None,
2402
2687
  region: typing.Optional[builtins.str] = None,
@@ -2404,6 +2689,7 @@ class _IStreamProxy(
2404
2689
  stack_region: typing.Optional[builtins.str] = None,
2405
2690
  statistic: typing.Optional[builtins.str] = None,
2406
2691
  unit: typing.Optional[_Unit_61bc6f70] = None,
2692
+ visible: typing.Optional[builtins.bool] = None,
2407
2693
  ) -> _Metric_e396a4dc:
2408
2694
  '''The age of the last record in all GetRecords calls made against a Kinesis stream, measured over the specified time period.
2409
2695
 
@@ -2416,6 +2702,7 @@ class _IStreamProxy(
2416
2702
  :param account: Account which this metric comes from. Default: - Deployment account.
2417
2703
  :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
2704
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2705
+ :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
2706
  :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
2707
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2421
2708
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2423,11 +2710,13 @@ class _IStreamProxy(
2423
2710
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2424
2711
  :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
2712
  :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
2713
+ :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
2714
  '''
2427
2715
  props = _MetricOptions_1788b62f(
2428
2716
  account=account,
2429
2717
  color=color,
2430
2718
  dimensions_map=dimensions_map,
2719
+ id=id,
2431
2720
  label=label,
2432
2721
  period=period,
2433
2722
  region=region,
@@ -2435,6 +2724,7 @@ class _IStreamProxy(
2435
2724
  stack_region=stack_region,
2436
2725
  statistic=statistic,
2437
2726
  unit=unit,
2727
+ visible=visible,
2438
2728
  )
2439
2729
 
2440
2730
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricGetRecordsIteratorAgeMilliseconds", [props]))
@@ -2446,6 +2736,7 @@ class _IStreamProxy(
2446
2736
  account: typing.Optional[builtins.str] = None,
2447
2737
  color: typing.Optional[builtins.str] = None,
2448
2738
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2739
+ id: typing.Optional[builtins.str] = None,
2449
2740
  label: typing.Optional[builtins.str] = None,
2450
2741
  period: typing.Optional[_Duration_4839e8c3] = None,
2451
2742
  region: typing.Optional[builtins.str] = None,
@@ -2453,6 +2744,7 @@ class _IStreamProxy(
2453
2744
  stack_region: typing.Optional[builtins.str] = None,
2454
2745
  statistic: typing.Optional[builtins.str] = None,
2455
2746
  unit: typing.Optional[_Unit_61bc6f70] = None,
2747
+ visible: typing.Optional[builtins.bool] = None,
2456
2748
  ) -> _Metric_e396a4dc:
2457
2749
  '''The time taken per GetRecords operation, measured over the specified time period.
2458
2750
 
@@ -2461,6 +2753,7 @@ class _IStreamProxy(
2461
2753
  :param account: Account which this metric comes from. Default: - Deployment account.
2462
2754
  :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
2755
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2756
+ :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
2757
  :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
2758
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2466
2759
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2468,11 +2761,13 @@ class _IStreamProxy(
2468
2761
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2469
2762
  :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
2763
  :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
2764
+ :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
2765
  '''
2472
2766
  props = _MetricOptions_1788b62f(
2473
2767
  account=account,
2474
2768
  color=color,
2475
2769
  dimensions_map=dimensions_map,
2770
+ id=id,
2476
2771
  label=label,
2477
2772
  period=period,
2478
2773
  region=region,
@@ -2480,6 +2775,7 @@ class _IStreamProxy(
2480
2775
  stack_region=stack_region,
2481
2776
  statistic=statistic,
2482
2777
  unit=unit,
2778
+ visible=visible,
2483
2779
  )
2484
2780
 
2485
2781
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricGetRecordsLatency", [props]))
@@ -2491,6 +2787,7 @@ class _IStreamProxy(
2491
2787
  account: typing.Optional[builtins.str] = None,
2492
2788
  color: typing.Optional[builtins.str] = None,
2493
2789
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2790
+ id: typing.Optional[builtins.str] = None,
2494
2791
  label: typing.Optional[builtins.str] = None,
2495
2792
  period: typing.Optional[_Duration_4839e8c3] = None,
2496
2793
  region: typing.Optional[builtins.str] = None,
@@ -2498,6 +2795,7 @@ class _IStreamProxy(
2498
2795
  stack_region: typing.Optional[builtins.str] = None,
2499
2796
  statistic: typing.Optional[builtins.str] = None,
2500
2797
  unit: typing.Optional[_Unit_61bc6f70] = None,
2798
+ visible: typing.Optional[builtins.bool] = None,
2501
2799
  ) -> _Metric_e396a4dc:
2502
2800
  '''The number of successful GetRecords operations per stream, measured over the specified time period.
2503
2801
 
@@ -2506,6 +2804,7 @@ class _IStreamProxy(
2506
2804
  :param account: Account which this metric comes from. Default: - Deployment account.
2507
2805
  :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
2806
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2807
+ :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
2808
  :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
2809
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2511
2810
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2513,11 +2812,13 @@ class _IStreamProxy(
2513
2812
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2514
2813
  :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
2814
  :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
2815
+ :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
2816
  '''
2517
2817
  props = _MetricOptions_1788b62f(
2518
2818
  account=account,
2519
2819
  color=color,
2520
2820
  dimensions_map=dimensions_map,
2821
+ id=id,
2521
2822
  label=label,
2522
2823
  period=period,
2523
2824
  region=region,
@@ -2525,6 +2826,7 @@ class _IStreamProxy(
2525
2826
  stack_region=stack_region,
2526
2827
  statistic=statistic,
2527
2828
  unit=unit,
2829
+ visible=visible,
2528
2830
  )
2529
2831
 
2530
2832
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricGetRecordsSuccess", [props]))
@@ -2536,6 +2838,7 @@ class _IStreamProxy(
2536
2838
  account: typing.Optional[builtins.str] = None,
2537
2839
  color: typing.Optional[builtins.str] = None,
2538
2840
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2841
+ id: typing.Optional[builtins.str] = None,
2539
2842
  label: typing.Optional[builtins.str] = None,
2540
2843
  period: typing.Optional[_Duration_4839e8c3] = None,
2541
2844
  region: typing.Optional[builtins.str] = None,
@@ -2543,6 +2846,7 @@ class _IStreamProxy(
2543
2846
  stack_region: typing.Optional[builtins.str] = None,
2544
2847
  statistic: typing.Optional[builtins.str] = None,
2545
2848
  unit: typing.Optional[_Unit_61bc6f70] = None,
2849
+ visible: typing.Optional[builtins.bool] = None,
2546
2850
  ) -> _Metric_e396a4dc:
2547
2851
  '''The number of bytes successfully put to the Kinesis stream over the specified time period.
2548
2852
 
@@ -2555,6 +2859,7 @@ class _IStreamProxy(
2555
2859
  :param account: Account which this metric comes from. Default: - Deployment account.
2556
2860
  :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
2861
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2862
+ :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
2863
  :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
2864
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2560
2865
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2562,11 +2867,13 @@ class _IStreamProxy(
2562
2867
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2563
2868
  :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
2869
  :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
2870
+ :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
2871
  '''
2566
2872
  props = _MetricOptions_1788b62f(
2567
2873
  account=account,
2568
2874
  color=color,
2569
2875
  dimensions_map=dimensions_map,
2876
+ id=id,
2570
2877
  label=label,
2571
2878
  period=period,
2572
2879
  region=region,
@@ -2574,6 +2881,7 @@ class _IStreamProxy(
2574
2881
  stack_region=stack_region,
2575
2882
  statistic=statistic,
2576
2883
  unit=unit,
2884
+ visible=visible,
2577
2885
  )
2578
2886
 
2579
2887
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricIncomingBytes", [props]))
@@ -2585,6 +2893,7 @@ class _IStreamProxy(
2585
2893
  account: typing.Optional[builtins.str] = None,
2586
2894
  color: typing.Optional[builtins.str] = None,
2587
2895
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2896
+ id: typing.Optional[builtins.str] = None,
2588
2897
  label: typing.Optional[builtins.str] = None,
2589
2898
  period: typing.Optional[_Duration_4839e8c3] = None,
2590
2899
  region: typing.Optional[builtins.str] = None,
@@ -2592,6 +2901,7 @@ class _IStreamProxy(
2592
2901
  stack_region: typing.Optional[builtins.str] = None,
2593
2902
  statistic: typing.Optional[builtins.str] = None,
2594
2903
  unit: typing.Optional[_Unit_61bc6f70] = None,
2904
+ visible: typing.Optional[builtins.bool] = None,
2595
2905
  ) -> _Metric_e396a4dc:
2596
2906
  '''The number of records successfully put to the Kinesis stream over the specified time period.
2597
2907
 
@@ -2604,6 +2914,7 @@ class _IStreamProxy(
2604
2914
  :param account: Account which this metric comes from. Default: - Deployment account.
2605
2915
  :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
2916
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2917
+ :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
2918
  :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
2919
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2609
2920
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2611,11 +2922,13 @@ class _IStreamProxy(
2611
2922
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2612
2923
  :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
2924
  :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
2925
+ :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
2926
  '''
2615
2927
  props = _MetricOptions_1788b62f(
2616
2928
  account=account,
2617
2929
  color=color,
2618
2930
  dimensions_map=dimensions_map,
2931
+ id=id,
2619
2932
  label=label,
2620
2933
  period=period,
2621
2934
  region=region,
@@ -2623,6 +2936,7 @@ class _IStreamProxy(
2623
2936
  stack_region=stack_region,
2624
2937
  statistic=statistic,
2625
2938
  unit=unit,
2939
+ visible=visible,
2626
2940
  )
2627
2941
 
2628
2942
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricIncomingRecords", [props]))
@@ -2634,6 +2948,7 @@ class _IStreamProxy(
2634
2948
  account: typing.Optional[builtins.str] = None,
2635
2949
  color: typing.Optional[builtins.str] = None,
2636
2950
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2951
+ id: typing.Optional[builtins.str] = None,
2637
2952
  label: typing.Optional[builtins.str] = None,
2638
2953
  period: typing.Optional[_Duration_4839e8c3] = None,
2639
2954
  region: typing.Optional[builtins.str] = None,
@@ -2641,6 +2956,7 @@ class _IStreamProxy(
2641
2956
  stack_region: typing.Optional[builtins.str] = None,
2642
2957
  statistic: typing.Optional[builtins.str] = None,
2643
2958
  unit: typing.Optional[_Unit_61bc6f70] = None,
2959
+ visible: typing.Optional[builtins.bool] = None,
2644
2960
  ) -> _Metric_e396a4dc:
2645
2961
  '''The number of bytes put to the Kinesis stream using the PutRecord operation over the specified time period.
2646
2962
 
@@ -2649,6 +2965,7 @@ class _IStreamProxy(
2649
2965
  :param account: Account which this metric comes from. Default: - Deployment account.
2650
2966
  :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
2967
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2968
+ :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
2969
  :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
2970
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2654
2971
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2656,11 +2973,13 @@ class _IStreamProxy(
2656
2973
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2657
2974
  :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
2975
  :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
2976
+ :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
2977
  '''
2660
2978
  props = _MetricOptions_1788b62f(
2661
2979
  account=account,
2662
2980
  color=color,
2663
2981
  dimensions_map=dimensions_map,
2982
+ id=id,
2664
2983
  label=label,
2665
2984
  period=period,
2666
2985
  region=region,
@@ -2668,6 +2987,7 @@ class _IStreamProxy(
2668
2987
  stack_region=stack_region,
2669
2988
  statistic=statistic,
2670
2989
  unit=unit,
2990
+ visible=visible,
2671
2991
  )
2672
2992
 
2673
2993
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordBytes", [props]))
@@ -2679,6 +2999,7 @@ class _IStreamProxy(
2679
2999
  account: typing.Optional[builtins.str] = None,
2680
3000
  color: typing.Optional[builtins.str] = None,
2681
3001
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
3002
+ id: typing.Optional[builtins.str] = None,
2682
3003
  label: typing.Optional[builtins.str] = None,
2683
3004
  period: typing.Optional[_Duration_4839e8c3] = None,
2684
3005
  region: typing.Optional[builtins.str] = None,
@@ -2686,6 +3007,7 @@ class _IStreamProxy(
2686
3007
  stack_region: typing.Optional[builtins.str] = None,
2687
3008
  statistic: typing.Optional[builtins.str] = None,
2688
3009
  unit: typing.Optional[_Unit_61bc6f70] = None,
3010
+ visible: typing.Optional[builtins.bool] = None,
2689
3011
  ) -> _Metric_e396a4dc:
2690
3012
  '''The time taken per PutRecord operation, measured over the specified time period.
2691
3013
 
@@ -2694,6 +3016,7 @@ class _IStreamProxy(
2694
3016
  :param account: Account which this metric comes from. Default: - Deployment account.
2695
3017
  :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
3018
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
3019
+ :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
3020
  :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
3021
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2699
3022
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2701,11 +3024,13 @@ class _IStreamProxy(
2701
3024
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2702
3025
  :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
3026
  :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
3027
+ :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
3028
  '''
2705
3029
  props = _MetricOptions_1788b62f(
2706
3030
  account=account,
2707
3031
  color=color,
2708
3032
  dimensions_map=dimensions_map,
3033
+ id=id,
2709
3034
  label=label,
2710
3035
  period=period,
2711
3036
  region=region,
@@ -2713,6 +3038,7 @@ class _IStreamProxy(
2713
3038
  stack_region=stack_region,
2714
3039
  statistic=statistic,
2715
3040
  unit=unit,
3041
+ visible=visible,
2716
3042
  )
2717
3043
 
2718
3044
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordLatency", [props]))
@@ -2724,6 +3050,7 @@ class _IStreamProxy(
2724
3050
  account: typing.Optional[builtins.str] = None,
2725
3051
  color: typing.Optional[builtins.str] = None,
2726
3052
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
3053
+ id: typing.Optional[builtins.str] = None,
2727
3054
  label: typing.Optional[builtins.str] = None,
2728
3055
  period: typing.Optional[_Duration_4839e8c3] = None,
2729
3056
  region: typing.Optional[builtins.str] = None,
@@ -2731,6 +3058,7 @@ class _IStreamProxy(
2731
3058
  stack_region: typing.Optional[builtins.str] = None,
2732
3059
  statistic: typing.Optional[builtins.str] = None,
2733
3060
  unit: typing.Optional[_Unit_61bc6f70] = None,
3061
+ visible: typing.Optional[builtins.bool] = None,
2734
3062
  ) -> _Metric_e396a4dc:
2735
3063
  '''The number of bytes put to the Kinesis stream using the PutRecords operation over the specified time period.
2736
3064
 
@@ -2739,6 +3067,7 @@ class _IStreamProxy(
2739
3067
  :param account: Account which this metric comes from. Default: - Deployment account.
2740
3068
  :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
3069
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
3070
+ :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
3071
  :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
3072
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2744
3073
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2746,11 +3075,13 @@ class _IStreamProxy(
2746
3075
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2747
3076
  :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
3077
  :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
3078
+ :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
3079
  '''
2750
3080
  props = _MetricOptions_1788b62f(
2751
3081
  account=account,
2752
3082
  color=color,
2753
3083
  dimensions_map=dimensions_map,
3084
+ id=id,
2754
3085
  label=label,
2755
3086
  period=period,
2756
3087
  region=region,
@@ -2758,6 +3089,7 @@ class _IStreamProxy(
2758
3089
  stack_region=stack_region,
2759
3090
  statistic=statistic,
2760
3091
  unit=unit,
3092
+ visible=visible,
2761
3093
  )
2762
3094
 
2763
3095
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordsBytes", [props]))
@@ -2769,6 +3101,7 @@ class _IStreamProxy(
2769
3101
  account: typing.Optional[builtins.str] = None,
2770
3102
  color: typing.Optional[builtins.str] = None,
2771
3103
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
3104
+ id: typing.Optional[builtins.str] = None,
2772
3105
  label: typing.Optional[builtins.str] = None,
2773
3106
  period: typing.Optional[_Duration_4839e8c3] = None,
2774
3107
  region: typing.Optional[builtins.str] = None,
@@ -2776,6 +3109,7 @@ class _IStreamProxy(
2776
3109
  stack_region: typing.Optional[builtins.str] = None,
2777
3110
  statistic: typing.Optional[builtins.str] = None,
2778
3111
  unit: typing.Optional[_Unit_61bc6f70] = None,
3112
+ visible: typing.Optional[builtins.bool] = None,
2779
3113
  ) -> _Metric_e396a4dc:
2780
3114
  '''The number of records rejected due to internal failures in a PutRecords operation per Kinesis data stream, measured over the specified time period.
2781
3115
 
@@ -2786,6 +3120,7 @@ class _IStreamProxy(
2786
3120
  :param account: Account which this metric comes from. Default: - Deployment account.
2787
3121
  :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
3122
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
3123
+ :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
3124
  :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
3125
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2791
3126
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2793,11 +3128,13 @@ class _IStreamProxy(
2793
3128
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2794
3129
  :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
3130
  :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
3131
+ :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
3132
  '''
2797
3133
  props = _MetricOptions_1788b62f(
2798
3134
  account=account,
2799
3135
  color=color,
2800
3136
  dimensions_map=dimensions_map,
3137
+ id=id,
2801
3138
  label=label,
2802
3139
  period=period,
2803
3140
  region=region,
@@ -2805,6 +3142,7 @@ class _IStreamProxy(
2805
3142
  stack_region=stack_region,
2806
3143
  statistic=statistic,
2807
3144
  unit=unit,
3145
+ visible=visible,
2808
3146
  )
2809
3147
 
2810
3148
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordsFailedRecords", [props]))
@@ -2816,6 +3154,7 @@ class _IStreamProxy(
2816
3154
  account: typing.Optional[builtins.str] = None,
2817
3155
  color: typing.Optional[builtins.str] = None,
2818
3156
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
3157
+ id: typing.Optional[builtins.str] = None,
2819
3158
  label: typing.Optional[builtins.str] = None,
2820
3159
  period: typing.Optional[_Duration_4839e8c3] = None,
2821
3160
  region: typing.Optional[builtins.str] = None,
@@ -2823,6 +3162,7 @@ class _IStreamProxy(
2823
3162
  stack_region: typing.Optional[builtins.str] = None,
2824
3163
  statistic: typing.Optional[builtins.str] = None,
2825
3164
  unit: typing.Optional[_Unit_61bc6f70] = None,
3165
+ visible: typing.Optional[builtins.bool] = None,
2826
3166
  ) -> _Metric_e396a4dc:
2827
3167
  '''The time taken per PutRecords operation, measured over the specified time period.
2828
3168
 
@@ -2831,6 +3171,7 @@ class _IStreamProxy(
2831
3171
  :param account: Account which this metric comes from. Default: - Deployment account.
2832
3172
  :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
3173
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
3174
+ :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
3175
  :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
3176
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2836
3177
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2838,11 +3179,13 @@ class _IStreamProxy(
2838
3179
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2839
3180
  :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
3181
  :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
3182
+ :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
3183
  '''
2842
3184
  props = _MetricOptions_1788b62f(
2843
3185
  account=account,
2844
3186
  color=color,
2845
3187
  dimensions_map=dimensions_map,
3188
+ id=id,
2846
3189
  label=label,
2847
3190
  period=period,
2848
3191
  region=region,
@@ -2850,6 +3193,7 @@ class _IStreamProxy(
2850
3193
  stack_region=stack_region,
2851
3194
  statistic=statistic,
2852
3195
  unit=unit,
3196
+ visible=visible,
2853
3197
  )
2854
3198
 
2855
3199
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordsLatency", [props]))
@@ -2861,6 +3205,7 @@ class _IStreamProxy(
2861
3205
  account: typing.Optional[builtins.str] = None,
2862
3206
  color: typing.Optional[builtins.str] = None,
2863
3207
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
3208
+ id: typing.Optional[builtins.str] = None,
2864
3209
  label: typing.Optional[builtins.str] = None,
2865
3210
  period: typing.Optional[_Duration_4839e8c3] = None,
2866
3211
  region: typing.Optional[builtins.str] = None,
@@ -2868,6 +3213,7 @@ class _IStreamProxy(
2868
3213
  stack_region: typing.Optional[builtins.str] = None,
2869
3214
  statistic: typing.Optional[builtins.str] = None,
2870
3215
  unit: typing.Optional[_Unit_61bc6f70] = None,
3216
+ visible: typing.Optional[builtins.bool] = None,
2871
3217
  ) -> _Metric_e396a4dc:
2872
3218
  '''The number of PutRecords operations where at least one record succeeded, per Kinesis stream, measured over the specified time period.
2873
3219
 
@@ -2876,6 +3222,7 @@ class _IStreamProxy(
2876
3222
  :param account: Account which this metric comes from. Default: - Deployment account.
2877
3223
  :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
3224
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
3225
+ :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
3226
  :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
3227
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2881
3228
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2883,11 +3230,13 @@ class _IStreamProxy(
2883
3230
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2884
3231
  :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
3232
  :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
3233
+ :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
3234
  '''
2887
3235
  props = _MetricOptions_1788b62f(
2888
3236
  account=account,
2889
3237
  color=color,
2890
3238
  dimensions_map=dimensions_map,
3239
+ id=id,
2891
3240
  label=label,
2892
3241
  period=period,
2893
3242
  region=region,
@@ -2895,6 +3244,7 @@ class _IStreamProxy(
2895
3244
  stack_region=stack_region,
2896
3245
  statistic=statistic,
2897
3246
  unit=unit,
3247
+ visible=visible,
2898
3248
  )
2899
3249
 
2900
3250
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordsSuccess", [props]))
@@ -2906,6 +3256,7 @@ class _IStreamProxy(
2906
3256
  account: typing.Optional[builtins.str] = None,
2907
3257
  color: typing.Optional[builtins.str] = None,
2908
3258
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
3259
+ id: typing.Optional[builtins.str] = None,
2909
3260
  label: typing.Optional[builtins.str] = None,
2910
3261
  period: typing.Optional[_Duration_4839e8c3] = None,
2911
3262
  region: typing.Optional[builtins.str] = None,
@@ -2913,6 +3264,7 @@ class _IStreamProxy(
2913
3264
  stack_region: typing.Optional[builtins.str] = None,
2914
3265
  statistic: typing.Optional[builtins.str] = None,
2915
3266
  unit: typing.Optional[_Unit_61bc6f70] = None,
3267
+ visible: typing.Optional[builtins.bool] = None,
2916
3268
  ) -> _Metric_e396a4dc:
2917
3269
  '''The number of successful records in a PutRecords operation per Kinesis data stream, measured over the specified time period.
2918
3270
 
@@ -2921,6 +3273,7 @@ class _IStreamProxy(
2921
3273
  :param account: Account which this metric comes from. Default: - Deployment account.
2922
3274
  :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
3275
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
3276
+ :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
3277
  :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
3278
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2926
3279
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2928,11 +3281,13 @@ class _IStreamProxy(
2928
3281
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2929
3282
  :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
3283
  :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
3284
+ :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
3285
  '''
2932
3286
  props = _MetricOptions_1788b62f(
2933
3287
  account=account,
2934
3288
  color=color,
2935
3289
  dimensions_map=dimensions_map,
3290
+ id=id,
2936
3291
  label=label,
2937
3292
  period=period,
2938
3293
  region=region,
@@ -2940,6 +3295,7 @@ class _IStreamProxy(
2940
3295
  stack_region=stack_region,
2941
3296
  statistic=statistic,
2942
3297
  unit=unit,
3298
+ visible=visible,
2943
3299
  )
2944
3300
 
2945
3301
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordsSuccessfulRecords", [props]))
@@ -2951,6 +3307,7 @@ class _IStreamProxy(
2951
3307
  account: typing.Optional[builtins.str] = None,
2952
3308
  color: typing.Optional[builtins.str] = None,
2953
3309
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
3310
+ id: typing.Optional[builtins.str] = None,
2954
3311
  label: typing.Optional[builtins.str] = None,
2955
3312
  period: typing.Optional[_Duration_4839e8c3] = None,
2956
3313
  region: typing.Optional[builtins.str] = None,
@@ -2958,6 +3315,7 @@ class _IStreamProxy(
2958
3315
  stack_region: typing.Optional[builtins.str] = None,
2959
3316
  statistic: typing.Optional[builtins.str] = None,
2960
3317
  unit: typing.Optional[_Unit_61bc6f70] = None,
3318
+ visible: typing.Optional[builtins.bool] = None,
2961
3319
  ) -> _Metric_e396a4dc:
2962
3320
  '''The number of records rejected due to throttling in a PutRecords operation per Kinesis data stream, measured over the specified time period.
2963
3321
 
@@ -2966,6 +3324,7 @@ class _IStreamProxy(
2966
3324
  :param account: Account which this metric comes from. Default: - Deployment account.
2967
3325
  :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
3326
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
3327
+ :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
3328
  :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
3329
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2971
3330
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2973,11 +3332,13 @@ class _IStreamProxy(
2973
3332
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2974
3333
  :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
3334
  :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
3335
+ :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
3336
  '''
2977
3337
  props = _MetricOptions_1788b62f(
2978
3338
  account=account,
2979
3339
  color=color,
2980
3340
  dimensions_map=dimensions_map,
3341
+ id=id,
2981
3342
  label=label,
2982
3343
  period=period,
2983
3344
  region=region,
@@ -2985,6 +3346,7 @@ class _IStreamProxy(
2985
3346
  stack_region=stack_region,
2986
3347
  statistic=statistic,
2987
3348
  unit=unit,
3349
+ visible=visible,
2988
3350
  )
2989
3351
 
2990
3352
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordsThrottledRecords", [props]))
@@ -2996,6 +3358,7 @@ class _IStreamProxy(
2996
3358
  account: typing.Optional[builtins.str] = None,
2997
3359
  color: typing.Optional[builtins.str] = None,
2998
3360
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
3361
+ id: typing.Optional[builtins.str] = None,
2999
3362
  label: typing.Optional[builtins.str] = None,
3000
3363
  period: typing.Optional[_Duration_4839e8c3] = None,
3001
3364
  region: typing.Optional[builtins.str] = None,
@@ -3003,6 +3366,7 @@ class _IStreamProxy(
3003
3366
  stack_region: typing.Optional[builtins.str] = None,
3004
3367
  statistic: typing.Optional[builtins.str] = None,
3005
3368
  unit: typing.Optional[_Unit_61bc6f70] = None,
3369
+ visible: typing.Optional[builtins.bool] = None,
3006
3370
  ) -> _Metric_e396a4dc:
3007
3371
  '''The total number of records sent in a PutRecords operation per Kinesis data stream, measured over the specified time period.
3008
3372
 
@@ -3011,6 +3375,7 @@ class _IStreamProxy(
3011
3375
  :param account: Account which this metric comes from. Default: - Deployment account.
3012
3376
  :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
3377
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
3378
+ :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
3379
  :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
3380
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
3016
3381
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -3018,11 +3383,13 @@ class _IStreamProxy(
3018
3383
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
3019
3384
  :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
3385
  :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
3386
+ :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
3387
  '''
3022
3388
  props = _MetricOptions_1788b62f(
3023
3389
  account=account,
3024
3390
  color=color,
3025
3391
  dimensions_map=dimensions_map,
3392
+ id=id,
3026
3393
  label=label,
3027
3394
  period=period,
3028
3395
  region=region,
@@ -3030,6 +3397,7 @@ class _IStreamProxy(
3030
3397
  stack_region=stack_region,
3031
3398
  statistic=statistic,
3032
3399
  unit=unit,
3400
+ visible=visible,
3033
3401
  )
3034
3402
 
3035
3403
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordsTotalRecords", [props]))
@@ -3041,6 +3409,7 @@ class _IStreamProxy(
3041
3409
  account: typing.Optional[builtins.str] = None,
3042
3410
  color: typing.Optional[builtins.str] = None,
3043
3411
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
3412
+ id: typing.Optional[builtins.str] = None,
3044
3413
  label: typing.Optional[builtins.str] = None,
3045
3414
  period: typing.Optional[_Duration_4839e8c3] = None,
3046
3415
  region: typing.Optional[builtins.str] = None,
@@ -3048,6 +3417,7 @@ class _IStreamProxy(
3048
3417
  stack_region: typing.Optional[builtins.str] = None,
3049
3418
  statistic: typing.Optional[builtins.str] = None,
3050
3419
  unit: typing.Optional[_Unit_61bc6f70] = None,
3420
+ visible: typing.Optional[builtins.bool] = None,
3051
3421
  ) -> _Metric_e396a4dc:
3052
3422
  '''The number of successful PutRecord operations per Kinesis stream, measured over the specified time period.
3053
3423
 
@@ -3059,6 +3429,7 @@ class _IStreamProxy(
3059
3429
  :param account: Account which this metric comes from. Default: - Deployment account.
3060
3430
  :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
3431
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
3432
+ :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
3433
  :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
3434
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
3064
3435
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -3066,11 +3437,13 @@ class _IStreamProxy(
3066
3437
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
3067
3438
  :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
3439
  :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
3440
+ :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
3441
  '''
3070
3442
  props = _MetricOptions_1788b62f(
3071
3443
  account=account,
3072
3444
  color=color,
3073
3445
  dimensions_map=dimensions_map,
3446
+ id=id,
3074
3447
  label=label,
3075
3448
  period=period,
3076
3449
  region=region,
@@ -3078,6 +3451,7 @@ class _IStreamProxy(
3078
3451
  stack_region=stack_region,
3079
3452
  statistic=statistic,
3080
3453
  unit=unit,
3454
+ visible=visible,
3081
3455
  )
3082
3456
 
3083
3457
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordSuccess", [props]))
@@ -3089,6 +3463,7 @@ class _IStreamProxy(
3089
3463
  account: typing.Optional[builtins.str] = None,
3090
3464
  color: typing.Optional[builtins.str] = None,
3091
3465
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
3466
+ id: typing.Optional[builtins.str] = None,
3092
3467
  label: typing.Optional[builtins.str] = None,
3093
3468
  period: typing.Optional[_Duration_4839e8c3] = None,
3094
3469
  region: typing.Optional[builtins.str] = None,
@@ -3096,6 +3471,7 @@ class _IStreamProxy(
3096
3471
  stack_region: typing.Optional[builtins.str] = None,
3097
3472
  statistic: typing.Optional[builtins.str] = None,
3098
3473
  unit: typing.Optional[_Unit_61bc6f70] = None,
3474
+ visible: typing.Optional[builtins.bool] = None,
3099
3475
  ) -> _Metric_e396a4dc:
3100
3476
  '''The number of GetRecords calls throttled for the stream over the specified time period.
3101
3477
 
@@ -3113,6 +3489,7 @@ class _IStreamProxy(
3113
3489
  :param account: Account which this metric comes from. Default: - Deployment account.
3114
3490
  :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
3491
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
3492
+ :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
3493
  :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
3494
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
3118
3495
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -3120,11 +3497,13 @@ class _IStreamProxy(
3120
3497
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
3121
3498
  :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
3499
  :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
3500
+ :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
3501
  '''
3124
3502
  props = _MetricOptions_1788b62f(
3125
3503
  account=account,
3126
3504
  color=color,
3127
3505
  dimensions_map=dimensions_map,
3506
+ id=id,
3128
3507
  label=label,
3129
3508
  period=period,
3130
3509
  region=region,
@@ -3132,6 +3511,7 @@ class _IStreamProxy(
3132
3511
  stack_region=stack_region,
3133
3512
  statistic=statistic,
3134
3513
  unit=unit,
3514
+ visible=visible,
3135
3515
  )
3136
3516
 
3137
3517
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricReadProvisionedThroughputExceeded", [props]))
@@ -3143,6 +3523,7 @@ class _IStreamProxy(
3143
3523
  account: typing.Optional[builtins.str] = None,
3144
3524
  color: typing.Optional[builtins.str] = None,
3145
3525
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
3526
+ id: typing.Optional[builtins.str] = None,
3146
3527
  label: typing.Optional[builtins.str] = None,
3147
3528
  period: typing.Optional[_Duration_4839e8c3] = None,
3148
3529
  region: typing.Optional[builtins.str] = None,
@@ -3150,6 +3531,7 @@ class _IStreamProxy(
3150
3531
  stack_region: typing.Optional[builtins.str] = None,
3151
3532
  statistic: typing.Optional[builtins.str] = None,
3152
3533
  unit: typing.Optional[_Unit_61bc6f70] = None,
3534
+ visible: typing.Optional[builtins.bool] = None,
3153
3535
  ) -> _Metric_e396a4dc:
3154
3536
  '''The number of records rejected due to throttling for the stream over the specified time period.
3155
3537
 
@@ -3167,6 +3549,7 @@ class _IStreamProxy(
3167
3549
  :param account: Account which this metric comes from. Default: - Deployment account.
3168
3550
  :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
3551
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
3552
+ :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
3553
  :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
3554
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
3172
3555
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -3174,11 +3557,13 @@ class _IStreamProxy(
3174
3557
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
3175
3558
  :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
3559
  :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
3560
+ :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
3561
  '''
3178
3562
  props = _MetricOptions_1788b62f(
3179
3563
  account=account,
3180
3564
  color=color,
3181
3565
  dimensions_map=dimensions_map,
3566
+ id=id,
3182
3567
  label=label,
3183
3568
  period=period,
3184
3569
  region=region,
@@ -3186,6 +3571,7 @@ class _IStreamProxy(
3186
3571
  stack_region=stack_region,
3187
3572
  statistic=statistic,
3188
3573
  unit=unit,
3574
+ visible=visible,
3189
3575
  )
3190
3576
 
3191
3577
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricWriteProvisionedThroughputExceeded", [props]))
@@ -3553,6 +3939,38 @@ class ResourcePolicyProps:
3553
3939
  )
3554
3940
 
3555
3941
 
3942
+ @jsii.enum(jsii_type="aws-cdk-lib.aws_kinesis.ShardLevelMetrics")
3943
+ class ShardLevelMetrics(enum.Enum):
3944
+ '''Enhanced shard-level metrics.
3945
+
3946
+ :see: https://docs.aws.amazon.com/streams/latest/dev/monitoring-with-cloudwatch.html#kinesis-metrics-shard
3947
+ :exampleMetadata: infused
3948
+
3949
+ Example::
3950
+
3951
+ stream = kinesis.Stream(self, "MyStream",
3952
+ shard_level_metrics=[kinesis.ShardLevelMetrics.ALL]
3953
+ )
3954
+ '''
3955
+
3956
+ INCOMING_BYTES = "INCOMING_BYTES"
3957
+ '''The number of bytes successfully put to the shard over the specified time period.'''
3958
+ INCOMING_RECORDS = "INCOMING_RECORDS"
3959
+ '''The number of records successfully put to the shard over the specified time period.'''
3960
+ ITERATOR_AGE_MILLISECONDS = "ITERATOR_AGE_MILLISECONDS"
3961
+ '''The age of the last record in all GetRecords calls made against a shard, measured over the specified time period.'''
3962
+ OUTGOING_BYTES = "OUTGOING_BYTES"
3963
+ '''The number of bytes retrieved from the shard, measured over the specified time period.'''
3964
+ OUTGOING_RECORDS = "OUTGOING_RECORDS"
3965
+ '''The number of records retrieved from the shard, measured over the specified time period.'''
3966
+ READ_PROVISIONED_THROUGHPUT_EXCEEDED = "READ_PROVISIONED_THROUGHPUT_EXCEEDED"
3967
+ '''The number of GetRecords calls throttled for the shard over the specified time period.'''
3968
+ WRITE_PROVISIONED_THROUGHPUT_EXCEEDED = "WRITE_PROVISIONED_THROUGHPUT_EXCEEDED"
3969
+ '''The number of records rejected due to throttling for the shard over the specified time period.'''
3970
+ ALL = "ALL"
3971
+ '''All metrics.'''
3972
+
3973
+
3556
3974
  @jsii.implements(IStream)
3557
3975
  class Stream(
3558
3976
  _Resource_45bc6135,
@@ -3590,6 +4008,7 @@ class Stream(
3590
4008
  removal_policy: typing.Optional[_RemovalPolicy_9f93c814] = None,
3591
4009
  retention_period: typing.Optional[_Duration_4839e8c3] = None,
3592
4010
  shard_count: typing.Optional[jsii.Number] = None,
4011
+ shard_level_metrics: typing.Optional[typing.Sequence[ShardLevelMetrics]] = None,
3593
4012
  stream_mode: typing.Optional["StreamMode"] = None,
3594
4013
  stream_name: typing.Optional[builtins.str] = None,
3595
4014
  ) -> None:
@@ -3601,6 +4020,7 @@ class Stream(
3601
4020
  :param removal_policy: Policy to apply when the stream is removed from the stack. Default: RemovalPolicy.RETAIN
3602
4021
  :param retention_period: The number of hours for the data records that are stored in shards to remain accessible. Default: Duration.hours(24)
3603
4022
  :param shard_count: The number of shards for the stream. Can only be provided if streamMode is Provisioned. Default: 1
4023
+ :param shard_level_metrics: A list of shard-level metrics in properties to enable enhanced monitoring mode. Default: undefined - AWS Kinesis default is disabled
3604
4024
  :param stream_mode: The capacity mode of this stream. Default: StreamMode.PROVISIONED
3605
4025
  :param stream_name: Enforces a particular physical stream name. Default:
3606
4026
  '''
@@ -3614,6 +4034,7 @@ class Stream(
3614
4034
  removal_policy=removal_policy,
3615
4035
  retention_period=retention_period,
3616
4036
  shard_count=shard_count,
4037
+ shard_level_metrics=shard_level_metrics,
3617
4038
  stream_mode=stream_mode,
3618
4039
  stream_name=stream_name,
3619
4040
  )
@@ -3751,6 +4172,7 @@ class Stream(
3751
4172
  account: typing.Optional[builtins.str] = None,
3752
4173
  color: typing.Optional[builtins.str] = None,
3753
4174
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
4175
+ id: typing.Optional[builtins.str] = None,
3754
4176
  label: typing.Optional[builtins.str] = None,
3755
4177
  period: typing.Optional[_Duration_4839e8c3] = None,
3756
4178
  region: typing.Optional[builtins.str] = None,
@@ -3758,6 +4180,7 @@ class Stream(
3758
4180
  stack_region: typing.Optional[builtins.str] = None,
3759
4181
  statistic: typing.Optional[builtins.str] = None,
3760
4182
  unit: typing.Optional[_Unit_61bc6f70] = None,
4183
+ visible: typing.Optional[builtins.bool] = None,
3761
4184
  ) -> _Metric_e396a4dc:
3762
4185
  '''Return stream metric based from its metric name.
3763
4186
 
@@ -3765,6 +4188,7 @@ class Stream(
3765
4188
  :param account: Account which this metric comes from. Default: - Deployment account.
3766
4189
  :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
4190
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
4191
+ :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
4192
  :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
4193
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
3770
4194
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -3772,6 +4196,7 @@ class Stream(
3772
4196
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
3773
4197
  :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
4198
  :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
4199
+ :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
4200
  '''
3776
4201
  if __debug__:
3777
4202
  type_hints = typing.get_type_hints(_typecheckingstub__c2a600a35f466b97cb6589291e1c140f381da66a0d5026de6030101a865c80d1)
@@ -3780,6 +4205,7 @@ class Stream(
3780
4205
  account=account,
3781
4206
  color=color,
3782
4207
  dimensions_map=dimensions_map,
4208
+ id=id,
3783
4209
  label=label,
3784
4210
  period=period,
3785
4211
  region=region,
@@ -3787,6 +4213,7 @@ class Stream(
3787
4213
  stack_region=stack_region,
3788
4214
  statistic=statistic,
3789
4215
  unit=unit,
4216
+ visible=visible,
3790
4217
  )
3791
4218
 
3792
4219
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metric", [metric_name, props]))
@@ -3798,6 +4225,7 @@ class Stream(
3798
4225
  account: typing.Optional[builtins.str] = None,
3799
4226
  color: typing.Optional[builtins.str] = None,
3800
4227
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
4228
+ id: typing.Optional[builtins.str] = None,
3801
4229
  label: typing.Optional[builtins.str] = None,
3802
4230
  period: typing.Optional[_Duration_4839e8c3] = None,
3803
4231
  region: typing.Optional[builtins.str] = None,
@@ -3805,6 +4233,7 @@ class Stream(
3805
4233
  stack_region: typing.Optional[builtins.str] = None,
3806
4234
  statistic: typing.Optional[builtins.str] = None,
3807
4235
  unit: typing.Optional[_Unit_61bc6f70] = None,
4236
+ visible: typing.Optional[builtins.bool] = None,
3808
4237
  ) -> _Metric_e396a4dc:
3809
4238
  '''The number of records retrieved from the shard, measured over the specified time period.
3810
4239
 
@@ -3818,6 +4247,7 @@ class Stream(
3818
4247
  :param account: Account which this metric comes from. Default: - Deployment account.
3819
4248
  :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
4249
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
4250
+ :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
4251
  :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
4252
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
3823
4253
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -3825,11 +4255,13 @@ class Stream(
3825
4255
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
3826
4256
  :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
4257
  :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
4258
+ :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
4259
  '''
3829
4260
  props = _MetricOptions_1788b62f(
3830
4261
  account=account,
3831
4262
  color=color,
3832
4263
  dimensions_map=dimensions_map,
4264
+ id=id,
3833
4265
  label=label,
3834
4266
  period=period,
3835
4267
  region=region,
@@ -3837,6 +4269,7 @@ class Stream(
3837
4269
  stack_region=stack_region,
3838
4270
  statistic=statistic,
3839
4271
  unit=unit,
4272
+ visible=visible,
3840
4273
  )
3841
4274
 
3842
4275
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricGetRecords", [props]))
@@ -3848,6 +4281,7 @@ class Stream(
3848
4281
  account: typing.Optional[builtins.str] = None,
3849
4282
  color: typing.Optional[builtins.str] = None,
3850
4283
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
4284
+ id: typing.Optional[builtins.str] = None,
3851
4285
  label: typing.Optional[builtins.str] = None,
3852
4286
  period: typing.Optional[_Duration_4839e8c3] = None,
3853
4287
  region: typing.Optional[builtins.str] = None,
@@ -3855,6 +4289,7 @@ class Stream(
3855
4289
  stack_region: typing.Optional[builtins.str] = None,
3856
4290
  statistic: typing.Optional[builtins.str] = None,
3857
4291
  unit: typing.Optional[_Unit_61bc6f70] = None,
4292
+ visible: typing.Optional[builtins.bool] = None,
3858
4293
  ) -> _Metric_e396a4dc:
3859
4294
  '''The number of bytes retrieved from the Kinesis stream, measured over the specified time period.
3860
4295
 
@@ -3867,6 +4302,7 @@ class Stream(
3867
4302
  :param account: Account which this metric comes from. Default: - Deployment account.
3868
4303
  :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
4304
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
4305
+ :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
4306
  :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
4307
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
3872
4308
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -3874,11 +4310,13 @@ class Stream(
3874
4310
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
3875
4311
  :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
4312
  :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
4313
+ :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
4314
  '''
3878
4315
  props = _MetricOptions_1788b62f(
3879
4316
  account=account,
3880
4317
  color=color,
3881
4318
  dimensions_map=dimensions_map,
4319
+ id=id,
3882
4320
  label=label,
3883
4321
  period=period,
3884
4322
  region=region,
@@ -3886,6 +4324,7 @@ class Stream(
3886
4324
  stack_region=stack_region,
3887
4325
  statistic=statistic,
3888
4326
  unit=unit,
4327
+ visible=visible,
3889
4328
  )
3890
4329
 
3891
4330
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricGetRecordsBytes", [props]))
@@ -3897,6 +4336,7 @@ class Stream(
3897
4336
  account: typing.Optional[builtins.str] = None,
3898
4337
  color: typing.Optional[builtins.str] = None,
3899
4338
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
4339
+ id: typing.Optional[builtins.str] = None,
3900
4340
  label: typing.Optional[builtins.str] = None,
3901
4341
  period: typing.Optional[_Duration_4839e8c3] = None,
3902
4342
  region: typing.Optional[builtins.str] = None,
@@ -3904,6 +4344,7 @@ class Stream(
3904
4344
  stack_region: typing.Optional[builtins.str] = None,
3905
4345
  statistic: typing.Optional[builtins.str] = None,
3906
4346
  unit: typing.Optional[_Unit_61bc6f70] = None,
4347
+ visible: typing.Optional[builtins.bool] = None,
3907
4348
  ) -> _Metric_e396a4dc:
3908
4349
  '''The age of the last record in all GetRecords calls made against a Kinesis stream, measured over the specified time period.
3909
4350
 
@@ -3916,6 +4357,7 @@ class Stream(
3916
4357
  :param account: Account which this metric comes from. Default: - Deployment account.
3917
4358
  :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
4359
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
4360
+ :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
4361
  :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
4362
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
3921
4363
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -3923,11 +4365,13 @@ class Stream(
3923
4365
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
3924
4366
  :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
4367
  :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
4368
+ :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
4369
  '''
3927
4370
  props = _MetricOptions_1788b62f(
3928
4371
  account=account,
3929
4372
  color=color,
3930
4373
  dimensions_map=dimensions_map,
4374
+ id=id,
3931
4375
  label=label,
3932
4376
  period=period,
3933
4377
  region=region,
@@ -3935,6 +4379,7 @@ class Stream(
3935
4379
  stack_region=stack_region,
3936
4380
  statistic=statistic,
3937
4381
  unit=unit,
4382
+ visible=visible,
3938
4383
  )
3939
4384
 
3940
4385
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricGetRecordsIteratorAgeMilliseconds", [props]))
@@ -3946,6 +4391,7 @@ class Stream(
3946
4391
  account: typing.Optional[builtins.str] = None,
3947
4392
  color: typing.Optional[builtins.str] = None,
3948
4393
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
4394
+ id: typing.Optional[builtins.str] = None,
3949
4395
  label: typing.Optional[builtins.str] = None,
3950
4396
  period: typing.Optional[_Duration_4839e8c3] = None,
3951
4397
  region: typing.Optional[builtins.str] = None,
@@ -3953,6 +4399,7 @@ class Stream(
3953
4399
  stack_region: typing.Optional[builtins.str] = None,
3954
4400
  statistic: typing.Optional[builtins.str] = None,
3955
4401
  unit: typing.Optional[_Unit_61bc6f70] = None,
4402
+ visible: typing.Optional[builtins.bool] = None,
3956
4403
  ) -> _Metric_e396a4dc:
3957
4404
  '''The number of successful GetRecords operations per stream, measured over the specified time period.
3958
4405
 
@@ -3961,6 +4408,7 @@ class Stream(
3961
4408
  :param account: Account which this metric comes from. Default: - Deployment account.
3962
4409
  :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
4410
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
4411
+ :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
4412
  :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
4413
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
3966
4414
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -3968,11 +4416,13 @@ class Stream(
3968
4416
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
3969
4417
  :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
4418
  :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
4419
+ :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
4420
  '''
3972
4421
  props = _MetricOptions_1788b62f(
3973
4422
  account=account,
3974
4423
  color=color,
3975
4424
  dimensions_map=dimensions_map,
4425
+ id=id,
3976
4426
  label=label,
3977
4427
  period=period,
3978
4428
  region=region,
@@ -3980,6 +4430,7 @@ class Stream(
3980
4430
  stack_region=stack_region,
3981
4431
  statistic=statistic,
3982
4432
  unit=unit,
4433
+ visible=visible,
3983
4434
  )
3984
4435
 
3985
4436
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricGetRecordsLatency", [props]))
@@ -3991,6 +4442,7 @@ class Stream(
3991
4442
  account: typing.Optional[builtins.str] = None,
3992
4443
  color: typing.Optional[builtins.str] = None,
3993
4444
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
4445
+ id: typing.Optional[builtins.str] = None,
3994
4446
  label: typing.Optional[builtins.str] = None,
3995
4447
  period: typing.Optional[_Duration_4839e8c3] = None,
3996
4448
  region: typing.Optional[builtins.str] = None,
@@ -3998,6 +4450,7 @@ class Stream(
3998
4450
  stack_region: typing.Optional[builtins.str] = None,
3999
4451
  statistic: typing.Optional[builtins.str] = None,
4000
4452
  unit: typing.Optional[_Unit_61bc6f70] = None,
4453
+ visible: typing.Optional[builtins.bool] = None,
4001
4454
  ) -> _Metric_e396a4dc:
4002
4455
  '''The number of successful GetRecords operations per stream, measured over the specified time period.
4003
4456
 
@@ -4006,6 +4459,7 @@ class Stream(
4006
4459
  :param account: Account which this metric comes from. Default: - Deployment account.
4007
4460
  :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
4461
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
4462
+ :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
4463
  :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
4464
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
4011
4465
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -4013,11 +4467,13 @@ class Stream(
4013
4467
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
4014
4468
  :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
4469
  :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
4470
+ :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
4471
  '''
4017
4472
  props = _MetricOptions_1788b62f(
4018
4473
  account=account,
4019
4474
  color=color,
4020
4475
  dimensions_map=dimensions_map,
4476
+ id=id,
4021
4477
  label=label,
4022
4478
  period=period,
4023
4479
  region=region,
@@ -4025,6 +4481,7 @@ class Stream(
4025
4481
  stack_region=stack_region,
4026
4482
  statistic=statistic,
4027
4483
  unit=unit,
4484
+ visible=visible,
4028
4485
  )
4029
4486
 
4030
4487
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricGetRecordsSuccess", [props]))
@@ -4036,6 +4493,7 @@ class Stream(
4036
4493
  account: typing.Optional[builtins.str] = None,
4037
4494
  color: typing.Optional[builtins.str] = None,
4038
4495
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
4496
+ id: typing.Optional[builtins.str] = None,
4039
4497
  label: typing.Optional[builtins.str] = None,
4040
4498
  period: typing.Optional[_Duration_4839e8c3] = None,
4041
4499
  region: typing.Optional[builtins.str] = None,
@@ -4043,6 +4501,7 @@ class Stream(
4043
4501
  stack_region: typing.Optional[builtins.str] = None,
4044
4502
  statistic: typing.Optional[builtins.str] = None,
4045
4503
  unit: typing.Optional[_Unit_61bc6f70] = None,
4504
+ visible: typing.Optional[builtins.bool] = None,
4046
4505
  ) -> _Metric_e396a4dc:
4047
4506
  '''The number of bytes successfully put to the Kinesis stream over the specified time period.
4048
4507
 
@@ -4055,6 +4514,7 @@ class Stream(
4055
4514
  :param account: Account which this metric comes from. Default: - Deployment account.
4056
4515
  :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
4516
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
4517
+ :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
4518
  :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
4519
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
4060
4520
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -4062,11 +4522,13 @@ class Stream(
4062
4522
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
4063
4523
  :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
4524
  :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
4525
+ :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
4526
  '''
4066
4527
  props = _MetricOptions_1788b62f(
4067
4528
  account=account,
4068
4529
  color=color,
4069
4530
  dimensions_map=dimensions_map,
4531
+ id=id,
4070
4532
  label=label,
4071
4533
  period=period,
4072
4534
  region=region,
@@ -4074,6 +4536,7 @@ class Stream(
4074
4536
  stack_region=stack_region,
4075
4537
  statistic=statistic,
4076
4538
  unit=unit,
4539
+ visible=visible,
4077
4540
  )
4078
4541
 
4079
4542
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricIncomingBytes", [props]))
@@ -4085,6 +4548,7 @@ class Stream(
4085
4548
  account: typing.Optional[builtins.str] = None,
4086
4549
  color: typing.Optional[builtins.str] = None,
4087
4550
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
4551
+ id: typing.Optional[builtins.str] = None,
4088
4552
  label: typing.Optional[builtins.str] = None,
4089
4553
  period: typing.Optional[_Duration_4839e8c3] = None,
4090
4554
  region: typing.Optional[builtins.str] = None,
@@ -4092,6 +4556,7 @@ class Stream(
4092
4556
  stack_region: typing.Optional[builtins.str] = None,
4093
4557
  statistic: typing.Optional[builtins.str] = None,
4094
4558
  unit: typing.Optional[_Unit_61bc6f70] = None,
4559
+ visible: typing.Optional[builtins.bool] = None,
4095
4560
  ) -> _Metric_e396a4dc:
4096
4561
  '''The number of records successfully put to the Kinesis stream over the specified time period.
4097
4562
 
@@ -4104,6 +4569,7 @@ class Stream(
4104
4569
  :param account: Account which this metric comes from. Default: - Deployment account.
4105
4570
  :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
4571
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
4572
+ :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
4573
  :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
4574
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
4109
4575
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -4111,11 +4577,13 @@ class Stream(
4111
4577
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
4112
4578
  :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
4579
  :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
4580
+ :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
4581
  '''
4115
4582
  props = _MetricOptions_1788b62f(
4116
4583
  account=account,
4117
4584
  color=color,
4118
4585
  dimensions_map=dimensions_map,
4586
+ id=id,
4119
4587
  label=label,
4120
4588
  period=period,
4121
4589
  region=region,
@@ -4123,6 +4591,7 @@ class Stream(
4123
4591
  stack_region=stack_region,
4124
4592
  statistic=statistic,
4125
4593
  unit=unit,
4594
+ visible=visible,
4126
4595
  )
4127
4596
 
4128
4597
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricIncomingRecords", [props]))
@@ -4134,6 +4603,7 @@ class Stream(
4134
4603
  account: typing.Optional[builtins.str] = None,
4135
4604
  color: typing.Optional[builtins.str] = None,
4136
4605
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
4606
+ id: typing.Optional[builtins.str] = None,
4137
4607
  label: typing.Optional[builtins.str] = None,
4138
4608
  period: typing.Optional[_Duration_4839e8c3] = None,
4139
4609
  region: typing.Optional[builtins.str] = None,
@@ -4141,6 +4611,7 @@ class Stream(
4141
4611
  stack_region: typing.Optional[builtins.str] = None,
4142
4612
  statistic: typing.Optional[builtins.str] = None,
4143
4613
  unit: typing.Optional[_Unit_61bc6f70] = None,
4614
+ visible: typing.Optional[builtins.bool] = None,
4144
4615
  ) -> _Metric_e396a4dc:
4145
4616
  '''The number of bytes put to the Kinesis stream using the PutRecord operation over the specified time period.
4146
4617
 
@@ -4149,6 +4620,7 @@ class Stream(
4149
4620
  :param account: Account which this metric comes from. Default: - Deployment account.
4150
4621
  :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
4622
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
4623
+ :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
4624
  :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
4625
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
4154
4626
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -4156,11 +4628,13 @@ class Stream(
4156
4628
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
4157
4629
  :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
4630
  :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
4631
+ :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
4632
  '''
4160
4633
  props = _MetricOptions_1788b62f(
4161
4634
  account=account,
4162
4635
  color=color,
4163
4636
  dimensions_map=dimensions_map,
4637
+ id=id,
4164
4638
  label=label,
4165
4639
  period=period,
4166
4640
  region=region,
@@ -4168,6 +4642,7 @@ class Stream(
4168
4642
  stack_region=stack_region,
4169
4643
  statistic=statistic,
4170
4644
  unit=unit,
4645
+ visible=visible,
4171
4646
  )
4172
4647
 
4173
4648
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordBytes", [props]))
@@ -4179,6 +4654,7 @@ class Stream(
4179
4654
  account: typing.Optional[builtins.str] = None,
4180
4655
  color: typing.Optional[builtins.str] = None,
4181
4656
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
4657
+ id: typing.Optional[builtins.str] = None,
4182
4658
  label: typing.Optional[builtins.str] = None,
4183
4659
  period: typing.Optional[_Duration_4839e8c3] = None,
4184
4660
  region: typing.Optional[builtins.str] = None,
@@ -4186,6 +4662,7 @@ class Stream(
4186
4662
  stack_region: typing.Optional[builtins.str] = None,
4187
4663
  statistic: typing.Optional[builtins.str] = None,
4188
4664
  unit: typing.Optional[_Unit_61bc6f70] = None,
4665
+ visible: typing.Optional[builtins.bool] = None,
4189
4666
  ) -> _Metric_e396a4dc:
4190
4667
  '''The time taken per PutRecord operation, measured over the specified time period.
4191
4668
 
@@ -4194,6 +4671,7 @@ class Stream(
4194
4671
  :param account: Account which this metric comes from. Default: - Deployment account.
4195
4672
  :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
4673
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
4674
+ :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
4675
  :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
4676
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
4199
4677
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -4201,11 +4679,13 @@ class Stream(
4201
4679
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
4202
4680
  :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
4681
  :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
4682
+ :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
4683
  '''
4205
4684
  props = _MetricOptions_1788b62f(
4206
4685
  account=account,
4207
4686
  color=color,
4208
4687
  dimensions_map=dimensions_map,
4688
+ id=id,
4209
4689
  label=label,
4210
4690
  period=period,
4211
4691
  region=region,
@@ -4213,6 +4693,7 @@ class Stream(
4213
4693
  stack_region=stack_region,
4214
4694
  statistic=statistic,
4215
4695
  unit=unit,
4696
+ visible=visible,
4216
4697
  )
4217
4698
 
4218
4699
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordLatency", [props]))
@@ -4224,6 +4705,7 @@ class Stream(
4224
4705
  account: typing.Optional[builtins.str] = None,
4225
4706
  color: typing.Optional[builtins.str] = None,
4226
4707
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
4708
+ id: typing.Optional[builtins.str] = None,
4227
4709
  label: typing.Optional[builtins.str] = None,
4228
4710
  period: typing.Optional[_Duration_4839e8c3] = None,
4229
4711
  region: typing.Optional[builtins.str] = None,
@@ -4231,6 +4713,7 @@ class Stream(
4231
4713
  stack_region: typing.Optional[builtins.str] = None,
4232
4714
  statistic: typing.Optional[builtins.str] = None,
4233
4715
  unit: typing.Optional[_Unit_61bc6f70] = None,
4716
+ visible: typing.Optional[builtins.bool] = None,
4234
4717
  ) -> _Metric_e396a4dc:
4235
4718
  '''The number of bytes put to the Kinesis stream using the PutRecords operation over the specified time period.
4236
4719
 
@@ -4239,6 +4722,7 @@ class Stream(
4239
4722
  :param account: Account which this metric comes from. Default: - Deployment account.
4240
4723
  :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
4724
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
4725
+ :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
4726
  :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
4727
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
4244
4728
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -4246,11 +4730,13 @@ class Stream(
4246
4730
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
4247
4731
  :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
4732
  :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
4733
+ :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
4734
  '''
4250
4735
  props = _MetricOptions_1788b62f(
4251
4736
  account=account,
4252
4737
  color=color,
4253
4738
  dimensions_map=dimensions_map,
4739
+ id=id,
4254
4740
  label=label,
4255
4741
  period=period,
4256
4742
  region=region,
@@ -4258,6 +4744,7 @@ class Stream(
4258
4744
  stack_region=stack_region,
4259
4745
  statistic=statistic,
4260
4746
  unit=unit,
4747
+ visible=visible,
4261
4748
  )
4262
4749
 
4263
4750
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordsBytes", [props]))
@@ -4269,6 +4756,7 @@ class Stream(
4269
4756
  account: typing.Optional[builtins.str] = None,
4270
4757
  color: typing.Optional[builtins.str] = None,
4271
4758
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
4759
+ id: typing.Optional[builtins.str] = None,
4272
4760
  label: typing.Optional[builtins.str] = None,
4273
4761
  period: typing.Optional[_Duration_4839e8c3] = None,
4274
4762
  region: typing.Optional[builtins.str] = None,
@@ -4276,6 +4764,7 @@ class Stream(
4276
4764
  stack_region: typing.Optional[builtins.str] = None,
4277
4765
  statistic: typing.Optional[builtins.str] = None,
4278
4766
  unit: typing.Optional[_Unit_61bc6f70] = None,
4767
+ visible: typing.Optional[builtins.bool] = None,
4279
4768
  ) -> _Metric_e396a4dc:
4280
4769
  '''The number of records rejected due to internal failures in a PutRecords operation per Kinesis data stream, measured over the specified time period.
4281
4770
 
@@ -4286,6 +4775,7 @@ class Stream(
4286
4775
  :param account: Account which this metric comes from. Default: - Deployment account.
4287
4776
  :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
4777
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
4778
+ :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
4779
  :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
4780
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
4291
4781
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -4293,11 +4783,13 @@ class Stream(
4293
4783
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
4294
4784
  :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
4785
  :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
4786
+ :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
4787
  '''
4297
4788
  props = _MetricOptions_1788b62f(
4298
4789
  account=account,
4299
4790
  color=color,
4300
4791
  dimensions_map=dimensions_map,
4792
+ id=id,
4301
4793
  label=label,
4302
4794
  period=period,
4303
4795
  region=region,
@@ -4305,6 +4797,7 @@ class Stream(
4305
4797
  stack_region=stack_region,
4306
4798
  statistic=statistic,
4307
4799
  unit=unit,
4800
+ visible=visible,
4308
4801
  )
4309
4802
 
4310
4803
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordsFailedRecords", [props]))
@@ -4316,6 +4809,7 @@ class Stream(
4316
4809
  account: typing.Optional[builtins.str] = None,
4317
4810
  color: typing.Optional[builtins.str] = None,
4318
4811
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
4812
+ id: typing.Optional[builtins.str] = None,
4319
4813
  label: typing.Optional[builtins.str] = None,
4320
4814
  period: typing.Optional[_Duration_4839e8c3] = None,
4321
4815
  region: typing.Optional[builtins.str] = None,
@@ -4323,6 +4817,7 @@ class Stream(
4323
4817
  stack_region: typing.Optional[builtins.str] = None,
4324
4818
  statistic: typing.Optional[builtins.str] = None,
4325
4819
  unit: typing.Optional[_Unit_61bc6f70] = None,
4820
+ visible: typing.Optional[builtins.bool] = None,
4326
4821
  ) -> _Metric_e396a4dc:
4327
4822
  '''The time taken per PutRecords operation, measured over the specified time period.
4328
4823
 
@@ -4331,6 +4826,7 @@ class Stream(
4331
4826
  :param account: Account which this metric comes from. Default: - Deployment account.
4332
4827
  :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
4828
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
4829
+ :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
4830
  :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
4831
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
4336
4832
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -4338,11 +4834,13 @@ class Stream(
4338
4834
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
4339
4835
  :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
4836
  :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
4837
+ :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
4838
  '''
4342
4839
  props = _MetricOptions_1788b62f(
4343
4840
  account=account,
4344
4841
  color=color,
4345
4842
  dimensions_map=dimensions_map,
4843
+ id=id,
4346
4844
  label=label,
4347
4845
  period=period,
4348
4846
  region=region,
@@ -4350,6 +4848,7 @@ class Stream(
4350
4848
  stack_region=stack_region,
4351
4849
  statistic=statistic,
4352
4850
  unit=unit,
4851
+ visible=visible,
4353
4852
  )
4354
4853
 
4355
4854
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordsLatency", [props]))
@@ -4361,6 +4860,7 @@ class Stream(
4361
4860
  account: typing.Optional[builtins.str] = None,
4362
4861
  color: typing.Optional[builtins.str] = None,
4363
4862
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
4863
+ id: typing.Optional[builtins.str] = None,
4364
4864
  label: typing.Optional[builtins.str] = None,
4365
4865
  period: typing.Optional[_Duration_4839e8c3] = None,
4366
4866
  region: typing.Optional[builtins.str] = None,
@@ -4368,6 +4868,7 @@ class Stream(
4368
4868
  stack_region: typing.Optional[builtins.str] = None,
4369
4869
  statistic: typing.Optional[builtins.str] = None,
4370
4870
  unit: typing.Optional[_Unit_61bc6f70] = None,
4871
+ visible: typing.Optional[builtins.bool] = None,
4371
4872
  ) -> _Metric_e396a4dc:
4372
4873
  '''The number of PutRecords operations where at least one record succeeded, per Kinesis stream, measured over the specified time period.
4373
4874
 
@@ -4376,6 +4877,7 @@ class Stream(
4376
4877
  :param account: Account which this metric comes from. Default: - Deployment account.
4377
4878
  :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
4879
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
4880
+ :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
4881
  :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
4882
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
4381
4883
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -4383,11 +4885,13 @@ class Stream(
4383
4885
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
4384
4886
  :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
4887
  :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
4888
+ :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
4889
  '''
4387
4890
  props = _MetricOptions_1788b62f(
4388
4891
  account=account,
4389
4892
  color=color,
4390
4893
  dimensions_map=dimensions_map,
4894
+ id=id,
4391
4895
  label=label,
4392
4896
  period=period,
4393
4897
  region=region,
@@ -4395,6 +4899,7 @@ class Stream(
4395
4899
  stack_region=stack_region,
4396
4900
  statistic=statistic,
4397
4901
  unit=unit,
4902
+ visible=visible,
4398
4903
  )
4399
4904
 
4400
4905
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordsSuccess", [props]))
@@ -4406,6 +4911,7 @@ class Stream(
4406
4911
  account: typing.Optional[builtins.str] = None,
4407
4912
  color: typing.Optional[builtins.str] = None,
4408
4913
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
4914
+ id: typing.Optional[builtins.str] = None,
4409
4915
  label: typing.Optional[builtins.str] = None,
4410
4916
  period: typing.Optional[_Duration_4839e8c3] = None,
4411
4917
  region: typing.Optional[builtins.str] = None,
@@ -4413,6 +4919,7 @@ class Stream(
4413
4919
  stack_region: typing.Optional[builtins.str] = None,
4414
4920
  statistic: typing.Optional[builtins.str] = None,
4415
4921
  unit: typing.Optional[_Unit_61bc6f70] = None,
4922
+ visible: typing.Optional[builtins.bool] = None,
4416
4923
  ) -> _Metric_e396a4dc:
4417
4924
  '''The number of successful records in a PutRecords operation per Kinesis data stream, measured over the specified time period.
4418
4925
 
@@ -4421,6 +4928,7 @@ class Stream(
4421
4928
  :param account: Account which this metric comes from. Default: - Deployment account.
4422
4929
  :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
4930
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
4931
+ :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
4932
  :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
4933
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
4426
4934
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -4428,11 +4936,13 @@ class Stream(
4428
4936
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
4429
4937
  :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
4938
  :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
4939
+ :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
4940
  '''
4432
4941
  props = _MetricOptions_1788b62f(
4433
4942
  account=account,
4434
4943
  color=color,
4435
4944
  dimensions_map=dimensions_map,
4945
+ id=id,
4436
4946
  label=label,
4437
4947
  period=period,
4438
4948
  region=region,
@@ -4440,6 +4950,7 @@ class Stream(
4440
4950
  stack_region=stack_region,
4441
4951
  statistic=statistic,
4442
4952
  unit=unit,
4953
+ visible=visible,
4443
4954
  )
4444
4955
 
4445
4956
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordsSuccessfulRecords", [props]))
@@ -4451,6 +4962,7 @@ class Stream(
4451
4962
  account: typing.Optional[builtins.str] = None,
4452
4963
  color: typing.Optional[builtins.str] = None,
4453
4964
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
4965
+ id: typing.Optional[builtins.str] = None,
4454
4966
  label: typing.Optional[builtins.str] = None,
4455
4967
  period: typing.Optional[_Duration_4839e8c3] = None,
4456
4968
  region: typing.Optional[builtins.str] = None,
@@ -4458,6 +4970,7 @@ class Stream(
4458
4970
  stack_region: typing.Optional[builtins.str] = None,
4459
4971
  statistic: typing.Optional[builtins.str] = None,
4460
4972
  unit: typing.Optional[_Unit_61bc6f70] = None,
4973
+ visible: typing.Optional[builtins.bool] = None,
4461
4974
  ) -> _Metric_e396a4dc:
4462
4975
  '''The number of records rejected due to throttling in a PutRecords operation per Kinesis data stream, measured over the specified time period.
4463
4976
 
@@ -4466,6 +4979,7 @@ class Stream(
4466
4979
  :param account: Account which this metric comes from. Default: - Deployment account.
4467
4980
  :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
4981
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
4982
+ :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
4983
  :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
4984
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
4471
4985
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -4473,11 +4987,13 @@ class Stream(
4473
4987
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
4474
4988
  :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
4989
  :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
4990
+ :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
4991
  '''
4477
4992
  props = _MetricOptions_1788b62f(
4478
4993
  account=account,
4479
4994
  color=color,
4480
4995
  dimensions_map=dimensions_map,
4996
+ id=id,
4481
4997
  label=label,
4482
4998
  period=period,
4483
4999
  region=region,
@@ -4485,6 +5001,7 @@ class Stream(
4485
5001
  stack_region=stack_region,
4486
5002
  statistic=statistic,
4487
5003
  unit=unit,
5004
+ visible=visible,
4488
5005
  )
4489
5006
 
4490
5007
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordsThrottledRecords", [props]))
@@ -4496,6 +5013,7 @@ class Stream(
4496
5013
  account: typing.Optional[builtins.str] = None,
4497
5014
  color: typing.Optional[builtins.str] = None,
4498
5015
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
5016
+ id: typing.Optional[builtins.str] = None,
4499
5017
  label: typing.Optional[builtins.str] = None,
4500
5018
  period: typing.Optional[_Duration_4839e8c3] = None,
4501
5019
  region: typing.Optional[builtins.str] = None,
@@ -4503,6 +5021,7 @@ class Stream(
4503
5021
  stack_region: typing.Optional[builtins.str] = None,
4504
5022
  statistic: typing.Optional[builtins.str] = None,
4505
5023
  unit: typing.Optional[_Unit_61bc6f70] = None,
5024
+ visible: typing.Optional[builtins.bool] = None,
4506
5025
  ) -> _Metric_e396a4dc:
4507
5026
  '''The total number of records sent in a PutRecords operation per Kinesis data stream, measured over the specified time period.
4508
5027
 
@@ -4511,6 +5030,7 @@ class Stream(
4511
5030
  :param account: Account which this metric comes from. Default: - Deployment account.
4512
5031
  :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
5032
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
5033
+ :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
5034
  :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
5035
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
4516
5036
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -4518,11 +5038,13 @@ class Stream(
4518
5038
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
4519
5039
  :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
5040
  :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
5041
+ :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
5042
  '''
4522
5043
  props = _MetricOptions_1788b62f(
4523
5044
  account=account,
4524
5045
  color=color,
4525
5046
  dimensions_map=dimensions_map,
5047
+ id=id,
4526
5048
  label=label,
4527
5049
  period=period,
4528
5050
  region=region,
@@ -4530,6 +5052,7 @@ class Stream(
4530
5052
  stack_region=stack_region,
4531
5053
  statistic=statistic,
4532
5054
  unit=unit,
5055
+ visible=visible,
4533
5056
  )
4534
5057
 
4535
5058
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordsTotalRecords", [props]))
@@ -4541,6 +5064,7 @@ class Stream(
4541
5064
  account: typing.Optional[builtins.str] = None,
4542
5065
  color: typing.Optional[builtins.str] = None,
4543
5066
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
5067
+ id: typing.Optional[builtins.str] = None,
4544
5068
  label: typing.Optional[builtins.str] = None,
4545
5069
  period: typing.Optional[_Duration_4839e8c3] = None,
4546
5070
  region: typing.Optional[builtins.str] = None,
@@ -4548,6 +5072,7 @@ class Stream(
4548
5072
  stack_region: typing.Optional[builtins.str] = None,
4549
5073
  statistic: typing.Optional[builtins.str] = None,
4550
5074
  unit: typing.Optional[_Unit_61bc6f70] = None,
5075
+ visible: typing.Optional[builtins.bool] = None,
4551
5076
  ) -> _Metric_e396a4dc:
4552
5077
  '''The number of successful PutRecord operations per Kinesis stream, measured over the specified time period.
4553
5078
 
@@ -4559,6 +5084,7 @@ class Stream(
4559
5084
  :param account: Account which this metric comes from. Default: - Deployment account.
4560
5085
  :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
5086
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
5087
+ :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
5088
  :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
5089
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
4564
5090
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -4566,11 +5092,13 @@ class Stream(
4566
5092
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
4567
5093
  :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
5094
  :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
5095
+ :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
5096
  '''
4570
5097
  props = _MetricOptions_1788b62f(
4571
5098
  account=account,
4572
5099
  color=color,
4573
5100
  dimensions_map=dimensions_map,
5101
+ id=id,
4574
5102
  label=label,
4575
5103
  period=period,
4576
5104
  region=region,
@@ -4578,6 +5106,7 @@ class Stream(
4578
5106
  stack_region=stack_region,
4579
5107
  statistic=statistic,
4580
5108
  unit=unit,
5109
+ visible=visible,
4581
5110
  )
4582
5111
 
4583
5112
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordSuccess", [props]))
@@ -4589,6 +5118,7 @@ class Stream(
4589
5118
  account: typing.Optional[builtins.str] = None,
4590
5119
  color: typing.Optional[builtins.str] = None,
4591
5120
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
5121
+ id: typing.Optional[builtins.str] = None,
4592
5122
  label: typing.Optional[builtins.str] = None,
4593
5123
  period: typing.Optional[_Duration_4839e8c3] = None,
4594
5124
  region: typing.Optional[builtins.str] = None,
@@ -4596,6 +5126,7 @@ class Stream(
4596
5126
  stack_region: typing.Optional[builtins.str] = None,
4597
5127
  statistic: typing.Optional[builtins.str] = None,
4598
5128
  unit: typing.Optional[_Unit_61bc6f70] = None,
5129
+ visible: typing.Optional[builtins.bool] = None,
4599
5130
  ) -> _Metric_e396a4dc:
4600
5131
  '''The number of GetRecords calls throttled for the stream over the specified time period.
4601
5132
 
@@ -4613,6 +5144,7 @@ class Stream(
4613
5144
  :param account: Account which this metric comes from. Default: - Deployment account.
4614
5145
  :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
5146
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
5147
+ :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
5148
  :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
5149
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
4618
5150
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -4620,11 +5152,13 @@ class Stream(
4620
5152
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
4621
5153
  :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
5154
  :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
5155
+ :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
5156
  '''
4624
5157
  props = _MetricOptions_1788b62f(
4625
5158
  account=account,
4626
5159
  color=color,
4627
5160
  dimensions_map=dimensions_map,
5161
+ id=id,
4628
5162
  label=label,
4629
5163
  period=period,
4630
5164
  region=region,
@@ -4632,6 +5166,7 @@ class Stream(
4632
5166
  stack_region=stack_region,
4633
5167
  statistic=statistic,
4634
5168
  unit=unit,
5169
+ visible=visible,
4635
5170
  )
4636
5171
 
4637
5172
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricReadProvisionedThroughputExceeded", [props]))
@@ -4643,6 +5178,7 @@ class Stream(
4643
5178
  account: typing.Optional[builtins.str] = None,
4644
5179
  color: typing.Optional[builtins.str] = None,
4645
5180
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
5181
+ id: typing.Optional[builtins.str] = None,
4646
5182
  label: typing.Optional[builtins.str] = None,
4647
5183
  period: typing.Optional[_Duration_4839e8c3] = None,
4648
5184
  region: typing.Optional[builtins.str] = None,
@@ -4650,6 +5186,7 @@ class Stream(
4650
5186
  stack_region: typing.Optional[builtins.str] = None,
4651
5187
  statistic: typing.Optional[builtins.str] = None,
4652
5188
  unit: typing.Optional[_Unit_61bc6f70] = None,
5189
+ visible: typing.Optional[builtins.bool] = None,
4653
5190
  ) -> _Metric_e396a4dc:
4654
5191
  '''The number of records rejected due to throttling for the stream over the specified time period.
4655
5192
 
@@ -4667,6 +5204,7 @@ class Stream(
4667
5204
  :param account: Account which this metric comes from. Default: - Deployment account.
4668
5205
  :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
5206
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
5207
+ :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
5208
  :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
5209
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
4672
5210
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -4674,11 +5212,13 @@ class Stream(
4674
5212
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
4675
5213
  :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
5214
  :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
5215
+ :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
5216
  '''
4678
5217
  props = _MetricOptions_1788b62f(
4679
5218
  account=account,
4680
5219
  color=color,
4681
5220
  dimensions_map=dimensions_map,
5221
+ id=id,
4682
5222
  label=label,
4683
5223
  period=period,
4684
5224
  region=region,
@@ -4686,6 +5226,7 @@ class Stream(
4686
5226
  stack_region=stack_region,
4687
5227
  statistic=statistic,
4688
5228
  unit=unit,
5229
+ visible=visible,
4689
5230
  )
4690
5231
 
4691
5232
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricWriteProvisionedThroughputExceeded", [props]))
@@ -5144,6 +5685,7 @@ class StreamMode(enum.Enum):
5144
5685
  "removal_policy": "removalPolicy",
5145
5686
  "retention_period": "retentionPeriod",
5146
5687
  "shard_count": "shardCount",
5688
+ "shard_level_metrics": "shardLevelMetrics",
5147
5689
  "stream_mode": "streamMode",
5148
5690
  "stream_name": "streamName",
5149
5691
  },
@@ -5157,6 +5699,7 @@ class StreamProps:
5157
5699
  removal_policy: typing.Optional[_RemovalPolicy_9f93c814] = None,
5158
5700
  retention_period: typing.Optional[_Duration_4839e8c3] = None,
5159
5701
  shard_count: typing.Optional[jsii.Number] = None,
5702
+ shard_level_metrics: typing.Optional[typing.Sequence[ShardLevelMetrics]] = None,
5160
5703
  stream_mode: typing.Optional[StreamMode] = None,
5161
5704
  stream_name: typing.Optional[builtins.str] = None,
5162
5705
  ) -> None:
@@ -5167,6 +5710,7 @@ class StreamProps:
5167
5710
  :param removal_policy: Policy to apply when the stream is removed from the stack. Default: RemovalPolicy.RETAIN
5168
5711
  :param retention_period: The number of hours for the data records that are stored in shards to remain accessible. Default: Duration.hours(24)
5169
5712
  :param shard_count: The number of shards for the stream. Can only be provided if streamMode is Provisioned. Default: 1
5713
+ :param shard_level_metrics: A list of shard-level metrics in properties to enable enhanced monitoring mode. Default: undefined - AWS Kinesis default is disabled
5170
5714
  :param stream_mode: The capacity mode of this stream. Default: StreamMode.PROVISIONED
5171
5715
  :param stream_name: Enforces a particular physical stream name. Default:
5172
5716
 
@@ -5188,6 +5732,7 @@ class StreamProps:
5188
5732
  check_type(argname="argument removal_policy", value=removal_policy, expected_type=type_hints["removal_policy"])
5189
5733
  check_type(argname="argument retention_period", value=retention_period, expected_type=type_hints["retention_period"])
5190
5734
  check_type(argname="argument shard_count", value=shard_count, expected_type=type_hints["shard_count"])
5735
+ check_type(argname="argument shard_level_metrics", value=shard_level_metrics, expected_type=type_hints["shard_level_metrics"])
5191
5736
  check_type(argname="argument stream_mode", value=stream_mode, expected_type=type_hints["stream_mode"])
5192
5737
  check_type(argname="argument stream_name", value=stream_name, expected_type=type_hints["stream_name"])
5193
5738
  self._values: typing.Dict[builtins.str, typing.Any] = {}
@@ -5201,6 +5746,8 @@ class StreamProps:
5201
5746
  self._values["retention_period"] = retention_period
5202
5747
  if shard_count is not None:
5203
5748
  self._values["shard_count"] = shard_count
5749
+ if shard_level_metrics is not None:
5750
+ self._values["shard_level_metrics"] = shard_level_metrics
5204
5751
  if stream_mode is not None:
5205
5752
  self._values["stream_mode"] = stream_mode
5206
5753
  if stream_name is not None:
@@ -5266,6 +5813,17 @@ class StreamProps:
5266
5813
  result = self._values.get("shard_count")
5267
5814
  return typing.cast(typing.Optional[jsii.Number], result)
5268
5815
 
5816
+ @builtins.property
5817
+ def shard_level_metrics(self) -> typing.Optional[typing.List[ShardLevelMetrics]]:
5818
+ '''A list of shard-level metrics in properties to enable enhanced monitoring mode.
5819
+
5820
+ :default: undefined - AWS Kinesis default is disabled
5821
+
5822
+ :see: https://docs.aws.amazon.com/streams/latest/dev/monitoring-with-cloudwatch.html#kinesis-metrics-shard
5823
+ '''
5824
+ result = self._values.get("shard_level_metrics")
5825
+ return typing.cast(typing.Optional[typing.List[ShardLevelMetrics]], result)
5826
+
5269
5827
  @builtins.property
5270
5828
  def stream_mode(self) -> typing.Optional[StreamMode]:
5271
5829
  '''The capacity mode of this stream.
@@ -5307,6 +5865,7 @@ __all__ = [
5307
5865
  "IStreamConsumer",
5308
5866
  "ResourcePolicy",
5309
5867
  "ResourcePolicyProps",
5868
+ "ShardLevelMetrics",
5310
5869
  "Stream",
5311
5870
  "StreamAttributes",
5312
5871
  "StreamConsumer",
@@ -5366,6 +5925,7 @@ def _typecheckingstub__b956aa40f3e4f7ebba018fbc1caa3788147e52190c5c7131c5c035b04
5366
5925
  id: builtins.str,
5367
5926
  *,
5368
5927
  desired_shard_level_metrics: typing.Optional[typing.Sequence[builtins.str]] = None,
5928
+ max_record_size_in_kib: typing.Optional[jsii.Number] = None,
5369
5929
  name: typing.Optional[builtins.str] = None,
5370
5930
  retention_period_hours: typing.Optional[jsii.Number] = None,
5371
5931
  shard_count: typing.Optional[jsii.Number] = None,
@@ -5376,6 +5936,22 @@ def _typecheckingstub__b956aa40f3e4f7ebba018fbc1caa3788147e52190c5c7131c5c035b04
5376
5936
  """Type checking stubs"""
5377
5937
  pass
5378
5938
 
5939
+ def _typecheckingstub__3c69677685a82f8e525ad2739006025db5278674d3e523946f160156221a9f73(
5940
+ scope: _constructs_77d1e7e8.Construct,
5941
+ id: builtins.str,
5942
+ arn: builtins.str,
5943
+ ) -> None:
5944
+ """Type checking stubs"""
5945
+ pass
5946
+
5947
+ def _typecheckingstub__29cb46b7ceb2cd8a127a3866d6508b48f921857bfb60faeb20b84a87cb83f072(
5948
+ scope: _constructs_77d1e7e8.Construct,
5949
+ id: builtins.str,
5950
+ stream_name: builtins.str,
5951
+ ) -> None:
5952
+ """Type checking stubs"""
5953
+ pass
5954
+
5379
5955
  def _typecheckingstub__333b8ca1bf2a7b045485860c8e016bc7f84165557984c70011b4f8bbc53133b1(
5380
5956
  inspector: _TreeInspector_488e0dd5,
5381
5957
  ) -> None:
@@ -5394,6 +5970,12 @@ def _typecheckingstub__9a26f83e3d95ee6758754d8ca6cb717ae058662a4c47c6b7d2f4ec32a
5394
5970
  """Type checking stubs"""
5395
5971
  pass
5396
5972
 
5973
+ def _typecheckingstub__cc4d82c06f60950007b5fa7b77421e4c8280037d91abe3d864ec5aefbb103659(
5974
+ value: typing.Optional[jsii.Number],
5975
+ ) -> None:
5976
+ """Type checking stubs"""
5977
+ pass
5978
+
5397
5979
  def _typecheckingstub__69caca5de735efdd86c95d7668c92bbedbfaf458ff05980e7d9773ad8e47288e(
5398
5980
  value: typing.Optional[builtins.str],
5399
5981
  ) -> None:
@@ -5451,6 +6033,7 @@ def _typecheckingstub__40129c585ad941f6708a726728b53f8f98c392e9aac49550e397150ee
5451
6033
  *,
5452
6034
  consumer_name: builtins.str,
5453
6035
  stream_arn: builtins.str,
6036
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
5454
6037
  ) -> None:
5455
6038
  """Type checking stubs"""
5456
6039
  pass
@@ -5479,10 +6062,17 @@ def _typecheckingstub__decaab8d4ef9478c7a29a7262bbddccc719545cf6499f4ac625d9c446
5479
6062
  """Type checking stubs"""
5480
6063
  pass
5481
6064
 
6065
+ def _typecheckingstub__741a97d9ae28403dd10b071c7777bb76448096ad2b30f06325c121d8271174db(
6066
+ value: typing.Optional[typing.List[_CfnTag_f6864754]],
6067
+ ) -> None:
6068
+ """Type checking stubs"""
6069
+ pass
6070
+
5482
6071
  def _typecheckingstub__04af0c0cee5710afdb7b50f59ef3686da8bba1bf2ed3a56c1e5209c6859bca6f(
5483
6072
  *,
5484
6073
  consumer_name: builtins.str,
5485
6074
  stream_arn: builtins.str,
6075
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
5486
6076
  ) -> None:
5487
6077
  """Type checking stubs"""
5488
6078
  pass
@@ -5490,6 +6080,7 @@ def _typecheckingstub__04af0c0cee5710afdb7b50f59ef3686da8bba1bf2ed3a56c1e5209c68
5490
6080
  def _typecheckingstub__d3bac625363d3769acb567c00e5b48d63afe09fd6d0305829f157ffcc46ec169(
5491
6081
  *,
5492
6082
  desired_shard_level_metrics: typing.Optional[typing.Sequence[builtins.str]] = None,
6083
+ max_record_size_in_kib: typing.Optional[jsii.Number] = None,
5493
6084
  name: typing.Optional[builtins.str] = None,
5494
6085
  retention_period_hours: typing.Optional[jsii.Number] = None,
5495
6086
  shard_count: typing.Optional[jsii.Number] = None,
@@ -5537,6 +6128,7 @@ def _typecheckingstub__bd578f4ca8facd0463f7e56d3d2cea7e56ba9ad274338af8f84fa661d
5537
6128
  account: typing.Optional[builtins.str] = None,
5538
6129
  color: typing.Optional[builtins.str] = None,
5539
6130
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
6131
+ id: typing.Optional[builtins.str] = None,
5540
6132
  label: typing.Optional[builtins.str] = None,
5541
6133
  period: typing.Optional[_Duration_4839e8c3] = None,
5542
6134
  region: typing.Optional[builtins.str] = None,
@@ -5544,6 +6136,7 @@ def _typecheckingstub__bd578f4ca8facd0463f7e56d3d2cea7e56ba9ad274338af8f84fa661d
5544
6136
  stack_region: typing.Optional[builtins.str] = None,
5545
6137
  statistic: typing.Optional[builtins.str] = None,
5546
6138
  unit: typing.Optional[_Unit_61bc6f70] = None,
6139
+ visible: typing.Optional[builtins.bool] = None,
5547
6140
  ) -> None:
5548
6141
  """Type checking stubs"""
5549
6142
  pass
@@ -5596,6 +6189,7 @@ def _typecheckingstub__d9e4f581406090d861e3fe8214f939eedc5d1ccaffe122a7542878ec4
5596
6189
  removal_policy: typing.Optional[_RemovalPolicy_9f93c814] = None,
5597
6190
  retention_period: typing.Optional[_Duration_4839e8c3] = None,
5598
6191
  shard_count: typing.Optional[jsii.Number] = None,
6192
+ shard_level_metrics: typing.Optional[typing.Sequence[ShardLevelMetrics]] = None,
5599
6193
  stream_mode: typing.Optional[StreamMode] = None,
5600
6194
  stream_name: typing.Optional[builtins.str] = None,
5601
6195
  ) -> None:
@@ -5657,6 +6251,7 @@ def _typecheckingstub__c2a600a35f466b97cb6589291e1c140f381da66a0d5026de6030101a8
5657
6251
  account: typing.Optional[builtins.str] = None,
5658
6252
  color: typing.Optional[builtins.str] = None,
5659
6253
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
6254
+ id: typing.Optional[builtins.str] = None,
5660
6255
  label: typing.Optional[builtins.str] = None,
5661
6256
  period: typing.Optional[_Duration_4839e8c3] = None,
5662
6257
  region: typing.Optional[builtins.str] = None,
@@ -5664,6 +6259,7 @@ def _typecheckingstub__c2a600a35f466b97cb6589291e1c140f381da66a0d5026de6030101a8
5664
6259
  stack_region: typing.Optional[builtins.str] = None,
5665
6260
  statistic: typing.Optional[builtins.str] = None,
5666
6261
  unit: typing.Optional[_Unit_61bc6f70] = None,
6262
+ visible: typing.Optional[builtins.bool] = None,
5667
6263
  ) -> None:
5668
6264
  """Type checking stubs"""
5669
6265
  pass
@@ -5744,8 +6340,12 @@ def _typecheckingstub__88629f78086711b76f550ae13e14f2db1429deb350aa5b10b7073d585
5744
6340
  removal_policy: typing.Optional[_RemovalPolicy_9f93c814] = None,
5745
6341
  retention_period: typing.Optional[_Duration_4839e8c3] = None,
5746
6342
  shard_count: typing.Optional[jsii.Number] = None,
6343
+ shard_level_metrics: typing.Optional[typing.Sequence[ShardLevelMetrics]] = None,
5747
6344
  stream_mode: typing.Optional[StreamMode] = None,
5748
6345
  stream_name: typing.Optional[builtins.str] = None,
5749
6346
  ) -> None:
5750
6347
  """Type checking stubs"""
5751
6348
  pass
6349
+
6350
+ for cls in [IStream, IStreamConsumer]:
6351
+ typing.cast(typing.Any, cls).__protocol_attrs__ = typing.cast(typing.Any, cls).__protocol_attrs__ - set(['__jsii_proxy_class__', '__jsii_type__'])