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.
- aws_cdk/__init__.py +38 -0
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.203.0.jsii.tgz → aws-cdk-lib@2.204.0.jsii.tgz} +0 -0
- aws_cdk/aws_apigateway/__init__.py +164 -0
- aws_cdk/aws_apigatewayv2/__init__.py +412 -0
- aws_cdk/aws_certificatemanager/__init__.py +28 -0
- aws_cdk/aws_chatbot/__init__.py +28 -0
- aws_cdk/aws_cloudfront/__init__.py +92 -0
- aws_cdk/aws_cloudfront/experimental/__init__.py +32 -0
- aws_cdk/aws_cloudwatch/__init__.py +217 -23
- aws_cdk/aws_codebuild/__init__.py +84 -0
- aws_cdk/aws_dynamodb/__init__.py +316 -2
- aws_cdk/aws_ec2/__init__.py +94 -0
- aws_cdk/aws_ecs/__init__.py +52 -0
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +724 -0
- aws_cdk/aws_elasticsearch/__init__.py +260 -0
- aws_cdk/aws_kinesis/__init__.py +324 -0
- aws_cdk/aws_kinesisfirehose/__init__.py +100 -0
- aws_cdk/aws_lambda/__init__.py +144 -0
- aws_cdk/aws_logs/__init__.py +58 -0
- aws_cdk/aws_opensearchservice/__init__.py +260 -0
- aws_cdk/aws_rds/__init__.py +384 -0
- aws_cdk/aws_scheduler/__init__.py +210 -0
- aws_cdk/aws_sns/__init__.py +164 -0
- aws_cdk/aws_sqs/__init__.py +164 -0
- aws_cdk/aws_stepfunctions/__init__.py +288 -0
- aws_cdk/aws_synthetics/__init__.py +18 -0
- {aws_cdk_lib-2.203.0.dist-info → aws_cdk_lib-2.204.0.dist-info}/METADATA +2 -2
- {aws_cdk_lib-2.203.0.dist-info → aws_cdk_lib-2.204.0.dist-info}/RECORD +33 -33
- {aws_cdk_lib-2.203.0.dist-info → aws_cdk_lib-2.204.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.203.0.dist-info → aws_cdk_lib-2.204.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.203.0.dist-info → aws_cdk_lib-2.204.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.203.0.dist-info → aws_cdk_lib-2.204.0.dist-info}/top_level.txt +0 -0
|
@@ -27892,6 +27892,7 @@ class Distribution(
|
|
|
27892
27892
|
account: typing.Optional[builtins.str] = None,
|
|
27893
27893
|
color: typing.Optional[builtins.str] = None,
|
|
27894
27894
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
27895
|
+
id: typing.Optional[builtins.str] = None,
|
|
27895
27896
|
label: typing.Optional[builtins.str] = None,
|
|
27896
27897
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
27897
27898
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -27899,6 +27900,7 @@ class Distribution(
|
|
|
27899
27900
|
stack_region: typing.Optional[builtins.str] = None,
|
|
27900
27901
|
statistic: typing.Optional[builtins.str] = None,
|
|
27901
27902
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
27903
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
27902
27904
|
) -> _Metric_e396a4dc:
|
|
27903
27905
|
'''Return the given named metric for this Distribution.
|
|
27904
27906
|
|
|
@@ -27906,6 +27908,7 @@ class Distribution(
|
|
|
27906
27908
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
27907
27909
|
: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
|
|
27908
27910
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
27911
|
+
: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
|
|
27909
27912
|
: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
|
|
27910
27913
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
27911
27914
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -27913,6 +27916,7 @@ class Distribution(
|
|
|
27913
27916
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
27914
27917
|
: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
|
|
27915
27918
|
: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
|
|
27919
|
+
: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
|
|
27916
27920
|
'''
|
|
27917
27921
|
if __debug__:
|
|
27918
27922
|
type_hints = typing.get_type_hints(_typecheckingstub__57d1cb583a433250ea9a7b0fd61eb68ee34cc5f8ab9ebc2c7b54d4a3f730247f)
|
|
@@ -27921,6 +27925,7 @@ class Distribution(
|
|
|
27921
27925
|
account=account,
|
|
27922
27926
|
color=color,
|
|
27923
27927
|
dimensions_map=dimensions_map,
|
|
27928
|
+
id=id,
|
|
27924
27929
|
label=label,
|
|
27925
27930
|
period=period,
|
|
27926
27931
|
region=region,
|
|
@@ -27928,6 +27933,7 @@ class Distribution(
|
|
|
27928
27933
|
stack_region=stack_region,
|
|
27929
27934
|
statistic=statistic,
|
|
27930
27935
|
unit=unit,
|
|
27936
|
+
visible=visible,
|
|
27931
27937
|
)
|
|
27932
27938
|
|
|
27933
27939
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metric", [metric_name, props]))
|
|
@@ -27939,6 +27945,7 @@ class Distribution(
|
|
|
27939
27945
|
account: typing.Optional[builtins.str] = None,
|
|
27940
27946
|
color: typing.Optional[builtins.str] = None,
|
|
27941
27947
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
27948
|
+
id: typing.Optional[builtins.str] = None,
|
|
27942
27949
|
label: typing.Optional[builtins.str] = None,
|
|
27943
27950
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
27944
27951
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -27946,6 +27953,7 @@ class Distribution(
|
|
|
27946
27953
|
stack_region: typing.Optional[builtins.str] = None,
|
|
27947
27954
|
statistic: typing.Optional[builtins.str] = None,
|
|
27948
27955
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
27956
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
27949
27957
|
) -> _Metric_e396a4dc:
|
|
27950
27958
|
'''Metric for the percentage of all viewer requests for which the response's HTTP status code is 401.
|
|
27951
27959
|
|
|
@@ -27954,6 +27962,7 @@ class Distribution(
|
|
|
27954
27962
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
27955
27963
|
: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
|
|
27956
27964
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
27965
|
+
: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
|
|
27957
27966
|
: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
|
|
27958
27967
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
27959
27968
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -27961,6 +27970,7 @@ class Distribution(
|
|
|
27961
27970
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
27962
27971
|
: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
|
|
27963
27972
|
: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
|
|
27973
|
+
: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
|
|
27964
27974
|
|
|
27965
27975
|
:default: - average over 5 minutes
|
|
27966
27976
|
'''
|
|
@@ -27968,6 +27978,7 @@ class Distribution(
|
|
|
27968
27978
|
account=account,
|
|
27969
27979
|
color=color,
|
|
27970
27980
|
dimensions_map=dimensions_map,
|
|
27981
|
+
id=id,
|
|
27971
27982
|
label=label,
|
|
27972
27983
|
period=period,
|
|
27973
27984
|
region=region,
|
|
@@ -27975,6 +27986,7 @@ class Distribution(
|
|
|
27975
27986
|
stack_region=stack_region,
|
|
27976
27987
|
statistic=statistic,
|
|
27977
27988
|
unit=unit,
|
|
27989
|
+
visible=visible,
|
|
27978
27990
|
)
|
|
27979
27991
|
|
|
27980
27992
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metric401ErrorRate", [props]))
|
|
@@ -27986,6 +27998,7 @@ class Distribution(
|
|
|
27986
27998
|
account: typing.Optional[builtins.str] = None,
|
|
27987
27999
|
color: typing.Optional[builtins.str] = None,
|
|
27988
28000
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
28001
|
+
id: typing.Optional[builtins.str] = None,
|
|
27989
28002
|
label: typing.Optional[builtins.str] = None,
|
|
27990
28003
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
27991
28004
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -27993,6 +28006,7 @@ class Distribution(
|
|
|
27993
28006
|
stack_region: typing.Optional[builtins.str] = None,
|
|
27994
28007
|
statistic: typing.Optional[builtins.str] = None,
|
|
27995
28008
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
28009
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
27996
28010
|
) -> _Metric_e396a4dc:
|
|
27997
28011
|
'''Metric for the percentage of all viewer requests for which the response's HTTP status code is 403.
|
|
27998
28012
|
|
|
@@ -28001,6 +28015,7 @@ class Distribution(
|
|
|
28001
28015
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
28002
28016
|
: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
|
|
28003
28017
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
28018
|
+
: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
|
|
28004
28019
|
: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
|
|
28005
28020
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
28006
28021
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -28008,6 +28023,7 @@ class Distribution(
|
|
|
28008
28023
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
28009
28024
|
: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
|
|
28010
28025
|
: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
|
|
28026
|
+
: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
|
|
28011
28027
|
|
|
28012
28028
|
:default: - average over 5 minutes
|
|
28013
28029
|
'''
|
|
@@ -28015,6 +28031,7 @@ class Distribution(
|
|
|
28015
28031
|
account=account,
|
|
28016
28032
|
color=color,
|
|
28017
28033
|
dimensions_map=dimensions_map,
|
|
28034
|
+
id=id,
|
|
28018
28035
|
label=label,
|
|
28019
28036
|
period=period,
|
|
28020
28037
|
region=region,
|
|
@@ -28022,6 +28039,7 @@ class Distribution(
|
|
|
28022
28039
|
stack_region=stack_region,
|
|
28023
28040
|
statistic=statistic,
|
|
28024
28041
|
unit=unit,
|
|
28042
|
+
visible=visible,
|
|
28025
28043
|
)
|
|
28026
28044
|
|
|
28027
28045
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metric403ErrorRate", [props]))
|
|
@@ -28033,6 +28051,7 @@ class Distribution(
|
|
|
28033
28051
|
account: typing.Optional[builtins.str] = None,
|
|
28034
28052
|
color: typing.Optional[builtins.str] = None,
|
|
28035
28053
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
28054
|
+
id: typing.Optional[builtins.str] = None,
|
|
28036
28055
|
label: typing.Optional[builtins.str] = None,
|
|
28037
28056
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
28038
28057
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -28040,6 +28059,7 @@ class Distribution(
|
|
|
28040
28059
|
stack_region: typing.Optional[builtins.str] = None,
|
|
28041
28060
|
statistic: typing.Optional[builtins.str] = None,
|
|
28042
28061
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
28062
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
28043
28063
|
) -> _Metric_e396a4dc:
|
|
28044
28064
|
'''Metric for the percentage of all viewer requests for which the response's HTTP status code is 404.
|
|
28045
28065
|
|
|
@@ -28048,6 +28068,7 @@ class Distribution(
|
|
|
28048
28068
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
28049
28069
|
: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
|
|
28050
28070
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
28071
|
+
: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
|
|
28051
28072
|
: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
|
|
28052
28073
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
28053
28074
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -28055,6 +28076,7 @@ class Distribution(
|
|
|
28055
28076
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
28056
28077
|
: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
|
|
28057
28078
|
: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
|
|
28079
|
+
: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
|
|
28058
28080
|
|
|
28059
28081
|
:default: - average over 5 minutes
|
|
28060
28082
|
'''
|
|
@@ -28062,6 +28084,7 @@ class Distribution(
|
|
|
28062
28084
|
account=account,
|
|
28063
28085
|
color=color,
|
|
28064
28086
|
dimensions_map=dimensions_map,
|
|
28087
|
+
id=id,
|
|
28065
28088
|
label=label,
|
|
28066
28089
|
period=period,
|
|
28067
28090
|
region=region,
|
|
@@ -28069,6 +28092,7 @@ class Distribution(
|
|
|
28069
28092
|
stack_region=stack_region,
|
|
28070
28093
|
statistic=statistic,
|
|
28071
28094
|
unit=unit,
|
|
28095
|
+
visible=visible,
|
|
28072
28096
|
)
|
|
28073
28097
|
|
|
28074
28098
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metric404ErrorRate", [props]))
|
|
@@ -28080,6 +28104,7 @@ class Distribution(
|
|
|
28080
28104
|
account: typing.Optional[builtins.str] = None,
|
|
28081
28105
|
color: typing.Optional[builtins.str] = None,
|
|
28082
28106
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
28107
|
+
id: typing.Optional[builtins.str] = None,
|
|
28083
28108
|
label: typing.Optional[builtins.str] = None,
|
|
28084
28109
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
28085
28110
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -28087,12 +28112,14 @@ class Distribution(
|
|
|
28087
28112
|
stack_region: typing.Optional[builtins.str] = None,
|
|
28088
28113
|
statistic: typing.Optional[builtins.str] = None,
|
|
28089
28114
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
28115
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
28090
28116
|
) -> _Metric_e396a4dc:
|
|
28091
28117
|
'''Metric for the percentage of all viewer requests for which the response's HTTP status code is 4xx.
|
|
28092
28118
|
|
|
28093
28119
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
28094
28120
|
: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
|
|
28095
28121
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
28122
|
+
: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
|
|
28096
28123
|
: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
|
|
28097
28124
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
28098
28125
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -28100,6 +28127,7 @@ class Distribution(
|
|
|
28100
28127
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
28101
28128
|
: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
|
|
28102
28129
|
: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
|
|
28130
|
+
: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
|
|
28103
28131
|
|
|
28104
28132
|
:default: - average over 5 minutes
|
|
28105
28133
|
'''
|
|
@@ -28107,6 +28135,7 @@ class Distribution(
|
|
|
28107
28135
|
account=account,
|
|
28108
28136
|
color=color,
|
|
28109
28137
|
dimensions_map=dimensions_map,
|
|
28138
|
+
id=id,
|
|
28110
28139
|
label=label,
|
|
28111
28140
|
period=period,
|
|
28112
28141
|
region=region,
|
|
@@ -28114,6 +28143,7 @@ class Distribution(
|
|
|
28114
28143
|
stack_region=stack_region,
|
|
28115
28144
|
statistic=statistic,
|
|
28116
28145
|
unit=unit,
|
|
28146
|
+
visible=visible,
|
|
28117
28147
|
)
|
|
28118
28148
|
|
|
28119
28149
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metric4xxErrorRate", [props]))
|
|
@@ -28125,6 +28155,7 @@ class Distribution(
|
|
|
28125
28155
|
account: typing.Optional[builtins.str] = None,
|
|
28126
28156
|
color: typing.Optional[builtins.str] = None,
|
|
28127
28157
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
28158
|
+
id: typing.Optional[builtins.str] = None,
|
|
28128
28159
|
label: typing.Optional[builtins.str] = None,
|
|
28129
28160
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
28130
28161
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -28132,6 +28163,7 @@ class Distribution(
|
|
|
28132
28163
|
stack_region: typing.Optional[builtins.str] = None,
|
|
28133
28164
|
statistic: typing.Optional[builtins.str] = None,
|
|
28134
28165
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
28166
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
28135
28167
|
) -> _Metric_e396a4dc:
|
|
28136
28168
|
'''Metric for the percentage of all viewer requests for which the response's HTTP status code is 502.
|
|
28137
28169
|
|
|
@@ -28140,6 +28172,7 @@ class Distribution(
|
|
|
28140
28172
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
28141
28173
|
: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
|
|
28142
28174
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
28175
|
+
: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
|
|
28143
28176
|
: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
|
|
28144
28177
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
28145
28178
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -28147,6 +28180,7 @@ class Distribution(
|
|
|
28147
28180
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
28148
28181
|
: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
|
|
28149
28182
|
: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
|
|
28183
|
+
: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
|
|
28150
28184
|
|
|
28151
28185
|
:default: - average over 5 minutes
|
|
28152
28186
|
'''
|
|
@@ -28154,6 +28188,7 @@ class Distribution(
|
|
|
28154
28188
|
account=account,
|
|
28155
28189
|
color=color,
|
|
28156
28190
|
dimensions_map=dimensions_map,
|
|
28191
|
+
id=id,
|
|
28157
28192
|
label=label,
|
|
28158
28193
|
period=period,
|
|
28159
28194
|
region=region,
|
|
@@ -28161,6 +28196,7 @@ class Distribution(
|
|
|
28161
28196
|
stack_region=stack_region,
|
|
28162
28197
|
statistic=statistic,
|
|
28163
28198
|
unit=unit,
|
|
28199
|
+
visible=visible,
|
|
28164
28200
|
)
|
|
28165
28201
|
|
|
28166
28202
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metric502ErrorRate", [props]))
|
|
@@ -28172,6 +28208,7 @@ class Distribution(
|
|
|
28172
28208
|
account: typing.Optional[builtins.str] = None,
|
|
28173
28209
|
color: typing.Optional[builtins.str] = None,
|
|
28174
28210
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
28211
|
+
id: typing.Optional[builtins.str] = None,
|
|
28175
28212
|
label: typing.Optional[builtins.str] = None,
|
|
28176
28213
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
28177
28214
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -28179,6 +28216,7 @@ class Distribution(
|
|
|
28179
28216
|
stack_region: typing.Optional[builtins.str] = None,
|
|
28180
28217
|
statistic: typing.Optional[builtins.str] = None,
|
|
28181
28218
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
28219
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
28182
28220
|
) -> _Metric_e396a4dc:
|
|
28183
28221
|
'''Metric for the percentage of all viewer requests for which the response's HTTP status code is 503.
|
|
28184
28222
|
|
|
@@ -28187,6 +28225,7 @@ class Distribution(
|
|
|
28187
28225
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
28188
28226
|
: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
|
|
28189
28227
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
28228
|
+
: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
|
|
28190
28229
|
: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
|
|
28191
28230
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
28192
28231
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -28194,6 +28233,7 @@ class Distribution(
|
|
|
28194
28233
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
28195
28234
|
: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
|
|
28196
28235
|
: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
|
|
28236
|
+
: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
|
|
28197
28237
|
|
|
28198
28238
|
:default: - average over 5 minutes
|
|
28199
28239
|
'''
|
|
@@ -28201,6 +28241,7 @@ class Distribution(
|
|
|
28201
28241
|
account=account,
|
|
28202
28242
|
color=color,
|
|
28203
28243
|
dimensions_map=dimensions_map,
|
|
28244
|
+
id=id,
|
|
28204
28245
|
label=label,
|
|
28205
28246
|
period=period,
|
|
28206
28247
|
region=region,
|
|
@@ -28208,6 +28249,7 @@ class Distribution(
|
|
|
28208
28249
|
stack_region=stack_region,
|
|
28209
28250
|
statistic=statistic,
|
|
28210
28251
|
unit=unit,
|
|
28252
|
+
visible=visible,
|
|
28211
28253
|
)
|
|
28212
28254
|
|
|
28213
28255
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metric503ErrorRate", [props]))
|
|
@@ -28219,6 +28261,7 @@ class Distribution(
|
|
|
28219
28261
|
account: typing.Optional[builtins.str] = None,
|
|
28220
28262
|
color: typing.Optional[builtins.str] = None,
|
|
28221
28263
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
28264
|
+
id: typing.Optional[builtins.str] = None,
|
|
28222
28265
|
label: typing.Optional[builtins.str] = None,
|
|
28223
28266
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
28224
28267
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -28226,6 +28269,7 @@ class Distribution(
|
|
|
28226
28269
|
stack_region: typing.Optional[builtins.str] = None,
|
|
28227
28270
|
statistic: typing.Optional[builtins.str] = None,
|
|
28228
28271
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
28272
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
28229
28273
|
) -> _Metric_e396a4dc:
|
|
28230
28274
|
'''Metric for the percentage of all viewer requests for which the response's HTTP status code is 504.
|
|
28231
28275
|
|
|
@@ -28234,6 +28278,7 @@ class Distribution(
|
|
|
28234
28278
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
28235
28279
|
: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
|
|
28236
28280
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
28281
|
+
: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
|
|
28237
28282
|
: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
|
|
28238
28283
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
28239
28284
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -28241,6 +28286,7 @@ class Distribution(
|
|
|
28241
28286
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
28242
28287
|
: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
|
|
28243
28288
|
: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
|
|
28289
|
+
: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
|
|
28244
28290
|
|
|
28245
28291
|
:default: - average over 5 minutes
|
|
28246
28292
|
'''
|
|
@@ -28248,6 +28294,7 @@ class Distribution(
|
|
|
28248
28294
|
account=account,
|
|
28249
28295
|
color=color,
|
|
28250
28296
|
dimensions_map=dimensions_map,
|
|
28297
|
+
id=id,
|
|
28251
28298
|
label=label,
|
|
28252
28299
|
period=period,
|
|
28253
28300
|
region=region,
|
|
@@ -28255,6 +28302,7 @@ class Distribution(
|
|
|
28255
28302
|
stack_region=stack_region,
|
|
28256
28303
|
statistic=statistic,
|
|
28257
28304
|
unit=unit,
|
|
28305
|
+
visible=visible,
|
|
28258
28306
|
)
|
|
28259
28307
|
|
|
28260
28308
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metric504ErrorRate", [props]))
|
|
@@ -28266,6 +28314,7 @@ class Distribution(
|
|
|
28266
28314
|
account: typing.Optional[builtins.str] = None,
|
|
28267
28315
|
color: typing.Optional[builtins.str] = None,
|
|
28268
28316
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
28317
|
+
id: typing.Optional[builtins.str] = None,
|
|
28269
28318
|
label: typing.Optional[builtins.str] = None,
|
|
28270
28319
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
28271
28320
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -28273,12 +28322,14 @@ class Distribution(
|
|
|
28273
28322
|
stack_region: typing.Optional[builtins.str] = None,
|
|
28274
28323
|
statistic: typing.Optional[builtins.str] = None,
|
|
28275
28324
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
28325
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
28276
28326
|
) -> _Metric_e396a4dc:
|
|
28277
28327
|
'''Metric for the percentage of all viewer requests for which the response's HTTP status code is 5xx.
|
|
28278
28328
|
|
|
28279
28329
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
28280
28330
|
: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
|
|
28281
28331
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
28332
|
+
: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
|
|
28282
28333
|
: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
|
|
28283
28334
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
28284
28335
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -28286,6 +28337,7 @@ class Distribution(
|
|
|
28286
28337
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
28287
28338
|
: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
|
|
28288
28339
|
: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
|
|
28340
|
+
: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
|
|
28289
28341
|
|
|
28290
28342
|
:default: - average over 5 minutes
|
|
28291
28343
|
'''
|
|
@@ -28293,6 +28345,7 @@ class Distribution(
|
|
|
28293
28345
|
account=account,
|
|
28294
28346
|
color=color,
|
|
28295
28347
|
dimensions_map=dimensions_map,
|
|
28348
|
+
id=id,
|
|
28296
28349
|
label=label,
|
|
28297
28350
|
period=period,
|
|
28298
28351
|
region=region,
|
|
@@ -28300,6 +28353,7 @@ class Distribution(
|
|
|
28300
28353
|
stack_region=stack_region,
|
|
28301
28354
|
statistic=statistic,
|
|
28302
28355
|
unit=unit,
|
|
28356
|
+
visible=visible,
|
|
28303
28357
|
)
|
|
28304
28358
|
|
|
28305
28359
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metric5xxErrorRate", [props]))
|
|
@@ -28311,6 +28365,7 @@ class Distribution(
|
|
|
28311
28365
|
account: typing.Optional[builtins.str] = None,
|
|
28312
28366
|
color: typing.Optional[builtins.str] = None,
|
|
28313
28367
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
28368
|
+
id: typing.Optional[builtins.str] = None,
|
|
28314
28369
|
label: typing.Optional[builtins.str] = None,
|
|
28315
28370
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
28316
28371
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -28318,12 +28373,14 @@ class Distribution(
|
|
|
28318
28373
|
stack_region: typing.Optional[builtins.str] = None,
|
|
28319
28374
|
statistic: typing.Optional[builtins.str] = None,
|
|
28320
28375
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
28376
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
28321
28377
|
) -> _Metric_e396a4dc:
|
|
28322
28378
|
'''Metric for the total number of bytes downloaded by viewers for GET, HEAD, and OPTIONS requests.
|
|
28323
28379
|
|
|
28324
28380
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
28325
28381
|
: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
|
|
28326
28382
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
28383
|
+
: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
|
|
28327
28384
|
: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
|
|
28328
28385
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
28329
28386
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -28331,6 +28388,7 @@ class Distribution(
|
|
|
28331
28388
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
28332
28389
|
: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
|
|
28333
28390
|
: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
|
|
28391
|
+
: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
|
|
28334
28392
|
|
|
28335
28393
|
:default: - sum over 5 minutes
|
|
28336
28394
|
'''
|
|
@@ -28338,6 +28396,7 @@ class Distribution(
|
|
|
28338
28396
|
account=account,
|
|
28339
28397
|
color=color,
|
|
28340
28398
|
dimensions_map=dimensions_map,
|
|
28399
|
+
id=id,
|
|
28341
28400
|
label=label,
|
|
28342
28401
|
period=period,
|
|
28343
28402
|
region=region,
|
|
@@ -28345,6 +28404,7 @@ class Distribution(
|
|
|
28345
28404
|
stack_region=stack_region,
|
|
28346
28405
|
statistic=statistic,
|
|
28347
28406
|
unit=unit,
|
|
28407
|
+
visible=visible,
|
|
28348
28408
|
)
|
|
28349
28409
|
|
|
28350
28410
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricBytesDownloaded", [props]))
|
|
@@ -28356,6 +28416,7 @@ class Distribution(
|
|
|
28356
28416
|
account: typing.Optional[builtins.str] = None,
|
|
28357
28417
|
color: typing.Optional[builtins.str] = None,
|
|
28358
28418
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
28419
|
+
id: typing.Optional[builtins.str] = None,
|
|
28359
28420
|
label: typing.Optional[builtins.str] = None,
|
|
28360
28421
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
28361
28422
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -28363,12 +28424,14 @@ class Distribution(
|
|
|
28363
28424
|
stack_region: typing.Optional[builtins.str] = None,
|
|
28364
28425
|
statistic: typing.Optional[builtins.str] = None,
|
|
28365
28426
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
28427
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
28366
28428
|
) -> _Metric_e396a4dc:
|
|
28367
28429
|
'''Metric for the total number of bytes that viewers uploaded to your origin with CloudFront, using POST and PUT requests.
|
|
28368
28430
|
|
|
28369
28431
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
28370
28432
|
: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
|
|
28371
28433
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
28434
|
+
: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
|
|
28372
28435
|
: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
|
|
28373
28436
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
28374
28437
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -28376,6 +28439,7 @@ class Distribution(
|
|
|
28376
28439
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
28377
28440
|
: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
|
|
28378
28441
|
: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
|
|
28442
|
+
: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
|
|
28379
28443
|
|
|
28380
28444
|
:default: - sum over 5 minutes
|
|
28381
28445
|
'''
|
|
@@ -28383,6 +28447,7 @@ class Distribution(
|
|
|
28383
28447
|
account=account,
|
|
28384
28448
|
color=color,
|
|
28385
28449
|
dimensions_map=dimensions_map,
|
|
28450
|
+
id=id,
|
|
28386
28451
|
label=label,
|
|
28387
28452
|
period=period,
|
|
28388
28453
|
region=region,
|
|
@@ -28390,6 +28455,7 @@ class Distribution(
|
|
|
28390
28455
|
stack_region=stack_region,
|
|
28391
28456
|
statistic=statistic,
|
|
28392
28457
|
unit=unit,
|
|
28458
|
+
visible=visible,
|
|
28393
28459
|
)
|
|
28394
28460
|
|
|
28395
28461
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricBytesUploaded", [props]))
|
|
@@ -28401,6 +28467,7 @@ class Distribution(
|
|
|
28401
28467
|
account: typing.Optional[builtins.str] = None,
|
|
28402
28468
|
color: typing.Optional[builtins.str] = None,
|
|
28403
28469
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
28470
|
+
id: typing.Optional[builtins.str] = None,
|
|
28404
28471
|
label: typing.Optional[builtins.str] = None,
|
|
28405
28472
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
28406
28473
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -28408,6 +28475,7 @@ class Distribution(
|
|
|
28408
28475
|
stack_region: typing.Optional[builtins.str] = None,
|
|
28409
28476
|
statistic: typing.Optional[builtins.str] = None,
|
|
28410
28477
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
28478
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
28411
28479
|
) -> _Metric_e396a4dc:
|
|
28412
28480
|
'''Metric for the percentage of all cacheable requests for which CloudFront served the content from its cache.
|
|
28413
28481
|
|
|
@@ -28418,6 +28486,7 @@ class Distribution(
|
|
|
28418
28486
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
28419
28487
|
: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
|
|
28420
28488
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
28489
|
+
: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
|
|
28421
28490
|
: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
|
|
28422
28491
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
28423
28492
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -28425,6 +28494,7 @@ class Distribution(
|
|
|
28425
28494
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
28426
28495
|
: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
|
|
28427
28496
|
: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
|
|
28497
|
+
: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
|
|
28428
28498
|
|
|
28429
28499
|
:default: - average over 5 minutes
|
|
28430
28500
|
'''
|
|
@@ -28432,6 +28502,7 @@ class Distribution(
|
|
|
28432
28502
|
account=account,
|
|
28433
28503
|
color=color,
|
|
28434
28504
|
dimensions_map=dimensions_map,
|
|
28505
|
+
id=id,
|
|
28435
28506
|
label=label,
|
|
28436
28507
|
period=period,
|
|
28437
28508
|
region=region,
|
|
@@ -28439,6 +28510,7 @@ class Distribution(
|
|
|
28439
28510
|
stack_region=stack_region,
|
|
28440
28511
|
statistic=statistic,
|
|
28441
28512
|
unit=unit,
|
|
28513
|
+
visible=visible,
|
|
28442
28514
|
)
|
|
28443
28515
|
|
|
28444
28516
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricCacheHitRate", [props]))
|
|
@@ -28450,6 +28522,7 @@ class Distribution(
|
|
|
28450
28522
|
account: typing.Optional[builtins.str] = None,
|
|
28451
28523
|
color: typing.Optional[builtins.str] = None,
|
|
28452
28524
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
28525
|
+
id: typing.Optional[builtins.str] = None,
|
|
28453
28526
|
label: typing.Optional[builtins.str] = None,
|
|
28454
28527
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
28455
28528
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -28457,6 +28530,7 @@ class Distribution(
|
|
|
28457
28530
|
stack_region: typing.Optional[builtins.str] = None,
|
|
28458
28531
|
statistic: typing.Optional[builtins.str] = None,
|
|
28459
28532
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
28533
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
28460
28534
|
) -> _Metric_e396a4dc:
|
|
28461
28535
|
'''Metric for the total time spent from when CloudFront receives a request to when it starts providing a response to the network (not the viewer), for requests that are served from the origin, not the CloudFront cache.
|
|
28462
28536
|
|
|
@@ -28467,6 +28541,7 @@ class Distribution(
|
|
|
28467
28541
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
28468
28542
|
: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
|
|
28469
28543
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
28544
|
+
: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
|
|
28470
28545
|
: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
|
|
28471
28546
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
28472
28547
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -28474,6 +28549,7 @@ class Distribution(
|
|
|
28474
28549
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
28475
28550
|
: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
|
|
28476
28551
|
: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
|
|
28552
|
+
: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
|
|
28477
28553
|
|
|
28478
28554
|
:default: - average over 5 minutes
|
|
28479
28555
|
'''
|
|
@@ -28481,6 +28557,7 @@ class Distribution(
|
|
|
28481
28557
|
account=account,
|
|
28482
28558
|
color=color,
|
|
28483
28559
|
dimensions_map=dimensions_map,
|
|
28560
|
+
id=id,
|
|
28484
28561
|
label=label,
|
|
28485
28562
|
period=period,
|
|
28486
28563
|
region=region,
|
|
@@ -28488,6 +28565,7 @@ class Distribution(
|
|
|
28488
28565
|
stack_region=stack_region,
|
|
28489
28566
|
statistic=statistic,
|
|
28490
28567
|
unit=unit,
|
|
28568
|
+
visible=visible,
|
|
28491
28569
|
)
|
|
28492
28570
|
|
|
28493
28571
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricOriginLatency", [props]))
|
|
@@ -28499,6 +28577,7 @@ class Distribution(
|
|
|
28499
28577
|
account: typing.Optional[builtins.str] = None,
|
|
28500
28578
|
color: typing.Optional[builtins.str] = None,
|
|
28501
28579
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
28580
|
+
id: typing.Optional[builtins.str] = None,
|
|
28502
28581
|
label: typing.Optional[builtins.str] = None,
|
|
28503
28582
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
28504
28583
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -28506,12 +28585,14 @@ class Distribution(
|
|
|
28506
28585
|
stack_region: typing.Optional[builtins.str] = None,
|
|
28507
28586
|
statistic: typing.Optional[builtins.str] = None,
|
|
28508
28587
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
28588
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
28509
28589
|
) -> _Metric_e396a4dc:
|
|
28510
28590
|
'''Metric for the total number of viewer requests received by CloudFront, for all HTTP methods and for both HTTP and HTTPS requests.
|
|
28511
28591
|
|
|
28512
28592
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
28513
28593
|
: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
|
|
28514
28594
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
28595
|
+
: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
|
|
28515
28596
|
: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
|
|
28516
28597
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
28517
28598
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -28519,6 +28600,7 @@ class Distribution(
|
|
|
28519
28600
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
28520
28601
|
: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
|
|
28521
28602
|
: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
|
|
28603
|
+
: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
|
|
28522
28604
|
|
|
28523
28605
|
:default: - sum over 5 minutes
|
|
28524
28606
|
'''
|
|
@@ -28526,6 +28608,7 @@ class Distribution(
|
|
|
28526
28608
|
account=account,
|
|
28527
28609
|
color=color,
|
|
28528
28610
|
dimensions_map=dimensions_map,
|
|
28611
|
+
id=id,
|
|
28529
28612
|
label=label,
|
|
28530
28613
|
period=period,
|
|
28531
28614
|
region=region,
|
|
@@ -28533,6 +28616,7 @@ class Distribution(
|
|
|
28533
28616
|
stack_region=stack_region,
|
|
28534
28617
|
statistic=statistic,
|
|
28535
28618
|
unit=unit,
|
|
28619
|
+
visible=visible,
|
|
28536
28620
|
)
|
|
28537
28621
|
|
|
28538
28622
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricRequests", [props]))
|
|
@@ -28544,6 +28628,7 @@ class Distribution(
|
|
|
28544
28628
|
account: typing.Optional[builtins.str] = None,
|
|
28545
28629
|
color: typing.Optional[builtins.str] = None,
|
|
28546
28630
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
28631
|
+
id: typing.Optional[builtins.str] = None,
|
|
28547
28632
|
label: typing.Optional[builtins.str] = None,
|
|
28548
28633
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
28549
28634
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -28551,12 +28636,14 @@ class Distribution(
|
|
|
28551
28636
|
stack_region: typing.Optional[builtins.str] = None,
|
|
28552
28637
|
statistic: typing.Optional[builtins.str] = None,
|
|
28553
28638
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
28639
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
28554
28640
|
) -> _Metric_e396a4dc:
|
|
28555
28641
|
'''Metric for the percentage of all viewer requests for which the response's HTTP status code is 4xx or 5xx.
|
|
28556
28642
|
|
|
28557
28643
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
28558
28644
|
: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
|
|
28559
28645
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
28646
|
+
: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
|
|
28560
28647
|
: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
|
|
28561
28648
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
28562
28649
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -28564,6 +28651,7 @@ class Distribution(
|
|
|
28564
28651
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
28565
28652
|
: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
|
|
28566
28653
|
: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
|
|
28654
|
+
: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
|
|
28567
28655
|
|
|
28568
28656
|
:default: - average over 5 minutes
|
|
28569
28657
|
'''
|
|
@@ -28571,6 +28659,7 @@ class Distribution(
|
|
|
28571
28659
|
account=account,
|
|
28572
28660
|
color=color,
|
|
28573
28661
|
dimensions_map=dimensions_map,
|
|
28662
|
+
id=id,
|
|
28574
28663
|
label=label,
|
|
28575
28664
|
period=period,
|
|
28576
28665
|
region=region,
|
|
@@ -28578,6 +28667,7 @@ class Distribution(
|
|
|
28578
28667
|
stack_region=stack_region,
|
|
28579
28668
|
statistic=statistic,
|
|
28580
28669
|
unit=unit,
|
|
28670
|
+
visible=visible,
|
|
28581
28671
|
)
|
|
28582
28672
|
|
|
28583
28673
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricTotalErrorRate", [props]))
|
|
@@ -31928,6 +32018,7 @@ def _typecheckingstub__57d1cb583a433250ea9a7b0fd61eb68ee34cc5f8ab9ebc2c7b54d4a3f
|
|
|
31928
32018
|
account: typing.Optional[builtins.str] = None,
|
|
31929
32019
|
color: typing.Optional[builtins.str] = None,
|
|
31930
32020
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
32021
|
+
id: typing.Optional[builtins.str] = None,
|
|
31931
32022
|
label: typing.Optional[builtins.str] = None,
|
|
31932
32023
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
31933
32024
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -31935,6 +32026,7 @@ def _typecheckingstub__57d1cb583a433250ea9a7b0fd61eb68ee34cc5f8ab9ebc2c7b54d4a3f
|
|
|
31935
32026
|
stack_region: typing.Optional[builtins.str] = None,
|
|
31936
32027
|
statistic: typing.Optional[builtins.str] = None,
|
|
31937
32028
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
32029
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
31938
32030
|
) -> None:
|
|
31939
32031
|
"""Type checking stubs"""
|
|
31940
32032
|
pass
|