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

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

Potentially problematic release.


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

Files changed (33) hide show
  1. aws_cdk/__init__.py +38 -0
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.203.0.jsii.tgz → aws-cdk-lib@2.204.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_apigateway/__init__.py +164 -0
  5. aws_cdk/aws_apigatewayv2/__init__.py +412 -0
  6. aws_cdk/aws_certificatemanager/__init__.py +28 -0
  7. aws_cdk/aws_chatbot/__init__.py +28 -0
  8. aws_cdk/aws_cloudfront/__init__.py +92 -0
  9. aws_cdk/aws_cloudfront/experimental/__init__.py +32 -0
  10. aws_cdk/aws_cloudwatch/__init__.py +217 -23
  11. aws_cdk/aws_codebuild/__init__.py +84 -0
  12. aws_cdk/aws_dynamodb/__init__.py +316 -2
  13. aws_cdk/aws_ec2/__init__.py +94 -0
  14. aws_cdk/aws_ecs/__init__.py +52 -0
  15. aws_cdk/aws_elasticloadbalancingv2/__init__.py +724 -0
  16. aws_cdk/aws_elasticsearch/__init__.py +260 -0
  17. aws_cdk/aws_kinesis/__init__.py +324 -0
  18. aws_cdk/aws_kinesisfirehose/__init__.py +100 -0
  19. aws_cdk/aws_lambda/__init__.py +144 -0
  20. aws_cdk/aws_logs/__init__.py +58 -0
  21. aws_cdk/aws_opensearchservice/__init__.py +260 -0
  22. aws_cdk/aws_rds/__init__.py +384 -0
  23. aws_cdk/aws_scheduler/__init__.py +210 -0
  24. aws_cdk/aws_sns/__init__.py +164 -0
  25. aws_cdk/aws_sqs/__init__.py +164 -0
  26. aws_cdk/aws_stepfunctions/__init__.py +288 -0
  27. aws_cdk/aws_synthetics/__init__.py +18 -0
  28. {aws_cdk_lib-2.203.0.dist-info → aws_cdk_lib-2.204.0.dist-info}/METADATA +2 -2
  29. {aws_cdk_lib-2.203.0.dist-info → aws_cdk_lib-2.204.0.dist-info}/RECORD +33 -33
  30. {aws_cdk_lib-2.203.0.dist-info → aws_cdk_lib-2.204.0.dist-info}/LICENSE +0 -0
  31. {aws_cdk_lib-2.203.0.dist-info → aws_cdk_lib-2.204.0.dist-info}/NOTICE +0 -0
  32. {aws_cdk_lib-2.203.0.dist-info → aws_cdk_lib-2.204.0.dist-info}/WHEEL +0 -0
  33. {aws_cdk_lib-2.203.0.dist-info → aws_cdk_lib-2.204.0.dist-info}/top_level.txt +0 -0
@@ -2858,6 +2858,7 @@ class ITopic(
2858
2858
  account: typing.Optional[builtins.str] = None,
2859
2859
  color: typing.Optional[builtins.str] = None,
2860
2860
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2861
+ id: typing.Optional[builtins.str] = None,
2861
2862
  label: typing.Optional[builtins.str] = None,
2862
2863
  period: typing.Optional[_Duration_4839e8c3] = None,
2863
2864
  region: typing.Optional[builtins.str] = None,
@@ -2865,6 +2866,7 @@ class ITopic(
2865
2866
  stack_region: typing.Optional[builtins.str] = None,
2866
2867
  statistic: typing.Optional[builtins.str] = None,
2867
2868
  unit: typing.Optional[_Unit_61bc6f70] = None,
2869
+ visible: typing.Optional[builtins.bool] = None,
2868
2870
  ) -> _Metric_e396a4dc:
2869
2871
  '''Return the given named metric for this Topic.
2870
2872
 
@@ -2872,6 +2874,7 @@ class ITopic(
2872
2874
  :param account: Account which this metric comes from. Default: - Deployment account.
2873
2875
  :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
2874
2876
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2877
+ :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
2875
2878
  :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
2876
2879
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2877
2880
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2879,6 +2882,7 @@ class ITopic(
2879
2882
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2880
2883
  :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
2881
2884
  :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
2885
+ :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
2882
2886
  '''
2883
2887
  ...
2884
2888
 
@@ -2889,6 +2893,7 @@ class ITopic(
2889
2893
  account: typing.Optional[builtins.str] = None,
2890
2894
  color: typing.Optional[builtins.str] = None,
2891
2895
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2896
+ id: typing.Optional[builtins.str] = None,
2892
2897
  label: typing.Optional[builtins.str] = None,
2893
2898
  period: typing.Optional[_Duration_4839e8c3] = None,
2894
2899
  region: typing.Optional[builtins.str] = None,
@@ -2896,6 +2901,7 @@ class ITopic(
2896
2901
  stack_region: typing.Optional[builtins.str] = None,
2897
2902
  statistic: typing.Optional[builtins.str] = None,
2898
2903
  unit: typing.Optional[_Unit_61bc6f70] = None,
2904
+ visible: typing.Optional[builtins.bool] = None,
2899
2905
  ) -> _Metric_e396a4dc:
2900
2906
  '''The number of messages published to your Amazon SNS topics.
2901
2907
 
@@ -2904,6 +2910,7 @@ class ITopic(
2904
2910
  :param account: Account which this metric comes from. Default: - Deployment account.
2905
2911
  :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
2906
2912
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2913
+ :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
2907
2914
  :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
2908
2915
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2909
2916
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2911,6 +2918,7 @@ class ITopic(
2911
2918
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2912
2919
  :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
2913
2920
  :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
2921
+ :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
2914
2922
  '''
2915
2923
  ...
2916
2924
 
@@ -2921,6 +2929,7 @@ class ITopic(
2921
2929
  account: typing.Optional[builtins.str] = None,
2922
2930
  color: typing.Optional[builtins.str] = None,
2923
2931
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2932
+ id: typing.Optional[builtins.str] = None,
2924
2933
  label: typing.Optional[builtins.str] = None,
2925
2934
  period: typing.Optional[_Duration_4839e8c3] = None,
2926
2935
  region: typing.Optional[builtins.str] = None,
@@ -2928,6 +2937,7 @@ class ITopic(
2928
2937
  stack_region: typing.Optional[builtins.str] = None,
2929
2938
  statistic: typing.Optional[builtins.str] = None,
2930
2939
  unit: typing.Optional[_Unit_61bc6f70] = None,
2940
+ visible: typing.Optional[builtins.bool] = None,
2931
2941
  ) -> _Metric_e396a4dc:
2932
2942
  '''The number of messages successfully delivered from your Amazon SNS topics to subscribing endpoints.
2933
2943
 
@@ -2936,6 +2946,7 @@ class ITopic(
2936
2946
  :param account: Account which this metric comes from. Default: - Deployment account.
2937
2947
  :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
2938
2948
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2949
+ :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
2939
2950
  :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
2940
2951
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2941
2952
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2943,6 +2954,7 @@ class ITopic(
2943
2954
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2944
2955
  :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
2945
2956
  :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
2957
+ :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
2946
2958
  '''
2947
2959
  ...
2948
2960
 
@@ -2953,6 +2965,7 @@ class ITopic(
2953
2965
  account: typing.Optional[builtins.str] = None,
2954
2966
  color: typing.Optional[builtins.str] = None,
2955
2967
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2968
+ id: typing.Optional[builtins.str] = None,
2956
2969
  label: typing.Optional[builtins.str] = None,
2957
2970
  period: typing.Optional[_Duration_4839e8c3] = None,
2958
2971
  region: typing.Optional[builtins.str] = None,
@@ -2960,6 +2973,7 @@ class ITopic(
2960
2973
  stack_region: typing.Optional[builtins.str] = None,
2961
2974
  statistic: typing.Optional[builtins.str] = None,
2962
2975
  unit: typing.Optional[_Unit_61bc6f70] = None,
2976
+ visible: typing.Optional[builtins.bool] = None,
2963
2977
  ) -> _Metric_e396a4dc:
2964
2978
  '''The number of messages that Amazon SNS failed to deliver.
2965
2979
 
@@ -2968,6 +2982,7 @@ class ITopic(
2968
2982
  :param account: Account which this metric comes from. Default: - Deployment account.
2969
2983
  :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
2970
2984
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2985
+ :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
2971
2986
  :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
2972
2987
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2973
2988
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2975,6 +2990,7 @@ class ITopic(
2975
2990
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2976
2991
  :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
2977
2992
  :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
2993
+ :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
2978
2994
  '''
2979
2995
  ...
2980
2996
 
@@ -2985,6 +3001,7 @@ class ITopic(
2985
3001
  account: typing.Optional[builtins.str] = None,
2986
3002
  color: typing.Optional[builtins.str] = None,
2987
3003
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
3004
+ id: typing.Optional[builtins.str] = None,
2988
3005
  label: typing.Optional[builtins.str] = None,
2989
3006
  period: typing.Optional[_Duration_4839e8c3] = None,
2990
3007
  region: typing.Optional[builtins.str] = None,
@@ -2992,6 +3009,7 @@ class ITopic(
2992
3009
  stack_region: typing.Optional[builtins.str] = None,
2993
3010
  statistic: typing.Optional[builtins.str] = None,
2994
3011
  unit: typing.Optional[_Unit_61bc6f70] = None,
3012
+ visible: typing.Optional[builtins.bool] = None,
2995
3013
  ) -> _Metric_e396a4dc:
2996
3014
  '''The number of messages that were rejected by subscription filter policies.
2997
3015
 
@@ -3000,6 +3018,7 @@ class ITopic(
3000
3018
  :param account: Account which this metric comes from. Default: - Deployment account.
3001
3019
  :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
3002
3020
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
3021
+ :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
3003
3022
  :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
3004
3023
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
3005
3024
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -3007,6 +3026,7 @@ class ITopic(
3007
3026
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
3008
3027
  :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
3009
3028
  :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
3029
+ :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
3010
3030
  '''
3011
3031
  ...
3012
3032
 
@@ -3017,6 +3037,7 @@ class ITopic(
3017
3037
  account: typing.Optional[builtins.str] = None,
3018
3038
  color: typing.Optional[builtins.str] = None,
3019
3039
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
3040
+ id: typing.Optional[builtins.str] = None,
3020
3041
  label: typing.Optional[builtins.str] = None,
3021
3042
  period: typing.Optional[_Duration_4839e8c3] = None,
3022
3043
  region: typing.Optional[builtins.str] = None,
@@ -3024,6 +3045,7 @@ class ITopic(
3024
3045
  stack_region: typing.Optional[builtins.str] = None,
3025
3046
  statistic: typing.Optional[builtins.str] = None,
3026
3047
  unit: typing.Optional[_Unit_61bc6f70] = None,
3048
+ visible: typing.Optional[builtins.bool] = None,
3027
3049
  ) -> _Metric_e396a4dc:
3028
3050
  '''The number of messages that were rejected by subscription filter policies because the messages' attributes are invalid.
3029
3051
 
@@ -3032,6 +3054,7 @@ class ITopic(
3032
3054
  :param account: Account which this metric comes from. Default: - Deployment account.
3033
3055
  :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
3034
3056
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
3057
+ :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
3035
3058
  :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
3036
3059
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
3037
3060
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -3039,6 +3062,7 @@ class ITopic(
3039
3062
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
3040
3063
  :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
3041
3064
  :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
3065
+ :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
3042
3066
  '''
3043
3067
  ...
3044
3068
 
@@ -3049,6 +3073,7 @@ class ITopic(
3049
3073
  account: typing.Optional[builtins.str] = None,
3050
3074
  color: typing.Optional[builtins.str] = None,
3051
3075
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
3076
+ id: typing.Optional[builtins.str] = None,
3052
3077
  label: typing.Optional[builtins.str] = None,
3053
3078
  period: typing.Optional[_Duration_4839e8c3] = None,
3054
3079
  region: typing.Optional[builtins.str] = None,
@@ -3056,6 +3081,7 @@ class ITopic(
3056
3081
  stack_region: typing.Optional[builtins.str] = None,
3057
3082
  statistic: typing.Optional[builtins.str] = None,
3058
3083
  unit: typing.Optional[_Unit_61bc6f70] = None,
3084
+ visible: typing.Optional[builtins.bool] = None,
3059
3085
  ) -> _Metric_e396a4dc:
3060
3086
  '''The number of messages that were rejected by subscription filter policies because the messages have no attributes.
3061
3087
 
@@ -3064,6 +3090,7 @@ class ITopic(
3064
3090
  :param account: Account which this metric comes from. Default: - Deployment account.
3065
3091
  :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
3066
3092
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
3093
+ :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
3067
3094
  :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
3068
3095
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
3069
3096
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -3071,6 +3098,7 @@ class ITopic(
3071
3098
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
3072
3099
  :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
3073
3100
  :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
3101
+ :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
3074
3102
  '''
3075
3103
  ...
3076
3104
 
@@ -3081,6 +3109,7 @@ class ITopic(
3081
3109
  account: typing.Optional[builtins.str] = None,
3082
3110
  color: typing.Optional[builtins.str] = None,
3083
3111
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
3112
+ id: typing.Optional[builtins.str] = None,
3084
3113
  label: typing.Optional[builtins.str] = None,
3085
3114
  period: typing.Optional[_Duration_4839e8c3] = None,
3086
3115
  region: typing.Optional[builtins.str] = None,
@@ -3088,6 +3117,7 @@ class ITopic(
3088
3117
  stack_region: typing.Optional[builtins.str] = None,
3089
3118
  statistic: typing.Optional[builtins.str] = None,
3090
3119
  unit: typing.Optional[_Unit_61bc6f70] = None,
3120
+ visible: typing.Optional[builtins.bool] = None,
3091
3121
  ) -> _Metric_e396a4dc:
3092
3122
  '''Metric for the size of messages published through this topic.
3093
3123
 
@@ -3096,6 +3126,7 @@ class ITopic(
3096
3126
  :param account: Account which this metric comes from. Default: - Deployment account.
3097
3127
  :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
3098
3128
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
3129
+ :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
3099
3130
  :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
3100
3131
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
3101
3132
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -3103,6 +3134,7 @@ class ITopic(
3103
3134
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
3104
3135
  :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
3105
3136
  :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
3137
+ :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
3106
3138
  '''
3107
3139
  ...
3108
3140
 
@@ -3113,6 +3145,7 @@ class ITopic(
3113
3145
  account: typing.Optional[builtins.str] = None,
3114
3146
  color: typing.Optional[builtins.str] = None,
3115
3147
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
3148
+ id: typing.Optional[builtins.str] = None,
3116
3149
  label: typing.Optional[builtins.str] = None,
3117
3150
  period: typing.Optional[_Duration_4839e8c3] = None,
3118
3151
  region: typing.Optional[builtins.str] = None,
@@ -3120,6 +3153,7 @@ class ITopic(
3120
3153
  stack_region: typing.Optional[builtins.str] = None,
3121
3154
  statistic: typing.Optional[builtins.str] = None,
3122
3155
  unit: typing.Optional[_Unit_61bc6f70] = None,
3156
+ visible: typing.Optional[builtins.bool] = None,
3123
3157
  ) -> _Metric_e396a4dc:
3124
3158
  '''The charges you have accrued since the start of the current calendar month for sending SMS messages.
3125
3159
 
@@ -3128,6 +3162,7 @@ class ITopic(
3128
3162
  :param account: Account which this metric comes from. Default: - Deployment account.
3129
3163
  :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
3130
3164
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
3165
+ :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
3131
3166
  :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
3132
3167
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
3133
3168
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -3135,6 +3170,7 @@ class ITopic(
3135
3170
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
3136
3171
  :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
3137
3172
  :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
3173
+ :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
3138
3174
  '''
3139
3175
  ...
3140
3176
 
@@ -3145,6 +3181,7 @@ class ITopic(
3145
3181
  account: typing.Optional[builtins.str] = None,
3146
3182
  color: typing.Optional[builtins.str] = None,
3147
3183
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
3184
+ id: typing.Optional[builtins.str] = None,
3148
3185
  label: typing.Optional[builtins.str] = None,
3149
3186
  period: typing.Optional[_Duration_4839e8c3] = None,
3150
3187
  region: typing.Optional[builtins.str] = None,
@@ -3152,6 +3189,7 @@ class ITopic(
3152
3189
  stack_region: typing.Optional[builtins.str] = None,
3153
3190
  statistic: typing.Optional[builtins.str] = None,
3154
3191
  unit: typing.Optional[_Unit_61bc6f70] = None,
3192
+ visible: typing.Optional[builtins.bool] = None,
3155
3193
  ) -> _Metric_e396a4dc:
3156
3194
  '''The rate of successful SMS message deliveries.
3157
3195
 
@@ -3160,6 +3198,7 @@ class ITopic(
3160
3198
  :param account: Account which this metric comes from. Default: - Deployment account.
3161
3199
  :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
3162
3200
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
3201
+ :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
3163
3202
  :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
3164
3203
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
3165
3204
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -3167,6 +3206,7 @@ class ITopic(
3167
3206
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
3168
3207
  :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
3169
3208
  :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
3209
+ :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
3170
3210
  '''
3171
3211
  ...
3172
3212
 
@@ -3289,6 +3329,7 @@ class _ITopicProxy(
3289
3329
  account: typing.Optional[builtins.str] = None,
3290
3330
  color: typing.Optional[builtins.str] = None,
3291
3331
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
3332
+ id: typing.Optional[builtins.str] = None,
3292
3333
  label: typing.Optional[builtins.str] = None,
3293
3334
  period: typing.Optional[_Duration_4839e8c3] = None,
3294
3335
  region: typing.Optional[builtins.str] = None,
@@ -3296,6 +3337,7 @@ class _ITopicProxy(
3296
3337
  stack_region: typing.Optional[builtins.str] = None,
3297
3338
  statistic: typing.Optional[builtins.str] = None,
3298
3339
  unit: typing.Optional[_Unit_61bc6f70] = None,
3340
+ visible: typing.Optional[builtins.bool] = None,
3299
3341
  ) -> _Metric_e396a4dc:
3300
3342
  '''Return the given named metric for this Topic.
3301
3343
 
@@ -3303,6 +3345,7 @@ class _ITopicProxy(
3303
3345
  :param account: Account which this metric comes from. Default: - Deployment account.
3304
3346
  :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
3305
3347
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
3348
+ :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
3306
3349
  :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
3307
3350
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
3308
3351
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -3310,6 +3353,7 @@ class _ITopicProxy(
3310
3353
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
3311
3354
  :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
3312
3355
  :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
3356
+ :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
3313
3357
  '''
3314
3358
  if __debug__:
3315
3359
  type_hints = typing.get_type_hints(_typecheckingstub__05c3997edd40866d6774aed03c03e55b6cf80f23f518be34bcdf19adf065db7c)
@@ -3318,6 +3362,7 @@ class _ITopicProxy(
3318
3362
  account=account,
3319
3363
  color=color,
3320
3364
  dimensions_map=dimensions_map,
3365
+ id=id,
3321
3366
  label=label,
3322
3367
  period=period,
3323
3368
  region=region,
@@ -3325,6 +3370,7 @@ class _ITopicProxy(
3325
3370
  stack_region=stack_region,
3326
3371
  statistic=statistic,
3327
3372
  unit=unit,
3373
+ visible=visible,
3328
3374
  )
3329
3375
 
3330
3376
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metric", [metric_name, props]))
@@ -3336,6 +3382,7 @@ class _ITopicProxy(
3336
3382
  account: typing.Optional[builtins.str] = None,
3337
3383
  color: typing.Optional[builtins.str] = None,
3338
3384
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
3385
+ id: typing.Optional[builtins.str] = None,
3339
3386
  label: typing.Optional[builtins.str] = None,
3340
3387
  period: typing.Optional[_Duration_4839e8c3] = None,
3341
3388
  region: typing.Optional[builtins.str] = None,
@@ -3343,6 +3390,7 @@ class _ITopicProxy(
3343
3390
  stack_region: typing.Optional[builtins.str] = None,
3344
3391
  statistic: typing.Optional[builtins.str] = None,
3345
3392
  unit: typing.Optional[_Unit_61bc6f70] = None,
3393
+ visible: typing.Optional[builtins.bool] = None,
3346
3394
  ) -> _Metric_e396a4dc:
3347
3395
  '''The number of messages published to your Amazon SNS topics.
3348
3396
 
@@ -3351,6 +3399,7 @@ class _ITopicProxy(
3351
3399
  :param account: Account which this metric comes from. Default: - Deployment account.
3352
3400
  :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
3353
3401
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
3402
+ :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
3354
3403
  :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
3355
3404
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
3356
3405
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -3358,11 +3407,13 @@ class _ITopicProxy(
3358
3407
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
3359
3408
  :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
3360
3409
  :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
3410
+ :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
3361
3411
  '''
3362
3412
  props = _MetricOptions_1788b62f(
3363
3413
  account=account,
3364
3414
  color=color,
3365
3415
  dimensions_map=dimensions_map,
3416
+ id=id,
3366
3417
  label=label,
3367
3418
  period=period,
3368
3419
  region=region,
@@ -3370,6 +3421,7 @@ class _ITopicProxy(
3370
3421
  stack_region=stack_region,
3371
3422
  statistic=statistic,
3372
3423
  unit=unit,
3424
+ visible=visible,
3373
3425
  )
3374
3426
 
3375
3427
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricNumberOfMessagesPublished", [props]))
@@ -3381,6 +3433,7 @@ class _ITopicProxy(
3381
3433
  account: typing.Optional[builtins.str] = None,
3382
3434
  color: typing.Optional[builtins.str] = None,
3383
3435
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
3436
+ id: typing.Optional[builtins.str] = None,
3384
3437
  label: typing.Optional[builtins.str] = None,
3385
3438
  period: typing.Optional[_Duration_4839e8c3] = None,
3386
3439
  region: typing.Optional[builtins.str] = None,
@@ -3388,6 +3441,7 @@ class _ITopicProxy(
3388
3441
  stack_region: typing.Optional[builtins.str] = None,
3389
3442
  statistic: typing.Optional[builtins.str] = None,
3390
3443
  unit: typing.Optional[_Unit_61bc6f70] = None,
3444
+ visible: typing.Optional[builtins.bool] = None,
3391
3445
  ) -> _Metric_e396a4dc:
3392
3446
  '''The number of messages successfully delivered from your Amazon SNS topics to subscribing endpoints.
3393
3447
 
@@ -3396,6 +3450,7 @@ class _ITopicProxy(
3396
3450
  :param account: Account which this metric comes from. Default: - Deployment account.
3397
3451
  :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
3398
3452
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
3453
+ :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
3399
3454
  :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
3400
3455
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
3401
3456
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -3403,11 +3458,13 @@ class _ITopicProxy(
3403
3458
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
3404
3459
  :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
3405
3460
  :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
3461
+ :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
3406
3462
  '''
3407
3463
  props = _MetricOptions_1788b62f(
3408
3464
  account=account,
3409
3465
  color=color,
3410
3466
  dimensions_map=dimensions_map,
3467
+ id=id,
3411
3468
  label=label,
3412
3469
  period=period,
3413
3470
  region=region,
@@ -3415,6 +3472,7 @@ class _ITopicProxy(
3415
3472
  stack_region=stack_region,
3416
3473
  statistic=statistic,
3417
3474
  unit=unit,
3475
+ visible=visible,
3418
3476
  )
3419
3477
 
3420
3478
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricNumberOfNotificationsDelivered", [props]))
@@ -3426,6 +3484,7 @@ class _ITopicProxy(
3426
3484
  account: typing.Optional[builtins.str] = None,
3427
3485
  color: typing.Optional[builtins.str] = None,
3428
3486
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
3487
+ id: typing.Optional[builtins.str] = None,
3429
3488
  label: typing.Optional[builtins.str] = None,
3430
3489
  period: typing.Optional[_Duration_4839e8c3] = None,
3431
3490
  region: typing.Optional[builtins.str] = None,
@@ -3433,6 +3492,7 @@ class _ITopicProxy(
3433
3492
  stack_region: typing.Optional[builtins.str] = None,
3434
3493
  statistic: typing.Optional[builtins.str] = None,
3435
3494
  unit: typing.Optional[_Unit_61bc6f70] = None,
3495
+ visible: typing.Optional[builtins.bool] = None,
3436
3496
  ) -> _Metric_e396a4dc:
3437
3497
  '''The number of messages that Amazon SNS failed to deliver.
3438
3498
 
@@ -3441,6 +3501,7 @@ class _ITopicProxy(
3441
3501
  :param account: Account which this metric comes from. Default: - Deployment account.
3442
3502
  :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
3443
3503
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
3504
+ :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
3444
3505
  :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
3445
3506
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
3446
3507
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -3448,11 +3509,13 @@ class _ITopicProxy(
3448
3509
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
3449
3510
  :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
3450
3511
  :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
3512
+ :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
3451
3513
  '''
3452
3514
  props = _MetricOptions_1788b62f(
3453
3515
  account=account,
3454
3516
  color=color,
3455
3517
  dimensions_map=dimensions_map,
3518
+ id=id,
3456
3519
  label=label,
3457
3520
  period=period,
3458
3521
  region=region,
@@ -3460,6 +3523,7 @@ class _ITopicProxy(
3460
3523
  stack_region=stack_region,
3461
3524
  statistic=statistic,
3462
3525
  unit=unit,
3526
+ visible=visible,
3463
3527
  )
3464
3528
 
3465
3529
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricNumberOfNotificationsFailed", [props]))
@@ -3471,6 +3535,7 @@ class _ITopicProxy(
3471
3535
  account: typing.Optional[builtins.str] = None,
3472
3536
  color: typing.Optional[builtins.str] = None,
3473
3537
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
3538
+ id: typing.Optional[builtins.str] = None,
3474
3539
  label: typing.Optional[builtins.str] = None,
3475
3540
  period: typing.Optional[_Duration_4839e8c3] = None,
3476
3541
  region: typing.Optional[builtins.str] = None,
@@ -3478,6 +3543,7 @@ class _ITopicProxy(
3478
3543
  stack_region: typing.Optional[builtins.str] = None,
3479
3544
  statistic: typing.Optional[builtins.str] = None,
3480
3545
  unit: typing.Optional[_Unit_61bc6f70] = None,
3546
+ visible: typing.Optional[builtins.bool] = None,
3481
3547
  ) -> _Metric_e396a4dc:
3482
3548
  '''The number of messages that were rejected by subscription filter policies.
3483
3549
 
@@ -3486,6 +3552,7 @@ class _ITopicProxy(
3486
3552
  :param account: Account which this metric comes from. Default: - Deployment account.
3487
3553
  :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
3488
3554
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
3555
+ :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
3489
3556
  :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
3490
3557
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
3491
3558
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -3493,11 +3560,13 @@ class _ITopicProxy(
3493
3560
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
3494
3561
  :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
3495
3562
  :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
3563
+ :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
3496
3564
  '''
3497
3565
  props = _MetricOptions_1788b62f(
3498
3566
  account=account,
3499
3567
  color=color,
3500
3568
  dimensions_map=dimensions_map,
3569
+ id=id,
3501
3570
  label=label,
3502
3571
  period=period,
3503
3572
  region=region,
@@ -3505,6 +3574,7 @@ class _ITopicProxy(
3505
3574
  stack_region=stack_region,
3506
3575
  statistic=statistic,
3507
3576
  unit=unit,
3577
+ visible=visible,
3508
3578
  )
3509
3579
 
3510
3580
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricNumberOfNotificationsFilteredOut", [props]))
@@ -3516,6 +3586,7 @@ class _ITopicProxy(
3516
3586
  account: typing.Optional[builtins.str] = None,
3517
3587
  color: typing.Optional[builtins.str] = None,
3518
3588
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
3589
+ id: typing.Optional[builtins.str] = None,
3519
3590
  label: typing.Optional[builtins.str] = None,
3520
3591
  period: typing.Optional[_Duration_4839e8c3] = None,
3521
3592
  region: typing.Optional[builtins.str] = None,
@@ -3523,6 +3594,7 @@ class _ITopicProxy(
3523
3594
  stack_region: typing.Optional[builtins.str] = None,
3524
3595
  statistic: typing.Optional[builtins.str] = None,
3525
3596
  unit: typing.Optional[_Unit_61bc6f70] = None,
3597
+ visible: typing.Optional[builtins.bool] = None,
3526
3598
  ) -> _Metric_e396a4dc:
3527
3599
  '''The number of messages that were rejected by subscription filter policies because the messages' attributes are invalid.
3528
3600
 
@@ -3531,6 +3603,7 @@ class _ITopicProxy(
3531
3603
  :param account: Account which this metric comes from. Default: - Deployment account.
3532
3604
  :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
3533
3605
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
3606
+ :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
3534
3607
  :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
3535
3608
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
3536
3609
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -3538,11 +3611,13 @@ class _ITopicProxy(
3538
3611
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
3539
3612
  :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
3540
3613
  :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
3614
+ :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
3541
3615
  '''
3542
3616
  props = _MetricOptions_1788b62f(
3543
3617
  account=account,
3544
3618
  color=color,
3545
3619
  dimensions_map=dimensions_map,
3620
+ id=id,
3546
3621
  label=label,
3547
3622
  period=period,
3548
3623
  region=region,
@@ -3550,6 +3625,7 @@ class _ITopicProxy(
3550
3625
  stack_region=stack_region,
3551
3626
  statistic=statistic,
3552
3627
  unit=unit,
3628
+ visible=visible,
3553
3629
  )
3554
3630
 
3555
3631
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricNumberOfNotificationsFilteredOutInvalidAttributes", [props]))
@@ -3561,6 +3637,7 @@ class _ITopicProxy(
3561
3637
  account: typing.Optional[builtins.str] = None,
3562
3638
  color: typing.Optional[builtins.str] = None,
3563
3639
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
3640
+ id: typing.Optional[builtins.str] = None,
3564
3641
  label: typing.Optional[builtins.str] = None,
3565
3642
  period: typing.Optional[_Duration_4839e8c3] = None,
3566
3643
  region: typing.Optional[builtins.str] = None,
@@ -3568,6 +3645,7 @@ class _ITopicProxy(
3568
3645
  stack_region: typing.Optional[builtins.str] = None,
3569
3646
  statistic: typing.Optional[builtins.str] = None,
3570
3647
  unit: typing.Optional[_Unit_61bc6f70] = None,
3648
+ visible: typing.Optional[builtins.bool] = None,
3571
3649
  ) -> _Metric_e396a4dc:
3572
3650
  '''The number of messages that were rejected by subscription filter policies because the messages have no attributes.
3573
3651
 
@@ -3576,6 +3654,7 @@ class _ITopicProxy(
3576
3654
  :param account: Account which this metric comes from. Default: - Deployment account.
3577
3655
  :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
3578
3656
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
3657
+ :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
3579
3658
  :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
3580
3659
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
3581
3660
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -3583,11 +3662,13 @@ class _ITopicProxy(
3583
3662
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
3584
3663
  :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
3585
3664
  :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
3665
+ :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
3586
3666
  '''
3587
3667
  props = _MetricOptions_1788b62f(
3588
3668
  account=account,
3589
3669
  color=color,
3590
3670
  dimensions_map=dimensions_map,
3671
+ id=id,
3591
3672
  label=label,
3592
3673
  period=period,
3593
3674
  region=region,
@@ -3595,6 +3676,7 @@ class _ITopicProxy(
3595
3676
  stack_region=stack_region,
3596
3677
  statistic=statistic,
3597
3678
  unit=unit,
3679
+ visible=visible,
3598
3680
  )
3599
3681
 
3600
3682
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricNumberOfNotificationsFilteredOutNoMessageAttributes", [props]))
@@ -3606,6 +3688,7 @@ class _ITopicProxy(
3606
3688
  account: typing.Optional[builtins.str] = None,
3607
3689
  color: typing.Optional[builtins.str] = None,
3608
3690
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
3691
+ id: typing.Optional[builtins.str] = None,
3609
3692
  label: typing.Optional[builtins.str] = None,
3610
3693
  period: typing.Optional[_Duration_4839e8c3] = None,
3611
3694
  region: typing.Optional[builtins.str] = None,
@@ -3613,6 +3696,7 @@ class _ITopicProxy(
3613
3696
  stack_region: typing.Optional[builtins.str] = None,
3614
3697
  statistic: typing.Optional[builtins.str] = None,
3615
3698
  unit: typing.Optional[_Unit_61bc6f70] = None,
3699
+ visible: typing.Optional[builtins.bool] = None,
3616
3700
  ) -> _Metric_e396a4dc:
3617
3701
  '''Metric for the size of messages published through this topic.
3618
3702
 
@@ -3621,6 +3705,7 @@ class _ITopicProxy(
3621
3705
  :param account: Account which this metric comes from. Default: - Deployment account.
3622
3706
  :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
3623
3707
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
3708
+ :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
3624
3709
  :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
3625
3710
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
3626
3711
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -3628,11 +3713,13 @@ class _ITopicProxy(
3628
3713
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
3629
3714
  :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
3630
3715
  :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
3716
+ :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
3631
3717
  '''
3632
3718
  props = _MetricOptions_1788b62f(
3633
3719
  account=account,
3634
3720
  color=color,
3635
3721
  dimensions_map=dimensions_map,
3722
+ id=id,
3636
3723
  label=label,
3637
3724
  period=period,
3638
3725
  region=region,
@@ -3640,6 +3727,7 @@ class _ITopicProxy(
3640
3727
  stack_region=stack_region,
3641
3728
  statistic=statistic,
3642
3729
  unit=unit,
3730
+ visible=visible,
3643
3731
  )
3644
3732
 
3645
3733
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPublishSize", [props]))
@@ -3651,6 +3739,7 @@ class _ITopicProxy(
3651
3739
  account: typing.Optional[builtins.str] = None,
3652
3740
  color: typing.Optional[builtins.str] = None,
3653
3741
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
3742
+ id: typing.Optional[builtins.str] = None,
3654
3743
  label: typing.Optional[builtins.str] = None,
3655
3744
  period: typing.Optional[_Duration_4839e8c3] = None,
3656
3745
  region: typing.Optional[builtins.str] = None,
@@ -3658,6 +3747,7 @@ class _ITopicProxy(
3658
3747
  stack_region: typing.Optional[builtins.str] = None,
3659
3748
  statistic: typing.Optional[builtins.str] = None,
3660
3749
  unit: typing.Optional[_Unit_61bc6f70] = None,
3750
+ visible: typing.Optional[builtins.bool] = None,
3661
3751
  ) -> _Metric_e396a4dc:
3662
3752
  '''The charges you have accrued since the start of the current calendar month for sending SMS messages.
3663
3753
 
@@ -3666,6 +3756,7 @@ class _ITopicProxy(
3666
3756
  :param account: Account which this metric comes from. Default: - Deployment account.
3667
3757
  :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
3668
3758
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
3759
+ :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
3669
3760
  :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
3670
3761
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
3671
3762
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -3673,11 +3764,13 @@ class _ITopicProxy(
3673
3764
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
3674
3765
  :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
3675
3766
  :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
3767
+ :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
3676
3768
  '''
3677
3769
  props = _MetricOptions_1788b62f(
3678
3770
  account=account,
3679
3771
  color=color,
3680
3772
  dimensions_map=dimensions_map,
3773
+ id=id,
3681
3774
  label=label,
3682
3775
  period=period,
3683
3776
  region=region,
@@ -3685,6 +3778,7 @@ class _ITopicProxy(
3685
3778
  stack_region=stack_region,
3686
3779
  statistic=statistic,
3687
3780
  unit=unit,
3781
+ visible=visible,
3688
3782
  )
3689
3783
 
3690
3784
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricSMSMonthToDateSpentUSD", [props]))
@@ -3696,6 +3790,7 @@ class _ITopicProxy(
3696
3790
  account: typing.Optional[builtins.str] = None,
3697
3791
  color: typing.Optional[builtins.str] = None,
3698
3792
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
3793
+ id: typing.Optional[builtins.str] = None,
3699
3794
  label: typing.Optional[builtins.str] = None,
3700
3795
  period: typing.Optional[_Duration_4839e8c3] = None,
3701
3796
  region: typing.Optional[builtins.str] = None,
@@ -3703,6 +3798,7 @@ class _ITopicProxy(
3703
3798
  stack_region: typing.Optional[builtins.str] = None,
3704
3799
  statistic: typing.Optional[builtins.str] = None,
3705
3800
  unit: typing.Optional[_Unit_61bc6f70] = None,
3801
+ visible: typing.Optional[builtins.bool] = None,
3706
3802
  ) -> _Metric_e396a4dc:
3707
3803
  '''The rate of successful SMS message deliveries.
3708
3804
 
@@ -3711,6 +3807,7 @@ class _ITopicProxy(
3711
3807
  :param account: Account which this metric comes from. Default: - Deployment account.
3712
3808
  :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
3713
3809
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
3810
+ :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
3714
3811
  :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
3715
3812
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
3716
3813
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -3718,11 +3815,13 @@ class _ITopicProxy(
3718
3815
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
3719
3816
  :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
3720
3817
  :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
3818
+ :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
3721
3819
  '''
3722
3820
  props = _MetricOptions_1788b62f(
3723
3821
  account=account,
3724
3822
  color=color,
3725
3823
  dimensions_map=dimensions_map,
3824
+ id=id,
3726
3825
  label=label,
3727
3826
  period=period,
3728
3827
  region=region,
@@ -3730,6 +3829,7 @@ class _ITopicProxy(
3730
3829
  stack_region=stack_region,
3731
3830
  statistic=statistic,
3732
3831
  unit=unit,
3832
+ visible=visible,
3733
3833
  )
3734
3834
 
3735
3835
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricSMSSuccessRate", [props]))
@@ -5308,6 +5408,7 @@ class TopicBase(
5308
5408
  account: typing.Optional[builtins.str] = None,
5309
5409
  color: typing.Optional[builtins.str] = None,
5310
5410
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
5411
+ id: typing.Optional[builtins.str] = None,
5311
5412
  label: typing.Optional[builtins.str] = None,
5312
5413
  period: typing.Optional[_Duration_4839e8c3] = None,
5313
5414
  region: typing.Optional[builtins.str] = None,
@@ -5315,6 +5416,7 @@ class TopicBase(
5315
5416
  stack_region: typing.Optional[builtins.str] = None,
5316
5417
  statistic: typing.Optional[builtins.str] = None,
5317
5418
  unit: typing.Optional[_Unit_61bc6f70] = None,
5419
+ visible: typing.Optional[builtins.bool] = None,
5318
5420
  ) -> _Metric_e396a4dc:
5319
5421
  '''Return the given named metric for this Topic.
5320
5422
 
@@ -5322,6 +5424,7 @@ class TopicBase(
5322
5424
  :param account: Account which this metric comes from. Default: - Deployment account.
5323
5425
  :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
5324
5426
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
5427
+ :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
5325
5428
  :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
5326
5429
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
5327
5430
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -5329,6 +5432,7 @@ class TopicBase(
5329
5432
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
5330
5433
  :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
5331
5434
  :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
5435
+ :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
5332
5436
  '''
5333
5437
  if __debug__:
5334
5438
  type_hints = typing.get_type_hints(_typecheckingstub__b07969d7a2c71869715d0fe87d9b0d9d67f663ddecc9d81d353ba532fdaa3b8d)
@@ -5337,6 +5441,7 @@ class TopicBase(
5337
5441
  account=account,
5338
5442
  color=color,
5339
5443
  dimensions_map=dimensions_map,
5444
+ id=id,
5340
5445
  label=label,
5341
5446
  period=period,
5342
5447
  region=region,
@@ -5344,6 +5449,7 @@ class TopicBase(
5344
5449
  stack_region=stack_region,
5345
5450
  statistic=statistic,
5346
5451
  unit=unit,
5452
+ visible=visible,
5347
5453
  )
5348
5454
 
5349
5455
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metric", [metric_name, props]))
@@ -5355,6 +5461,7 @@ class TopicBase(
5355
5461
  account: typing.Optional[builtins.str] = None,
5356
5462
  color: typing.Optional[builtins.str] = None,
5357
5463
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
5464
+ id: typing.Optional[builtins.str] = None,
5358
5465
  label: typing.Optional[builtins.str] = None,
5359
5466
  period: typing.Optional[_Duration_4839e8c3] = None,
5360
5467
  region: typing.Optional[builtins.str] = None,
@@ -5362,6 +5469,7 @@ class TopicBase(
5362
5469
  stack_region: typing.Optional[builtins.str] = None,
5363
5470
  statistic: typing.Optional[builtins.str] = None,
5364
5471
  unit: typing.Optional[_Unit_61bc6f70] = None,
5472
+ visible: typing.Optional[builtins.bool] = None,
5365
5473
  ) -> _Metric_e396a4dc:
5366
5474
  '''The number of messages published to your Amazon SNS topics.
5367
5475
 
@@ -5370,6 +5478,7 @@ class TopicBase(
5370
5478
  :param account: Account which this metric comes from. Default: - Deployment account.
5371
5479
  :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
5372
5480
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
5481
+ :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
5373
5482
  :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
5374
5483
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
5375
5484
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -5377,11 +5486,13 @@ class TopicBase(
5377
5486
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
5378
5487
  :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
5379
5488
  :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
5489
+ :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
5380
5490
  '''
5381
5491
  props = _MetricOptions_1788b62f(
5382
5492
  account=account,
5383
5493
  color=color,
5384
5494
  dimensions_map=dimensions_map,
5495
+ id=id,
5385
5496
  label=label,
5386
5497
  period=period,
5387
5498
  region=region,
@@ -5389,6 +5500,7 @@ class TopicBase(
5389
5500
  stack_region=stack_region,
5390
5501
  statistic=statistic,
5391
5502
  unit=unit,
5503
+ visible=visible,
5392
5504
  )
5393
5505
 
5394
5506
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricNumberOfMessagesPublished", [props]))
@@ -5400,6 +5512,7 @@ class TopicBase(
5400
5512
  account: typing.Optional[builtins.str] = None,
5401
5513
  color: typing.Optional[builtins.str] = None,
5402
5514
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
5515
+ id: typing.Optional[builtins.str] = None,
5403
5516
  label: typing.Optional[builtins.str] = None,
5404
5517
  period: typing.Optional[_Duration_4839e8c3] = None,
5405
5518
  region: typing.Optional[builtins.str] = None,
@@ -5407,6 +5520,7 @@ class TopicBase(
5407
5520
  stack_region: typing.Optional[builtins.str] = None,
5408
5521
  statistic: typing.Optional[builtins.str] = None,
5409
5522
  unit: typing.Optional[_Unit_61bc6f70] = None,
5523
+ visible: typing.Optional[builtins.bool] = None,
5410
5524
  ) -> _Metric_e396a4dc:
5411
5525
  '''The number of messages successfully delivered from your Amazon SNS topics to subscribing endpoints.
5412
5526
 
@@ -5415,6 +5529,7 @@ class TopicBase(
5415
5529
  :param account: Account which this metric comes from. Default: - Deployment account.
5416
5530
  :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
5417
5531
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
5532
+ :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
5418
5533
  :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
5419
5534
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
5420
5535
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -5422,11 +5537,13 @@ class TopicBase(
5422
5537
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
5423
5538
  :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
5424
5539
  :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
5540
+ :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
5425
5541
  '''
5426
5542
  props = _MetricOptions_1788b62f(
5427
5543
  account=account,
5428
5544
  color=color,
5429
5545
  dimensions_map=dimensions_map,
5546
+ id=id,
5430
5547
  label=label,
5431
5548
  period=period,
5432
5549
  region=region,
@@ -5434,6 +5551,7 @@ class TopicBase(
5434
5551
  stack_region=stack_region,
5435
5552
  statistic=statistic,
5436
5553
  unit=unit,
5554
+ visible=visible,
5437
5555
  )
5438
5556
 
5439
5557
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricNumberOfNotificationsDelivered", [props]))
@@ -5445,6 +5563,7 @@ class TopicBase(
5445
5563
  account: typing.Optional[builtins.str] = None,
5446
5564
  color: typing.Optional[builtins.str] = None,
5447
5565
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
5566
+ id: typing.Optional[builtins.str] = None,
5448
5567
  label: typing.Optional[builtins.str] = None,
5449
5568
  period: typing.Optional[_Duration_4839e8c3] = None,
5450
5569
  region: typing.Optional[builtins.str] = None,
@@ -5452,6 +5571,7 @@ class TopicBase(
5452
5571
  stack_region: typing.Optional[builtins.str] = None,
5453
5572
  statistic: typing.Optional[builtins.str] = None,
5454
5573
  unit: typing.Optional[_Unit_61bc6f70] = None,
5574
+ visible: typing.Optional[builtins.bool] = None,
5455
5575
  ) -> _Metric_e396a4dc:
5456
5576
  '''The number of messages that Amazon SNS failed to deliver.
5457
5577
 
@@ -5460,6 +5580,7 @@ class TopicBase(
5460
5580
  :param account: Account which this metric comes from. Default: - Deployment account.
5461
5581
  :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
5462
5582
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
5583
+ :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
5463
5584
  :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
5464
5585
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
5465
5586
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -5467,11 +5588,13 @@ class TopicBase(
5467
5588
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
5468
5589
  :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
5469
5590
  :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
5591
+ :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
5470
5592
  '''
5471
5593
  props = _MetricOptions_1788b62f(
5472
5594
  account=account,
5473
5595
  color=color,
5474
5596
  dimensions_map=dimensions_map,
5597
+ id=id,
5475
5598
  label=label,
5476
5599
  period=period,
5477
5600
  region=region,
@@ -5479,6 +5602,7 @@ class TopicBase(
5479
5602
  stack_region=stack_region,
5480
5603
  statistic=statistic,
5481
5604
  unit=unit,
5605
+ visible=visible,
5482
5606
  )
5483
5607
 
5484
5608
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricNumberOfNotificationsFailed", [props]))
@@ -5490,6 +5614,7 @@ class TopicBase(
5490
5614
  account: typing.Optional[builtins.str] = None,
5491
5615
  color: typing.Optional[builtins.str] = None,
5492
5616
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
5617
+ id: typing.Optional[builtins.str] = None,
5493
5618
  label: typing.Optional[builtins.str] = None,
5494
5619
  period: typing.Optional[_Duration_4839e8c3] = None,
5495
5620
  region: typing.Optional[builtins.str] = None,
@@ -5497,6 +5622,7 @@ class TopicBase(
5497
5622
  stack_region: typing.Optional[builtins.str] = None,
5498
5623
  statistic: typing.Optional[builtins.str] = None,
5499
5624
  unit: typing.Optional[_Unit_61bc6f70] = None,
5625
+ visible: typing.Optional[builtins.bool] = None,
5500
5626
  ) -> _Metric_e396a4dc:
5501
5627
  '''The number of messages that were rejected by subscription filter policies.
5502
5628
 
@@ -5505,6 +5631,7 @@ class TopicBase(
5505
5631
  :param account: Account which this metric comes from. Default: - Deployment account.
5506
5632
  :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
5507
5633
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
5634
+ :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
5508
5635
  :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
5509
5636
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
5510
5637
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -5512,11 +5639,13 @@ class TopicBase(
5512
5639
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
5513
5640
  :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
5514
5641
  :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
5642
+ :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
5515
5643
  '''
5516
5644
  props = _MetricOptions_1788b62f(
5517
5645
  account=account,
5518
5646
  color=color,
5519
5647
  dimensions_map=dimensions_map,
5648
+ id=id,
5520
5649
  label=label,
5521
5650
  period=period,
5522
5651
  region=region,
@@ -5524,6 +5653,7 @@ class TopicBase(
5524
5653
  stack_region=stack_region,
5525
5654
  statistic=statistic,
5526
5655
  unit=unit,
5656
+ visible=visible,
5527
5657
  )
5528
5658
 
5529
5659
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricNumberOfNotificationsFilteredOut", [props]))
@@ -5535,6 +5665,7 @@ class TopicBase(
5535
5665
  account: typing.Optional[builtins.str] = None,
5536
5666
  color: typing.Optional[builtins.str] = None,
5537
5667
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
5668
+ id: typing.Optional[builtins.str] = None,
5538
5669
  label: typing.Optional[builtins.str] = None,
5539
5670
  period: typing.Optional[_Duration_4839e8c3] = None,
5540
5671
  region: typing.Optional[builtins.str] = None,
@@ -5542,6 +5673,7 @@ class TopicBase(
5542
5673
  stack_region: typing.Optional[builtins.str] = None,
5543
5674
  statistic: typing.Optional[builtins.str] = None,
5544
5675
  unit: typing.Optional[_Unit_61bc6f70] = None,
5676
+ visible: typing.Optional[builtins.bool] = None,
5545
5677
  ) -> _Metric_e396a4dc:
5546
5678
  '''The number of messages that were rejected by subscription filter policies because the messages' attributes are invalid.
5547
5679
 
@@ -5550,6 +5682,7 @@ class TopicBase(
5550
5682
  :param account: Account which this metric comes from. Default: - Deployment account.
5551
5683
  :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
5552
5684
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
5685
+ :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
5553
5686
  :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
5554
5687
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
5555
5688
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -5557,11 +5690,13 @@ class TopicBase(
5557
5690
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
5558
5691
  :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
5559
5692
  :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
5693
+ :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
5560
5694
  '''
5561
5695
  props = _MetricOptions_1788b62f(
5562
5696
  account=account,
5563
5697
  color=color,
5564
5698
  dimensions_map=dimensions_map,
5699
+ id=id,
5565
5700
  label=label,
5566
5701
  period=period,
5567
5702
  region=region,
@@ -5569,6 +5704,7 @@ class TopicBase(
5569
5704
  stack_region=stack_region,
5570
5705
  statistic=statistic,
5571
5706
  unit=unit,
5707
+ visible=visible,
5572
5708
  )
5573
5709
 
5574
5710
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricNumberOfNotificationsFilteredOutInvalidAttributes", [props]))
@@ -5580,6 +5716,7 @@ class TopicBase(
5580
5716
  account: typing.Optional[builtins.str] = None,
5581
5717
  color: typing.Optional[builtins.str] = None,
5582
5718
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
5719
+ id: typing.Optional[builtins.str] = None,
5583
5720
  label: typing.Optional[builtins.str] = None,
5584
5721
  period: typing.Optional[_Duration_4839e8c3] = None,
5585
5722
  region: typing.Optional[builtins.str] = None,
@@ -5587,6 +5724,7 @@ class TopicBase(
5587
5724
  stack_region: typing.Optional[builtins.str] = None,
5588
5725
  statistic: typing.Optional[builtins.str] = None,
5589
5726
  unit: typing.Optional[_Unit_61bc6f70] = None,
5727
+ visible: typing.Optional[builtins.bool] = None,
5590
5728
  ) -> _Metric_e396a4dc:
5591
5729
  '''The number of messages that were rejected by subscription filter policies because the messages have no attributes.
5592
5730
 
@@ -5595,6 +5733,7 @@ class TopicBase(
5595
5733
  :param account: Account which this metric comes from. Default: - Deployment account.
5596
5734
  :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
5597
5735
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
5736
+ :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
5598
5737
  :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
5599
5738
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
5600
5739
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -5602,11 +5741,13 @@ class TopicBase(
5602
5741
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
5603
5742
  :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
5604
5743
  :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
5744
+ :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
5605
5745
  '''
5606
5746
  props = _MetricOptions_1788b62f(
5607
5747
  account=account,
5608
5748
  color=color,
5609
5749
  dimensions_map=dimensions_map,
5750
+ id=id,
5610
5751
  label=label,
5611
5752
  period=period,
5612
5753
  region=region,
@@ -5614,6 +5755,7 @@ class TopicBase(
5614
5755
  stack_region=stack_region,
5615
5756
  statistic=statistic,
5616
5757
  unit=unit,
5758
+ visible=visible,
5617
5759
  )
5618
5760
 
5619
5761
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricNumberOfNotificationsFilteredOutNoMessageAttributes", [props]))
@@ -5625,6 +5767,7 @@ class TopicBase(
5625
5767
  account: typing.Optional[builtins.str] = None,
5626
5768
  color: typing.Optional[builtins.str] = None,
5627
5769
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
5770
+ id: typing.Optional[builtins.str] = None,
5628
5771
  label: typing.Optional[builtins.str] = None,
5629
5772
  period: typing.Optional[_Duration_4839e8c3] = None,
5630
5773
  region: typing.Optional[builtins.str] = None,
@@ -5632,6 +5775,7 @@ class TopicBase(
5632
5775
  stack_region: typing.Optional[builtins.str] = None,
5633
5776
  statistic: typing.Optional[builtins.str] = None,
5634
5777
  unit: typing.Optional[_Unit_61bc6f70] = None,
5778
+ visible: typing.Optional[builtins.bool] = None,
5635
5779
  ) -> _Metric_e396a4dc:
5636
5780
  '''Metric for the size of messages published through this topic.
5637
5781
 
@@ -5640,6 +5784,7 @@ class TopicBase(
5640
5784
  :param account: Account which this metric comes from. Default: - Deployment account.
5641
5785
  :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
5642
5786
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
5787
+ :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
5643
5788
  :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
5644
5789
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
5645
5790
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -5647,11 +5792,13 @@ class TopicBase(
5647
5792
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
5648
5793
  :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
5649
5794
  :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
5795
+ :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
5650
5796
  '''
5651
5797
  props = _MetricOptions_1788b62f(
5652
5798
  account=account,
5653
5799
  color=color,
5654
5800
  dimensions_map=dimensions_map,
5801
+ id=id,
5655
5802
  label=label,
5656
5803
  period=period,
5657
5804
  region=region,
@@ -5659,6 +5806,7 @@ class TopicBase(
5659
5806
  stack_region=stack_region,
5660
5807
  statistic=statistic,
5661
5808
  unit=unit,
5809
+ visible=visible,
5662
5810
  )
5663
5811
 
5664
5812
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricPublishSize", [props]))
@@ -5670,6 +5818,7 @@ class TopicBase(
5670
5818
  account: typing.Optional[builtins.str] = None,
5671
5819
  color: typing.Optional[builtins.str] = None,
5672
5820
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
5821
+ id: typing.Optional[builtins.str] = None,
5673
5822
  label: typing.Optional[builtins.str] = None,
5674
5823
  period: typing.Optional[_Duration_4839e8c3] = None,
5675
5824
  region: typing.Optional[builtins.str] = None,
@@ -5677,6 +5826,7 @@ class TopicBase(
5677
5826
  stack_region: typing.Optional[builtins.str] = None,
5678
5827
  statistic: typing.Optional[builtins.str] = None,
5679
5828
  unit: typing.Optional[_Unit_61bc6f70] = None,
5829
+ visible: typing.Optional[builtins.bool] = None,
5680
5830
  ) -> _Metric_e396a4dc:
5681
5831
  '''The charges you have accrued since the start of the current calendar month for sending SMS messages.
5682
5832
 
@@ -5685,6 +5835,7 @@ class TopicBase(
5685
5835
  :param account: Account which this metric comes from. Default: - Deployment account.
5686
5836
  :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
5687
5837
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
5838
+ :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
5688
5839
  :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
5689
5840
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
5690
5841
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -5692,11 +5843,13 @@ class TopicBase(
5692
5843
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
5693
5844
  :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
5694
5845
  :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
5846
+ :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
5695
5847
  '''
5696
5848
  props = _MetricOptions_1788b62f(
5697
5849
  account=account,
5698
5850
  color=color,
5699
5851
  dimensions_map=dimensions_map,
5852
+ id=id,
5700
5853
  label=label,
5701
5854
  period=period,
5702
5855
  region=region,
@@ -5704,6 +5857,7 @@ class TopicBase(
5704
5857
  stack_region=stack_region,
5705
5858
  statistic=statistic,
5706
5859
  unit=unit,
5860
+ visible=visible,
5707
5861
  )
5708
5862
 
5709
5863
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricSMSMonthToDateSpentUSD", [props]))
@@ -5715,6 +5869,7 @@ class TopicBase(
5715
5869
  account: typing.Optional[builtins.str] = None,
5716
5870
  color: typing.Optional[builtins.str] = None,
5717
5871
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
5872
+ id: typing.Optional[builtins.str] = None,
5718
5873
  label: typing.Optional[builtins.str] = None,
5719
5874
  period: typing.Optional[_Duration_4839e8c3] = None,
5720
5875
  region: typing.Optional[builtins.str] = None,
@@ -5722,6 +5877,7 @@ class TopicBase(
5722
5877
  stack_region: typing.Optional[builtins.str] = None,
5723
5878
  statistic: typing.Optional[builtins.str] = None,
5724
5879
  unit: typing.Optional[_Unit_61bc6f70] = None,
5880
+ visible: typing.Optional[builtins.bool] = None,
5725
5881
  ) -> _Metric_e396a4dc:
5726
5882
  '''The rate of successful SMS message deliveries.
5727
5883
 
@@ -5730,6 +5886,7 @@ class TopicBase(
5730
5886
  :param account: Account which this metric comes from. Default: - Deployment account.
5731
5887
  :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
5732
5888
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
5889
+ :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
5733
5890
  :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
5734
5891
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
5735
5892
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -5737,11 +5894,13 @@ class TopicBase(
5737
5894
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
5738
5895
  :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
5739
5896
  :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
5897
+ :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
5740
5898
  '''
5741
5899
  props = _MetricOptions_1788b62f(
5742
5900
  account=account,
5743
5901
  color=color,
5744
5902
  dimensions_map=dimensions_map,
5903
+ id=id,
5745
5904
  label=label,
5746
5905
  period=period,
5747
5906
  region=region,
@@ -5749,6 +5908,7 @@ class TopicBase(
5749
5908
  stack_region=stack_region,
5750
5909
  statistic=statistic,
5751
5910
  unit=unit,
5911
+ visible=visible,
5752
5912
  )
5753
5913
 
5754
5914
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricSMSSuccessRate", [props]))
@@ -7306,6 +7466,7 @@ def _typecheckingstub__05c3997edd40866d6774aed03c03e55b6cf80f23f518be34bcdf19adf
7306
7466
  account: typing.Optional[builtins.str] = None,
7307
7467
  color: typing.Optional[builtins.str] = None,
7308
7468
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
7469
+ id: typing.Optional[builtins.str] = None,
7309
7470
  label: typing.Optional[builtins.str] = None,
7310
7471
  period: typing.Optional[_Duration_4839e8c3] = None,
7311
7472
  region: typing.Optional[builtins.str] = None,
@@ -7313,6 +7474,7 @@ def _typecheckingstub__05c3997edd40866d6774aed03c03e55b6cf80f23f518be34bcdf19adf
7313
7474
  stack_region: typing.Optional[builtins.str] = None,
7314
7475
  statistic: typing.Optional[builtins.str] = None,
7315
7476
  unit: typing.Optional[_Unit_61bc6f70] = None,
7477
+ visible: typing.Optional[builtins.bool] = None,
7316
7478
  ) -> None:
7317
7479
  """Type checking stubs"""
7318
7480
  pass
@@ -7488,6 +7650,7 @@ def _typecheckingstub__b07969d7a2c71869715d0fe87d9b0d9d67f663ddecc9d81d353ba532f
7488
7650
  account: typing.Optional[builtins.str] = None,
7489
7651
  color: typing.Optional[builtins.str] = None,
7490
7652
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
7653
+ id: typing.Optional[builtins.str] = None,
7491
7654
  label: typing.Optional[builtins.str] = None,
7492
7655
  period: typing.Optional[_Duration_4839e8c3] = None,
7493
7656
  region: typing.Optional[builtins.str] = None,
@@ -7495,6 +7658,7 @@ def _typecheckingstub__b07969d7a2c71869715d0fe87d9b0d9d67f663ddecc9d81d353ba532f
7495
7658
  stack_region: typing.Optional[builtins.str] = None,
7496
7659
  statistic: typing.Optional[builtins.str] = None,
7497
7660
  unit: typing.Optional[_Unit_61bc6f70] = None,
7661
+ visible: typing.Optional[builtins.bool] = None,
7498
7662
  ) -> None:
7499
7663
  """Type checking stubs"""
7500
7664
  pass