aws-cdk-lib 2.203.1__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.1.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.1.dist-info → aws_cdk_lib-2.204.0.dist-info}/METADATA +2 -2
- {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.204.0.dist-info}/RECORD +33 -33
- {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.204.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.204.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.204.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.204.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_ec2/__init__.py
CHANGED
|
@@ -77866,6 +77866,7 @@ class IVpnConnection(_IResource_c80c4260, typing_extensions.Protocol):
|
|
|
77866
77866
|
account: typing.Optional[builtins.str] = None,
|
|
77867
77867
|
color: typing.Optional[builtins.str] = None,
|
|
77868
77868
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
77869
|
+
id: typing.Optional[builtins.str] = None,
|
|
77869
77870
|
label: typing.Optional[builtins.str] = None,
|
|
77870
77871
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
77871
77872
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -77873,6 +77874,7 @@ class IVpnConnection(_IResource_c80c4260, typing_extensions.Protocol):
|
|
|
77873
77874
|
stack_region: typing.Optional[builtins.str] = None,
|
|
77874
77875
|
statistic: typing.Optional[builtins.str] = None,
|
|
77875
77876
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
77877
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
77876
77878
|
) -> _Metric_e396a4dc:
|
|
77877
77879
|
'''Return the given named metric for this VPNConnection.
|
|
77878
77880
|
|
|
@@ -77880,6 +77882,7 @@ class IVpnConnection(_IResource_c80c4260, typing_extensions.Protocol):
|
|
|
77880
77882
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
77881
77883
|
: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
|
|
77882
77884
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
77885
|
+
: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
|
|
77883
77886
|
: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
|
|
77884
77887
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
77885
77888
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -77887,6 +77890,7 @@ class IVpnConnection(_IResource_c80c4260, typing_extensions.Protocol):
|
|
|
77887
77890
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
77888
77891
|
: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
|
|
77889
77892
|
: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
|
|
77893
|
+
: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
|
|
77890
77894
|
'''
|
|
77891
77895
|
...
|
|
77892
77896
|
|
|
@@ -77897,6 +77901,7 @@ class IVpnConnection(_IResource_c80c4260, typing_extensions.Protocol):
|
|
|
77897
77901
|
account: typing.Optional[builtins.str] = None,
|
|
77898
77902
|
color: typing.Optional[builtins.str] = None,
|
|
77899
77903
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
77904
|
+
id: typing.Optional[builtins.str] = None,
|
|
77900
77905
|
label: typing.Optional[builtins.str] = None,
|
|
77901
77906
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
77902
77907
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -77904,6 +77909,7 @@ class IVpnConnection(_IResource_c80c4260, typing_extensions.Protocol):
|
|
|
77904
77909
|
stack_region: typing.Optional[builtins.str] = None,
|
|
77905
77910
|
statistic: typing.Optional[builtins.str] = None,
|
|
77906
77911
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
77912
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
77907
77913
|
) -> _Metric_e396a4dc:
|
|
77908
77914
|
'''The bytes received through the VPN tunnel.
|
|
77909
77915
|
|
|
@@ -77912,6 +77918,7 @@ class IVpnConnection(_IResource_c80c4260, typing_extensions.Protocol):
|
|
|
77912
77918
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
77913
77919
|
: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
|
|
77914
77920
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
77921
|
+
: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
|
|
77915
77922
|
: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
|
|
77916
77923
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
77917
77924
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -77919,6 +77926,7 @@ class IVpnConnection(_IResource_c80c4260, typing_extensions.Protocol):
|
|
|
77919
77926
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
77920
77927
|
: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
|
|
77921
77928
|
: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
|
|
77929
|
+
: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
|
|
77922
77930
|
'''
|
|
77923
77931
|
...
|
|
77924
77932
|
|
|
@@ -77929,6 +77937,7 @@ class IVpnConnection(_IResource_c80c4260, typing_extensions.Protocol):
|
|
|
77929
77937
|
account: typing.Optional[builtins.str] = None,
|
|
77930
77938
|
color: typing.Optional[builtins.str] = None,
|
|
77931
77939
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
77940
|
+
id: typing.Optional[builtins.str] = None,
|
|
77932
77941
|
label: typing.Optional[builtins.str] = None,
|
|
77933
77942
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
77934
77943
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -77936,6 +77945,7 @@ class IVpnConnection(_IResource_c80c4260, typing_extensions.Protocol):
|
|
|
77936
77945
|
stack_region: typing.Optional[builtins.str] = None,
|
|
77937
77946
|
statistic: typing.Optional[builtins.str] = None,
|
|
77938
77947
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
77948
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
77939
77949
|
) -> _Metric_e396a4dc:
|
|
77940
77950
|
'''The bytes sent through the VPN tunnel.
|
|
77941
77951
|
|
|
@@ -77944,6 +77954,7 @@ class IVpnConnection(_IResource_c80c4260, typing_extensions.Protocol):
|
|
|
77944
77954
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
77945
77955
|
: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
|
|
77946
77956
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
77957
|
+
: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
|
|
77947
77958
|
: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
|
|
77948
77959
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
77949
77960
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -77951,6 +77962,7 @@ class IVpnConnection(_IResource_c80c4260, typing_extensions.Protocol):
|
|
|
77951
77962
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
77952
77963
|
: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
|
|
77953
77964
|
: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
|
|
77965
|
+
: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
|
|
77954
77966
|
'''
|
|
77955
77967
|
...
|
|
77956
77968
|
|
|
@@ -77961,6 +77973,7 @@ class IVpnConnection(_IResource_c80c4260, typing_extensions.Protocol):
|
|
|
77961
77973
|
account: typing.Optional[builtins.str] = None,
|
|
77962
77974
|
color: typing.Optional[builtins.str] = None,
|
|
77963
77975
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
77976
|
+
id: typing.Optional[builtins.str] = None,
|
|
77964
77977
|
label: typing.Optional[builtins.str] = None,
|
|
77965
77978
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
77966
77979
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -77968,6 +77981,7 @@ class IVpnConnection(_IResource_c80c4260, typing_extensions.Protocol):
|
|
|
77968
77981
|
stack_region: typing.Optional[builtins.str] = None,
|
|
77969
77982
|
statistic: typing.Optional[builtins.str] = None,
|
|
77970
77983
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
77984
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
77971
77985
|
) -> _Metric_e396a4dc:
|
|
77972
77986
|
'''The state of the tunnel. 0 indicates DOWN and 1 indicates UP.
|
|
77973
77987
|
|
|
@@ -77976,6 +77990,7 @@ class IVpnConnection(_IResource_c80c4260, typing_extensions.Protocol):
|
|
|
77976
77990
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
77977
77991
|
: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
|
|
77978
77992
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
77993
|
+
: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
|
|
77979
77994
|
: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
|
|
77980
77995
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
77981
77996
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -77983,6 +77998,7 @@ class IVpnConnection(_IResource_c80c4260, typing_extensions.Protocol):
|
|
|
77983
77998
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
77984
77999
|
: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
|
|
77985
78000
|
: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
|
|
78001
|
+
: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
|
|
77986
78002
|
'''
|
|
77987
78003
|
...
|
|
77988
78004
|
|
|
@@ -78027,6 +78043,7 @@ class _IVpnConnectionProxy(
|
|
|
78027
78043
|
account: typing.Optional[builtins.str] = None,
|
|
78028
78044
|
color: typing.Optional[builtins.str] = None,
|
|
78029
78045
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
78046
|
+
id: typing.Optional[builtins.str] = None,
|
|
78030
78047
|
label: typing.Optional[builtins.str] = None,
|
|
78031
78048
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
78032
78049
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -78034,6 +78051,7 @@ class _IVpnConnectionProxy(
|
|
|
78034
78051
|
stack_region: typing.Optional[builtins.str] = None,
|
|
78035
78052
|
statistic: typing.Optional[builtins.str] = None,
|
|
78036
78053
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
78054
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
78037
78055
|
) -> _Metric_e396a4dc:
|
|
78038
78056
|
'''Return the given named metric for this VPNConnection.
|
|
78039
78057
|
|
|
@@ -78041,6 +78059,7 @@ class _IVpnConnectionProxy(
|
|
|
78041
78059
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
78042
78060
|
: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
|
|
78043
78061
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
78062
|
+
: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
|
|
78044
78063
|
: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
|
|
78045
78064
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
78046
78065
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -78048,6 +78067,7 @@ class _IVpnConnectionProxy(
|
|
|
78048
78067
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
78049
78068
|
: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
|
|
78050
78069
|
: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
|
|
78070
|
+
: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
|
|
78051
78071
|
'''
|
|
78052
78072
|
if __debug__:
|
|
78053
78073
|
type_hints = typing.get_type_hints(_typecheckingstub__a2c1c58afbc5e81e1af61d18f3f4b2f840465db1e0e780c358e83b3a110de5ad)
|
|
@@ -78056,6 +78076,7 @@ class _IVpnConnectionProxy(
|
|
|
78056
78076
|
account=account,
|
|
78057
78077
|
color=color,
|
|
78058
78078
|
dimensions_map=dimensions_map,
|
|
78079
|
+
id=id,
|
|
78059
78080
|
label=label,
|
|
78060
78081
|
period=period,
|
|
78061
78082
|
region=region,
|
|
@@ -78063,6 +78084,7 @@ class _IVpnConnectionProxy(
|
|
|
78063
78084
|
stack_region=stack_region,
|
|
78064
78085
|
statistic=statistic,
|
|
78065
78086
|
unit=unit,
|
|
78087
|
+
visible=visible,
|
|
78066
78088
|
)
|
|
78067
78089
|
|
|
78068
78090
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metric", [metric_name, props]))
|
|
@@ -78074,6 +78096,7 @@ class _IVpnConnectionProxy(
|
|
|
78074
78096
|
account: typing.Optional[builtins.str] = None,
|
|
78075
78097
|
color: typing.Optional[builtins.str] = None,
|
|
78076
78098
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
78099
|
+
id: typing.Optional[builtins.str] = None,
|
|
78077
78100
|
label: typing.Optional[builtins.str] = None,
|
|
78078
78101
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
78079
78102
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -78081,6 +78104,7 @@ class _IVpnConnectionProxy(
|
|
|
78081
78104
|
stack_region: typing.Optional[builtins.str] = None,
|
|
78082
78105
|
statistic: typing.Optional[builtins.str] = None,
|
|
78083
78106
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
78107
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
78084
78108
|
) -> _Metric_e396a4dc:
|
|
78085
78109
|
'''The bytes received through the VPN tunnel.
|
|
78086
78110
|
|
|
@@ -78089,6 +78113,7 @@ class _IVpnConnectionProxy(
|
|
|
78089
78113
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
78090
78114
|
: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
|
|
78091
78115
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
78116
|
+
: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
|
|
78092
78117
|
: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
|
|
78093
78118
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
78094
78119
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -78096,11 +78121,13 @@ class _IVpnConnectionProxy(
|
|
|
78096
78121
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
78097
78122
|
: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
|
|
78098
78123
|
: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
|
|
78124
|
+
: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
|
|
78099
78125
|
'''
|
|
78100
78126
|
props = _MetricOptions_1788b62f(
|
|
78101
78127
|
account=account,
|
|
78102
78128
|
color=color,
|
|
78103
78129
|
dimensions_map=dimensions_map,
|
|
78130
|
+
id=id,
|
|
78104
78131
|
label=label,
|
|
78105
78132
|
period=period,
|
|
78106
78133
|
region=region,
|
|
@@ -78108,6 +78135,7 @@ class _IVpnConnectionProxy(
|
|
|
78108
78135
|
stack_region=stack_region,
|
|
78109
78136
|
statistic=statistic,
|
|
78110
78137
|
unit=unit,
|
|
78138
|
+
visible=visible,
|
|
78111
78139
|
)
|
|
78112
78140
|
|
|
78113
78141
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricTunnelDataIn", [props]))
|
|
@@ -78119,6 +78147,7 @@ class _IVpnConnectionProxy(
|
|
|
78119
78147
|
account: typing.Optional[builtins.str] = None,
|
|
78120
78148
|
color: typing.Optional[builtins.str] = None,
|
|
78121
78149
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
78150
|
+
id: typing.Optional[builtins.str] = None,
|
|
78122
78151
|
label: typing.Optional[builtins.str] = None,
|
|
78123
78152
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
78124
78153
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -78126,6 +78155,7 @@ class _IVpnConnectionProxy(
|
|
|
78126
78155
|
stack_region: typing.Optional[builtins.str] = None,
|
|
78127
78156
|
statistic: typing.Optional[builtins.str] = None,
|
|
78128
78157
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
78158
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
78129
78159
|
) -> _Metric_e396a4dc:
|
|
78130
78160
|
'''The bytes sent through the VPN tunnel.
|
|
78131
78161
|
|
|
@@ -78134,6 +78164,7 @@ class _IVpnConnectionProxy(
|
|
|
78134
78164
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
78135
78165
|
: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
|
|
78136
78166
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
78167
|
+
: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
|
|
78137
78168
|
: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
|
|
78138
78169
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
78139
78170
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -78141,11 +78172,13 @@ class _IVpnConnectionProxy(
|
|
|
78141
78172
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
78142
78173
|
: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
|
|
78143
78174
|
: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
|
|
78175
|
+
: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
|
|
78144
78176
|
'''
|
|
78145
78177
|
props = _MetricOptions_1788b62f(
|
|
78146
78178
|
account=account,
|
|
78147
78179
|
color=color,
|
|
78148
78180
|
dimensions_map=dimensions_map,
|
|
78181
|
+
id=id,
|
|
78149
78182
|
label=label,
|
|
78150
78183
|
period=period,
|
|
78151
78184
|
region=region,
|
|
@@ -78153,6 +78186,7 @@ class _IVpnConnectionProxy(
|
|
|
78153
78186
|
stack_region=stack_region,
|
|
78154
78187
|
statistic=statistic,
|
|
78155
78188
|
unit=unit,
|
|
78189
|
+
visible=visible,
|
|
78156
78190
|
)
|
|
78157
78191
|
|
|
78158
78192
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricTunnelDataOut", [props]))
|
|
@@ -78164,6 +78198,7 @@ class _IVpnConnectionProxy(
|
|
|
78164
78198
|
account: typing.Optional[builtins.str] = None,
|
|
78165
78199
|
color: typing.Optional[builtins.str] = None,
|
|
78166
78200
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
78201
|
+
id: typing.Optional[builtins.str] = None,
|
|
78167
78202
|
label: typing.Optional[builtins.str] = None,
|
|
78168
78203
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
78169
78204
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -78171,6 +78206,7 @@ class _IVpnConnectionProxy(
|
|
|
78171
78206
|
stack_region: typing.Optional[builtins.str] = None,
|
|
78172
78207
|
statistic: typing.Optional[builtins.str] = None,
|
|
78173
78208
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
78209
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
78174
78210
|
) -> _Metric_e396a4dc:
|
|
78175
78211
|
'''The state of the tunnel. 0 indicates DOWN and 1 indicates UP.
|
|
78176
78212
|
|
|
@@ -78179,6 +78215,7 @@ class _IVpnConnectionProxy(
|
|
|
78179
78215
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
78180
78216
|
: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
|
|
78181
78217
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
78218
|
+
: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
|
|
78182
78219
|
: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
|
|
78183
78220
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
78184
78221
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -78186,11 +78223,13 @@ class _IVpnConnectionProxy(
|
|
|
78186
78223
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
78187
78224
|
: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
|
|
78188
78225
|
: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
|
|
78226
|
+
: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
|
|
78189
78227
|
'''
|
|
78190
78228
|
props = _MetricOptions_1788b62f(
|
|
78191
78229
|
account=account,
|
|
78192
78230
|
color=color,
|
|
78193
78231
|
dimensions_map=dimensions_map,
|
|
78232
|
+
id=id,
|
|
78194
78233
|
label=label,
|
|
78195
78234
|
period=period,
|
|
78196
78235
|
region=region,
|
|
@@ -78198,6 +78237,7 @@ class _IVpnConnectionProxy(
|
|
|
78198
78237
|
stack_region=stack_region,
|
|
78199
78238
|
statistic=statistic,
|
|
78200
78239
|
unit=unit,
|
|
78240
|
+
visible=visible,
|
|
78201
78241
|
)
|
|
78202
78242
|
|
|
78203
78243
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricTunnelState", [props]))
|
|
@@ -97352,6 +97392,7 @@ class VpnConnectionBase(
|
|
|
97352
97392
|
account: typing.Optional[builtins.str] = None,
|
|
97353
97393
|
color: typing.Optional[builtins.str] = None,
|
|
97354
97394
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
97395
|
+
id: typing.Optional[builtins.str] = None,
|
|
97355
97396
|
label: typing.Optional[builtins.str] = None,
|
|
97356
97397
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
97357
97398
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -97359,6 +97400,7 @@ class VpnConnectionBase(
|
|
|
97359
97400
|
stack_region: typing.Optional[builtins.str] = None,
|
|
97360
97401
|
statistic: typing.Optional[builtins.str] = None,
|
|
97361
97402
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
97403
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
97362
97404
|
) -> _Metric_e396a4dc:
|
|
97363
97405
|
'''Return the given named metric for this VPNConnection.
|
|
97364
97406
|
|
|
@@ -97366,6 +97408,7 @@ class VpnConnectionBase(
|
|
|
97366
97408
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
97367
97409
|
: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
|
|
97368
97410
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
97411
|
+
: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
|
|
97369
97412
|
: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
|
|
97370
97413
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
97371
97414
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -97373,6 +97416,7 @@ class VpnConnectionBase(
|
|
|
97373
97416
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
97374
97417
|
: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
|
|
97375
97418
|
: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
|
|
97419
|
+
: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
|
|
97376
97420
|
'''
|
|
97377
97421
|
if __debug__:
|
|
97378
97422
|
type_hints = typing.get_type_hints(_typecheckingstub__1f244e2fd0db7fcc2c7468799c9a19c8b2a0a6f87bbe53904f9e9cf45c6d5c89)
|
|
@@ -97381,6 +97425,7 @@ class VpnConnectionBase(
|
|
|
97381
97425
|
account=account,
|
|
97382
97426
|
color=color,
|
|
97383
97427
|
dimensions_map=dimensions_map,
|
|
97428
|
+
id=id,
|
|
97384
97429
|
label=label,
|
|
97385
97430
|
period=period,
|
|
97386
97431
|
region=region,
|
|
@@ -97388,6 +97433,7 @@ class VpnConnectionBase(
|
|
|
97388
97433
|
stack_region=stack_region,
|
|
97389
97434
|
statistic=statistic,
|
|
97390
97435
|
unit=unit,
|
|
97436
|
+
visible=visible,
|
|
97391
97437
|
)
|
|
97392
97438
|
|
|
97393
97439
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metric", [metric_name, props]))
|
|
@@ -97399,6 +97445,7 @@ class VpnConnectionBase(
|
|
|
97399
97445
|
account: typing.Optional[builtins.str] = None,
|
|
97400
97446
|
color: typing.Optional[builtins.str] = None,
|
|
97401
97447
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
97448
|
+
id: typing.Optional[builtins.str] = None,
|
|
97402
97449
|
label: typing.Optional[builtins.str] = None,
|
|
97403
97450
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
97404
97451
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -97406,6 +97453,7 @@ class VpnConnectionBase(
|
|
|
97406
97453
|
stack_region: typing.Optional[builtins.str] = None,
|
|
97407
97454
|
statistic: typing.Optional[builtins.str] = None,
|
|
97408
97455
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
97456
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
97409
97457
|
) -> _Metric_e396a4dc:
|
|
97410
97458
|
'''The bytes received through the VPN tunnel.
|
|
97411
97459
|
|
|
@@ -97414,6 +97462,7 @@ class VpnConnectionBase(
|
|
|
97414
97462
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
97415
97463
|
: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
|
|
97416
97464
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
97465
|
+
: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
|
|
97417
97466
|
: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
|
|
97418
97467
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
97419
97468
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -97421,11 +97470,13 @@ class VpnConnectionBase(
|
|
|
97421
97470
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
97422
97471
|
: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
|
|
97423
97472
|
: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
|
|
97473
|
+
: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
|
|
97424
97474
|
'''
|
|
97425
97475
|
props = _MetricOptions_1788b62f(
|
|
97426
97476
|
account=account,
|
|
97427
97477
|
color=color,
|
|
97428
97478
|
dimensions_map=dimensions_map,
|
|
97479
|
+
id=id,
|
|
97429
97480
|
label=label,
|
|
97430
97481
|
period=period,
|
|
97431
97482
|
region=region,
|
|
@@ -97433,6 +97484,7 @@ class VpnConnectionBase(
|
|
|
97433
97484
|
stack_region=stack_region,
|
|
97434
97485
|
statistic=statistic,
|
|
97435
97486
|
unit=unit,
|
|
97487
|
+
visible=visible,
|
|
97436
97488
|
)
|
|
97437
97489
|
|
|
97438
97490
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricTunnelDataIn", [props]))
|
|
@@ -97444,6 +97496,7 @@ class VpnConnectionBase(
|
|
|
97444
97496
|
account: typing.Optional[builtins.str] = None,
|
|
97445
97497
|
color: typing.Optional[builtins.str] = None,
|
|
97446
97498
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
97499
|
+
id: typing.Optional[builtins.str] = None,
|
|
97447
97500
|
label: typing.Optional[builtins.str] = None,
|
|
97448
97501
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
97449
97502
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -97451,6 +97504,7 @@ class VpnConnectionBase(
|
|
|
97451
97504
|
stack_region: typing.Optional[builtins.str] = None,
|
|
97452
97505
|
statistic: typing.Optional[builtins.str] = None,
|
|
97453
97506
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
97507
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
97454
97508
|
) -> _Metric_e396a4dc:
|
|
97455
97509
|
'''The bytes sent through the VPN tunnel.
|
|
97456
97510
|
|
|
@@ -97459,6 +97513,7 @@ class VpnConnectionBase(
|
|
|
97459
97513
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
97460
97514
|
: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
|
|
97461
97515
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
97516
|
+
: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
|
|
97462
97517
|
: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
|
|
97463
97518
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
97464
97519
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -97466,11 +97521,13 @@ class VpnConnectionBase(
|
|
|
97466
97521
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
97467
97522
|
: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
|
|
97468
97523
|
: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
|
|
97524
|
+
: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
|
|
97469
97525
|
'''
|
|
97470
97526
|
props = _MetricOptions_1788b62f(
|
|
97471
97527
|
account=account,
|
|
97472
97528
|
color=color,
|
|
97473
97529
|
dimensions_map=dimensions_map,
|
|
97530
|
+
id=id,
|
|
97474
97531
|
label=label,
|
|
97475
97532
|
period=period,
|
|
97476
97533
|
region=region,
|
|
@@ -97478,6 +97535,7 @@ class VpnConnectionBase(
|
|
|
97478
97535
|
stack_region=stack_region,
|
|
97479
97536
|
statistic=statistic,
|
|
97480
97537
|
unit=unit,
|
|
97538
|
+
visible=visible,
|
|
97481
97539
|
)
|
|
97482
97540
|
|
|
97483
97541
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricTunnelDataOut", [props]))
|
|
@@ -97489,6 +97547,7 @@ class VpnConnectionBase(
|
|
|
97489
97547
|
account: typing.Optional[builtins.str] = None,
|
|
97490
97548
|
color: typing.Optional[builtins.str] = None,
|
|
97491
97549
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
97550
|
+
id: typing.Optional[builtins.str] = None,
|
|
97492
97551
|
label: typing.Optional[builtins.str] = None,
|
|
97493
97552
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
97494
97553
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -97496,6 +97555,7 @@ class VpnConnectionBase(
|
|
|
97496
97555
|
stack_region: typing.Optional[builtins.str] = None,
|
|
97497
97556
|
statistic: typing.Optional[builtins.str] = None,
|
|
97498
97557
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
97558
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
97499
97559
|
) -> _Metric_e396a4dc:
|
|
97500
97560
|
'''The state of the tunnel. 0 indicates DOWN and 1 indicates UP.
|
|
97501
97561
|
|
|
@@ -97504,6 +97564,7 @@ class VpnConnectionBase(
|
|
|
97504
97564
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
97505
97565
|
: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
|
|
97506
97566
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
97567
|
+
: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
|
|
97507
97568
|
: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
|
|
97508
97569
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
97509
97570
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -97511,11 +97572,13 @@ class VpnConnectionBase(
|
|
|
97511
97572
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
97512
97573
|
: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
|
|
97513
97574
|
: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
|
|
97575
|
+
: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
|
|
97514
97576
|
'''
|
|
97515
97577
|
props = _MetricOptions_1788b62f(
|
|
97516
97578
|
account=account,
|
|
97517
97579
|
color=color,
|
|
97518
97580
|
dimensions_map=dimensions_map,
|
|
97581
|
+
id=id,
|
|
97519
97582
|
label=label,
|
|
97520
97583
|
period=period,
|
|
97521
97584
|
region=region,
|
|
@@ -97523,6 +97586,7 @@ class VpnConnectionBase(
|
|
|
97523
97586
|
stack_region=stack_region,
|
|
97524
97587
|
statistic=statistic,
|
|
97525
97588
|
unit=unit,
|
|
97589
|
+
visible=visible,
|
|
97526
97590
|
)
|
|
97527
97591
|
|
|
97528
97592
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricTunnelState", [props]))
|
|
@@ -102992,6 +103056,7 @@ class VpnConnection(
|
|
|
102992
103056
|
account: typing.Optional[builtins.str] = None,
|
|
102993
103057
|
color: typing.Optional[builtins.str] = None,
|
|
102994
103058
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
103059
|
+
id: typing.Optional[builtins.str] = None,
|
|
102995
103060
|
label: typing.Optional[builtins.str] = None,
|
|
102996
103061
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
102997
103062
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -102999,6 +103064,7 @@ class VpnConnection(
|
|
|
102999
103064
|
stack_region: typing.Optional[builtins.str] = None,
|
|
103000
103065
|
statistic: typing.Optional[builtins.str] = None,
|
|
103001
103066
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
103067
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
103002
103068
|
) -> _Metric_e396a4dc:
|
|
103003
103069
|
'''Return the given named metric for all VPN connections in the account/region.
|
|
103004
103070
|
|
|
@@ -103006,6 +103072,7 @@ class VpnConnection(
|
|
|
103006
103072
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
103007
103073
|
: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
|
|
103008
103074
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
103075
|
+
: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
|
|
103009
103076
|
: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
|
|
103010
103077
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
103011
103078
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -103013,6 +103080,7 @@ class VpnConnection(
|
|
|
103013
103080
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
103014
103081
|
: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
|
|
103015
103082
|
: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
|
|
103083
|
+
: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
|
|
103016
103084
|
'''
|
|
103017
103085
|
if __debug__:
|
|
103018
103086
|
type_hints = typing.get_type_hints(_typecheckingstub__bae7a2df51c395d1a24d11925c809c17449294a288dc41db5331ecdee31f4f84)
|
|
@@ -103021,6 +103089,7 @@ class VpnConnection(
|
|
|
103021
103089
|
account=account,
|
|
103022
103090
|
color=color,
|
|
103023
103091
|
dimensions_map=dimensions_map,
|
|
103092
|
+
id=id,
|
|
103024
103093
|
label=label,
|
|
103025
103094
|
period=period,
|
|
103026
103095
|
region=region,
|
|
@@ -103028,6 +103097,7 @@ class VpnConnection(
|
|
|
103028
103097
|
stack_region=stack_region,
|
|
103029
103098
|
statistic=statistic,
|
|
103030
103099
|
unit=unit,
|
|
103100
|
+
visible=visible,
|
|
103031
103101
|
)
|
|
103032
103102
|
|
|
103033
103103
|
return typing.cast(_Metric_e396a4dc, jsii.sinvoke(cls, "metricAll", [metric_name, props]))
|
|
@@ -103040,6 +103110,7 @@ class VpnConnection(
|
|
|
103040
103110
|
account: typing.Optional[builtins.str] = None,
|
|
103041
103111
|
color: typing.Optional[builtins.str] = None,
|
|
103042
103112
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
103113
|
+
id: typing.Optional[builtins.str] = None,
|
|
103043
103114
|
label: typing.Optional[builtins.str] = None,
|
|
103044
103115
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
103045
103116
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -103047,12 +103118,14 @@ class VpnConnection(
|
|
|
103047
103118
|
stack_region: typing.Optional[builtins.str] = None,
|
|
103048
103119
|
statistic: typing.Optional[builtins.str] = None,
|
|
103049
103120
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
103121
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
103050
103122
|
) -> _Metric_e396a4dc:
|
|
103051
103123
|
'''Metric for the tunnel data in of all VPN connections in the account/region.
|
|
103052
103124
|
|
|
103053
103125
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
103054
103126
|
: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
|
|
103055
103127
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
103128
|
+
: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
|
|
103056
103129
|
: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
|
|
103057
103130
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
103058
103131
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -103060,6 +103133,7 @@ class VpnConnection(
|
|
|
103060
103133
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
103061
103134
|
: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
|
|
103062
103135
|
: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
|
|
103136
|
+
: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
|
|
103063
103137
|
|
|
103064
103138
|
:default: sum over 5 minutes
|
|
103065
103139
|
'''
|
|
@@ -103067,6 +103141,7 @@ class VpnConnection(
|
|
|
103067
103141
|
account=account,
|
|
103068
103142
|
color=color,
|
|
103069
103143
|
dimensions_map=dimensions_map,
|
|
103144
|
+
id=id,
|
|
103070
103145
|
label=label,
|
|
103071
103146
|
period=period,
|
|
103072
103147
|
region=region,
|
|
@@ -103074,6 +103149,7 @@ class VpnConnection(
|
|
|
103074
103149
|
stack_region=stack_region,
|
|
103075
103150
|
statistic=statistic,
|
|
103076
103151
|
unit=unit,
|
|
103152
|
+
visible=visible,
|
|
103077
103153
|
)
|
|
103078
103154
|
|
|
103079
103155
|
return typing.cast(_Metric_e396a4dc, jsii.sinvoke(cls, "metricAllTunnelDataIn", [props]))
|
|
@@ -103086,6 +103162,7 @@ class VpnConnection(
|
|
|
103086
103162
|
account: typing.Optional[builtins.str] = None,
|
|
103087
103163
|
color: typing.Optional[builtins.str] = None,
|
|
103088
103164
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
103165
|
+
id: typing.Optional[builtins.str] = None,
|
|
103089
103166
|
label: typing.Optional[builtins.str] = None,
|
|
103090
103167
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
103091
103168
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -103093,12 +103170,14 @@ class VpnConnection(
|
|
|
103093
103170
|
stack_region: typing.Optional[builtins.str] = None,
|
|
103094
103171
|
statistic: typing.Optional[builtins.str] = None,
|
|
103095
103172
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
103173
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
103096
103174
|
) -> _Metric_e396a4dc:
|
|
103097
103175
|
'''Metric for the tunnel data out of all VPN connections.
|
|
103098
103176
|
|
|
103099
103177
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
103100
103178
|
: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
|
|
103101
103179
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
103180
|
+
: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
|
|
103102
103181
|
: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
|
|
103103
103182
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
103104
103183
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -103106,6 +103185,7 @@ class VpnConnection(
|
|
|
103106
103185
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
103107
103186
|
: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
|
|
103108
103187
|
: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
|
|
103188
|
+
: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
|
|
103109
103189
|
|
|
103110
103190
|
:default: sum over 5 minutes
|
|
103111
103191
|
'''
|
|
@@ -103113,6 +103193,7 @@ class VpnConnection(
|
|
|
103113
103193
|
account=account,
|
|
103114
103194
|
color=color,
|
|
103115
103195
|
dimensions_map=dimensions_map,
|
|
103196
|
+
id=id,
|
|
103116
103197
|
label=label,
|
|
103117
103198
|
period=period,
|
|
103118
103199
|
region=region,
|
|
@@ -103120,6 +103201,7 @@ class VpnConnection(
|
|
|
103120
103201
|
stack_region=stack_region,
|
|
103121
103202
|
statistic=statistic,
|
|
103122
103203
|
unit=unit,
|
|
103204
|
+
visible=visible,
|
|
103123
103205
|
)
|
|
103124
103206
|
|
|
103125
103207
|
return typing.cast(_Metric_e396a4dc, jsii.sinvoke(cls, "metricAllTunnelDataOut", [props]))
|
|
@@ -103132,6 +103214,7 @@ class VpnConnection(
|
|
|
103132
103214
|
account: typing.Optional[builtins.str] = None,
|
|
103133
103215
|
color: typing.Optional[builtins.str] = None,
|
|
103134
103216
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
103217
|
+
id: typing.Optional[builtins.str] = None,
|
|
103135
103218
|
label: typing.Optional[builtins.str] = None,
|
|
103136
103219
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
103137
103220
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -103139,12 +103222,14 @@ class VpnConnection(
|
|
|
103139
103222
|
stack_region: typing.Optional[builtins.str] = None,
|
|
103140
103223
|
statistic: typing.Optional[builtins.str] = None,
|
|
103141
103224
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
103225
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
103142
103226
|
) -> _Metric_e396a4dc:
|
|
103143
103227
|
'''Metric for the tunnel state of all VPN connections in the account/region.
|
|
103144
103228
|
|
|
103145
103229
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
103146
103230
|
: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
|
|
103147
103231
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
103232
|
+
: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
|
|
103148
103233
|
: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
|
|
103149
103234
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
103150
103235
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -103152,6 +103237,7 @@ class VpnConnection(
|
|
|
103152
103237
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
103153
103238
|
: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
|
|
103154
103239
|
: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
|
|
103240
|
+
: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
|
|
103155
103241
|
|
|
103156
103242
|
:default: average over 5 minutes
|
|
103157
103243
|
'''
|
|
@@ -103159,6 +103245,7 @@ class VpnConnection(
|
|
|
103159
103245
|
account=account,
|
|
103160
103246
|
color=color,
|
|
103161
103247
|
dimensions_map=dimensions_map,
|
|
103248
|
+
id=id,
|
|
103162
103249
|
label=label,
|
|
103163
103250
|
period=period,
|
|
103164
103251
|
region=region,
|
|
@@ -103166,6 +103253,7 @@ class VpnConnection(
|
|
|
103166
103253
|
stack_region=stack_region,
|
|
103167
103254
|
statistic=statistic,
|
|
103168
103255
|
unit=unit,
|
|
103256
|
+
visible=visible,
|
|
103169
103257
|
)
|
|
103170
103258
|
|
|
103171
103259
|
return typing.cast(_Metric_e396a4dc, jsii.sinvoke(cls, "metricAllTunnelState", [props]))
|
|
@@ -115041,6 +115129,7 @@ def _typecheckingstub__a2c1c58afbc5e81e1af61d18f3f4b2f840465db1e0e780c358e83b3a1
|
|
|
115041
115129
|
account: typing.Optional[builtins.str] = None,
|
|
115042
115130
|
color: typing.Optional[builtins.str] = None,
|
|
115043
115131
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
115132
|
+
id: typing.Optional[builtins.str] = None,
|
|
115044
115133
|
label: typing.Optional[builtins.str] = None,
|
|
115045
115134
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
115046
115135
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -115048,6 +115137,7 @@ def _typecheckingstub__a2c1c58afbc5e81e1af61d18f3f4b2f840465db1e0e780c358e83b3a1
|
|
|
115048
115137
|
stack_region: typing.Optional[builtins.str] = None,
|
|
115049
115138
|
statistic: typing.Optional[builtins.str] = None,
|
|
115050
115139
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
115140
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
115051
115141
|
) -> None:
|
|
115052
115142
|
"""Type checking stubs"""
|
|
115053
115143
|
pass
|
|
@@ -117078,6 +117168,7 @@ def _typecheckingstub__1f244e2fd0db7fcc2c7468799c9a19c8b2a0a6f87bbe53904f9e9cf45
|
|
|
117078
117168
|
account: typing.Optional[builtins.str] = None,
|
|
117079
117169
|
color: typing.Optional[builtins.str] = None,
|
|
117080
117170
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
117171
|
+
id: typing.Optional[builtins.str] = None,
|
|
117081
117172
|
label: typing.Optional[builtins.str] = None,
|
|
117082
117173
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
117083
117174
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -117085,6 +117176,7 @@ def _typecheckingstub__1f244e2fd0db7fcc2c7468799c9a19c8b2a0a6f87bbe53904f9e9cf45
|
|
|
117085
117176
|
stack_region: typing.Optional[builtins.str] = None,
|
|
117086
117177
|
statistic: typing.Optional[builtins.str] = None,
|
|
117087
117178
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
117179
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
117088
117180
|
) -> None:
|
|
117089
117181
|
"""Type checking stubs"""
|
|
117090
117182
|
pass
|
|
@@ -117690,6 +117782,7 @@ def _typecheckingstub__bae7a2df51c395d1a24d11925c809c17449294a288dc41db5331ecdee
|
|
|
117690
117782
|
account: typing.Optional[builtins.str] = None,
|
|
117691
117783
|
color: typing.Optional[builtins.str] = None,
|
|
117692
117784
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
117785
|
+
id: typing.Optional[builtins.str] = None,
|
|
117693
117786
|
label: typing.Optional[builtins.str] = None,
|
|
117694
117787
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
117695
117788
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -117697,6 +117790,7 @@ def _typecheckingstub__bae7a2df51c395d1a24d11925c809c17449294a288dc41db5331ecdee
|
|
|
117697
117790
|
stack_region: typing.Optional[builtins.str] = None,
|
|
117698
117791
|
statistic: typing.Optional[builtins.str] = None,
|
|
117699
117792
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
117793
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
117700
117794
|
) -> None:
|
|
117701
117795
|
"""Type checking stubs"""
|
|
117702
117796
|
pass
|