aws-cdk-lib 2.195.0__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.
- aws_cdk/__init__.py +1806 -417
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.195.0.jsii.tgz → aws-cdk-lib@2.224.0.jsii.tgz} +0 -0
- aws_cdk/alexa_ask/__init__.py +12 -2
- aws_cdk/aws_accessanalyzer/__init__.py +323 -6
- aws_cdk/aws_acmpca/__init__.py +53 -10
- aws_cdk/aws_aiops/__init__.py +1019 -0
- aws_cdk/aws_amazonmq/__init__.py +357 -313
- aws_cdk/aws_amplify/__init__.py +173 -17
- aws_cdk/aws_amplifyuibuilder/__init__.py +35 -6
- aws_cdk/aws_apigateway/__init__.py +1245 -215
- aws_cdk/aws_apigatewayv2/__init__.py +3890 -476
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +94 -16
- aws_cdk/aws_appconfig/__init__.py +618 -91
- aws_cdk/aws_appflow/__init__.py +151 -6
- aws_cdk/aws_appintegrations/__init__.py +546 -6
- aws_cdk/aws_applicationautoscaling/__init__.py +75 -10
- aws_cdk/aws_applicationinsights/__init__.py +13 -2
- aws_cdk/aws_applicationsignals/__init__.py +374 -6
- aws_cdk/aws_appmesh/__init__.py +136 -26
- aws_cdk/aws_apprunner/__init__.py +66 -18
- aws_cdk/aws_appstream/__init__.py +309 -55
- aws_cdk/aws_appsync/__init__.py +350 -94
- aws_cdk/aws_apptest/__init__.py +71 -2
- aws_cdk/aws_aps/__init__.py +2188 -94
- aws_cdk/aws_arcregionswitch/__init__.py +5095 -0
- aws_cdk/aws_arczonalshift/__init__.py +39 -12
- aws_cdk/aws_athena/__init__.py +365 -29
- aws_cdk/aws_auditmanager/__init__.py +71 -2
- aws_cdk/aws_autoscaling/__init__.py +165 -60
- aws_cdk/aws_autoscaling_common/__init__.py +3 -0
- aws_cdk/aws_autoscalingplans/__init__.py +13 -2
- aws_cdk/aws_b2bi/__init__.py +1819 -99
- aws_cdk/aws_backup/__init__.py +370 -42
- aws_cdk/aws_backupgateway/__init__.py +13 -2
- aws_cdk/aws_batch/__init__.py +1462 -163
- aws_cdk/aws_bcmdataexports/__init__.py +21 -2
- aws_cdk/aws_bedrock/__init__.py +7867 -727
- aws_cdk/aws_bedrockagentcore/__init__.py +10425 -0
- aws_cdk/aws_billingconductor/__init__.py +197 -11
- aws_cdk/aws_budgets/__init__.py +611 -4
- aws_cdk/aws_cassandra/__init__.py +247 -6
- aws_cdk/aws_ce/__init__.py +35 -6
- aws_cdk/aws_certificatemanager/__init__.py +258 -32
- aws_cdk/aws_chatbot/__init__.py +76 -6
- aws_cdk/aws_cleanrooms/__init__.py +709 -206
- aws_cdk/aws_cleanroomsml/__init__.py +13 -2
- aws_cdk/aws_cloud9/__init__.py +13 -2
- aws_cdk/aws_cloudformation/__init__.py +362 -189
- aws_cdk/aws_cloudfront/__init__.py +2188 -674
- aws_cdk/aws_cloudfront/experimental/__init__.py +114 -16
- aws_cdk/aws_cloudfront_origins/__init__.py +615 -74
- aws_cdk/aws_cloudtrail/__init__.py +311 -21
- aws_cdk/aws_cloudwatch/__init__.py +3093 -1038
- aws_cdk/aws_cloudwatch_actions/__init__.py +75 -1
- aws_cdk/aws_codeartifact/__init__.py +35 -6
- aws_cdk/aws_codebuild/__init__.py +1303 -135
- aws_cdk/aws_codecommit/__init__.py +29 -9
- aws_cdk/aws_codeconnections/__init__.py +13 -2
- aws_cdk/aws_codedeploy/__init__.py +130 -6
- aws_cdk/aws_codeguruprofiler/__init__.py +80 -2
- aws_cdk/aws_codegurureviewer/__init__.py +13 -2
- aws_cdk/aws_codepipeline/__init__.py +177 -71
- aws_cdk/aws_codepipeline_actions/__init__.py +753 -4
- aws_cdk/aws_codestar/__init__.py +13 -2
- aws_cdk/aws_codestarconnections/__init__.py +35 -6
- aws_cdk/aws_codestarnotifications/__init__.py +22 -2
- aws_cdk/aws_cognito/__init__.py +905 -92
- aws_cdk/aws_cognito_identitypool/__init__.py +23 -12
- aws_cdk/aws_comprehend/__init__.py +24 -4
- aws_cdk/aws_config/__init__.py +227 -30
- aws_cdk/aws_connect/__init__.py +2736 -191
- aws_cdk/aws_connectcampaigns/__init__.py +13 -2
- aws_cdk/aws_connectcampaignsv2/__init__.py +268 -6
- aws_cdk/aws_controltower/__init__.py +35 -6
- aws_cdk/aws_cur/__init__.py +100 -4
- aws_cdk/aws_customerprofiles/__init__.py +617 -27
- aws_cdk/aws_databrew/__init__.py +68 -12
- aws_cdk/aws_datapipeline/__init__.py +42 -2
- aws_cdk/aws_datasync/__init__.py +1514 -977
- aws_cdk/aws_datazone/__init__.py +7426 -1763
- aws_cdk/aws_dax/__init__.py +83 -6
- aws_cdk/aws_deadline/__init__.py +511 -36
- aws_cdk/aws_detective/__init__.py +35 -6
- aws_cdk/aws_devicefarm/__init__.py +68 -12
- aws_cdk/aws_devopsguru/__init__.py +37 -6
- aws_cdk/aws_directoryservice/__init__.py +53 -4
- aws_cdk/aws_dlm/__init__.py +13 -2
- aws_cdk/aws_dms/__init__.py +184 -27
- aws_cdk/aws_docdb/__init__.py +350 -49
- aws_cdk/aws_docdbelastic/__init__.py +13 -2
- aws_cdk/aws_dsql/__init__.py +386 -16
- aws_cdk/aws_dynamodb/__init__.py +1479 -170
- aws_cdk/aws_ec2/__init__.py +10465 -1335
- aws_cdk/aws_ecr/__init__.py +637 -43
- aws_cdk/aws_ecr_assets/__init__.py +10 -0
- aws_cdk/aws_ecs/__init__.py +6629 -490
- aws_cdk/aws_ecs_patterns/__init__.py +124 -12
- aws_cdk/aws_efs/__init__.py +276 -24
- aws_cdk/aws_eks/__init__.py +1132 -227
- aws_cdk/aws_elasticache/__init__.py +378 -25
- aws_cdk/aws_elasticbeanstalk/__init__.py +75 -8
- aws_cdk/aws_elasticloadbalancing/__init__.py +22 -2
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +1796 -123
- aws_cdk/aws_elasticsearch/__init__.py +291 -9
- aws_cdk/aws_emr/__init__.py +219 -18
- aws_cdk/aws_emrcontainers/__init__.py +71 -2
- aws_cdk/aws_emrserverless/__init__.py +188 -3
- aws_cdk/aws_entityresolution/__init__.py +585 -58
- aws_cdk/aws_events/__init__.py +1007 -126
- aws_cdk/aws_events_targets/__init__.py +398 -65
- aws_cdk/aws_eventschemas/__init__.py +46 -8
- aws_cdk/aws_evidently/__init__.py +57 -10
- aws_cdk/aws_evs/__init__.py +2244 -0
- aws_cdk/aws_finspace/__init__.py +71 -2
- aws_cdk/aws_fis/__init__.py +26 -4
- aws_cdk/aws_fms/__init__.py +35 -6
- aws_cdk/aws_forecast/__init__.py +24 -4
- aws_cdk/aws_frauddetector/__init__.py +79 -14
- aws_cdk/aws_fsx/__init__.py +1349 -127
- aws_cdk/aws_gamelift/__init__.py +755 -94
- aws_cdk/aws_gameliftstreams/__init__.py +44 -22
- aws_cdk/aws_globalaccelerator/__init__.py +73 -14
- aws_cdk/aws_glue/__init__.py +1455 -378
- aws_cdk/aws_grafana/__init__.py +13 -2
- aws_cdk/aws_greengrass/__init__.py +654 -32
- aws_cdk/aws_greengrassv2/__init__.py +53 -4
- aws_cdk/aws_groundstation/__init__.py +122 -6
- aws_cdk/aws_guardduty/__init__.py +1613 -123
- aws_cdk/aws_healthimaging/__init__.py +71 -2
- aws_cdk/aws_healthlake/__init__.py +42 -2
- aws_cdk/aws_iam/__init__.py +921 -141
- aws_cdk/aws_identitystore/__init__.py +24 -4
- aws_cdk/aws_imagebuilder/__init__.py +1454 -199
- aws_cdk/aws_inspector/__init__.py +44 -6
- aws_cdk/aws_inspectorv2/__init__.py +2285 -243
- aws_cdk/aws_internetmonitor/__init__.py +71 -2
- aws_cdk/aws_invoicing/__init__.py +13 -2
- aws_cdk/aws_iot/__init__.py +1760 -64
- aws_cdk/aws_iotanalytics/__init__.py +162 -8
- aws_cdk/aws_iotcoredeviceadvisor/__init__.py +106 -40
- aws_cdk/aws_iotevents/__init__.py +122 -6
- aws_cdk/aws_iotfleethub/__init__.py +71 -2
- aws_cdk/aws_iotfleetwise/__init__.py +195 -14
- aws_cdk/aws_iotsitewise/__init__.py +1837 -89
- aws_cdk/aws_iotthingsgraph/__init__.py +13 -2
- aws_cdk/aws_iottwinmaker/__init__.py +115 -10
- aws_cdk/aws_iotwireless/__init__.py +649 -22
- aws_cdk/aws_ivs/__init__.py +561 -57
- aws_cdk/aws_ivschat/__init__.py +24 -4
- aws_cdk/aws_kafkaconnect/__init__.py +35 -6
- aws_cdk/aws_kendra/__init__.py +120 -28
- aws_cdk/aws_kendraranking/__init__.py +13 -2
- aws_cdk/aws_kinesis/__init__.py +641 -23
- aws_cdk/aws_kinesisanalytics/__init__.py +467 -96
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +207 -19
- aws_cdk/aws_kinesisfirehose/__init__.py +3087 -295
- aws_cdk/aws_kinesisvideo/__init__.py +24 -4
- aws_cdk/aws_kms/__init__.py +204 -45
- aws_cdk/aws_lakeformation/__init__.py +80 -15
- aws_cdk/aws_lambda/__init__.py +2236 -297
- aws_cdk/aws_lambda_event_sources/__init__.py +638 -1
- aws_cdk/aws_lambda_nodejs/__init__.py +63 -24
- aws_cdk/aws_launchwizard/__init__.py +13 -2
- aws_cdk/aws_lex/__init__.py +2162 -212
- aws_cdk/aws_licensemanager/__init__.py +24 -4
- aws_cdk/aws_lightsail/__init__.py +2958 -1322
- aws_cdk/aws_location/__init__.py +618 -14
- aws_cdk/aws_logs/__init__.py +6014 -923
- aws_cdk/aws_lookoutequipment/__init__.py +13 -2
- aws_cdk/aws_lookoutmetrics/__init__.py +38 -6
- aws_cdk/aws_lookoutvision/__init__.py +71 -2
- aws_cdk/aws_m2/__init__.py +94 -19
- aws_cdk/aws_macie/__init__.py +49 -11
- aws_cdk/aws_managedblockchain/__init__.py +180 -6
- aws_cdk/aws_mediaconnect/__init__.py +101 -18
- aws_cdk/aws_mediaconvert/__init__.py +35 -6
- aws_cdk/aws_medialive/__init__.py +1938 -532
- aws_cdk/aws_mediapackage/__init__.py +59 -12
- aws_cdk/aws_mediapackagev2/__init__.py +1616 -233
- aws_cdk/aws_mediastore/__init__.py +13 -2
- aws_cdk/aws_mediatailor/__init__.py +583 -12
- aws_cdk/aws_memorydb/__init__.py +271 -12
- aws_cdk/aws_mpa/__init__.py +1495 -0
- aws_cdk/aws_msk/__init__.py +108 -22
- aws_cdk/aws_mwaa/__init__.py +121 -9
- aws_cdk/aws_neptune/__init__.py +290 -78
- aws_cdk/aws_neptunegraph/__init__.py +24 -4
- aws_cdk/aws_networkfirewall/__init__.py +1184 -164
- aws_cdk/aws_networkmanager/__init__.py +349 -33
- aws_cdk/aws_nimblestudio/__init__.py +283 -408
- aws_cdk/aws_notifications/__init__.py +317 -12
- aws_cdk/aws_notificationscontacts/__init__.py +13 -2
- aws_cdk/aws_oam/__init__.py +24 -4
- aws_cdk/aws_observabilityadmin/__init__.py +2561 -0
- aws_cdk/aws_odb/__init__.py +5872 -0
- aws_cdk/aws_omics/__init__.py +2967 -162
- aws_cdk/aws_opensearchserverless/__init__.py +312 -37
- aws_cdk/aws_opensearchservice/__init__.py +501 -19
- aws_cdk/aws_opsworks/__init__.py +235 -139
- aws_cdk/aws_opsworkscm/__init__.py +16 -52
- aws_cdk/aws_organizations/__init__.py +70 -10
- aws_cdk/aws_osis/__init__.py +167 -2
- aws_cdk/aws_panorama/__init__.py +181 -9
- aws_cdk/aws_paymentcryptography/__init__.py +24 -4
- aws_cdk/aws_pcaconnectorad/__init__.py +59 -10
- aws_cdk/aws_pcaconnectorscep/__init__.py +24 -4
- aws_cdk/aws_pcs/__init__.py +516 -64
- aws_cdk/aws_personalize/__init__.py +46 -8
- aws_cdk/aws_pinpoint/__init__.py +329 -38
- aws_cdk/aws_pinpointemail/__init__.py +48 -8
- aws_cdk/aws_pipes/__init__.py +12 -2
- aws_cdk/aws_proton/__init__.py +37 -6
- aws_cdk/aws_qbusiness/__init__.py +635 -34
- aws_cdk/aws_qldb/__init__.py +24 -4
- aws_cdk/aws_quicksight/__init__.py +7900 -1160
- aws_cdk/aws_ram/__init__.py +24 -4
- aws_cdk/aws_rbin/__init__.py +12 -2
- aws_cdk/aws_rds/__init__.py +3721 -573
- aws_cdk/aws_redshift/__init__.py +143 -20
- aws_cdk/aws_redshiftserverless/__init__.py +699 -11
- aws_cdk/aws_refactorspaces/__init__.py +64 -14
- aws_cdk/aws_rekognition/__init__.py +93 -6
- aws_cdk/aws_resiliencehub/__init__.py +24 -4
- aws_cdk/aws_resourceexplorer2/__init__.py +35 -6
- aws_cdk/aws_resourcegroups/__init__.py +82 -4
- aws_cdk/aws_robomaker/__init__.py +72 -12
- aws_cdk/aws_rolesanywhere/__init__.py +194 -19
- aws_cdk/aws_route53/__init__.py +3965 -1436
- aws_cdk/aws_route53_targets/__init__.py +3 -0
- aws_cdk/aws_route53profiles/__init__.py +37 -6
- aws_cdk/aws_route53recoverycontrol/__init__.py +46 -8
- aws_cdk/aws_route53recoveryreadiness/__init__.py +104 -8
- aws_cdk/aws_route53resolver/__init__.py +189 -40
- aws_cdk/aws_rtbfabric/__init__.py +3498 -0
- aws_cdk/aws_rum/__init__.py +13 -2
- aws_cdk/aws_s3/__init__.py +1742 -221
- aws_cdk/aws_s3_assets/__init__.py +11 -11
- aws_cdk/aws_s3_deployment/__init__.py +153 -11
- aws_cdk/aws_s3_notifications/__init__.py +7 -7
- aws_cdk/aws_s3express/__init__.py +1053 -6
- aws_cdk/aws_s3objectlambda/__init__.py +68 -16
- aws_cdk/aws_s3outposts/__init__.py +46 -8
- aws_cdk/aws_s3tables/__init__.py +2000 -323
- aws_cdk/aws_s3vectors/__init__.py +1378 -0
- aws_cdk/aws_sagemaker/__init__.py +6848 -373
- aws_cdk/aws_sam/__init__.py +79 -14
- aws_cdk/aws_scheduler/__init__.py +249 -4
- aws_cdk/aws_sdb/__init__.py +12 -2
- aws_cdk/aws_secretsmanager/__init__.py +194 -14
- aws_cdk/aws_securityhub/__init__.py +3121 -176
- aws_cdk/aws_securitylake/__init__.py +46 -8
- aws_cdk/aws_servicecatalog/__init__.py +429 -246
- aws_cdk/aws_servicecatalogappregistry/__init__.py +164 -8
- aws_cdk/aws_servicediscovery/__init__.py +188 -47
- aws_cdk/aws_ses/__init__.py +2265 -369
- aws_cdk/aws_shield/__init__.py +46 -8
- aws_cdk/aws_signer/__init__.py +33 -4
- aws_cdk/aws_simspaceweaver/__init__.py +42 -2
- aws_cdk/aws_smsvoice/__init__.py +4716 -0
- aws_cdk/aws_sns/__init__.py +263 -29
- aws_cdk/aws_sns_subscriptions/__init__.py +265 -2
- aws_cdk/aws_sqs/__init__.py +223 -14
- aws_cdk/aws_ssm/__init__.py +413 -58
- aws_cdk/aws_ssmcontacts/__init__.py +98 -9
- aws_cdk/aws_ssmguiconnect/__init__.py +20 -9
- aws_cdk/aws_ssmincidents/__init__.py +24 -4
- aws_cdk/aws_ssmquicksetup/__init__.py +393 -8
- aws_cdk/aws_sso/__init__.py +70 -12
- aws_cdk/aws_stepfunctions/__init__.py +823 -94
- aws_cdk/aws_stepfunctions_tasks/__init__.py +2323 -150
- aws_cdk/aws_supportapp/__init__.py +39 -6
- aws_cdk/aws_synthetics/__init__.py +1088 -126
- aws_cdk/aws_systemsmanagersap/__init__.py +13 -2
- aws_cdk/aws_timestream/__init__.py +104 -8
- aws_cdk/aws_transfer/__init__.py +784 -87
- aws_cdk/aws_verifiedpermissions/__init__.py +306 -13
- aws_cdk/aws_voiceid/__init__.py +54 -5
- aws_cdk/aws_vpclattice/__init__.py +589 -231
- aws_cdk/aws_waf/__init__.py +79 -14
- aws_cdk/aws_wafregional/__init__.py +123 -22
- aws_cdk/aws_wafv2/__init__.py +1183 -64
- aws_cdk/aws_wisdom/__init__.py +1403 -90
- aws_cdk/aws_workspaces/__init__.py +134 -6
- aws_cdk/aws_workspacesinstances/__init__.py +3940 -0
- aws_cdk/aws_workspacesthinclient/__init__.py +79 -10
- aws_cdk/aws_workspacesweb/__init__.py +1057 -141
- aws_cdk/aws_xray/__init__.py +48 -8
- aws_cdk/cloud_assembly_schema/__init__.py +368 -48
- aws_cdk/custom_resources/__init__.py +58 -12
- aws_cdk/cx_api/__init__.py +125 -21
- aws_cdk/interfaces/__init__.py +739 -0
- aws_cdk/interfaces/alexa_ask/__init__.py +146 -0
- aws_cdk/interfaces/aws_accessanalyzer/__init__.py +146 -0
- aws_cdk/interfaces/aws_acmpca/__init__.py +501 -0
- aws_cdk/interfaces/aws_aiops/__init__.py +146 -0
- aws_cdk/interfaces/aws_amazonmq/__init__.py +386 -0
- aws_cdk/interfaces/aws_amplify/__init__.py +352 -0
- aws_cdk/interfaces/aws_amplifyuibuilder/__init__.py +454 -0
- aws_cdk/interfaces/aws_apigateway/__init__.py +2486 -0
- aws_cdk/interfaces/aws_apigatewayv2/__init__.py +1651 -0
- aws_cdk/interfaces/aws_appconfig/__init__.py +1020 -0
- aws_cdk/interfaces/aws_appflow/__init__.py +404 -0
- aws_cdk/interfaces/aws_appintegrations/__init__.py +396 -0
- aws_cdk/interfaces/aws_applicationautoscaling/__init__.py +307 -0
- aws_cdk/interfaces/aws_applicationinsights/__init__.py +148 -0
- aws_cdk/interfaces/aws_applicationsignals/__init__.py +358 -0
- aws_cdk/interfaces/aws_appmesh/__init__.py +888 -0
- aws_cdk/interfaces/aws_apprunner/__init__.py +564 -0
- aws_cdk/interfaces/aws_appstream/__init__.py +1482 -0
- aws_cdk/interfaces/aws_appsync/__init__.py +1326 -0
- aws_cdk/interfaces/aws_apptest/__init__.py +163 -0
- aws_cdk/interfaces/aws_aps/__init__.py +558 -0
- aws_cdk/interfaces/aws_arcregionswitch/__init__.py +146 -0
- aws_cdk/interfaces/aws_arczonalshift/__init__.py +273 -0
- aws_cdk/interfaces/aws_athena/__init__.py +575 -0
- aws_cdk/interfaces/aws_auditmanager/__init__.py +163 -0
- aws_cdk/interfaces/aws_autoscaling/__init__.py +705 -0
- aws_cdk/interfaces/aws_autoscalingplans/__init__.py +148 -0
- aws_cdk/interfaces/aws_b2bi/__init__.py +524 -0
- aws_cdk/interfaces/aws_backup/__init__.py +955 -0
- aws_cdk/interfaces/aws_backupgateway/__init__.py +146 -0
- aws_cdk/interfaces/aws_batch/__init__.py +681 -0
- aws_cdk/interfaces/aws_bcmdataexports/__init__.py +146 -0
- aws_cdk/interfaces/aws_bedrock/__init__.py +1942 -0
- aws_cdk/interfaces/aws_bedrockagentcore/__init__.py +934 -0
- aws_cdk/interfaces/aws_billing/__init__.py +146 -0
- aws_cdk/interfaces/aws_billingconductor/__init__.py +463 -0
- aws_cdk/interfaces/aws_budgets/__init__.py +261 -0
- aws_cdk/interfaces/aws_cassandra/__init__.py +381 -0
- aws_cdk/interfaces/aws_ce/__init__.py +352 -0
- aws_cdk/interfaces/aws_certificatemanager/__init__.py +251 -0
- aws_cdk/interfaces/aws_chatbot/__init__.py +366 -0
- aws_cdk/interfaces/aws_cleanrooms/__init__.py +1103 -0
- aws_cdk/interfaces/aws_cleanroomsml/__init__.py +148 -0
- aws_cdk/interfaces/aws_cloud9/__init__.py +166 -0
- aws_cdk/interfaces/aws_cloudformation/__init__.py +1919 -0
- aws_cdk/interfaces/aws_cloudfront/__init__.py +1998 -0
- aws_cdk/interfaces/aws_cloudtrail/__init__.py +570 -0
- aws_cdk/interfaces/aws_cloudwatch/__init__.py +733 -0
- aws_cdk/interfaces/aws_codeartifact/__init__.py +352 -0
- aws_cdk/interfaces/aws_codebuild/__init__.py +487 -0
- aws_cdk/interfaces/aws_codecommit/__init__.py +163 -0
- aws_cdk/interfaces/aws_codeconnections/__init__.py +146 -0
- aws_cdk/interfaces/aws_codedeploy/__init__.py +352 -0
- aws_cdk/interfaces/aws_codeguruprofiler/__init__.py +168 -0
- aws_cdk/interfaces/aws_codegurureviewer/__init__.py +148 -0
- aws_cdk/interfaces/aws_codepipeline/__init__.py +388 -0
- aws_cdk/interfaces/aws_codestar/__init__.py +146 -0
- aws_cdk/interfaces/aws_codestarconnections/__init__.py +370 -0
- aws_cdk/interfaces/aws_codestarnotifications/__init__.py +148 -0
- aws_cdk/interfaces/aws_cognito/__init__.py +1929 -0
- aws_cdk/interfaces/aws_comprehend/__init__.py +251 -0
- aws_cdk/interfaces/aws_config/__init__.py +1165 -0
- aws_cdk/interfaces/aws_connect/__init__.py +2949 -0
- aws_cdk/interfaces/aws_connectcampaigns/__init__.py +146 -0
- aws_cdk/interfaces/aws_connectcampaignsv2/__init__.py +146 -0
- aws_cdk/interfaces/aws_controltower/__init__.py +394 -0
- aws_cdk/interfaces/aws_cur/__init__.py +146 -0
- aws_cdk/interfaces/aws_customerprofiles/__init__.py +915 -0
- aws_cdk/interfaces/aws_databrew/__init__.py +661 -0
- aws_cdk/interfaces/aws_datapipeline/__init__.py +146 -0
- aws_cdk/interfaces/aws_datasync/__init__.py +1384 -0
- aws_cdk/interfaces/aws_datazone/__init__.py +2238 -0
- aws_cdk/interfaces/aws_dax/__init__.py +364 -0
- aws_cdk/interfaces/aws_deadline/__init__.py +1303 -0
- aws_cdk/interfaces/aws_detective/__init__.py +364 -0
- aws_cdk/interfaces/aws_devicefarm/__init__.py +663 -0
- aws_cdk/interfaces/aws_devopsguru/__init__.py +362 -0
- aws_cdk/interfaces/aws_directoryservice/__init__.py +251 -0
- aws_cdk/interfaces/aws_dlm/__init__.py +166 -0
- aws_cdk/interfaces/aws_dms/__init__.py +1176 -0
- aws_cdk/interfaces/aws_docdb/__init__.py +560 -0
- aws_cdk/interfaces/aws_docdbelastic/__init__.py +146 -0
- aws_cdk/interfaces/aws_dsql/__init__.py +146 -0
- aws_cdk/interfaces/aws_dynamodb/__init__.py +278 -0
- aws_cdk/interfaces/aws_ec2/__init__.py +11963 -0
- aws_cdk/interfaces/aws_ecr/__init__.py +814 -0
- aws_cdk/interfaces/aws_ecs/__init__.py +845 -0
- aws_cdk/interfaces/aws_efs/__init__.py +392 -0
- aws_cdk/interfaces/aws_eks/__init__.py +948 -0
- aws_cdk/interfaces/aws_elasticache/__init__.py +1108 -0
- aws_cdk/interfaces/aws_elasticbeanstalk/__init__.py +503 -0
- aws_cdk/interfaces/aws_elasticloadbalancing/__init__.py +148 -0
- aws_cdk/interfaces/aws_elasticloadbalancingv2/__init__.py +795 -0
- aws_cdk/interfaces/aws_elasticsearch/__init__.py +158 -0
- aws_cdk/interfaces/aws_emr/__init__.py +913 -0
- aws_cdk/interfaces/aws_emrcontainers/__init__.py +168 -0
- aws_cdk/interfaces/aws_emrserverless/__init__.py +166 -0
- aws_cdk/interfaces/aws_entityresolution/__init__.py +608 -0
- aws_cdk/interfaces/aws_events/__init__.py +872 -0
- aws_cdk/interfaces/aws_eventschemas/__init__.py +455 -0
- aws_cdk/interfaces/aws_evidently/__init__.py +558 -0
- aws_cdk/interfaces/aws_evs/__init__.py +166 -0
- aws_cdk/interfaces/aws_finspace/__init__.py +166 -0
- aws_cdk/interfaces/aws_fis/__init__.py +271 -0
- aws_cdk/interfaces/aws_fms/__init__.py +364 -0
- aws_cdk/interfaces/aws_forecast/__init__.py +249 -0
- aws_cdk/interfaces/aws_frauddetector/__init__.py +764 -0
- aws_cdk/interfaces/aws_fsx/__init__.py +663 -0
- aws_cdk/interfaces/aws_gamelift/__init__.py +1325 -0
- aws_cdk/interfaces/aws_gameliftstreams/__init__.py +249 -0
- aws_cdk/interfaces/aws_globalaccelerator/__init__.py +461 -0
- aws_cdk/interfaces/aws_glue/__init__.py +2377 -0
- aws_cdk/interfaces/aws_grafana/__init__.py +146 -0
- aws_cdk/interfaces/aws_greengrass/__init__.py +1871 -0
- aws_cdk/interfaces/aws_greengrassv2/__init__.py +251 -0
- aws_cdk/interfaces/aws_groundstation/__init__.py +396 -0
- aws_cdk/interfaces/aws_guardduty/__init__.py +1225 -0
- aws_cdk/interfaces/aws_healthimaging/__init__.py +163 -0
- aws_cdk/interfaces/aws_healthlake/__init__.py +146 -0
- aws_cdk/interfaces/aws_iam/__init__.py +1803 -0
- aws_cdk/interfaces/aws_identitystore/__init__.py +288 -0
- aws_cdk/interfaces/aws_imagebuilder/__init__.py +984 -0
- aws_cdk/interfaces/aws_inspector/__init__.py +354 -0
- aws_cdk/interfaces/aws_inspectorv2/__init__.py +467 -0
- aws_cdk/interfaces/aws_internetmonitor/__init__.py +163 -0
- aws_cdk/interfaces/aws_invoicing/__init__.py +146 -0
- aws_cdk/interfaces/aws_iot/__init__.py +3483 -0
- aws_cdk/interfaces/aws_iotanalytics/__init__.py +455 -0
- aws_cdk/interfaces/aws_iotcoredeviceadvisor/__init__.py +168 -0
- aws_cdk/interfaces/aws_iotevents/__init__.py +352 -0
- aws_cdk/interfaces/aws_iotfleethub/__init__.py +166 -0
- aws_cdk/interfaces/aws_iotfleetwise/__init__.py +892 -0
- aws_cdk/interfaces/aws_iotsitewise/__init__.py +1097 -0
- aws_cdk/interfaces/aws_iotthingsgraph/__init__.py +146 -0
- aws_cdk/interfaces/aws_iottwinmaker/__init__.py +711 -0
- aws_cdk/interfaces/aws_iotwireless/__init__.py +1401 -0
- aws_cdk/interfaces/aws_ivs/__init__.py +1075 -0
- aws_cdk/interfaces/aws_ivschat/__init__.py +251 -0
- aws_cdk/interfaces/aws_kafkaconnect/__init__.py +354 -0
- aws_cdk/interfaces/aws_kendra/__init__.py +428 -0
- aws_cdk/interfaces/aws_kendraranking/__init__.py +166 -0
- aws_cdk/interfaces/aws_kinesis/__init__.py +364 -0
- aws_cdk/interfaces/aws_kinesisanalytics/__init__.py +364 -0
- aws_cdk/interfaces/aws_kinesisanalyticsv2/__init__.py +479 -0
- aws_cdk/interfaces/aws_kinesisfirehose/__init__.py +168 -0
- aws_cdk/interfaces/aws_kinesisvideo/__init__.py +283 -0
- aws_cdk/interfaces/aws_kms/__init__.py +376 -0
- aws_cdk/interfaces/aws_lakeformation/__init__.py +860 -0
- aws_cdk/interfaces/aws_lambda/__init__.py +1141 -0
- aws_cdk/interfaces/aws_launchwizard/__init__.py +146 -0
- aws_cdk/interfaces/aws_lex/__init__.py +513 -0
- aws_cdk/interfaces/aws_licensemanager/__init__.py +249 -0
- aws_cdk/interfaces/aws_lightsail/__init__.py +1744 -0
- aws_cdk/interfaces/aws_location/__init__.py +879 -0
- aws_cdk/interfaces/aws_logs/__init__.py +1667 -0
- aws_cdk/interfaces/aws_lookoutequipment/__init__.py +168 -0
- aws_cdk/interfaces/aws_lookoutmetrics/__init__.py +251 -0
- aws_cdk/interfaces/aws_lookoutvision/__init__.py +163 -0
- aws_cdk/interfaces/aws_m2/__init__.py +352 -0
- aws_cdk/interfaces/aws_macie/__init__.py +512 -0
- aws_cdk/interfaces/aws_managedblockchain/__init__.py +381 -0
- aws_cdk/interfaces/aws_mediaconnect/__init__.py +1028 -0
- aws_cdk/interfaces/aws_mediaconvert/__init__.py +396 -0
- aws_cdk/interfaces/aws_medialive/__init__.py +1755 -0
- aws_cdk/interfaces/aws_mediapackage/__init__.py +644 -0
- aws_cdk/interfaces/aws_mediapackagev2/__init__.py +618 -0
- aws_cdk/interfaces/aws_mediastore/__init__.py +146 -0
- aws_cdk/interfaces/aws_mediatailor/__init__.py +788 -0
- aws_cdk/interfaces/aws_memorydb/__init__.py +685 -0
- aws_cdk/interfaces/aws_mpa/__init__.py +249 -0
- aws_cdk/interfaces/aws_msk/__init__.py +764 -0
- aws_cdk/interfaces/aws_mwaa/__init__.py +166 -0
- aws_cdk/interfaces/aws_neptune/__init__.py +663 -0
- aws_cdk/interfaces/aws_neptunegraph/__init__.py +265 -0
- aws_cdk/interfaces/aws_networkfirewall/__init__.py +669 -0
- aws_cdk/interfaces/aws_networkmanager/__init__.py +1832 -0
- aws_cdk/interfaces/aws_nimblestudio/__init__.py +388 -0
- aws_cdk/interfaces/aws_notifications/__init__.py +868 -0
- aws_cdk/interfaces/aws_notificationscontacts/__init__.py +148 -0
- aws_cdk/interfaces/aws_oam/__init__.py +249 -0
- aws_cdk/interfaces/aws_observabilityadmin/__init__.py +362 -0
- aws_cdk/interfaces/aws_odb/__init__.py +562 -0
- aws_cdk/interfaces/aws_omics/__init__.py +838 -0
- aws_cdk/interfaces/aws_opensearchserverless/__init__.py +859 -0
- aws_cdk/interfaces/aws_opensearchservice/__init__.py +283 -0
- aws_cdk/interfaces/aws_opsworks/__init__.py +772 -0
- aws_cdk/interfaces/aws_opsworkscm/__init__.py +146 -0
- aws_cdk/interfaces/aws_organizations/__init__.py +646 -0
- aws_cdk/interfaces/aws_osis/__init__.py +146 -0
- aws_cdk/interfaces/aws_panorama/__init__.py +420 -0
- aws_cdk/interfaces/aws_paymentcryptography/__init__.py +249 -0
- aws_cdk/interfaces/aws_pcaconnectorad/__init__.py +608 -0
- aws_cdk/interfaces/aws_pcaconnectorscep/__init__.py +249 -0
- aws_cdk/interfaces/aws_pcs/__init__.py +352 -0
- aws_cdk/interfaces/aws_personalize/__init__.py +455 -0
- aws_cdk/interfaces/aws_pinpoint/__init__.py +2125 -0
- aws_cdk/interfaces/aws_pinpointemail/__init__.py +467 -0
- aws_cdk/interfaces/aws_pipes/__init__.py +158 -0
- aws_cdk/interfaces/aws_proton/__init__.py +360 -0
- aws_cdk/interfaces/aws_qbusiness/__init__.py +1122 -0
- aws_cdk/interfaces/aws_qldb/__init__.py +283 -0
- aws_cdk/interfaces/aws_quicksight/__init__.py +1566 -0
- aws_cdk/interfaces/aws_ram/__init__.py +249 -0
- aws_cdk/interfaces/aws_rbin/__init__.py +146 -0
- aws_cdk/interfaces/aws_rds/__init__.py +1780 -0
- aws_cdk/interfaces/aws_redshift/__init__.py +1104 -0
- aws_cdk/interfaces/aws_redshiftserverless/__init__.py +356 -0
- aws_cdk/interfaces/aws_refactorspaces/__init__.py +605 -0
- aws_cdk/interfaces/aws_rekognition/__init__.py +406 -0
- aws_cdk/interfaces/aws_resiliencehub/__init__.py +251 -0
- aws_cdk/interfaces/aws_resourceexplorer2/__init__.py +354 -0
- aws_cdk/interfaces/aws_resourcegroups/__init__.py +261 -0
- aws_cdk/interfaces/aws_robomaker/__init__.py +673 -0
- aws_cdk/interfaces/aws_rolesanywhere/__init__.py +384 -0
- aws_cdk/interfaces/aws_route53/__init__.py +804 -0
- aws_cdk/interfaces/aws_route53profiles/__init__.py +368 -0
- aws_cdk/interfaces/aws_route53recoverycontrol/__init__.py +463 -0
- aws_cdk/interfaces/aws_route53recoveryreadiness/__init__.py +535 -0
- aws_cdk/interfaces/aws_route53resolver/__init__.py +1356 -0
- aws_cdk/interfaces/aws_rtbfabric/__init__.py +352 -0
- aws_cdk/interfaces/aws_rum/__init__.py +146 -0
- aws_cdk/interfaces/aws_s3/__init__.py +1171 -0
- aws_cdk/interfaces/aws_s3express/__init__.py +392 -0
- aws_cdk/interfaces/aws_s3objectlambda/__init__.py +271 -0
- aws_cdk/interfaces/aws_s3outposts/__init__.py +455 -0
- aws_cdk/interfaces/aws_s3tables/__init__.py +575 -0
- aws_cdk/interfaces/aws_s3vectors/__init__.py +354 -0
- aws_cdk/interfaces/aws_sagemaker/__init__.py +3797 -0
- aws_cdk/interfaces/aws_sam/__init__.py +603 -0
- aws_cdk/interfaces/aws_scheduler/__init__.py +286 -0
- aws_cdk/interfaces/aws_sdb/__init__.py +146 -0
- aws_cdk/interfaces/aws_secretsmanager/__init__.py +461 -0
- aws_cdk/interfaces/aws_securityhub/__init__.py +1499 -0
- aws_cdk/interfaces/aws_securitylake/__init__.py +474 -0
- aws_cdk/interfaces/aws_servicecatalog/__init__.py +1829 -0
- aws_cdk/interfaces/aws_servicecatalogappregistry/__init__.py +557 -0
- aws_cdk/interfaces/aws_servicediscovery/__init__.py +636 -0
- aws_cdk/interfaces/aws_ses/__init__.py +2018 -0
- aws_cdk/interfaces/aws_shield/__init__.py +455 -0
- aws_cdk/interfaces/aws_signer/__init__.py +266 -0
- aws_cdk/interfaces/aws_simspaceweaver/__init__.py +146 -0
- aws_cdk/interfaces/aws_smsvoice/__init__.py +892 -0
- aws_cdk/interfaces/aws_sns/__init__.py +455 -0
- aws_cdk/interfaces/aws_sqs/__init__.py +364 -0
- aws_cdk/interfaces/aws_ssm/__init__.py +982 -0
- aws_cdk/interfaces/aws_ssmcontacts/__init__.py +455 -0
- aws_cdk/interfaces/aws_ssmguiconnect/__init__.py +146 -0
- aws_cdk/interfaces/aws_ssmincidents/__init__.py +249 -0
- aws_cdk/interfaces/aws_ssmquicksetup/__init__.py +253 -0
- aws_cdk/interfaces/aws_sso/__init__.py +797 -0
- aws_cdk/interfaces/aws_stepfunctions/__init__.py +459 -0
- aws_cdk/interfaces/aws_supportapp/__init__.py +372 -0
- aws_cdk/interfaces/aws_synthetics/__init__.py +249 -0
- aws_cdk/interfaces/aws_systemsmanagersap/__init__.py +148 -0
- aws_cdk/interfaces/aws_timestream/__init__.py +526 -0
- aws_cdk/interfaces/aws_transfer/__init__.py +967 -0
- aws_cdk/interfaces/aws_verifiedpermissions/__init__.py +538 -0
- aws_cdk/interfaces/aws_voiceid/__init__.py +146 -0
- aws_cdk/interfaces/aws_vpclattice/__init__.py +1418 -0
- aws_cdk/interfaces/aws_waf/__init__.py +764 -0
- aws_cdk/interfaces/aws_wafregional/__init__.py +1182 -0
- aws_cdk/interfaces/aws_wafv2/__init__.py +870 -0
- aws_cdk/interfaces/aws_wisdom/__init__.py +1556 -0
- aws_cdk/interfaces/aws_workspaces/__init__.py +352 -0
- aws_cdk/interfaces/aws_workspacesinstances/__init__.py +390 -0
- aws_cdk/interfaces/aws_workspacesthinclient/__init__.py +168 -0
- aws_cdk/interfaces/aws_workspacesweb/__init__.py +1085 -0
- aws_cdk/interfaces/aws_xray/__init__.py +457 -0
- aws_cdk/lambda_layer_awscli/__init__.py +6 -0
- aws_cdk/lambda_layer_node_proxy_agent/__init__.py +6 -0
- aws_cdk/pipelines/__init__.py +202 -52
- aws_cdk/region_info/__init__.py +3 -0
- aws_cdk/triggers/__init__.py +66 -18
- {aws_cdk_lib-2.195.0.dist-info → aws_cdk_lib-2.224.0.dist-info}/METADATA +418 -18
- aws_cdk_lib-2.224.0.dist-info/RECORD +584 -0
- aws_cdk_lib-2.195.0.dist-info/RECORD +0 -304
- {aws_cdk_lib-2.195.0.dist-info → aws_cdk_lib-2.224.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.195.0.dist-info → aws_cdk_lib-2.224.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.195.0.dist-info → aws_cdk_lib-2.224.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.195.0.dist-info → aws_cdk_lib-2.224.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_kinesis/__init__.py
CHANGED
|
@@ -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:
|
|
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
|
-
'''
|
|
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:
|
|
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
|
-
'''
|
|
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,
|
|
@@ -948,7 +1066,7 @@ class CfnStreamConsumer(
|
|
|
948
1066
|
|
|
949
1067
|
The consumer you register can then call `SubscribeToShard <https://docs.aws.amazon.com/kinesis/latest/APIReference/API_SubscribeToShard.html>`_ to receive data from the stream using enhanced fan-out, at a rate of up to 2 MiB per second for every shard you subscribe to. This rate is unaffected by the total number of consumers that read from the same stream.
|
|
950
1068
|
|
|
951
|
-
You can register up to
|
|
1069
|
+
You can register up to 20 consumers per stream. However, you can request a limit increase using the `Kinesis Data Streams limits form <https://docs.aws.amazon.com/support/v1?#/>`_ . A given consumer can only be registered with one stream at a time.
|
|
952
1070
|
|
|
953
1071
|
For more information, see `Using Consumers with Enhanced Fan-Out <https://docs.aws.amazon.com/streams/latest/dev/introduction-to-enhanced-consumers.html>`_ .
|
|
954
1072
|
|
|
@@ -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={
|
|
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]))
|
|
@@ -3427,6 +3813,12 @@ class ResourcePolicy(
|
|
|
3427
3813
|
|
|
3428
3814
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
3429
3815
|
|
|
3816
|
+
@jsii.python.classproperty
|
|
3817
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
3818
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
3819
|
+
'''Uniquely identifies this class.'''
|
|
3820
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
3821
|
+
|
|
3430
3822
|
@builtins.property
|
|
3431
3823
|
@jsii.member(jsii_name="document")
|
|
3432
3824
|
def document(self) -> _PolicyDocument_3ac34393:
|
|
@@ -3547,6 +3939,38 @@ class ResourcePolicyProps:
|
|
|
3547
3939
|
)
|
|
3548
3940
|
|
|
3549
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
|
+
|
|
3550
3974
|
@jsii.implements(IStream)
|
|
3551
3975
|
class Stream(
|
|
3552
3976
|
_Resource_45bc6135,
|
|
@@ -3584,6 +4008,7 @@ class Stream(
|
|
|
3584
4008
|
removal_policy: typing.Optional[_RemovalPolicy_9f93c814] = None,
|
|
3585
4009
|
retention_period: typing.Optional[_Duration_4839e8c3] = None,
|
|
3586
4010
|
shard_count: typing.Optional[jsii.Number] = None,
|
|
4011
|
+
shard_level_metrics: typing.Optional[typing.Sequence[ShardLevelMetrics]] = None,
|
|
3587
4012
|
stream_mode: typing.Optional["StreamMode"] = None,
|
|
3588
4013
|
stream_name: typing.Optional[builtins.str] = None,
|
|
3589
4014
|
) -> None:
|
|
@@ -3595,6 +4020,7 @@ class Stream(
|
|
|
3595
4020
|
:param removal_policy: Policy to apply when the stream is removed from the stack. Default: RemovalPolicy.RETAIN
|
|
3596
4021
|
:param retention_period: The number of hours for the data records that are stored in shards to remain accessible. Default: Duration.hours(24)
|
|
3597
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
|
|
3598
4024
|
:param stream_mode: The capacity mode of this stream. Default: StreamMode.PROVISIONED
|
|
3599
4025
|
:param stream_name: Enforces a particular physical stream name. Default:
|
|
3600
4026
|
'''
|
|
@@ -3608,6 +4034,7 @@ class Stream(
|
|
|
3608
4034
|
removal_policy=removal_policy,
|
|
3609
4035
|
retention_period=retention_period,
|
|
3610
4036
|
shard_count=shard_count,
|
|
4037
|
+
shard_level_metrics=shard_level_metrics,
|
|
3611
4038
|
stream_mode=stream_mode,
|
|
3612
4039
|
stream_name=stream_name,
|
|
3613
4040
|
)
|
|
@@ -3745,6 +4172,7 @@ class Stream(
|
|
|
3745
4172
|
account: typing.Optional[builtins.str] = None,
|
|
3746
4173
|
color: typing.Optional[builtins.str] = None,
|
|
3747
4174
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
4175
|
+
id: typing.Optional[builtins.str] = None,
|
|
3748
4176
|
label: typing.Optional[builtins.str] = None,
|
|
3749
4177
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
3750
4178
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -3752,6 +4180,7 @@ class Stream(
|
|
|
3752
4180
|
stack_region: typing.Optional[builtins.str] = None,
|
|
3753
4181
|
statistic: typing.Optional[builtins.str] = None,
|
|
3754
4182
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
4183
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
3755
4184
|
) -> _Metric_e396a4dc:
|
|
3756
4185
|
'''Return stream metric based from its metric name.
|
|
3757
4186
|
|
|
@@ -3759,6 +4188,7 @@ class Stream(
|
|
|
3759
4188
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
3760
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
|
|
3761
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
|
|
3762
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
|
|
3763
4193
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
3764
4194
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -3766,6 +4196,7 @@ class Stream(
|
|
|
3766
4196
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
3767
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
|
|
3768
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
|
|
3769
4200
|
'''
|
|
3770
4201
|
if __debug__:
|
|
3771
4202
|
type_hints = typing.get_type_hints(_typecheckingstub__c2a600a35f466b97cb6589291e1c140f381da66a0d5026de6030101a865c80d1)
|
|
@@ -3774,6 +4205,7 @@ class Stream(
|
|
|
3774
4205
|
account=account,
|
|
3775
4206
|
color=color,
|
|
3776
4207
|
dimensions_map=dimensions_map,
|
|
4208
|
+
id=id,
|
|
3777
4209
|
label=label,
|
|
3778
4210
|
period=period,
|
|
3779
4211
|
region=region,
|
|
@@ -3781,6 +4213,7 @@ class Stream(
|
|
|
3781
4213
|
stack_region=stack_region,
|
|
3782
4214
|
statistic=statistic,
|
|
3783
4215
|
unit=unit,
|
|
4216
|
+
visible=visible,
|
|
3784
4217
|
)
|
|
3785
4218
|
|
|
3786
4219
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metric", [metric_name, props]))
|
|
@@ -3792,6 +4225,7 @@ class Stream(
|
|
|
3792
4225
|
account: typing.Optional[builtins.str] = None,
|
|
3793
4226
|
color: typing.Optional[builtins.str] = None,
|
|
3794
4227
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
4228
|
+
id: typing.Optional[builtins.str] = None,
|
|
3795
4229
|
label: typing.Optional[builtins.str] = None,
|
|
3796
4230
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
3797
4231
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -3799,6 +4233,7 @@ class Stream(
|
|
|
3799
4233
|
stack_region: typing.Optional[builtins.str] = None,
|
|
3800
4234
|
statistic: typing.Optional[builtins.str] = None,
|
|
3801
4235
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
4236
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
3802
4237
|
) -> _Metric_e396a4dc:
|
|
3803
4238
|
'''The number of records retrieved from the shard, measured over the specified time period.
|
|
3804
4239
|
|
|
@@ -3812,6 +4247,7 @@ class Stream(
|
|
|
3812
4247
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
3813
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
|
|
3814
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
|
|
3815
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
|
|
3816
4252
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
3817
4253
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -3819,11 +4255,13 @@ class Stream(
|
|
|
3819
4255
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
3820
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
|
|
3821
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
|
|
3822
4259
|
'''
|
|
3823
4260
|
props = _MetricOptions_1788b62f(
|
|
3824
4261
|
account=account,
|
|
3825
4262
|
color=color,
|
|
3826
4263
|
dimensions_map=dimensions_map,
|
|
4264
|
+
id=id,
|
|
3827
4265
|
label=label,
|
|
3828
4266
|
period=period,
|
|
3829
4267
|
region=region,
|
|
@@ -3831,6 +4269,7 @@ class Stream(
|
|
|
3831
4269
|
stack_region=stack_region,
|
|
3832
4270
|
statistic=statistic,
|
|
3833
4271
|
unit=unit,
|
|
4272
|
+
visible=visible,
|
|
3834
4273
|
)
|
|
3835
4274
|
|
|
3836
4275
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricGetRecords", [props]))
|
|
@@ -3842,6 +4281,7 @@ class Stream(
|
|
|
3842
4281
|
account: typing.Optional[builtins.str] = None,
|
|
3843
4282
|
color: typing.Optional[builtins.str] = None,
|
|
3844
4283
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
4284
|
+
id: typing.Optional[builtins.str] = None,
|
|
3845
4285
|
label: typing.Optional[builtins.str] = None,
|
|
3846
4286
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
3847
4287
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -3849,6 +4289,7 @@ class Stream(
|
|
|
3849
4289
|
stack_region: typing.Optional[builtins.str] = None,
|
|
3850
4290
|
statistic: typing.Optional[builtins.str] = None,
|
|
3851
4291
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
4292
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
3852
4293
|
) -> _Metric_e396a4dc:
|
|
3853
4294
|
'''The number of bytes retrieved from the Kinesis stream, measured over the specified time period.
|
|
3854
4295
|
|
|
@@ -3861,6 +4302,7 @@ class Stream(
|
|
|
3861
4302
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
3862
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
|
|
3863
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
|
|
3864
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
|
|
3865
4307
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
3866
4308
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -3868,11 +4310,13 @@ class Stream(
|
|
|
3868
4310
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
3869
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
|
|
3870
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
|
|
3871
4314
|
'''
|
|
3872
4315
|
props = _MetricOptions_1788b62f(
|
|
3873
4316
|
account=account,
|
|
3874
4317
|
color=color,
|
|
3875
4318
|
dimensions_map=dimensions_map,
|
|
4319
|
+
id=id,
|
|
3876
4320
|
label=label,
|
|
3877
4321
|
period=period,
|
|
3878
4322
|
region=region,
|
|
@@ -3880,6 +4324,7 @@ class Stream(
|
|
|
3880
4324
|
stack_region=stack_region,
|
|
3881
4325
|
statistic=statistic,
|
|
3882
4326
|
unit=unit,
|
|
4327
|
+
visible=visible,
|
|
3883
4328
|
)
|
|
3884
4329
|
|
|
3885
4330
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricGetRecordsBytes", [props]))
|
|
@@ -3891,6 +4336,7 @@ class Stream(
|
|
|
3891
4336
|
account: typing.Optional[builtins.str] = None,
|
|
3892
4337
|
color: typing.Optional[builtins.str] = None,
|
|
3893
4338
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
4339
|
+
id: typing.Optional[builtins.str] = None,
|
|
3894
4340
|
label: typing.Optional[builtins.str] = None,
|
|
3895
4341
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
3896
4342
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -3898,6 +4344,7 @@ class Stream(
|
|
|
3898
4344
|
stack_region: typing.Optional[builtins.str] = None,
|
|
3899
4345
|
statistic: typing.Optional[builtins.str] = None,
|
|
3900
4346
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
4347
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
3901
4348
|
) -> _Metric_e396a4dc:
|
|
3902
4349
|
'''The age of the last record in all GetRecords calls made against a Kinesis stream, measured over the specified time period.
|
|
3903
4350
|
|
|
@@ -3910,6 +4357,7 @@ class Stream(
|
|
|
3910
4357
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
3911
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
|
|
3912
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
|
|
3913
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
|
|
3914
4362
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
3915
4363
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -3917,11 +4365,13 @@ class Stream(
|
|
|
3917
4365
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
3918
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
|
|
3919
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
|
|
3920
4369
|
'''
|
|
3921
4370
|
props = _MetricOptions_1788b62f(
|
|
3922
4371
|
account=account,
|
|
3923
4372
|
color=color,
|
|
3924
4373
|
dimensions_map=dimensions_map,
|
|
4374
|
+
id=id,
|
|
3925
4375
|
label=label,
|
|
3926
4376
|
period=period,
|
|
3927
4377
|
region=region,
|
|
@@ -3929,6 +4379,7 @@ class Stream(
|
|
|
3929
4379
|
stack_region=stack_region,
|
|
3930
4380
|
statistic=statistic,
|
|
3931
4381
|
unit=unit,
|
|
4382
|
+
visible=visible,
|
|
3932
4383
|
)
|
|
3933
4384
|
|
|
3934
4385
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricGetRecordsIteratorAgeMilliseconds", [props]))
|
|
@@ -3940,6 +4391,7 @@ class Stream(
|
|
|
3940
4391
|
account: typing.Optional[builtins.str] = None,
|
|
3941
4392
|
color: typing.Optional[builtins.str] = None,
|
|
3942
4393
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
4394
|
+
id: typing.Optional[builtins.str] = None,
|
|
3943
4395
|
label: typing.Optional[builtins.str] = None,
|
|
3944
4396
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
3945
4397
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -3947,6 +4399,7 @@ class Stream(
|
|
|
3947
4399
|
stack_region: typing.Optional[builtins.str] = None,
|
|
3948
4400
|
statistic: typing.Optional[builtins.str] = None,
|
|
3949
4401
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
4402
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
3950
4403
|
) -> _Metric_e396a4dc:
|
|
3951
4404
|
'''The number of successful GetRecords operations per stream, measured over the specified time period.
|
|
3952
4405
|
|
|
@@ -3955,6 +4408,7 @@ class Stream(
|
|
|
3955
4408
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
3956
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
|
|
3957
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
|
|
3958
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
|
|
3959
4413
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
3960
4414
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -3962,11 +4416,13 @@ class Stream(
|
|
|
3962
4416
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
3963
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
|
|
3964
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
|
|
3965
4420
|
'''
|
|
3966
4421
|
props = _MetricOptions_1788b62f(
|
|
3967
4422
|
account=account,
|
|
3968
4423
|
color=color,
|
|
3969
4424
|
dimensions_map=dimensions_map,
|
|
4425
|
+
id=id,
|
|
3970
4426
|
label=label,
|
|
3971
4427
|
period=period,
|
|
3972
4428
|
region=region,
|
|
@@ -3974,6 +4430,7 @@ class Stream(
|
|
|
3974
4430
|
stack_region=stack_region,
|
|
3975
4431
|
statistic=statistic,
|
|
3976
4432
|
unit=unit,
|
|
4433
|
+
visible=visible,
|
|
3977
4434
|
)
|
|
3978
4435
|
|
|
3979
4436
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricGetRecordsLatency", [props]))
|
|
@@ -3985,6 +4442,7 @@ class Stream(
|
|
|
3985
4442
|
account: typing.Optional[builtins.str] = None,
|
|
3986
4443
|
color: typing.Optional[builtins.str] = None,
|
|
3987
4444
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
4445
|
+
id: typing.Optional[builtins.str] = None,
|
|
3988
4446
|
label: typing.Optional[builtins.str] = None,
|
|
3989
4447
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
3990
4448
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -3992,6 +4450,7 @@ class Stream(
|
|
|
3992
4450
|
stack_region: typing.Optional[builtins.str] = None,
|
|
3993
4451
|
statistic: typing.Optional[builtins.str] = None,
|
|
3994
4452
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
4453
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
3995
4454
|
) -> _Metric_e396a4dc:
|
|
3996
4455
|
'''The number of successful GetRecords operations per stream, measured over the specified time period.
|
|
3997
4456
|
|
|
@@ -4000,6 +4459,7 @@ class Stream(
|
|
|
4000
4459
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
4001
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
|
|
4002
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
|
|
4003
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
|
|
4004
4464
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
4005
4465
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -4007,11 +4467,13 @@ class Stream(
|
|
|
4007
4467
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
4008
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
|
|
4009
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
|
|
4010
4471
|
'''
|
|
4011
4472
|
props = _MetricOptions_1788b62f(
|
|
4012
4473
|
account=account,
|
|
4013
4474
|
color=color,
|
|
4014
4475
|
dimensions_map=dimensions_map,
|
|
4476
|
+
id=id,
|
|
4015
4477
|
label=label,
|
|
4016
4478
|
period=period,
|
|
4017
4479
|
region=region,
|
|
@@ -4019,6 +4481,7 @@ class Stream(
|
|
|
4019
4481
|
stack_region=stack_region,
|
|
4020
4482
|
statistic=statistic,
|
|
4021
4483
|
unit=unit,
|
|
4484
|
+
visible=visible,
|
|
4022
4485
|
)
|
|
4023
4486
|
|
|
4024
4487
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricGetRecordsSuccess", [props]))
|
|
@@ -4030,6 +4493,7 @@ class Stream(
|
|
|
4030
4493
|
account: typing.Optional[builtins.str] = None,
|
|
4031
4494
|
color: typing.Optional[builtins.str] = None,
|
|
4032
4495
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
4496
|
+
id: typing.Optional[builtins.str] = None,
|
|
4033
4497
|
label: typing.Optional[builtins.str] = None,
|
|
4034
4498
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
4035
4499
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -4037,6 +4501,7 @@ class Stream(
|
|
|
4037
4501
|
stack_region: typing.Optional[builtins.str] = None,
|
|
4038
4502
|
statistic: typing.Optional[builtins.str] = None,
|
|
4039
4503
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
4504
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
4040
4505
|
) -> _Metric_e396a4dc:
|
|
4041
4506
|
'''The number of bytes successfully put to the Kinesis stream over the specified time period.
|
|
4042
4507
|
|
|
@@ -4049,6 +4514,7 @@ class Stream(
|
|
|
4049
4514
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
4050
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
|
|
4051
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
|
|
4052
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
|
|
4053
4519
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
4054
4520
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -4056,11 +4522,13 @@ class Stream(
|
|
|
4056
4522
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
4057
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
|
|
4058
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
|
|
4059
4526
|
'''
|
|
4060
4527
|
props = _MetricOptions_1788b62f(
|
|
4061
4528
|
account=account,
|
|
4062
4529
|
color=color,
|
|
4063
4530
|
dimensions_map=dimensions_map,
|
|
4531
|
+
id=id,
|
|
4064
4532
|
label=label,
|
|
4065
4533
|
period=period,
|
|
4066
4534
|
region=region,
|
|
@@ -4068,6 +4536,7 @@ class Stream(
|
|
|
4068
4536
|
stack_region=stack_region,
|
|
4069
4537
|
statistic=statistic,
|
|
4070
4538
|
unit=unit,
|
|
4539
|
+
visible=visible,
|
|
4071
4540
|
)
|
|
4072
4541
|
|
|
4073
4542
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricIncomingBytes", [props]))
|
|
@@ -4079,6 +4548,7 @@ class Stream(
|
|
|
4079
4548
|
account: typing.Optional[builtins.str] = None,
|
|
4080
4549
|
color: typing.Optional[builtins.str] = None,
|
|
4081
4550
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
4551
|
+
id: typing.Optional[builtins.str] = None,
|
|
4082
4552
|
label: typing.Optional[builtins.str] = None,
|
|
4083
4553
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
4084
4554
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -4086,6 +4556,7 @@ class Stream(
|
|
|
4086
4556
|
stack_region: typing.Optional[builtins.str] = None,
|
|
4087
4557
|
statistic: typing.Optional[builtins.str] = None,
|
|
4088
4558
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
4559
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
4089
4560
|
) -> _Metric_e396a4dc:
|
|
4090
4561
|
'''The number of records successfully put to the Kinesis stream over the specified time period.
|
|
4091
4562
|
|
|
@@ -4098,6 +4569,7 @@ class Stream(
|
|
|
4098
4569
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
4099
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
|
|
4100
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
|
|
4101
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
|
|
4102
4574
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
4103
4575
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -4105,11 +4577,13 @@ class Stream(
|
|
|
4105
4577
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
4106
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
|
|
4107
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
|
|
4108
4581
|
'''
|
|
4109
4582
|
props = _MetricOptions_1788b62f(
|
|
4110
4583
|
account=account,
|
|
4111
4584
|
color=color,
|
|
4112
4585
|
dimensions_map=dimensions_map,
|
|
4586
|
+
id=id,
|
|
4113
4587
|
label=label,
|
|
4114
4588
|
period=period,
|
|
4115
4589
|
region=region,
|
|
@@ -4117,6 +4591,7 @@ class Stream(
|
|
|
4117
4591
|
stack_region=stack_region,
|
|
4118
4592
|
statistic=statistic,
|
|
4119
4593
|
unit=unit,
|
|
4594
|
+
visible=visible,
|
|
4120
4595
|
)
|
|
4121
4596
|
|
|
4122
4597
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricIncomingRecords", [props]))
|
|
@@ -4128,6 +4603,7 @@ class Stream(
|
|
|
4128
4603
|
account: typing.Optional[builtins.str] = None,
|
|
4129
4604
|
color: typing.Optional[builtins.str] = None,
|
|
4130
4605
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
4606
|
+
id: typing.Optional[builtins.str] = None,
|
|
4131
4607
|
label: typing.Optional[builtins.str] = None,
|
|
4132
4608
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
4133
4609
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -4135,6 +4611,7 @@ class Stream(
|
|
|
4135
4611
|
stack_region: typing.Optional[builtins.str] = None,
|
|
4136
4612
|
statistic: typing.Optional[builtins.str] = None,
|
|
4137
4613
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
4614
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
4138
4615
|
) -> _Metric_e396a4dc:
|
|
4139
4616
|
'''The number of bytes put to the Kinesis stream using the PutRecord operation over the specified time period.
|
|
4140
4617
|
|
|
@@ -4143,6 +4620,7 @@ class Stream(
|
|
|
4143
4620
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
4144
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
|
|
4145
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
|
|
4146
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
|
|
4147
4625
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
4148
4626
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -4150,11 +4628,13 @@ class Stream(
|
|
|
4150
4628
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
4151
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
|
|
4152
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
|
|
4153
4632
|
'''
|
|
4154
4633
|
props = _MetricOptions_1788b62f(
|
|
4155
4634
|
account=account,
|
|
4156
4635
|
color=color,
|
|
4157
4636
|
dimensions_map=dimensions_map,
|
|
4637
|
+
id=id,
|
|
4158
4638
|
label=label,
|
|
4159
4639
|
period=period,
|
|
4160
4640
|
region=region,
|
|
@@ -4162,6 +4642,7 @@ class Stream(
|
|
|
4162
4642
|
stack_region=stack_region,
|
|
4163
4643
|
statistic=statistic,
|
|
4164
4644
|
unit=unit,
|
|
4645
|
+
visible=visible,
|
|
4165
4646
|
)
|
|
4166
4647
|
|
|
4167
4648
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordBytes", [props]))
|
|
@@ -4173,6 +4654,7 @@ class Stream(
|
|
|
4173
4654
|
account: typing.Optional[builtins.str] = None,
|
|
4174
4655
|
color: typing.Optional[builtins.str] = None,
|
|
4175
4656
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
4657
|
+
id: typing.Optional[builtins.str] = None,
|
|
4176
4658
|
label: typing.Optional[builtins.str] = None,
|
|
4177
4659
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
4178
4660
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -4180,6 +4662,7 @@ class Stream(
|
|
|
4180
4662
|
stack_region: typing.Optional[builtins.str] = None,
|
|
4181
4663
|
statistic: typing.Optional[builtins.str] = None,
|
|
4182
4664
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
4665
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
4183
4666
|
) -> _Metric_e396a4dc:
|
|
4184
4667
|
'''The time taken per PutRecord operation, measured over the specified time period.
|
|
4185
4668
|
|
|
@@ -4188,6 +4671,7 @@ class Stream(
|
|
|
4188
4671
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
4189
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
|
|
4190
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
|
|
4191
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
|
|
4192
4676
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
4193
4677
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -4195,11 +4679,13 @@ class Stream(
|
|
|
4195
4679
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
4196
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
|
|
4197
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
|
|
4198
4683
|
'''
|
|
4199
4684
|
props = _MetricOptions_1788b62f(
|
|
4200
4685
|
account=account,
|
|
4201
4686
|
color=color,
|
|
4202
4687
|
dimensions_map=dimensions_map,
|
|
4688
|
+
id=id,
|
|
4203
4689
|
label=label,
|
|
4204
4690
|
period=period,
|
|
4205
4691
|
region=region,
|
|
@@ -4207,6 +4693,7 @@ class Stream(
|
|
|
4207
4693
|
stack_region=stack_region,
|
|
4208
4694
|
statistic=statistic,
|
|
4209
4695
|
unit=unit,
|
|
4696
|
+
visible=visible,
|
|
4210
4697
|
)
|
|
4211
4698
|
|
|
4212
4699
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordLatency", [props]))
|
|
@@ -4218,6 +4705,7 @@ class Stream(
|
|
|
4218
4705
|
account: typing.Optional[builtins.str] = None,
|
|
4219
4706
|
color: typing.Optional[builtins.str] = None,
|
|
4220
4707
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
4708
|
+
id: typing.Optional[builtins.str] = None,
|
|
4221
4709
|
label: typing.Optional[builtins.str] = None,
|
|
4222
4710
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
4223
4711
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -4225,6 +4713,7 @@ class Stream(
|
|
|
4225
4713
|
stack_region: typing.Optional[builtins.str] = None,
|
|
4226
4714
|
statistic: typing.Optional[builtins.str] = None,
|
|
4227
4715
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
4716
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
4228
4717
|
) -> _Metric_e396a4dc:
|
|
4229
4718
|
'''The number of bytes put to the Kinesis stream using the PutRecords operation over the specified time period.
|
|
4230
4719
|
|
|
@@ -4233,6 +4722,7 @@ class Stream(
|
|
|
4233
4722
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
4234
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
|
|
4235
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
|
|
4236
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
|
|
4237
4727
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
4238
4728
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -4240,11 +4730,13 @@ class Stream(
|
|
|
4240
4730
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
4241
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
|
|
4242
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
|
|
4243
4734
|
'''
|
|
4244
4735
|
props = _MetricOptions_1788b62f(
|
|
4245
4736
|
account=account,
|
|
4246
4737
|
color=color,
|
|
4247
4738
|
dimensions_map=dimensions_map,
|
|
4739
|
+
id=id,
|
|
4248
4740
|
label=label,
|
|
4249
4741
|
period=period,
|
|
4250
4742
|
region=region,
|
|
@@ -4252,6 +4744,7 @@ class Stream(
|
|
|
4252
4744
|
stack_region=stack_region,
|
|
4253
4745
|
statistic=statistic,
|
|
4254
4746
|
unit=unit,
|
|
4747
|
+
visible=visible,
|
|
4255
4748
|
)
|
|
4256
4749
|
|
|
4257
4750
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordsBytes", [props]))
|
|
@@ -4263,6 +4756,7 @@ class Stream(
|
|
|
4263
4756
|
account: typing.Optional[builtins.str] = None,
|
|
4264
4757
|
color: typing.Optional[builtins.str] = None,
|
|
4265
4758
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
4759
|
+
id: typing.Optional[builtins.str] = None,
|
|
4266
4760
|
label: typing.Optional[builtins.str] = None,
|
|
4267
4761
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
4268
4762
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -4270,6 +4764,7 @@ class Stream(
|
|
|
4270
4764
|
stack_region: typing.Optional[builtins.str] = None,
|
|
4271
4765
|
statistic: typing.Optional[builtins.str] = None,
|
|
4272
4766
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
4767
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
4273
4768
|
) -> _Metric_e396a4dc:
|
|
4274
4769
|
'''The number of records rejected due to internal failures in a PutRecords operation per Kinesis data stream, measured over the specified time period.
|
|
4275
4770
|
|
|
@@ -4280,6 +4775,7 @@ class Stream(
|
|
|
4280
4775
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
4281
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
|
|
4282
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
|
|
4283
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
|
|
4284
4780
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
4285
4781
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -4287,11 +4783,13 @@ class Stream(
|
|
|
4287
4783
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
4288
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
|
|
4289
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
|
|
4290
4787
|
'''
|
|
4291
4788
|
props = _MetricOptions_1788b62f(
|
|
4292
4789
|
account=account,
|
|
4293
4790
|
color=color,
|
|
4294
4791
|
dimensions_map=dimensions_map,
|
|
4792
|
+
id=id,
|
|
4295
4793
|
label=label,
|
|
4296
4794
|
period=period,
|
|
4297
4795
|
region=region,
|
|
@@ -4299,6 +4797,7 @@ class Stream(
|
|
|
4299
4797
|
stack_region=stack_region,
|
|
4300
4798
|
statistic=statistic,
|
|
4301
4799
|
unit=unit,
|
|
4800
|
+
visible=visible,
|
|
4302
4801
|
)
|
|
4303
4802
|
|
|
4304
4803
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordsFailedRecords", [props]))
|
|
@@ -4310,6 +4809,7 @@ class Stream(
|
|
|
4310
4809
|
account: typing.Optional[builtins.str] = None,
|
|
4311
4810
|
color: typing.Optional[builtins.str] = None,
|
|
4312
4811
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
4812
|
+
id: typing.Optional[builtins.str] = None,
|
|
4313
4813
|
label: typing.Optional[builtins.str] = None,
|
|
4314
4814
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
4315
4815
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -4317,6 +4817,7 @@ class Stream(
|
|
|
4317
4817
|
stack_region: typing.Optional[builtins.str] = None,
|
|
4318
4818
|
statistic: typing.Optional[builtins.str] = None,
|
|
4319
4819
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
4820
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
4320
4821
|
) -> _Metric_e396a4dc:
|
|
4321
4822
|
'''The time taken per PutRecords operation, measured over the specified time period.
|
|
4322
4823
|
|
|
@@ -4325,6 +4826,7 @@ class Stream(
|
|
|
4325
4826
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
4326
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
|
|
4327
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
|
|
4328
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
|
|
4329
4831
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
4330
4832
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -4332,11 +4834,13 @@ class Stream(
|
|
|
4332
4834
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
4333
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
|
|
4334
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
|
|
4335
4838
|
'''
|
|
4336
4839
|
props = _MetricOptions_1788b62f(
|
|
4337
4840
|
account=account,
|
|
4338
4841
|
color=color,
|
|
4339
4842
|
dimensions_map=dimensions_map,
|
|
4843
|
+
id=id,
|
|
4340
4844
|
label=label,
|
|
4341
4845
|
period=period,
|
|
4342
4846
|
region=region,
|
|
@@ -4344,6 +4848,7 @@ class Stream(
|
|
|
4344
4848
|
stack_region=stack_region,
|
|
4345
4849
|
statistic=statistic,
|
|
4346
4850
|
unit=unit,
|
|
4851
|
+
visible=visible,
|
|
4347
4852
|
)
|
|
4348
4853
|
|
|
4349
4854
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordsLatency", [props]))
|
|
@@ -4355,6 +4860,7 @@ class Stream(
|
|
|
4355
4860
|
account: typing.Optional[builtins.str] = None,
|
|
4356
4861
|
color: typing.Optional[builtins.str] = None,
|
|
4357
4862
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
4863
|
+
id: typing.Optional[builtins.str] = None,
|
|
4358
4864
|
label: typing.Optional[builtins.str] = None,
|
|
4359
4865
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
4360
4866
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -4362,6 +4868,7 @@ class Stream(
|
|
|
4362
4868
|
stack_region: typing.Optional[builtins.str] = None,
|
|
4363
4869
|
statistic: typing.Optional[builtins.str] = None,
|
|
4364
4870
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
4871
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
4365
4872
|
) -> _Metric_e396a4dc:
|
|
4366
4873
|
'''The number of PutRecords operations where at least one record succeeded, per Kinesis stream, measured over the specified time period.
|
|
4367
4874
|
|
|
@@ -4370,6 +4877,7 @@ class Stream(
|
|
|
4370
4877
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
4371
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
|
|
4372
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
|
|
4373
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
|
|
4374
4882
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
4375
4883
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -4377,11 +4885,13 @@ class Stream(
|
|
|
4377
4885
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
4378
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
|
|
4379
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
|
|
4380
4889
|
'''
|
|
4381
4890
|
props = _MetricOptions_1788b62f(
|
|
4382
4891
|
account=account,
|
|
4383
4892
|
color=color,
|
|
4384
4893
|
dimensions_map=dimensions_map,
|
|
4894
|
+
id=id,
|
|
4385
4895
|
label=label,
|
|
4386
4896
|
period=period,
|
|
4387
4897
|
region=region,
|
|
@@ -4389,6 +4899,7 @@ class Stream(
|
|
|
4389
4899
|
stack_region=stack_region,
|
|
4390
4900
|
statistic=statistic,
|
|
4391
4901
|
unit=unit,
|
|
4902
|
+
visible=visible,
|
|
4392
4903
|
)
|
|
4393
4904
|
|
|
4394
4905
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordsSuccess", [props]))
|
|
@@ -4400,6 +4911,7 @@ class Stream(
|
|
|
4400
4911
|
account: typing.Optional[builtins.str] = None,
|
|
4401
4912
|
color: typing.Optional[builtins.str] = None,
|
|
4402
4913
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
4914
|
+
id: typing.Optional[builtins.str] = None,
|
|
4403
4915
|
label: typing.Optional[builtins.str] = None,
|
|
4404
4916
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
4405
4917
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -4407,6 +4919,7 @@ class Stream(
|
|
|
4407
4919
|
stack_region: typing.Optional[builtins.str] = None,
|
|
4408
4920
|
statistic: typing.Optional[builtins.str] = None,
|
|
4409
4921
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
4922
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
4410
4923
|
) -> _Metric_e396a4dc:
|
|
4411
4924
|
'''The number of successful records in a PutRecords operation per Kinesis data stream, measured over the specified time period.
|
|
4412
4925
|
|
|
@@ -4415,6 +4928,7 @@ class Stream(
|
|
|
4415
4928
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
4416
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
|
|
4417
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
|
|
4418
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
|
|
4419
4933
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
4420
4934
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -4422,11 +4936,13 @@ class Stream(
|
|
|
4422
4936
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
4423
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
|
|
4424
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
|
|
4425
4940
|
'''
|
|
4426
4941
|
props = _MetricOptions_1788b62f(
|
|
4427
4942
|
account=account,
|
|
4428
4943
|
color=color,
|
|
4429
4944
|
dimensions_map=dimensions_map,
|
|
4945
|
+
id=id,
|
|
4430
4946
|
label=label,
|
|
4431
4947
|
period=period,
|
|
4432
4948
|
region=region,
|
|
@@ -4434,6 +4950,7 @@ class Stream(
|
|
|
4434
4950
|
stack_region=stack_region,
|
|
4435
4951
|
statistic=statistic,
|
|
4436
4952
|
unit=unit,
|
|
4953
|
+
visible=visible,
|
|
4437
4954
|
)
|
|
4438
4955
|
|
|
4439
4956
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordsSuccessfulRecords", [props]))
|
|
@@ -4445,6 +4962,7 @@ class Stream(
|
|
|
4445
4962
|
account: typing.Optional[builtins.str] = None,
|
|
4446
4963
|
color: typing.Optional[builtins.str] = None,
|
|
4447
4964
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
4965
|
+
id: typing.Optional[builtins.str] = None,
|
|
4448
4966
|
label: typing.Optional[builtins.str] = None,
|
|
4449
4967
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
4450
4968
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -4452,6 +4970,7 @@ class Stream(
|
|
|
4452
4970
|
stack_region: typing.Optional[builtins.str] = None,
|
|
4453
4971
|
statistic: typing.Optional[builtins.str] = None,
|
|
4454
4972
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
4973
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
4455
4974
|
) -> _Metric_e396a4dc:
|
|
4456
4975
|
'''The number of records rejected due to throttling in a PutRecords operation per Kinesis data stream, measured over the specified time period.
|
|
4457
4976
|
|
|
@@ -4460,6 +4979,7 @@ class Stream(
|
|
|
4460
4979
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
4461
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
|
|
4462
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
|
|
4463
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
|
|
4464
4984
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
4465
4985
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -4467,11 +4987,13 @@ class Stream(
|
|
|
4467
4987
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
4468
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
|
|
4469
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
|
|
4470
4991
|
'''
|
|
4471
4992
|
props = _MetricOptions_1788b62f(
|
|
4472
4993
|
account=account,
|
|
4473
4994
|
color=color,
|
|
4474
4995
|
dimensions_map=dimensions_map,
|
|
4996
|
+
id=id,
|
|
4475
4997
|
label=label,
|
|
4476
4998
|
period=period,
|
|
4477
4999
|
region=region,
|
|
@@ -4479,6 +5001,7 @@ class Stream(
|
|
|
4479
5001
|
stack_region=stack_region,
|
|
4480
5002
|
statistic=statistic,
|
|
4481
5003
|
unit=unit,
|
|
5004
|
+
visible=visible,
|
|
4482
5005
|
)
|
|
4483
5006
|
|
|
4484
5007
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordsThrottledRecords", [props]))
|
|
@@ -4490,6 +5013,7 @@ class Stream(
|
|
|
4490
5013
|
account: typing.Optional[builtins.str] = None,
|
|
4491
5014
|
color: typing.Optional[builtins.str] = None,
|
|
4492
5015
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
5016
|
+
id: typing.Optional[builtins.str] = None,
|
|
4493
5017
|
label: typing.Optional[builtins.str] = None,
|
|
4494
5018
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
4495
5019
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -4497,6 +5021,7 @@ class Stream(
|
|
|
4497
5021
|
stack_region: typing.Optional[builtins.str] = None,
|
|
4498
5022
|
statistic: typing.Optional[builtins.str] = None,
|
|
4499
5023
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
5024
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
4500
5025
|
) -> _Metric_e396a4dc:
|
|
4501
5026
|
'''The total number of records sent in a PutRecords operation per Kinesis data stream, measured over the specified time period.
|
|
4502
5027
|
|
|
@@ -4505,6 +5030,7 @@ class Stream(
|
|
|
4505
5030
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
4506
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
|
|
4507
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
|
|
4508
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
|
|
4509
5035
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
4510
5036
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -4512,11 +5038,13 @@ class Stream(
|
|
|
4512
5038
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
4513
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
|
|
4514
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
|
|
4515
5042
|
'''
|
|
4516
5043
|
props = _MetricOptions_1788b62f(
|
|
4517
5044
|
account=account,
|
|
4518
5045
|
color=color,
|
|
4519
5046
|
dimensions_map=dimensions_map,
|
|
5047
|
+
id=id,
|
|
4520
5048
|
label=label,
|
|
4521
5049
|
period=period,
|
|
4522
5050
|
region=region,
|
|
@@ -4524,6 +5052,7 @@ class Stream(
|
|
|
4524
5052
|
stack_region=stack_region,
|
|
4525
5053
|
statistic=statistic,
|
|
4526
5054
|
unit=unit,
|
|
5055
|
+
visible=visible,
|
|
4527
5056
|
)
|
|
4528
5057
|
|
|
4529
5058
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordsTotalRecords", [props]))
|
|
@@ -4535,6 +5064,7 @@ class Stream(
|
|
|
4535
5064
|
account: typing.Optional[builtins.str] = None,
|
|
4536
5065
|
color: typing.Optional[builtins.str] = None,
|
|
4537
5066
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
5067
|
+
id: typing.Optional[builtins.str] = None,
|
|
4538
5068
|
label: typing.Optional[builtins.str] = None,
|
|
4539
5069
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
4540
5070
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -4542,6 +5072,7 @@ class Stream(
|
|
|
4542
5072
|
stack_region: typing.Optional[builtins.str] = None,
|
|
4543
5073
|
statistic: typing.Optional[builtins.str] = None,
|
|
4544
5074
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
5075
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
4545
5076
|
) -> _Metric_e396a4dc:
|
|
4546
5077
|
'''The number of successful PutRecord operations per Kinesis stream, measured over the specified time period.
|
|
4547
5078
|
|
|
@@ -4553,6 +5084,7 @@ class Stream(
|
|
|
4553
5084
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
4554
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
|
|
4555
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
|
|
4556
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
|
|
4557
5089
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
4558
5090
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -4560,11 +5092,13 @@ class Stream(
|
|
|
4560
5092
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
4561
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
|
|
4562
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
|
|
4563
5096
|
'''
|
|
4564
5097
|
props = _MetricOptions_1788b62f(
|
|
4565
5098
|
account=account,
|
|
4566
5099
|
color=color,
|
|
4567
5100
|
dimensions_map=dimensions_map,
|
|
5101
|
+
id=id,
|
|
4568
5102
|
label=label,
|
|
4569
5103
|
period=period,
|
|
4570
5104
|
region=region,
|
|
@@ -4572,6 +5106,7 @@ class Stream(
|
|
|
4572
5106
|
stack_region=stack_region,
|
|
4573
5107
|
statistic=statistic,
|
|
4574
5108
|
unit=unit,
|
|
5109
|
+
visible=visible,
|
|
4575
5110
|
)
|
|
4576
5111
|
|
|
4577
5112
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPutRecordSuccess", [props]))
|
|
@@ -4583,6 +5118,7 @@ class Stream(
|
|
|
4583
5118
|
account: typing.Optional[builtins.str] = None,
|
|
4584
5119
|
color: typing.Optional[builtins.str] = None,
|
|
4585
5120
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
5121
|
+
id: typing.Optional[builtins.str] = None,
|
|
4586
5122
|
label: typing.Optional[builtins.str] = None,
|
|
4587
5123
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
4588
5124
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -4590,6 +5126,7 @@ class Stream(
|
|
|
4590
5126
|
stack_region: typing.Optional[builtins.str] = None,
|
|
4591
5127
|
statistic: typing.Optional[builtins.str] = None,
|
|
4592
5128
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
5129
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
4593
5130
|
) -> _Metric_e396a4dc:
|
|
4594
5131
|
'''The number of GetRecords calls throttled for the stream over the specified time period.
|
|
4595
5132
|
|
|
@@ -4607,6 +5144,7 @@ class Stream(
|
|
|
4607
5144
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
4608
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
|
|
4609
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
|
|
4610
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
|
|
4611
5149
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
4612
5150
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -4614,11 +5152,13 @@ class Stream(
|
|
|
4614
5152
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
4615
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
|
|
4616
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
|
|
4617
5156
|
'''
|
|
4618
5157
|
props = _MetricOptions_1788b62f(
|
|
4619
5158
|
account=account,
|
|
4620
5159
|
color=color,
|
|
4621
5160
|
dimensions_map=dimensions_map,
|
|
5161
|
+
id=id,
|
|
4622
5162
|
label=label,
|
|
4623
5163
|
period=period,
|
|
4624
5164
|
region=region,
|
|
@@ -4626,6 +5166,7 @@ class Stream(
|
|
|
4626
5166
|
stack_region=stack_region,
|
|
4627
5167
|
statistic=statistic,
|
|
4628
5168
|
unit=unit,
|
|
5169
|
+
visible=visible,
|
|
4629
5170
|
)
|
|
4630
5171
|
|
|
4631
5172
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricReadProvisionedThroughputExceeded", [props]))
|
|
@@ -4637,6 +5178,7 @@ class Stream(
|
|
|
4637
5178
|
account: typing.Optional[builtins.str] = None,
|
|
4638
5179
|
color: typing.Optional[builtins.str] = None,
|
|
4639
5180
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
5181
|
+
id: typing.Optional[builtins.str] = None,
|
|
4640
5182
|
label: typing.Optional[builtins.str] = None,
|
|
4641
5183
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
4642
5184
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -4644,6 +5186,7 @@ class Stream(
|
|
|
4644
5186
|
stack_region: typing.Optional[builtins.str] = None,
|
|
4645
5187
|
statistic: typing.Optional[builtins.str] = None,
|
|
4646
5188
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
5189
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
4647
5190
|
) -> _Metric_e396a4dc:
|
|
4648
5191
|
'''The number of records rejected due to throttling for the stream over the specified time period.
|
|
4649
5192
|
|
|
@@ -4661,6 +5204,7 @@ class Stream(
|
|
|
4661
5204
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
4662
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
|
|
4663
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
|
|
4664
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
|
|
4665
5209
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
4666
5210
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -4668,11 +5212,13 @@ class Stream(
|
|
|
4668
5212
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
4669
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
|
|
4670
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
|
|
4671
5216
|
'''
|
|
4672
5217
|
props = _MetricOptions_1788b62f(
|
|
4673
5218
|
account=account,
|
|
4674
5219
|
color=color,
|
|
4675
5220
|
dimensions_map=dimensions_map,
|
|
5221
|
+
id=id,
|
|
4676
5222
|
label=label,
|
|
4677
5223
|
period=period,
|
|
4678
5224
|
region=region,
|
|
@@ -4680,10 +5226,17 @@ class Stream(
|
|
|
4680
5226
|
stack_region=stack_region,
|
|
4681
5227
|
statistic=statistic,
|
|
4682
5228
|
unit=unit,
|
|
5229
|
+
visible=visible,
|
|
4683
5230
|
)
|
|
4684
5231
|
|
|
4685
5232
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricWriteProvisionedThroughputExceeded", [props]))
|
|
4686
5233
|
|
|
5234
|
+
@jsii.python.classproperty
|
|
5235
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
5236
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
5237
|
+
'''Uniquely identifies this class.'''
|
|
5238
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
5239
|
+
|
|
4687
5240
|
@builtins.property
|
|
4688
5241
|
@jsii.member(jsii_name="autoCreatePolicy")
|
|
4689
5242
|
def _auto_create_policy(self) -> builtins.bool:
|
|
@@ -4923,6 +5476,12 @@ class StreamConsumer(
|
|
|
4923
5476
|
check_type(argname="argument grantee", value=grantee, expected_type=type_hints["grantee"])
|
|
4924
5477
|
return typing.cast(_Grant_a7ae64f8, jsii.invoke(self, "grantRead", [grantee]))
|
|
4925
5478
|
|
|
5479
|
+
@jsii.python.classproperty
|
|
5480
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
5481
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
5482
|
+
'''Uniquely identifies this class.'''
|
|
5483
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
5484
|
+
|
|
4926
5485
|
@builtins.property
|
|
4927
5486
|
@jsii.member(jsii_name="autoCreatePolicy")
|
|
4928
5487
|
def _auto_create_policy(self) -> builtins.bool:
|
|
@@ -5126,6 +5685,7 @@ class StreamMode(enum.Enum):
|
|
|
5126
5685
|
"removal_policy": "removalPolicy",
|
|
5127
5686
|
"retention_period": "retentionPeriod",
|
|
5128
5687
|
"shard_count": "shardCount",
|
|
5688
|
+
"shard_level_metrics": "shardLevelMetrics",
|
|
5129
5689
|
"stream_mode": "streamMode",
|
|
5130
5690
|
"stream_name": "streamName",
|
|
5131
5691
|
},
|
|
@@ -5139,6 +5699,7 @@ class StreamProps:
|
|
|
5139
5699
|
removal_policy: typing.Optional[_RemovalPolicy_9f93c814] = None,
|
|
5140
5700
|
retention_period: typing.Optional[_Duration_4839e8c3] = None,
|
|
5141
5701
|
shard_count: typing.Optional[jsii.Number] = None,
|
|
5702
|
+
shard_level_metrics: typing.Optional[typing.Sequence[ShardLevelMetrics]] = None,
|
|
5142
5703
|
stream_mode: typing.Optional[StreamMode] = None,
|
|
5143
5704
|
stream_name: typing.Optional[builtins.str] = None,
|
|
5144
5705
|
) -> None:
|
|
@@ -5149,6 +5710,7 @@ class StreamProps:
|
|
|
5149
5710
|
:param removal_policy: Policy to apply when the stream is removed from the stack. Default: RemovalPolicy.RETAIN
|
|
5150
5711
|
:param retention_period: The number of hours for the data records that are stored in shards to remain accessible. Default: Duration.hours(24)
|
|
5151
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
|
|
5152
5714
|
:param stream_mode: The capacity mode of this stream. Default: StreamMode.PROVISIONED
|
|
5153
5715
|
:param stream_name: Enforces a particular physical stream name. Default:
|
|
5154
5716
|
|
|
@@ -5170,6 +5732,7 @@ class StreamProps:
|
|
|
5170
5732
|
check_type(argname="argument removal_policy", value=removal_policy, expected_type=type_hints["removal_policy"])
|
|
5171
5733
|
check_type(argname="argument retention_period", value=retention_period, expected_type=type_hints["retention_period"])
|
|
5172
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"])
|
|
5173
5736
|
check_type(argname="argument stream_mode", value=stream_mode, expected_type=type_hints["stream_mode"])
|
|
5174
5737
|
check_type(argname="argument stream_name", value=stream_name, expected_type=type_hints["stream_name"])
|
|
5175
5738
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
@@ -5183,6 +5746,8 @@ class StreamProps:
|
|
|
5183
5746
|
self._values["retention_period"] = retention_period
|
|
5184
5747
|
if shard_count is not None:
|
|
5185
5748
|
self._values["shard_count"] = shard_count
|
|
5749
|
+
if shard_level_metrics is not None:
|
|
5750
|
+
self._values["shard_level_metrics"] = shard_level_metrics
|
|
5186
5751
|
if stream_mode is not None:
|
|
5187
5752
|
self._values["stream_mode"] = stream_mode
|
|
5188
5753
|
if stream_name is not None:
|
|
@@ -5248,6 +5813,17 @@ class StreamProps:
|
|
|
5248
5813
|
result = self._values.get("shard_count")
|
|
5249
5814
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
5250
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
|
+
|
|
5251
5827
|
@builtins.property
|
|
5252
5828
|
def stream_mode(self) -> typing.Optional[StreamMode]:
|
|
5253
5829
|
'''The capacity mode of this stream.
|
|
@@ -5289,6 +5865,7 @@ __all__ = [
|
|
|
5289
5865
|
"IStreamConsumer",
|
|
5290
5866
|
"ResourcePolicy",
|
|
5291
5867
|
"ResourcePolicyProps",
|
|
5868
|
+
"ShardLevelMetrics",
|
|
5292
5869
|
"Stream",
|
|
5293
5870
|
"StreamAttributes",
|
|
5294
5871
|
"StreamConsumer",
|
|
@@ -5348,6 +5925,7 @@ def _typecheckingstub__b956aa40f3e4f7ebba018fbc1caa3788147e52190c5c7131c5c035b04
|
|
|
5348
5925
|
id: builtins.str,
|
|
5349
5926
|
*,
|
|
5350
5927
|
desired_shard_level_metrics: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
5928
|
+
max_record_size_in_kib: typing.Optional[jsii.Number] = None,
|
|
5351
5929
|
name: typing.Optional[builtins.str] = None,
|
|
5352
5930
|
retention_period_hours: typing.Optional[jsii.Number] = None,
|
|
5353
5931
|
shard_count: typing.Optional[jsii.Number] = None,
|
|
@@ -5358,6 +5936,22 @@ def _typecheckingstub__b956aa40f3e4f7ebba018fbc1caa3788147e52190c5c7131c5c035b04
|
|
|
5358
5936
|
"""Type checking stubs"""
|
|
5359
5937
|
pass
|
|
5360
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
|
+
|
|
5361
5955
|
def _typecheckingstub__333b8ca1bf2a7b045485860c8e016bc7f84165557984c70011b4f8bbc53133b1(
|
|
5362
5956
|
inspector: _TreeInspector_488e0dd5,
|
|
5363
5957
|
) -> None:
|
|
@@ -5376,6 +5970,12 @@ def _typecheckingstub__9a26f83e3d95ee6758754d8ca6cb717ae058662a4c47c6b7d2f4ec32a
|
|
|
5376
5970
|
"""Type checking stubs"""
|
|
5377
5971
|
pass
|
|
5378
5972
|
|
|
5973
|
+
def _typecheckingstub__cc4d82c06f60950007b5fa7b77421e4c8280037d91abe3d864ec5aefbb103659(
|
|
5974
|
+
value: typing.Optional[jsii.Number],
|
|
5975
|
+
) -> None:
|
|
5976
|
+
"""Type checking stubs"""
|
|
5977
|
+
pass
|
|
5978
|
+
|
|
5379
5979
|
def _typecheckingstub__69caca5de735efdd86c95d7668c92bbedbfaf458ff05980e7d9773ad8e47288e(
|
|
5380
5980
|
value: typing.Optional[builtins.str],
|
|
5381
5981
|
) -> None:
|
|
@@ -5433,6 +6033,7 @@ def _typecheckingstub__40129c585ad941f6708a726728b53f8f98c392e9aac49550e397150ee
|
|
|
5433
6033
|
*,
|
|
5434
6034
|
consumer_name: builtins.str,
|
|
5435
6035
|
stream_arn: builtins.str,
|
|
6036
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5436
6037
|
) -> None:
|
|
5437
6038
|
"""Type checking stubs"""
|
|
5438
6039
|
pass
|
|
@@ -5461,10 +6062,17 @@ def _typecheckingstub__decaab8d4ef9478c7a29a7262bbddccc719545cf6499f4ac625d9c446
|
|
|
5461
6062
|
"""Type checking stubs"""
|
|
5462
6063
|
pass
|
|
5463
6064
|
|
|
6065
|
+
def _typecheckingstub__741a97d9ae28403dd10b071c7777bb76448096ad2b30f06325c121d8271174db(
|
|
6066
|
+
value: typing.Optional[typing.List[_CfnTag_f6864754]],
|
|
6067
|
+
) -> None:
|
|
6068
|
+
"""Type checking stubs"""
|
|
6069
|
+
pass
|
|
6070
|
+
|
|
5464
6071
|
def _typecheckingstub__04af0c0cee5710afdb7b50f59ef3686da8bba1bf2ed3a56c1e5209c6859bca6f(
|
|
5465
6072
|
*,
|
|
5466
6073
|
consumer_name: builtins.str,
|
|
5467
6074
|
stream_arn: builtins.str,
|
|
6075
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5468
6076
|
) -> None:
|
|
5469
6077
|
"""Type checking stubs"""
|
|
5470
6078
|
pass
|
|
@@ -5472,6 +6080,7 @@ def _typecheckingstub__04af0c0cee5710afdb7b50f59ef3686da8bba1bf2ed3a56c1e5209c68
|
|
|
5472
6080
|
def _typecheckingstub__d3bac625363d3769acb567c00e5b48d63afe09fd6d0305829f157ffcc46ec169(
|
|
5473
6081
|
*,
|
|
5474
6082
|
desired_shard_level_metrics: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
6083
|
+
max_record_size_in_kib: typing.Optional[jsii.Number] = None,
|
|
5475
6084
|
name: typing.Optional[builtins.str] = None,
|
|
5476
6085
|
retention_period_hours: typing.Optional[jsii.Number] = None,
|
|
5477
6086
|
shard_count: typing.Optional[jsii.Number] = None,
|
|
@@ -5519,6 +6128,7 @@ def _typecheckingstub__bd578f4ca8facd0463f7e56d3d2cea7e56ba9ad274338af8f84fa661d
|
|
|
5519
6128
|
account: typing.Optional[builtins.str] = None,
|
|
5520
6129
|
color: typing.Optional[builtins.str] = None,
|
|
5521
6130
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
6131
|
+
id: typing.Optional[builtins.str] = None,
|
|
5522
6132
|
label: typing.Optional[builtins.str] = None,
|
|
5523
6133
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
5524
6134
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -5526,6 +6136,7 @@ def _typecheckingstub__bd578f4ca8facd0463f7e56d3d2cea7e56ba9ad274338af8f84fa661d
|
|
|
5526
6136
|
stack_region: typing.Optional[builtins.str] = None,
|
|
5527
6137
|
statistic: typing.Optional[builtins.str] = None,
|
|
5528
6138
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
6139
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
5529
6140
|
) -> None:
|
|
5530
6141
|
"""Type checking stubs"""
|
|
5531
6142
|
pass
|
|
@@ -5578,6 +6189,7 @@ def _typecheckingstub__d9e4f581406090d861e3fe8214f939eedc5d1ccaffe122a7542878ec4
|
|
|
5578
6189
|
removal_policy: typing.Optional[_RemovalPolicy_9f93c814] = None,
|
|
5579
6190
|
retention_period: typing.Optional[_Duration_4839e8c3] = None,
|
|
5580
6191
|
shard_count: typing.Optional[jsii.Number] = None,
|
|
6192
|
+
shard_level_metrics: typing.Optional[typing.Sequence[ShardLevelMetrics]] = None,
|
|
5581
6193
|
stream_mode: typing.Optional[StreamMode] = None,
|
|
5582
6194
|
stream_name: typing.Optional[builtins.str] = None,
|
|
5583
6195
|
) -> None:
|
|
@@ -5639,6 +6251,7 @@ def _typecheckingstub__c2a600a35f466b97cb6589291e1c140f381da66a0d5026de6030101a8
|
|
|
5639
6251
|
account: typing.Optional[builtins.str] = None,
|
|
5640
6252
|
color: typing.Optional[builtins.str] = None,
|
|
5641
6253
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
6254
|
+
id: typing.Optional[builtins.str] = None,
|
|
5642
6255
|
label: typing.Optional[builtins.str] = None,
|
|
5643
6256
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
5644
6257
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -5646,6 +6259,7 @@ def _typecheckingstub__c2a600a35f466b97cb6589291e1c140f381da66a0d5026de6030101a8
|
|
|
5646
6259
|
stack_region: typing.Optional[builtins.str] = None,
|
|
5647
6260
|
statistic: typing.Optional[builtins.str] = None,
|
|
5648
6261
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
6262
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
5649
6263
|
) -> None:
|
|
5650
6264
|
"""Type checking stubs"""
|
|
5651
6265
|
pass
|
|
@@ -5726,8 +6340,12 @@ def _typecheckingstub__88629f78086711b76f550ae13e14f2db1429deb350aa5b10b7073d585
|
|
|
5726
6340
|
removal_policy: typing.Optional[_RemovalPolicy_9f93c814] = None,
|
|
5727
6341
|
retention_period: typing.Optional[_Duration_4839e8c3] = None,
|
|
5728
6342
|
shard_count: typing.Optional[jsii.Number] = None,
|
|
6343
|
+
shard_level_metrics: typing.Optional[typing.Sequence[ShardLevelMetrics]] = None,
|
|
5729
6344
|
stream_mode: typing.Optional[StreamMode] = None,
|
|
5730
6345
|
stream_name: typing.Optional[builtins.str] = None,
|
|
5731
6346
|
) -> None:
|
|
5732
6347
|
"""Type checking stubs"""
|
|
5733
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__'])
|