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

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

Potentially problematic release.


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

Files changed (62) hide show
  1. aws_cdk/__init__.py +208 -92
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.203.1.jsii.tgz → aws-cdk-lib@2.205.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_aiops/__init__.py +89 -39
  5. aws_cdk/aws_apigateway/__init__.py +164 -0
  6. aws_cdk/aws_apigatewayv2/__init__.py +412 -0
  7. aws_cdk/aws_applicationautoscaling/__init__.py +2 -2
  8. aws_cdk/aws_arczonalshift/__init__.py +4 -1
  9. aws_cdk/aws_b2bi/__init__.py +32 -16
  10. aws_cdk/aws_bedrock/__init__.py +198 -10
  11. aws_cdk/aws_cassandra/__init__.py +156 -0
  12. aws_cdk/aws_certificatemanager/__init__.py +28 -0
  13. aws_cdk/aws_chatbot/__init__.py +28 -0
  14. aws_cdk/aws_cloudformation/__init__.py +74 -72
  15. aws_cdk/aws_cloudfront/__init__.py +1273 -485
  16. aws_cdk/aws_cloudfront/experimental/__init__.py +32 -0
  17. aws_cdk/aws_cloudfront_origins/__init__.py +26 -21
  18. aws_cdk/aws_cloudwatch/__init__.py +278 -23
  19. aws_cdk/aws_codebuild/__init__.py +300 -36
  20. aws_cdk/aws_datasync/__init__.py +2 -2
  21. aws_cdk/aws_docdb/__init__.py +78 -0
  22. aws_cdk/aws_dynamodb/__init__.py +523 -37
  23. aws_cdk/aws_ec2/__init__.py +126 -30
  24. aws_cdk/aws_ecs/__init__.py +64 -19
  25. aws_cdk/aws_elasticloadbalancingv2/__init__.py +724 -0
  26. aws_cdk/aws_elasticsearch/__init__.py +260 -0
  27. aws_cdk/aws_emrserverless/__init__.py +5 -5
  28. aws_cdk/aws_events/__init__.py +58 -3
  29. aws_cdk/aws_events_targets/__init__.py +7 -2
  30. aws_cdk/aws_evs/__init__.py +7 -7
  31. aws_cdk/aws_fsx/__init__.py +138 -78
  32. aws_cdk/aws_gamelift/__init__.py +19 -0
  33. aws_cdk/aws_glue/__init__.py +3 -3
  34. aws_cdk/aws_iot/__init__.py +1 -1
  35. aws_cdk/aws_kinesis/__init__.py +391 -13
  36. aws_cdk/aws_kinesisfirehose/__init__.py +128 -1
  37. aws_cdk/aws_lambda/__init__.py +144 -0
  38. aws_cdk/aws_lex/__init__.py +36 -19
  39. aws_cdk/aws_logs/__init__.py +58 -0
  40. aws_cdk/aws_neptune/__init__.py +12 -12
  41. aws_cdk/aws_odb/__init__.py +4049 -0
  42. aws_cdk/aws_omics/__init__.py +1 -1
  43. aws_cdk/aws_opensearchservice/__init__.py +260 -0
  44. aws_cdk/aws_qbusiness/__init__.py +471 -4
  45. aws_cdk/aws_quicksight/__init__.py +185 -16
  46. aws_cdk/aws_rds/__init__.py +553 -17
  47. aws_cdk/aws_redshiftserverless/__init__.py +72 -45
  48. aws_cdk/aws_route53/__init__.py +41 -19
  49. aws_cdk/aws_s3tables/__init__.py +1005 -0
  50. aws_cdk/aws_sagemaker/__init__.py +20 -0
  51. aws_cdk/aws_scheduler/__init__.py +210 -0
  52. aws_cdk/aws_sns/__init__.py +164 -0
  53. aws_cdk/aws_sqs/__init__.py +164 -0
  54. aws_cdk/aws_stepfunctions/__init__.py +288 -0
  55. aws_cdk/aws_synthetics/__init__.py +159 -37
  56. aws_cdk/aws_transfer/__init__.py +23 -1
  57. {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.205.0.dist-info}/METADATA +2 -2
  58. {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.205.0.dist-info}/RECORD +62 -61
  59. {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.205.0.dist-info}/LICENSE +0 -0
  60. {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.205.0.dist-info}/NOTICE +0 -0
  61. {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.205.0.dist-info}/WHEEL +0 -0
  62. {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.205.0.dist-info}/top_level.txt +0 -0
@@ -1784,7 +1784,8 @@ class CfnBot(
1784
1784
  descriptive_bot_builder_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.DescriptiveBotBuilderSpecificationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1785
1785
  sample_utterance_generation_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.SampleUtteranceGenerationSpecificationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1786
1786
  ) -> None:
1787
- '''
1787
+ '''Contains specifications about the Amazon Lex build time generative AI capabilities from Amazon Bedrock that you can turn on for your bot.
1788
+
1788
1789
  :param descriptive_bot_builder_specification:
1789
1790
  :param sample_utterance_generation_specification:
1790
1791
 
@@ -3430,9 +3431,10 @@ class CfnBot(
3430
3431
  enabled: typing.Union[builtins.bool, _IResolvable_da3f097b],
3431
3432
  bedrock_model_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.BedrockModelSpecificationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
3432
3433
  ) -> None:
3433
- '''
3434
- :param enabled:
3435
- :param bedrock_model_specification:
3434
+ '''Contains specifications for the descriptive bot building feature.
3435
+
3436
+ :param enabled: Specifies whether the descriptive bot building feature is activated or not.
3437
+ :param bedrock_model_specification: An object containing information about the Amazon Bedrock model used to interpret the prompt used in descriptive bot building.
3436
3438
 
3437
3439
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-descriptivebotbuilderspecification.html
3438
3440
  :exampleMetadata: fixture=_generated
@@ -3472,7 +3474,8 @@ class CfnBot(
3472
3474
 
3473
3475
  @builtins.property
3474
3476
  def enabled(self) -> typing.Union[builtins.bool, _IResolvable_da3f097b]:
3475
- '''
3477
+ '''Specifies whether the descriptive bot building feature is activated or not.
3478
+
3476
3479
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-descriptivebotbuilderspecification.html#cfn-lex-bot-descriptivebotbuilderspecification-enabled
3477
3480
  '''
3478
3481
  result = self._values.get("enabled")
@@ -3483,7 +3486,8 @@ class CfnBot(
3483
3486
  def bedrock_model_specification(
3484
3487
  self,
3485
3488
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.BedrockModelSpecificationProperty"]]:
3486
- '''
3489
+ '''An object containing information about the Amazon Bedrock model used to interpret the prompt used in descriptive bot building.
3490
+
3487
3491
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-descriptivebotbuilderspecification.html#cfn-lex-bot-descriptivebotbuilderspecification-bedrockmodelspecification
3488
3492
  '''
3489
3493
  result = self._values.get("bedrock_model_specification")
@@ -4727,7 +4731,8 @@ class CfnBot(
4727
4731
  buildtime_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.BuildtimeSettingsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
4728
4732
  runtime_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.RuntimeSettingsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
4729
4733
  ) -> None:
4730
- '''
4734
+ '''Contains specifications about the generative AI capabilities from Amazon Bedrock that you can turn on for your bot.
4735
+
4731
4736
  :param buildtime_settings:
4732
4737
  :param runtime_settings:
4733
4738
 
@@ -6825,8 +6830,11 @@ class CfnBot(
6825
6830
  *,
6826
6831
  enabled: typing.Union[builtins.bool, _IResolvable_da3f097b],
6827
6832
  ) -> None:
6828
- '''
6829
- :param enabled:
6833
+ '''Configures the Assisted Natural Language Understanding (NLU) feature for your bot.
6834
+
6835
+ This specification determines whether enhanced intent recognition and utterance understanding capabilities are active.
6836
+
6837
+ :param enabled: Determines whether the Assisted NLU feature is enabled for the bot. When set to ``true`` , Amazon Lex uses advanced models to improve intent recognition and slot resolution, with the default being ``false`` .
6830
6838
 
6831
6839
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-nluimprovementspecification.html
6832
6840
  :exampleMetadata: fixture=_generated
@@ -6850,7 +6858,10 @@ class CfnBot(
6850
6858
 
6851
6859
  @builtins.property
6852
6860
  def enabled(self) -> typing.Union[builtins.bool, _IResolvable_da3f097b]:
6853
- '''
6861
+ '''Determines whether the Assisted NLU feature is enabled for the bot.
6862
+
6863
+ When set to ``true`` , Amazon Lex uses advanced models to improve intent recognition and slot resolution, with the default being ``false`` .
6864
+
6854
6865
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-nluimprovementspecification.html#cfn-lex-bot-nluimprovementspecification-enabled
6855
6866
  '''
6856
6867
  result = self._values.get("enabled")
@@ -8448,7 +8459,8 @@ class CfnBot(
8448
8459
  nlu_improvement_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.NluImprovementSpecificationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
8449
8460
  slot_resolution_improvement_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.SlotResolutionImprovementSpecificationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
8450
8461
  ) -> None:
8451
- '''
8462
+ '''Contains specifications about the Amazon Lex runtime generative AI capabilities from Amazon Bedrock that you can turn on for your bot.
8463
+
8452
8464
  :param nlu_improvement_specification:
8453
8465
  :param slot_resolution_improvement_specification:
8454
8466
 
@@ -8775,8 +8787,9 @@ class CfnBot(
8775
8787
  enabled: typing.Union[builtins.bool, _IResolvable_da3f097b],
8776
8788
  bedrock_model_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.BedrockModelSpecificationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
8777
8789
  ) -> None:
8778
- '''
8779
- :param enabled:
8790
+ '''Contains specifications for the sample utterance generation feature.
8791
+
8792
+ :param enabled: Specifies whether to enable sample utterance generation or not.
8780
8793
  :param bedrock_model_specification:
8781
8794
 
8782
8795
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-sampleutterancegenerationspecification.html
@@ -8817,7 +8830,8 @@ class CfnBot(
8817
8830
 
8818
8831
  @builtins.property
8819
8832
  def enabled(self) -> typing.Union[builtins.bool, _IResolvable_da3f097b]:
8820
- '''
8833
+ '''Specifies whether to enable sample utterance generation or not.
8834
+
8821
8835
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-sampleutterancegenerationspecification.html#cfn-lex-bot-sampleutterancegenerationspecification-enabled
8822
8836
  '''
8823
8837
  result = self._values.get("enabled")
@@ -9611,9 +9625,10 @@ class CfnBot(
9611
9625
  enabled: typing.Union[builtins.bool, _IResolvable_da3f097b],
9612
9626
  bedrock_model_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBot.BedrockModelSpecificationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
9613
9627
  ) -> None:
9614
- '''
9615
- :param enabled:
9616
- :param bedrock_model_specification:
9628
+ '''Contains specifications for the assisted slot resolution feature.
9629
+
9630
+ :param enabled: Specifies whether assisted slot resolution is turned on or off.
9631
+ :param bedrock_model_specification: An object containing information about the Amazon Bedrock model used to assist slot resolution.
9617
9632
 
9618
9633
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-slotresolutionimprovementspecification.html
9619
9634
  :exampleMetadata: fixture=_generated
@@ -9653,7 +9668,8 @@ class CfnBot(
9653
9668
 
9654
9669
  @builtins.property
9655
9670
  def enabled(self) -> typing.Union[builtins.bool, _IResolvable_da3f097b]:
9656
- '''
9671
+ '''Specifies whether assisted slot resolution is turned on or off.
9672
+
9657
9673
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-slotresolutionimprovementspecification.html#cfn-lex-bot-slotresolutionimprovementspecification-enabled
9658
9674
  '''
9659
9675
  result = self._values.get("enabled")
@@ -9664,7 +9680,8 @@ class CfnBot(
9664
9680
  def bedrock_model_specification(
9665
9681
  self,
9666
9682
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.BedrockModelSpecificationProperty"]]:
9667
- '''
9683
+ '''An object containing information about the Amazon Bedrock model used to assist slot resolution.
9684
+
9668
9685
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-slotresolutionimprovementspecification.html#cfn-lex-bot-slotresolutionimprovementspecification-bedrockmodelspecification
9669
9686
  '''
9670
9687
  result = self._values.get("bedrock_model_specification")
@@ -10354,6 +10354,7 @@ class ILogGroup(_IResourceWithPolicy_720d64fc, typing_extensions.Protocol):
10354
10354
  account: typing.Optional[builtins.str] = None,
10355
10355
  color: typing.Optional[builtins.str] = None,
10356
10356
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
10357
+ id: typing.Optional[builtins.str] = None,
10357
10358
  label: typing.Optional[builtins.str] = None,
10358
10359
  period: typing.Optional[_Duration_4839e8c3] = None,
10359
10360
  region: typing.Optional[builtins.str] = None,
@@ -10361,6 +10362,7 @@ class ILogGroup(_IResourceWithPolicy_720d64fc, typing_extensions.Protocol):
10361
10362
  stack_region: typing.Optional[builtins.str] = None,
10362
10363
  statistic: typing.Optional[builtins.str] = None,
10363
10364
  unit: typing.Optional[_Unit_61bc6f70] = None,
10365
+ visible: typing.Optional[builtins.bool] = None,
10364
10366
  ) -> _Metric_e396a4dc:
10365
10367
  '''Return the given named metric for this Log Group.
10366
10368
 
@@ -10368,6 +10370,7 @@ class ILogGroup(_IResourceWithPolicy_720d64fc, typing_extensions.Protocol):
10368
10370
  :param account: Account which this metric comes from. Default: - Deployment account.
10369
10371
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
10370
10372
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
10373
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
10371
10374
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
10372
10375
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
10373
10376
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -10375,6 +10378,7 @@ class ILogGroup(_IResourceWithPolicy_720d64fc, typing_extensions.Protocol):
10375
10378
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
10376
10379
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
10377
10380
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
10381
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
10378
10382
  '''
10379
10383
  ...
10380
10384
 
@@ -10385,6 +10389,7 @@ class ILogGroup(_IResourceWithPolicy_720d64fc, typing_extensions.Protocol):
10385
10389
  account: typing.Optional[builtins.str] = None,
10386
10390
  color: typing.Optional[builtins.str] = None,
10387
10391
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
10392
+ id: typing.Optional[builtins.str] = None,
10388
10393
  label: typing.Optional[builtins.str] = None,
10389
10394
  period: typing.Optional[_Duration_4839e8c3] = None,
10390
10395
  region: typing.Optional[builtins.str] = None,
@@ -10392,6 +10397,7 @@ class ILogGroup(_IResourceWithPolicy_720d64fc, typing_extensions.Protocol):
10392
10397
  stack_region: typing.Optional[builtins.str] = None,
10393
10398
  statistic: typing.Optional[builtins.str] = None,
10394
10399
  unit: typing.Optional[_Unit_61bc6f70] = None,
10400
+ visible: typing.Optional[builtins.bool] = None,
10395
10401
  ) -> _Metric_e396a4dc:
10396
10402
  '''The volume of log events in uncompressed bytes uploaded to CloudWatch Logs.
10397
10403
 
@@ -10401,6 +10407,7 @@ class ILogGroup(_IResourceWithPolicy_720d64fc, typing_extensions.Protocol):
10401
10407
  :param account: Account which this metric comes from. Default: - Deployment account.
10402
10408
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
10403
10409
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
10410
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
10404
10411
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
10405
10412
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
10406
10413
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -10408,6 +10415,7 @@ class ILogGroup(_IResourceWithPolicy_720d64fc, typing_extensions.Protocol):
10408
10415
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
10409
10416
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
10410
10417
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
10418
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
10411
10419
  '''
10412
10420
  ...
10413
10421
 
@@ -10418,6 +10426,7 @@ class ILogGroup(_IResourceWithPolicy_720d64fc, typing_extensions.Protocol):
10418
10426
  account: typing.Optional[builtins.str] = None,
10419
10427
  color: typing.Optional[builtins.str] = None,
10420
10428
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
10429
+ id: typing.Optional[builtins.str] = None,
10421
10430
  label: typing.Optional[builtins.str] = None,
10422
10431
  period: typing.Optional[_Duration_4839e8c3] = None,
10423
10432
  region: typing.Optional[builtins.str] = None,
@@ -10425,6 +10434,7 @@ class ILogGroup(_IResourceWithPolicy_720d64fc, typing_extensions.Protocol):
10425
10434
  stack_region: typing.Optional[builtins.str] = None,
10426
10435
  statistic: typing.Optional[builtins.str] = None,
10427
10436
  unit: typing.Optional[_Unit_61bc6f70] = None,
10437
+ visible: typing.Optional[builtins.bool] = None,
10428
10438
  ) -> _Metric_e396a4dc:
10429
10439
  '''The number of log events uploaded to CloudWatch Logs.
10430
10440
 
@@ -10434,6 +10444,7 @@ class ILogGroup(_IResourceWithPolicy_720d64fc, typing_extensions.Protocol):
10434
10444
  :param account: Account which this metric comes from. Default: - Deployment account.
10435
10445
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
10436
10446
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
10447
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
10437
10448
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
10438
10449
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
10439
10450
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -10441,6 +10452,7 @@ class ILogGroup(_IResourceWithPolicy_720d64fc, typing_extensions.Protocol):
10441
10452
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
10442
10453
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
10443
10454
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
10455
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
10444
10456
  '''
10445
10457
  ...
10446
10458
 
@@ -10639,6 +10651,7 @@ class _ILogGroupProxy(
10639
10651
  account: typing.Optional[builtins.str] = None,
10640
10652
  color: typing.Optional[builtins.str] = None,
10641
10653
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
10654
+ id: typing.Optional[builtins.str] = None,
10642
10655
  label: typing.Optional[builtins.str] = None,
10643
10656
  period: typing.Optional[_Duration_4839e8c3] = None,
10644
10657
  region: typing.Optional[builtins.str] = None,
@@ -10646,6 +10659,7 @@ class _ILogGroupProxy(
10646
10659
  stack_region: typing.Optional[builtins.str] = None,
10647
10660
  statistic: typing.Optional[builtins.str] = None,
10648
10661
  unit: typing.Optional[_Unit_61bc6f70] = None,
10662
+ visible: typing.Optional[builtins.bool] = None,
10649
10663
  ) -> _Metric_e396a4dc:
10650
10664
  '''Return the given named metric for this Log Group.
10651
10665
 
@@ -10653,6 +10667,7 @@ class _ILogGroupProxy(
10653
10667
  :param account: Account which this metric comes from. Default: - Deployment account.
10654
10668
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
10655
10669
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
10670
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
10656
10671
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
10657
10672
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
10658
10673
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -10660,6 +10675,7 @@ class _ILogGroupProxy(
10660
10675
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
10661
10676
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
10662
10677
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
10678
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
10663
10679
  '''
10664
10680
  if __debug__:
10665
10681
  type_hints = typing.get_type_hints(_typecheckingstub__e63ab70f8bacc728cdbf61171dfc0b89720bb794e34d29336b9486edb7738afb)
@@ -10668,6 +10684,7 @@ class _ILogGroupProxy(
10668
10684
  account=account,
10669
10685
  color=color,
10670
10686
  dimensions_map=dimensions_map,
10687
+ id=id,
10671
10688
  label=label,
10672
10689
  period=period,
10673
10690
  region=region,
@@ -10675,6 +10692,7 @@ class _ILogGroupProxy(
10675
10692
  stack_region=stack_region,
10676
10693
  statistic=statistic,
10677
10694
  unit=unit,
10695
+ visible=visible,
10678
10696
  )
10679
10697
 
10680
10698
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metric", [metric_name, props]))
@@ -10686,6 +10704,7 @@ class _ILogGroupProxy(
10686
10704
  account: typing.Optional[builtins.str] = None,
10687
10705
  color: typing.Optional[builtins.str] = None,
10688
10706
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
10707
+ id: typing.Optional[builtins.str] = None,
10689
10708
  label: typing.Optional[builtins.str] = None,
10690
10709
  period: typing.Optional[_Duration_4839e8c3] = None,
10691
10710
  region: typing.Optional[builtins.str] = None,
@@ -10693,6 +10712,7 @@ class _ILogGroupProxy(
10693
10712
  stack_region: typing.Optional[builtins.str] = None,
10694
10713
  statistic: typing.Optional[builtins.str] = None,
10695
10714
  unit: typing.Optional[_Unit_61bc6f70] = None,
10715
+ visible: typing.Optional[builtins.bool] = None,
10696
10716
  ) -> _Metric_e396a4dc:
10697
10717
  '''The volume of log events in uncompressed bytes uploaded to CloudWatch Logs.
10698
10718
 
@@ -10702,6 +10722,7 @@ class _ILogGroupProxy(
10702
10722
  :param account: Account which this metric comes from. Default: - Deployment account.
10703
10723
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
10704
10724
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
10725
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
10705
10726
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
10706
10727
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
10707
10728
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -10709,11 +10730,13 @@ class _ILogGroupProxy(
10709
10730
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
10710
10731
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
10711
10732
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
10733
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
10712
10734
  '''
10713
10735
  props = _MetricOptions_1788b62f(
10714
10736
  account=account,
10715
10737
  color=color,
10716
10738
  dimensions_map=dimensions_map,
10739
+ id=id,
10717
10740
  label=label,
10718
10741
  period=period,
10719
10742
  region=region,
@@ -10721,6 +10744,7 @@ class _ILogGroupProxy(
10721
10744
  stack_region=stack_region,
10722
10745
  statistic=statistic,
10723
10746
  unit=unit,
10747
+ visible=visible,
10724
10748
  )
10725
10749
 
10726
10750
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricIncomingBytes", [props]))
@@ -10732,6 +10756,7 @@ class _ILogGroupProxy(
10732
10756
  account: typing.Optional[builtins.str] = None,
10733
10757
  color: typing.Optional[builtins.str] = None,
10734
10758
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
10759
+ id: typing.Optional[builtins.str] = None,
10735
10760
  label: typing.Optional[builtins.str] = None,
10736
10761
  period: typing.Optional[_Duration_4839e8c3] = None,
10737
10762
  region: typing.Optional[builtins.str] = None,
@@ -10739,6 +10764,7 @@ class _ILogGroupProxy(
10739
10764
  stack_region: typing.Optional[builtins.str] = None,
10740
10765
  statistic: typing.Optional[builtins.str] = None,
10741
10766
  unit: typing.Optional[_Unit_61bc6f70] = None,
10767
+ visible: typing.Optional[builtins.bool] = None,
10742
10768
  ) -> _Metric_e396a4dc:
10743
10769
  '''The number of log events uploaded to CloudWatch Logs.
10744
10770
 
@@ -10748,6 +10774,7 @@ class _ILogGroupProxy(
10748
10774
  :param account: Account which this metric comes from. Default: - Deployment account.
10749
10775
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
10750
10776
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
10777
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
10751
10778
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
10752
10779
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
10753
10780
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -10755,11 +10782,13 @@ class _ILogGroupProxy(
10755
10782
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
10756
10783
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
10757
10784
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
10785
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
10758
10786
  '''
10759
10787
  props = _MetricOptions_1788b62f(
10760
10788
  account=account,
10761
10789
  color=color,
10762
10790
  dimensions_map=dimensions_map,
10791
+ id=id,
10763
10792
  label=label,
10764
10793
  period=period,
10765
10794
  region=region,
@@ -10767,6 +10796,7 @@ class _ILogGroupProxy(
10767
10796
  stack_region=stack_region,
10768
10797
  statistic=statistic,
10769
10798
  unit=unit,
10799
+ visible=visible,
10770
10800
  )
10771
10801
 
10772
10802
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricIncomingLogEvents", [props]))
@@ -11221,6 +11251,7 @@ class LogGroup(
11221
11251
  account: typing.Optional[builtins.str] = None,
11222
11252
  color: typing.Optional[builtins.str] = None,
11223
11253
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
11254
+ id: typing.Optional[builtins.str] = None,
11224
11255
  label: typing.Optional[builtins.str] = None,
11225
11256
  period: typing.Optional[_Duration_4839e8c3] = None,
11226
11257
  region: typing.Optional[builtins.str] = None,
@@ -11228,6 +11259,7 @@ class LogGroup(
11228
11259
  stack_region: typing.Optional[builtins.str] = None,
11229
11260
  statistic: typing.Optional[builtins.str] = None,
11230
11261
  unit: typing.Optional[_Unit_61bc6f70] = None,
11262
+ visible: typing.Optional[builtins.bool] = None,
11231
11263
  ) -> _Metric_e396a4dc:
11232
11264
  '''Creates a CloudWatch metric for this log group.
11233
11265
 
@@ -11235,6 +11267,7 @@ class LogGroup(
11235
11267
  :param account: Account which this metric comes from. Default: - Deployment account.
11236
11268
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
11237
11269
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
11270
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
11238
11271
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
11239
11272
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
11240
11273
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -11242,6 +11275,7 @@ class LogGroup(
11242
11275
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
11243
11276
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
11244
11277
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
11278
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
11245
11279
 
11246
11280
  :return:
11247
11281
 
@@ -11266,6 +11300,7 @@ class LogGroup(
11266
11300
  account=account,
11267
11301
  color=color,
11268
11302
  dimensions_map=dimensions_map,
11303
+ id=id,
11269
11304
  label=label,
11270
11305
  period=period,
11271
11306
  region=region,
@@ -11273,6 +11308,7 @@ class LogGroup(
11273
11308
  stack_region=stack_region,
11274
11309
  statistic=statistic,
11275
11310
  unit=unit,
11311
+ visible=visible,
11276
11312
  )
11277
11313
 
11278
11314
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metric", [metric_name, props]))
@@ -11284,6 +11320,7 @@ class LogGroup(
11284
11320
  account: typing.Optional[builtins.str] = None,
11285
11321
  color: typing.Optional[builtins.str] = None,
11286
11322
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
11323
+ id: typing.Optional[builtins.str] = None,
11287
11324
  label: typing.Optional[builtins.str] = None,
11288
11325
  period: typing.Optional[_Duration_4839e8c3] = None,
11289
11326
  region: typing.Optional[builtins.str] = None,
@@ -11291,12 +11328,14 @@ class LogGroup(
11291
11328
  stack_region: typing.Optional[builtins.str] = None,
11292
11329
  statistic: typing.Optional[builtins.str] = None,
11293
11330
  unit: typing.Optional[_Unit_61bc6f70] = None,
11331
+ visible: typing.Optional[builtins.bool] = None,
11294
11332
  ) -> _Metric_e396a4dc:
11295
11333
  '''Creates a CloudWatch metric for the volume of incoming log data in bytes to this log group.
11296
11334
 
11297
11335
  :param account: Account which this metric comes from. Default: - Deployment account.
11298
11336
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
11299
11337
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
11338
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
11300
11339
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
11301
11340
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
11302
11341
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -11304,6 +11343,7 @@ class LogGroup(
11304
11343
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
11305
11344
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
11306
11345
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
11346
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
11307
11347
 
11308
11348
  :return:
11309
11349
 
@@ -11325,6 +11365,7 @@ class LogGroup(
11325
11365
  account=account,
11326
11366
  color=color,
11327
11367
  dimensions_map=dimensions_map,
11368
+ id=id,
11328
11369
  label=label,
11329
11370
  period=period,
11330
11371
  region=region,
@@ -11332,6 +11373,7 @@ class LogGroup(
11332
11373
  stack_region=stack_region,
11333
11374
  statistic=statistic,
11334
11375
  unit=unit,
11376
+ visible=visible,
11335
11377
  )
11336
11378
 
11337
11379
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricIncomingBytes", [props]))
@@ -11343,6 +11385,7 @@ class LogGroup(
11343
11385
  account: typing.Optional[builtins.str] = None,
11344
11386
  color: typing.Optional[builtins.str] = None,
11345
11387
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
11388
+ id: typing.Optional[builtins.str] = None,
11346
11389
  label: typing.Optional[builtins.str] = None,
11347
11390
  period: typing.Optional[_Duration_4839e8c3] = None,
11348
11391
  region: typing.Optional[builtins.str] = None,
@@ -11350,12 +11393,14 @@ class LogGroup(
11350
11393
  stack_region: typing.Optional[builtins.str] = None,
11351
11394
  statistic: typing.Optional[builtins.str] = None,
11352
11395
  unit: typing.Optional[_Unit_61bc6f70] = None,
11396
+ visible: typing.Optional[builtins.bool] = None,
11353
11397
  ) -> _Metric_e396a4dc:
11354
11398
  '''Creates a CloudWatch metric for the number of incoming log events to this log group.
11355
11399
 
11356
11400
  :param account: Account which this metric comes from. Default: - Deployment account.
11357
11401
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
11358
11402
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
11403
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
11359
11404
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
11360
11405
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
11361
11406
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -11363,6 +11408,7 @@ class LogGroup(
11363
11408
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
11364
11409
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
11365
11410
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
11411
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
11366
11412
 
11367
11413
  :return:
11368
11414
 
@@ -11384,6 +11430,7 @@ class LogGroup(
11384
11430
  account=account,
11385
11431
  color=color,
11386
11432
  dimensions_map=dimensions_map,
11433
+ id=id,
11387
11434
  label=label,
11388
11435
  period=period,
11389
11436
  region=region,
@@ -11391,6 +11438,7 @@ class LogGroup(
11391
11438
  stack_region=stack_region,
11392
11439
  statistic=statistic,
11393
11440
  unit=unit,
11441
+ visible=visible,
11394
11442
  )
11395
11443
 
11396
11444
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricIncomingLogEvents", [props]))
@@ -12252,6 +12300,7 @@ class MetricFilter(
12252
12300
  account: typing.Optional[builtins.str] = None,
12253
12301
  color: typing.Optional[builtins.str] = None,
12254
12302
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
12303
+ id: typing.Optional[builtins.str] = None,
12255
12304
  label: typing.Optional[builtins.str] = None,
12256
12305
  period: typing.Optional[_Duration_4839e8c3] = None,
12257
12306
  region: typing.Optional[builtins.str] = None,
@@ -12259,12 +12308,14 @@ class MetricFilter(
12259
12308
  stack_region: typing.Optional[builtins.str] = None,
12260
12309
  statistic: typing.Optional[builtins.str] = None,
12261
12310
  unit: typing.Optional[_Unit_61bc6f70] = None,
12311
+ visible: typing.Optional[builtins.bool] = None,
12262
12312
  ) -> _Metric_e396a4dc:
12263
12313
  '''Return the given named metric for this Metric Filter.
12264
12314
 
12265
12315
  :param account: Account which this metric comes from. Default: - Deployment account.
12266
12316
  :param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
12267
12317
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
12318
+ :param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
12268
12319
  :param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
12269
12320
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
12270
12321
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -12272,6 +12323,7 @@ class MetricFilter(
12272
12323
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
12273
12324
  :param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
12274
12325
  :param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
12326
+ :param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
12275
12327
 
12276
12328
  :default: avg over 5 minutes
12277
12329
  '''
@@ -12279,6 +12331,7 @@ class MetricFilter(
12279
12331
  account=account,
12280
12332
  color=color,
12281
12333
  dimensions_map=dimensions_map,
12334
+ id=id,
12282
12335
  label=label,
12283
12336
  period=period,
12284
12337
  region=region,
@@ -12286,6 +12339,7 @@ class MetricFilter(
12286
12339
  stack_region=stack_region,
12287
12340
  statistic=statistic,
12288
12341
  unit=unit,
12342
+ visible=visible,
12289
12343
  )
12290
12344
 
12291
12345
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metric", [props]))
@@ -15454,6 +15508,7 @@ def _typecheckingstub__e63ab70f8bacc728cdbf61171dfc0b89720bb794e34d29336b9486edb
15454
15508
  account: typing.Optional[builtins.str] = None,
15455
15509
  color: typing.Optional[builtins.str] = None,
15456
15510
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
15511
+ id: typing.Optional[builtins.str] = None,
15457
15512
  label: typing.Optional[builtins.str] = None,
15458
15513
  period: typing.Optional[_Duration_4839e8c3] = None,
15459
15514
  region: typing.Optional[builtins.str] = None,
@@ -15461,6 +15516,7 @@ def _typecheckingstub__e63ab70f8bacc728cdbf61171dfc0b89720bb794e34d29336b9486edb
15461
15516
  stack_region: typing.Optional[builtins.str] = None,
15462
15517
  statistic: typing.Optional[builtins.str] = None,
15463
15518
  unit: typing.Optional[_Unit_61bc6f70] = None,
15519
+ visible: typing.Optional[builtins.bool] = None,
15464
15520
  ) -> None:
15465
15521
  """Type checking stubs"""
15466
15522
  pass
@@ -15582,6 +15638,7 @@ def _typecheckingstub__afd13314ef52ff283429f1992d9ab29ab14998262e884015dc1d0af12
15582
15638
  account: typing.Optional[builtins.str] = None,
15583
15639
  color: typing.Optional[builtins.str] = None,
15584
15640
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
15641
+ id: typing.Optional[builtins.str] = None,
15585
15642
  label: typing.Optional[builtins.str] = None,
15586
15643
  period: typing.Optional[_Duration_4839e8c3] = None,
15587
15644
  region: typing.Optional[builtins.str] = None,
@@ -15589,6 +15646,7 @@ def _typecheckingstub__afd13314ef52ff283429f1992d9ab29ab14998262e884015dc1d0af12
15589
15646
  stack_region: typing.Optional[builtins.str] = None,
15590
15647
  statistic: typing.Optional[builtins.str] = None,
15591
15648
  unit: typing.Optional[_Unit_61bc6f70] = None,
15649
+ visible: typing.Optional[builtins.bool] = None,
15592
15650
  ) -> None:
15593
15651
  """Type checking stubs"""
15594
15652
  pass