aws-cdk-lib 2.203.1__py3-none-any.whl → 2.205.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of aws-cdk-lib might be problematic. Click here for more details.
- aws_cdk/__init__.py +208 -92
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.203.1.jsii.tgz → aws-cdk-lib@2.205.0.jsii.tgz} +0 -0
- aws_cdk/aws_aiops/__init__.py +89 -39
- aws_cdk/aws_apigateway/__init__.py +164 -0
- aws_cdk/aws_apigatewayv2/__init__.py +412 -0
- aws_cdk/aws_applicationautoscaling/__init__.py +2 -2
- aws_cdk/aws_arczonalshift/__init__.py +4 -1
- aws_cdk/aws_b2bi/__init__.py +32 -16
- aws_cdk/aws_bedrock/__init__.py +198 -10
- aws_cdk/aws_cassandra/__init__.py +156 -0
- aws_cdk/aws_certificatemanager/__init__.py +28 -0
- aws_cdk/aws_chatbot/__init__.py +28 -0
- aws_cdk/aws_cloudformation/__init__.py +74 -72
- aws_cdk/aws_cloudfront/__init__.py +1273 -485
- aws_cdk/aws_cloudfront/experimental/__init__.py +32 -0
- aws_cdk/aws_cloudfront_origins/__init__.py +26 -21
- aws_cdk/aws_cloudwatch/__init__.py +278 -23
- aws_cdk/aws_codebuild/__init__.py +300 -36
- aws_cdk/aws_datasync/__init__.py +2 -2
- aws_cdk/aws_docdb/__init__.py +78 -0
- aws_cdk/aws_dynamodb/__init__.py +523 -37
- aws_cdk/aws_ec2/__init__.py +126 -30
- aws_cdk/aws_ecs/__init__.py +64 -19
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +724 -0
- aws_cdk/aws_elasticsearch/__init__.py +260 -0
- aws_cdk/aws_emrserverless/__init__.py +5 -5
- aws_cdk/aws_events/__init__.py +58 -3
- aws_cdk/aws_events_targets/__init__.py +7 -2
- aws_cdk/aws_evs/__init__.py +7 -7
- aws_cdk/aws_fsx/__init__.py +138 -78
- aws_cdk/aws_gamelift/__init__.py +19 -0
- aws_cdk/aws_glue/__init__.py +3 -3
- aws_cdk/aws_iot/__init__.py +1 -1
- aws_cdk/aws_kinesis/__init__.py +391 -13
- aws_cdk/aws_kinesisfirehose/__init__.py +128 -1
- aws_cdk/aws_lambda/__init__.py +144 -0
- aws_cdk/aws_lex/__init__.py +36 -19
- aws_cdk/aws_logs/__init__.py +58 -0
- aws_cdk/aws_neptune/__init__.py +12 -12
- aws_cdk/aws_odb/__init__.py +4049 -0
- aws_cdk/aws_omics/__init__.py +1 -1
- aws_cdk/aws_opensearchservice/__init__.py +260 -0
- aws_cdk/aws_qbusiness/__init__.py +471 -4
- aws_cdk/aws_quicksight/__init__.py +185 -16
- aws_cdk/aws_rds/__init__.py +553 -17
- aws_cdk/aws_redshiftserverless/__init__.py +72 -45
- aws_cdk/aws_route53/__init__.py +41 -19
- aws_cdk/aws_s3tables/__init__.py +1005 -0
- aws_cdk/aws_sagemaker/__init__.py +20 -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 +159 -37
- aws_cdk/aws_transfer/__init__.py +23 -1
- {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.205.0.dist-info}/METADATA +2 -2
- {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.205.0.dist-info}/RECORD +62 -61
- {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.205.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.205.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.205.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.205.0.dist-info}/top_level.txt +0 -0
|
@@ -11810,6 +11810,7 @@ class IApi(_IResource_c80c4260, typing_extensions.Protocol):
|
|
|
11810
11810
|
account: typing.Optional[builtins.str] = None,
|
|
11811
11811
|
color: typing.Optional[builtins.str] = None,
|
|
11812
11812
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
11813
|
+
id: typing.Optional[builtins.str] = None,
|
|
11813
11814
|
label: typing.Optional[builtins.str] = None,
|
|
11814
11815
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
11815
11816
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -11817,6 +11818,7 @@ class IApi(_IResource_c80c4260, typing_extensions.Protocol):
|
|
|
11817
11818
|
stack_region: typing.Optional[builtins.str] = None,
|
|
11818
11819
|
statistic: typing.Optional[builtins.str] = None,
|
|
11819
11820
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
11821
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
11820
11822
|
) -> _Metric_e396a4dc:
|
|
11821
11823
|
'''Return the given named metric for this Api Gateway.
|
|
11822
11824
|
|
|
@@ -11824,6 +11826,7 @@ class IApi(_IResource_c80c4260, typing_extensions.Protocol):
|
|
|
11824
11826
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
11825
11827
|
: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
|
|
11826
11828
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
11829
|
+
: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
|
|
11827
11830
|
: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
|
|
11828
11831
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
11829
11832
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -11831,6 +11834,7 @@ class IApi(_IResource_c80c4260, typing_extensions.Protocol):
|
|
|
11831
11834
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
11832
11835
|
: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
|
|
11833
11836
|
: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
|
|
11837
|
+
: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
|
|
11834
11838
|
|
|
11835
11839
|
:default: - average over 5 minutes
|
|
11836
11840
|
'''
|
|
@@ -11870,6 +11874,7 @@ class _IApiProxy(
|
|
|
11870
11874
|
account: typing.Optional[builtins.str] = None,
|
|
11871
11875
|
color: typing.Optional[builtins.str] = None,
|
|
11872
11876
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
11877
|
+
id: typing.Optional[builtins.str] = None,
|
|
11873
11878
|
label: typing.Optional[builtins.str] = None,
|
|
11874
11879
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
11875
11880
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -11877,6 +11882,7 @@ class _IApiProxy(
|
|
|
11877
11882
|
stack_region: typing.Optional[builtins.str] = None,
|
|
11878
11883
|
statistic: typing.Optional[builtins.str] = None,
|
|
11879
11884
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
11885
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
11880
11886
|
) -> _Metric_e396a4dc:
|
|
11881
11887
|
'''Return the given named metric for this Api Gateway.
|
|
11882
11888
|
|
|
@@ -11884,6 +11890,7 @@ class _IApiProxy(
|
|
|
11884
11890
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
11885
11891
|
: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
|
|
11886
11892
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
11893
|
+
: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
|
|
11887
11894
|
: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
|
|
11888
11895
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
11889
11896
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -11891,6 +11898,7 @@ class _IApiProxy(
|
|
|
11891
11898
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
11892
11899
|
: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
|
|
11893
11900
|
: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
|
|
11901
|
+
: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
|
|
11894
11902
|
|
|
11895
11903
|
:default: - average over 5 minutes
|
|
11896
11904
|
'''
|
|
@@ -11901,6 +11909,7 @@ class _IApiProxy(
|
|
|
11901
11909
|
account=account,
|
|
11902
11910
|
color=color,
|
|
11903
11911
|
dimensions_map=dimensions_map,
|
|
11912
|
+
id=id,
|
|
11904
11913
|
label=label,
|
|
11905
11914
|
period=period,
|
|
11906
11915
|
region=region,
|
|
@@ -11908,6 +11917,7 @@ class _IApiProxy(
|
|
|
11908
11917
|
stack_region=stack_region,
|
|
11909
11918
|
statistic=statistic,
|
|
11910
11919
|
unit=unit,
|
|
11920
|
+
visible=visible,
|
|
11911
11921
|
)
|
|
11912
11922
|
|
|
11913
11923
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metric", [metric_name, props]))
|
|
@@ -12157,6 +12167,7 @@ class IHttpApi(IApi, typing_extensions.Protocol):
|
|
|
12157
12167
|
account: typing.Optional[builtins.str] = None,
|
|
12158
12168
|
color: typing.Optional[builtins.str] = None,
|
|
12159
12169
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
12170
|
+
id: typing.Optional[builtins.str] = None,
|
|
12160
12171
|
label: typing.Optional[builtins.str] = None,
|
|
12161
12172
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
12162
12173
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -12164,12 +12175,14 @@ class IHttpApi(IApi, typing_extensions.Protocol):
|
|
|
12164
12175
|
stack_region: typing.Optional[builtins.str] = None,
|
|
12165
12176
|
statistic: typing.Optional[builtins.str] = None,
|
|
12166
12177
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
12178
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
12167
12179
|
) -> _Metric_e396a4dc:
|
|
12168
12180
|
'''Metric for the number of client-side errors captured in a given period.
|
|
12169
12181
|
|
|
12170
12182
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
12171
12183
|
: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
|
|
12172
12184
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
12185
|
+
: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
|
|
12173
12186
|
: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
|
|
12174
12187
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
12175
12188
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -12177,6 +12190,7 @@ class IHttpApi(IApi, typing_extensions.Protocol):
|
|
|
12177
12190
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
12178
12191
|
: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
|
|
12179
12192
|
: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
|
|
12193
|
+
: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
|
|
12180
12194
|
|
|
12181
12195
|
:default: - sum over 5 minutes
|
|
12182
12196
|
'''
|
|
@@ -12189,6 +12203,7 @@ class IHttpApi(IApi, typing_extensions.Protocol):
|
|
|
12189
12203
|
account: typing.Optional[builtins.str] = None,
|
|
12190
12204
|
color: typing.Optional[builtins.str] = None,
|
|
12191
12205
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
12206
|
+
id: typing.Optional[builtins.str] = None,
|
|
12192
12207
|
label: typing.Optional[builtins.str] = None,
|
|
12193
12208
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
12194
12209
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -12196,12 +12211,14 @@ class IHttpApi(IApi, typing_extensions.Protocol):
|
|
|
12196
12211
|
stack_region: typing.Optional[builtins.str] = None,
|
|
12197
12212
|
statistic: typing.Optional[builtins.str] = None,
|
|
12198
12213
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
12214
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
12199
12215
|
) -> _Metric_e396a4dc:
|
|
12200
12216
|
'''Metric for the total number API requests in a given period.
|
|
12201
12217
|
|
|
12202
12218
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
12203
12219
|
: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
|
|
12204
12220
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
12221
|
+
: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
|
|
12205
12222
|
: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
|
|
12206
12223
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
12207
12224
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -12209,6 +12226,7 @@ class IHttpApi(IApi, typing_extensions.Protocol):
|
|
|
12209
12226
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
12210
12227
|
: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
|
|
12211
12228
|
: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
|
|
12229
|
+
: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
|
|
12212
12230
|
|
|
12213
12231
|
:default: - SampleCount over 5 minutes
|
|
12214
12232
|
'''
|
|
@@ -12221,6 +12239,7 @@ class IHttpApi(IApi, typing_extensions.Protocol):
|
|
|
12221
12239
|
account: typing.Optional[builtins.str] = None,
|
|
12222
12240
|
color: typing.Optional[builtins.str] = None,
|
|
12223
12241
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
12242
|
+
id: typing.Optional[builtins.str] = None,
|
|
12224
12243
|
label: typing.Optional[builtins.str] = None,
|
|
12225
12244
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
12226
12245
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -12228,12 +12247,14 @@ class IHttpApi(IApi, typing_extensions.Protocol):
|
|
|
12228
12247
|
stack_region: typing.Optional[builtins.str] = None,
|
|
12229
12248
|
statistic: typing.Optional[builtins.str] = None,
|
|
12230
12249
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
12250
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
12231
12251
|
) -> _Metric_e396a4dc:
|
|
12232
12252
|
'''Metric for the amount of data processed in bytes.
|
|
12233
12253
|
|
|
12234
12254
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
12235
12255
|
: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
|
|
12236
12256
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
12257
|
+
: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
|
|
12237
12258
|
: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
|
|
12238
12259
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
12239
12260
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -12241,6 +12262,7 @@ class IHttpApi(IApi, typing_extensions.Protocol):
|
|
|
12241
12262
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
12242
12263
|
: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
|
|
12243
12264
|
: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
|
|
12265
|
+
: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
|
|
12244
12266
|
|
|
12245
12267
|
:default: - sum over 5 minutes
|
|
12246
12268
|
'''
|
|
@@ -12253,6 +12275,7 @@ class IHttpApi(IApi, typing_extensions.Protocol):
|
|
|
12253
12275
|
account: typing.Optional[builtins.str] = None,
|
|
12254
12276
|
color: typing.Optional[builtins.str] = None,
|
|
12255
12277
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
12278
|
+
id: typing.Optional[builtins.str] = None,
|
|
12256
12279
|
label: typing.Optional[builtins.str] = None,
|
|
12257
12280
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
12258
12281
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -12260,12 +12283,14 @@ class IHttpApi(IApi, typing_extensions.Protocol):
|
|
|
12260
12283
|
stack_region: typing.Optional[builtins.str] = None,
|
|
12261
12284
|
statistic: typing.Optional[builtins.str] = None,
|
|
12262
12285
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
12286
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
12263
12287
|
) -> _Metric_e396a4dc:
|
|
12264
12288
|
'''Metric for the time between when API Gateway relays a request to the backend and when it receives a response from the backend.
|
|
12265
12289
|
|
|
12266
12290
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
12267
12291
|
: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
|
|
12268
12292
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
12293
|
+
: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
|
|
12269
12294
|
: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
|
|
12270
12295
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
12271
12296
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -12273,6 +12298,7 @@ class IHttpApi(IApi, typing_extensions.Protocol):
|
|
|
12273
12298
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
12274
12299
|
: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
|
|
12275
12300
|
: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
|
|
12301
|
+
: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
|
|
12276
12302
|
|
|
12277
12303
|
:default: - no statistic
|
|
12278
12304
|
'''
|
|
@@ -12285,6 +12311,7 @@ class IHttpApi(IApi, typing_extensions.Protocol):
|
|
|
12285
12311
|
account: typing.Optional[builtins.str] = None,
|
|
12286
12312
|
color: typing.Optional[builtins.str] = None,
|
|
12287
12313
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
12314
|
+
id: typing.Optional[builtins.str] = None,
|
|
12288
12315
|
label: typing.Optional[builtins.str] = None,
|
|
12289
12316
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
12290
12317
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -12292,6 +12319,7 @@ class IHttpApi(IApi, typing_extensions.Protocol):
|
|
|
12292
12319
|
stack_region: typing.Optional[builtins.str] = None,
|
|
12293
12320
|
statistic: typing.Optional[builtins.str] = None,
|
|
12294
12321
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
12322
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
12295
12323
|
) -> _Metric_e396a4dc:
|
|
12296
12324
|
'''The time between when API Gateway receives a request from a client and when it returns a response to the client.
|
|
12297
12325
|
|
|
@@ -12300,6 +12328,7 @@ class IHttpApi(IApi, typing_extensions.Protocol):
|
|
|
12300
12328
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
12301
12329
|
: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
|
|
12302
12330
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
12331
|
+
: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
|
|
12303
12332
|
: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
|
|
12304
12333
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
12305
12334
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -12307,6 +12336,7 @@ class IHttpApi(IApi, typing_extensions.Protocol):
|
|
|
12307
12336
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
12308
12337
|
: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
|
|
12309
12338
|
: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
|
|
12339
|
+
: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
|
|
12310
12340
|
|
|
12311
12341
|
:default: - no statistic
|
|
12312
12342
|
'''
|
|
@@ -12319,6 +12349,7 @@ class IHttpApi(IApi, typing_extensions.Protocol):
|
|
|
12319
12349
|
account: typing.Optional[builtins.str] = None,
|
|
12320
12350
|
color: typing.Optional[builtins.str] = None,
|
|
12321
12351
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
12352
|
+
id: typing.Optional[builtins.str] = None,
|
|
12322
12353
|
label: typing.Optional[builtins.str] = None,
|
|
12323
12354
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
12324
12355
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -12326,12 +12357,14 @@ class IHttpApi(IApi, typing_extensions.Protocol):
|
|
|
12326
12357
|
stack_region: typing.Optional[builtins.str] = None,
|
|
12327
12358
|
statistic: typing.Optional[builtins.str] = None,
|
|
12328
12359
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
12360
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
12329
12361
|
) -> _Metric_e396a4dc:
|
|
12330
12362
|
'''Metric for the number of server-side errors captured in a given period.
|
|
12331
12363
|
|
|
12332
12364
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
12333
12365
|
: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
|
|
12334
12366
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
12367
|
+
: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
|
|
12335
12368
|
: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
|
|
12336
12369
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
12337
12370
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -12339,6 +12372,7 @@ class IHttpApi(IApi, typing_extensions.Protocol):
|
|
|
12339
12372
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
12340
12373
|
: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
|
|
12341
12374
|
: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
|
|
12375
|
+
: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
|
|
12342
12376
|
|
|
12343
12377
|
:default: - sum over 5 minutes
|
|
12344
12378
|
'''
|
|
@@ -12451,6 +12485,7 @@ class _IHttpApiProxy(
|
|
|
12451
12485
|
account: typing.Optional[builtins.str] = None,
|
|
12452
12486
|
color: typing.Optional[builtins.str] = None,
|
|
12453
12487
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
12488
|
+
id: typing.Optional[builtins.str] = None,
|
|
12454
12489
|
label: typing.Optional[builtins.str] = None,
|
|
12455
12490
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
12456
12491
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -12458,12 +12493,14 @@ class _IHttpApiProxy(
|
|
|
12458
12493
|
stack_region: typing.Optional[builtins.str] = None,
|
|
12459
12494
|
statistic: typing.Optional[builtins.str] = None,
|
|
12460
12495
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
12496
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
12461
12497
|
) -> _Metric_e396a4dc:
|
|
12462
12498
|
'''Metric for the number of client-side errors captured in a given period.
|
|
12463
12499
|
|
|
12464
12500
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
12465
12501
|
: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
|
|
12466
12502
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
12503
|
+
: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
|
|
12467
12504
|
: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
|
|
12468
12505
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
12469
12506
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -12471,6 +12508,7 @@ class _IHttpApiProxy(
|
|
|
12471
12508
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
12472
12509
|
: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
|
|
12473
12510
|
: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
|
|
12511
|
+
: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
|
|
12474
12512
|
|
|
12475
12513
|
:default: - sum over 5 minutes
|
|
12476
12514
|
'''
|
|
@@ -12478,6 +12516,7 @@ class _IHttpApiProxy(
|
|
|
12478
12516
|
account=account,
|
|
12479
12517
|
color=color,
|
|
12480
12518
|
dimensions_map=dimensions_map,
|
|
12519
|
+
id=id,
|
|
12481
12520
|
label=label,
|
|
12482
12521
|
period=period,
|
|
12483
12522
|
region=region,
|
|
@@ -12485,6 +12524,7 @@ class _IHttpApiProxy(
|
|
|
12485
12524
|
stack_region=stack_region,
|
|
12486
12525
|
statistic=statistic,
|
|
12487
12526
|
unit=unit,
|
|
12527
|
+
visible=visible,
|
|
12488
12528
|
)
|
|
12489
12529
|
|
|
12490
12530
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricClientError", [props]))
|
|
@@ -12496,6 +12536,7 @@ class _IHttpApiProxy(
|
|
|
12496
12536
|
account: typing.Optional[builtins.str] = None,
|
|
12497
12537
|
color: typing.Optional[builtins.str] = None,
|
|
12498
12538
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
12539
|
+
id: typing.Optional[builtins.str] = None,
|
|
12499
12540
|
label: typing.Optional[builtins.str] = None,
|
|
12500
12541
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
12501
12542
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -12503,12 +12544,14 @@ class _IHttpApiProxy(
|
|
|
12503
12544
|
stack_region: typing.Optional[builtins.str] = None,
|
|
12504
12545
|
statistic: typing.Optional[builtins.str] = None,
|
|
12505
12546
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
12547
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
12506
12548
|
) -> _Metric_e396a4dc:
|
|
12507
12549
|
'''Metric for the total number API requests in a given period.
|
|
12508
12550
|
|
|
12509
12551
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
12510
12552
|
: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
|
|
12511
12553
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
12554
|
+
: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
|
|
12512
12555
|
: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
|
|
12513
12556
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
12514
12557
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -12516,6 +12559,7 @@ class _IHttpApiProxy(
|
|
|
12516
12559
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
12517
12560
|
: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
|
|
12518
12561
|
: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
|
|
12562
|
+
: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
|
|
12519
12563
|
|
|
12520
12564
|
:default: - SampleCount over 5 minutes
|
|
12521
12565
|
'''
|
|
@@ -12523,6 +12567,7 @@ class _IHttpApiProxy(
|
|
|
12523
12567
|
account=account,
|
|
12524
12568
|
color=color,
|
|
12525
12569
|
dimensions_map=dimensions_map,
|
|
12570
|
+
id=id,
|
|
12526
12571
|
label=label,
|
|
12527
12572
|
period=period,
|
|
12528
12573
|
region=region,
|
|
@@ -12530,6 +12575,7 @@ class _IHttpApiProxy(
|
|
|
12530
12575
|
stack_region=stack_region,
|
|
12531
12576
|
statistic=statistic,
|
|
12532
12577
|
unit=unit,
|
|
12578
|
+
visible=visible,
|
|
12533
12579
|
)
|
|
12534
12580
|
|
|
12535
12581
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricCount", [props]))
|
|
@@ -12541,6 +12587,7 @@ class _IHttpApiProxy(
|
|
|
12541
12587
|
account: typing.Optional[builtins.str] = None,
|
|
12542
12588
|
color: typing.Optional[builtins.str] = None,
|
|
12543
12589
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
12590
|
+
id: typing.Optional[builtins.str] = None,
|
|
12544
12591
|
label: typing.Optional[builtins.str] = None,
|
|
12545
12592
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
12546
12593
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -12548,12 +12595,14 @@ class _IHttpApiProxy(
|
|
|
12548
12595
|
stack_region: typing.Optional[builtins.str] = None,
|
|
12549
12596
|
statistic: typing.Optional[builtins.str] = None,
|
|
12550
12597
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
12598
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
12551
12599
|
) -> _Metric_e396a4dc:
|
|
12552
12600
|
'''Metric for the amount of data processed in bytes.
|
|
12553
12601
|
|
|
12554
12602
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
12555
12603
|
: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
|
|
12556
12604
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
12605
|
+
: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
|
|
12557
12606
|
: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
|
|
12558
12607
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
12559
12608
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -12561,6 +12610,7 @@ class _IHttpApiProxy(
|
|
|
12561
12610
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
12562
12611
|
: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
|
|
12563
12612
|
: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
|
|
12613
|
+
: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
|
|
12564
12614
|
|
|
12565
12615
|
:default: - sum over 5 minutes
|
|
12566
12616
|
'''
|
|
@@ -12568,6 +12618,7 @@ class _IHttpApiProxy(
|
|
|
12568
12618
|
account=account,
|
|
12569
12619
|
color=color,
|
|
12570
12620
|
dimensions_map=dimensions_map,
|
|
12621
|
+
id=id,
|
|
12571
12622
|
label=label,
|
|
12572
12623
|
period=period,
|
|
12573
12624
|
region=region,
|
|
@@ -12575,6 +12626,7 @@ class _IHttpApiProxy(
|
|
|
12575
12626
|
stack_region=stack_region,
|
|
12576
12627
|
statistic=statistic,
|
|
12577
12628
|
unit=unit,
|
|
12629
|
+
visible=visible,
|
|
12578
12630
|
)
|
|
12579
12631
|
|
|
12580
12632
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricDataProcessed", [props]))
|
|
@@ -12586,6 +12638,7 @@ class _IHttpApiProxy(
|
|
|
12586
12638
|
account: typing.Optional[builtins.str] = None,
|
|
12587
12639
|
color: typing.Optional[builtins.str] = None,
|
|
12588
12640
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
12641
|
+
id: typing.Optional[builtins.str] = None,
|
|
12589
12642
|
label: typing.Optional[builtins.str] = None,
|
|
12590
12643
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
12591
12644
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -12593,12 +12646,14 @@ class _IHttpApiProxy(
|
|
|
12593
12646
|
stack_region: typing.Optional[builtins.str] = None,
|
|
12594
12647
|
statistic: typing.Optional[builtins.str] = None,
|
|
12595
12648
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
12649
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
12596
12650
|
) -> _Metric_e396a4dc:
|
|
12597
12651
|
'''Metric for the time between when API Gateway relays a request to the backend and when it receives a response from the backend.
|
|
12598
12652
|
|
|
12599
12653
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
12600
12654
|
: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
|
|
12601
12655
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
12656
|
+
: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
|
|
12602
12657
|
: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
|
|
12603
12658
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
12604
12659
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -12606,6 +12661,7 @@ class _IHttpApiProxy(
|
|
|
12606
12661
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
12607
12662
|
: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
|
|
12608
12663
|
: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
|
|
12664
|
+
: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
|
|
12609
12665
|
|
|
12610
12666
|
:default: - no statistic
|
|
12611
12667
|
'''
|
|
@@ -12613,6 +12669,7 @@ class _IHttpApiProxy(
|
|
|
12613
12669
|
account=account,
|
|
12614
12670
|
color=color,
|
|
12615
12671
|
dimensions_map=dimensions_map,
|
|
12672
|
+
id=id,
|
|
12616
12673
|
label=label,
|
|
12617
12674
|
period=period,
|
|
12618
12675
|
region=region,
|
|
@@ -12620,6 +12677,7 @@ class _IHttpApiProxy(
|
|
|
12620
12677
|
stack_region=stack_region,
|
|
12621
12678
|
statistic=statistic,
|
|
12622
12679
|
unit=unit,
|
|
12680
|
+
visible=visible,
|
|
12623
12681
|
)
|
|
12624
12682
|
|
|
12625
12683
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricIntegrationLatency", [props]))
|
|
@@ -12631,6 +12689,7 @@ class _IHttpApiProxy(
|
|
|
12631
12689
|
account: typing.Optional[builtins.str] = None,
|
|
12632
12690
|
color: typing.Optional[builtins.str] = None,
|
|
12633
12691
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
12692
|
+
id: typing.Optional[builtins.str] = None,
|
|
12634
12693
|
label: typing.Optional[builtins.str] = None,
|
|
12635
12694
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
12636
12695
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -12638,6 +12697,7 @@ class _IHttpApiProxy(
|
|
|
12638
12697
|
stack_region: typing.Optional[builtins.str] = None,
|
|
12639
12698
|
statistic: typing.Optional[builtins.str] = None,
|
|
12640
12699
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
12700
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
12641
12701
|
) -> _Metric_e396a4dc:
|
|
12642
12702
|
'''The time between when API Gateway receives a request from a client and when it returns a response to the client.
|
|
12643
12703
|
|
|
@@ -12646,6 +12706,7 @@ class _IHttpApiProxy(
|
|
|
12646
12706
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
12647
12707
|
: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
|
|
12648
12708
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
12709
|
+
: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
|
|
12649
12710
|
: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
|
|
12650
12711
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
12651
12712
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -12653,6 +12714,7 @@ class _IHttpApiProxy(
|
|
|
12653
12714
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
12654
12715
|
: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
|
|
12655
12716
|
: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
|
|
12717
|
+
: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
|
|
12656
12718
|
|
|
12657
12719
|
:default: - no statistic
|
|
12658
12720
|
'''
|
|
@@ -12660,6 +12722,7 @@ class _IHttpApiProxy(
|
|
|
12660
12722
|
account=account,
|
|
12661
12723
|
color=color,
|
|
12662
12724
|
dimensions_map=dimensions_map,
|
|
12725
|
+
id=id,
|
|
12663
12726
|
label=label,
|
|
12664
12727
|
period=period,
|
|
12665
12728
|
region=region,
|
|
@@ -12667,6 +12730,7 @@ class _IHttpApiProxy(
|
|
|
12667
12730
|
stack_region=stack_region,
|
|
12668
12731
|
statistic=statistic,
|
|
12669
12732
|
unit=unit,
|
|
12733
|
+
visible=visible,
|
|
12670
12734
|
)
|
|
12671
12735
|
|
|
12672
12736
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricLatency", [props]))
|
|
@@ -12678,6 +12742,7 @@ class _IHttpApiProxy(
|
|
|
12678
12742
|
account: typing.Optional[builtins.str] = None,
|
|
12679
12743
|
color: typing.Optional[builtins.str] = None,
|
|
12680
12744
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
12745
|
+
id: typing.Optional[builtins.str] = None,
|
|
12681
12746
|
label: typing.Optional[builtins.str] = None,
|
|
12682
12747
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
12683
12748
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -12685,12 +12750,14 @@ class _IHttpApiProxy(
|
|
|
12685
12750
|
stack_region: typing.Optional[builtins.str] = None,
|
|
12686
12751
|
statistic: typing.Optional[builtins.str] = None,
|
|
12687
12752
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
12753
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
12688
12754
|
) -> _Metric_e396a4dc:
|
|
12689
12755
|
'''Metric for the number of server-side errors captured in a given period.
|
|
12690
12756
|
|
|
12691
12757
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
12692
12758
|
: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
|
|
12693
12759
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
12760
|
+
: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
|
|
12694
12761
|
: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
|
|
12695
12762
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
12696
12763
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -12698,6 +12765,7 @@ class _IHttpApiProxy(
|
|
|
12698
12765
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
12699
12766
|
: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
|
|
12700
12767
|
: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
|
|
12768
|
+
: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
|
|
12701
12769
|
|
|
12702
12770
|
:default: - sum over 5 minutes
|
|
12703
12771
|
'''
|
|
@@ -12705,6 +12773,7 @@ class _IHttpApiProxy(
|
|
|
12705
12773
|
account=account,
|
|
12706
12774
|
color=color,
|
|
12707
12775
|
dimensions_map=dimensions_map,
|
|
12776
|
+
id=id,
|
|
12708
12777
|
label=label,
|
|
12709
12778
|
period=period,
|
|
12710
12779
|
region=region,
|
|
@@ -12712,6 +12781,7 @@ class _IHttpApiProxy(
|
|
|
12712
12781
|
stack_region=stack_region,
|
|
12713
12782
|
statistic=statistic,
|
|
12714
12783
|
unit=unit,
|
|
12784
|
+
visible=visible,
|
|
12715
12785
|
)
|
|
12716
12786
|
|
|
12717
12787
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricServerError", [props]))
|
|
@@ -12898,6 +12968,15 @@ class IStage(_IResource_c80c4260, typing_extensions.Protocol):
|
|
|
12898
12968
|
'''The URL to this stage.'''
|
|
12899
12969
|
...
|
|
12900
12970
|
|
|
12971
|
+
@jsii.member(jsii_name="addStageVariable")
|
|
12972
|
+
def add_stage_variable(self, name: builtins.str, value: builtins.str) -> None:
|
|
12973
|
+
'''Adds a stage variable to this stage.
|
|
12974
|
+
|
|
12975
|
+
:param name: The name of the stage variable.
|
|
12976
|
+
:param value: The value of the stage variable. The allowed characters for variable names and the required pattern for variable values are specified here: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-apigateway-stage.html#cfn-apigateway-stage-variables
|
|
12977
|
+
'''
|
|
12978
|
+
...
|
|
12979
|
+
|
|
12901
12980
|
@jsii.member(jsii_name="metric")
|
|
12902
12981
|
def metric(
|
|
12903
12982
|
self,
|
|
@@ -12906,6 +12985,7 @@ class IStage(_IResource_c80c4260, typing_extensions.Protocol):
|
|
|
12906
12985
|
account: typing.Optional[builtins.str] = None,
|
|
12907
12986
|
color: typing.Optional[builtins.str] = None,
|
|
12908
12987
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
12988
|
+
id: typing.Optional[builtins.str] = None,
|
|
12909
12989
|
label: typing.Optional[builtins.str] = None,
|
|
12910
12990
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
12911
12991
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -12913,6 +12993,7 @@ class IStage(_IResource_c80c4260, typing_extensions.Protocol):
|
|
|
12913
12993
|
stack_region: typing.Optional[builtins.str] = None,
|
|
12914
12994
|
statistic: typing.Optional[builtins.str] = None,
|
|
12915
12995
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
12996
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
12916
12997
|
) -> _Metric_e396a4dc:
|
|
12917
12998
|
'''Return the given named metric for this HTTP Api Gateway Stage.
|
|
12918
12999
|
|
|
@@ -12920,6 +13001,7 @@ class IStage(_IResource_c80c4260, typing_extensions.Protocol):
|
|
|
12920
13001
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
12921
13002
|
: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
|
|
12922
13003
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
13004
|
+
: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
|
|
12923
13005
|
: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
|
|
12924
13006
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
12925
13007
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -12927,6 +13009,7 @@ class IStage(_IResource_c80c4260, typing_extensions.Protocol):
|
|
|
12927
13009
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
12928
13010
|
: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
|
|
12929
13011
|
: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
|
|
13012
|
+
: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
|
|
12930
13013
|
|
|
12931
13014
|
:default: - average over 5 minutes
|
|
12932
13015
|
'''
|
|
@@ -12957,6 +13040,19 @@ class _IStageProxy(
|
|
|
12957
13040
|
'''The URL to this stage.'''
|
|
12958
13041
|
return typing.cast(builtins.str, jsii.get(self, "url"))
|
|
12959
13042
|
|
|
13043
|
+
@jsii.member(jsii_name="addStageVariable")
|
|
13044
|
+
def add_stage_variable(self, name: builtins.str, value: builtins.str) -> None:
|
|
13045
|
+
'''Adds a stage variable to this stage.
|
|
13046
|
+
|
|
13047
|
+
:param name: The name of the stage variable.
|
|
13048
|
+
:param value: The value of the stage variable. The allowed characters for variable names and the required pattern for variable values are specified here: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-apigateway-stage.html#cfn-apigateway-stage-variables
|
|
13049
|
+
'''
|
|
13050
|
+
if __debug__:
|
|
13051
|
+
type_hints = typing.get_type_hints(_typecheckingstub__4c665dea48f412447206e1f5da11faba5435e964a15bc960b6d46ece81fa0f67)
|
|
13052
|
+
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
13053
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
13054
|
+
return typing.cast(None, jsii.invoke(self, "addStageVariable", [name, value]))
|
|
13055
|
+
|
|
12960
13056
|
@jsii.member(jsii_name="metric")
|
|
12961
13057
|
def metric(
|
|
12962
13058
|
self,
|
|
@@ -12965,6 +13061,7 @@ class _IStageProxy(
|
|
|
12965
13061
|
account: typing.Optional[builtins.str] = None,
|
|
12966
13062
|
color: typing.Optional[builtins.str] = None,
|
|
12967
13063
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
13064
|
+
id: typing.Optional[builtins.str] = None,
|
|
12968
13065
|
label: typing.Optional[builtins.str] = None,
|
|
12969
13066
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
12970
13067
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -12972,6 +13069,7 @@ class _IStageProxy(
|
|
|
12972
13069
|
stack_region: typing.Optional[builtins.str] = None,
|
|
12973
13070
|
statistic: typing.Optional[builtins.str] = None,
|
|
12974
13071
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
13072
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
12975
13073
|
) -> _Metric_e396a4dc:
|
|
12976
13074
|
'''Return the given named metric for this HTTP Api Gateway Stage.
|
|
12977
13075
|
|
|
@@ -12979,6 +13077,7 @@ class _IStageProxy(
|
|
|
12979
13077
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
12980
13078
|
: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
|
|
12981
13079
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
13080
|
+
: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
|
|
12982
13081
|
: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
|
|
12983
13082
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
12984
13083
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -12986,6 +13085,7 @@ class _IStageProxy(
|
|
|
12986
13085
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
12987
13086
|
: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
|
|
12988
13087
|
: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
|
|
13088
|
+
: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
|
|
12989
13089
|
|
|
12990
13090
|
:default: - average over 5 minutes
|
|
12991
13091
|
'''
|
|
@@ -12996,6 +13096,7 @@ class _IStageProxy(
|
|
|
12996
13096
|
account=account,
|
|
12997
13097
|
color=color,
|
|
12998
13098
|
dimensions_map=dimensions_map,
|
|
13099
|
+
id=id,
|
|
12999
13100
|
label=label,
|
|
13000
13101
|
period=period,
|
|
13001
13102
|
region=region,
|
|
@@ -13003,6 +13104,7 @@ class _IStageProxy(
|
|
|
13003
13104
|
stack_region=stack_region,
|
|
13004
13105
|
statistic=statistic,
|
|
13005
13106
|
unit=unit,
|
|
13107
|
+
visible=visible,
|
|
13006
13108
|
)
|
|
13007
13109
|
|
|
13008
13110
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metric", [metric_name, props]))
|
|
@@ -13919,6 +14021,7 @@ class StageAttributes:
|
|
|
13919
14021
|
"description": "description",
|
|
13920
14022
|
"detailed_metrics_enabled": "detailedMetricsEnabled",
|
|
13921
14023
|
"domain_mapping": "domainMapping",
|
|
14024
|
+
"stage_variables": "stageVariables",
|
|
13922
14025
|
"throttle": "throttle",
|
|
13923
14026
|
},
|
|
13924
14027
|
)
|
|
@@ -13931,6 +14034,7 @@ class StageOptions:
|
|
|
13931
14034
|
description: typing.Optional[builtins.str] = None,
|
|
13932
14035
|
detailed_metrics_enabled: typing.Optional[builtins.bool] = None,
|
|
13933
14036
|
domain_mapping: typing.Optional[typing.Union[DomainMappingOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
14037
|
+
stage_variables: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
13934
14038
|
throttle: typing.Optional[typing.Union["ThrottleSettings", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
13935
14039
|
) -> None:
|
|
13936
14040
|
'''Options required to create a new stage.
|
|
@@ -13942,6 +14046,7 @@ class StageOptions:
|
|
|
13942
14046
|
:param description: The description for the API stage. Default: - no description
|
|
13943
14047
|
:param detailed_metrics_enabled: Specifies whether detailed metrics are enabled. Default: false
|
|
13944
14048
|
:param domain_mapping: The options for custom domain and api mapping. Default: - no custom domain and api mapping configuration
|
|
14049
|
+
:param stage_variables: Stage variables for the stage. These are key-value pairs that you can define and use in your API routes. The allowed characters for variable names and the required pattern for variable values are specified here: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-apigateway-stage.html#cfn-apigateway-stage-variables Default: - No stage variables
|
|
13945
14050
|
:param throttle: Throttle settings for the routes of this stage. Default: - no throttling configuration
|
|
13946
14051
|
|
|
13947
14052
|
:exampleMetadata: fixture=_generated
|
|
@@ -13966,6 +14071,9 @@ class StageOptions:
|
|
|
13966
14071
|
# the properties below are optional
|
|
13967
14072
|
mapping_key="mappingKey"
|
|
13968
14073
|
),
|
|
14074
|
+
stage_variables={
|
|
14075
|
+
"stage_variables_key": "stageVariables"
|
|
14076
|
+
},
|
|
13969
14077
|
throttle=apigatewayv2.ThrottleSettings(
|
|
13970
14078
|
burst_limit=123,
|
|
13971
14079
|
rate_limit=123
|
|
@@ -13983,6 +14091,7 @@ class StageOptions:
|
|
|
13983
14091
|
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
13984
14092
|
check_type(argname="argument detailed_metrics_enabled", value=detailed_metrics_enabled, expected_type=type_hints["detailed_metrics_enabled"])
|
|
13985
14093
|
check_type(argname="argument domain_mapping", value=domain_mapping, expected_type=type_hints["domain_mapping"])
|
|
14094
|
+
check_type(argname="argument stage_variables", value=stage_variables, expected_type=type_hints["stage_variables"])
|
|
13986
14095
|
check_type(argname="argument throttle", value=throttle, expected_type=type_hints["throttle"])
|
|
13987
14096
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
13988
14097
|
if access_log_settings is not None:
|
|
@@ -13995,6 +14104,8 @@ class StageOptions:
|
|
|
13995
14104
|
self._values["detailed_metrics_enabled"] = detailed_metrics_enabled
|
|
13996
14105
|
if domain_mapping is not None:
|
|
13997
14106
|
self._values["domain_mapping"] = domain_mapping
|
|
14107
|
+
if stage_variables is not None:
|
|
14108
|
+
self._values["stage_variables"] = stage_variables
|
|
13998
14109
|
if throttle is not None:
|
|
13999
14110
|
self._values["throttle"] = throttle
|
|
14000
14111
|
|
|
@@ -14043,6 +14154,19 @@ class StageOptions:
|
|
|
14043
14154
|
result = self._values.get("domain_mapping")
|
|
14044
14155
|
return typing.cast(typing.Optional[DomainMappingOptions], result)
|
|
14045
14156
|
|
|
14157
|
+
@builtins.property
|
|
14158
|
+
def stage_variables(
|
|
14159
|
+
self,
|
|
14160
|
+
) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
14161
|
+
'''Stage variables for the stage. These are key-value pairs that you can define and use in your API routes.
|
|
14162
|
+
|
|
14163
|
+
The allowed characters for variable names and the required pattern for variable values are specified here: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-apigateway-stage.html#cfn-apigateway-stage-variables
|
|
14164
|
+
|
|
14165
|
+
:default: - No stage variables
|
|
14166
|
+
'''
|
|
14167
|
+
result = self._values.get("stage_variables")
|
|
14168
|
+
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
|
|
14169
|
+
|
|
14046
14170
|
@builtins.property
|
|
14047
14171
|
def throttle(self) -> typing.Optional["ThrottleSettings"]:
|
|
14048
14172
|
'''Throttle settings for the routes of this stage.
|
|
@@ -14623,6 +14747,7 @@ class WebSocketApi(
|
|
|
14623
14747
|
account: typing.Optional[builtins.str] = None,
|
|
14624
14748
|
color: typing.Optional[builtins.str] = None,
|
|
14625
14749
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
14750
|
+
id: typing.Optional[builtins.str] = None,
|
|
14626
14751
|
label: typing.Optional[builtins.str] = None,
|
|
14627
14752
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
14628
14753
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -14630,6 +14755,7 @@ class WebSocketApi(
|
|
|
14630
14755
|
stack_region: typing.Optional[builtins.str] = None,
|
|
14631
14756
|
statistic: typing.Optional[builtins.str] = None,
|
|
14632
14757
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
14758
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
14633
14759
|
) -> _Metric_e396a4dc:
|
|
14634
14760
|
'''Return the given named metric for this Api Gateway.
|
|
14635
14761
|
|
|
@@ -14637,6 +14763,7 @@ class WebSocketApi(
|
|
|
14637
14763
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
14638
14764
|
: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
|
|
14639
14765
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
14766
|
+
: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
|
|
14640
14767
|
: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
|
|
14641
14768
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
14642
14769
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -14644,6 +14771,7 @@ class WebSocketApi(
|
|
|
14644
14771
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
14645
14772
|
: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
|
|
14646
14773
|
: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
|
|
14774
|
+
: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
|
|
14647
14775
|
'''
|
|
14648
14776
|
if __debug__:
|
|
14649
14777
|
type_hints = typing.get_type_hints(_typecheckingstub__8ea2af8d6aef7e127f3feb093668fe567793f3442bb0838c12dde2c9a975fbe6)
|
|
@@ -14652,6 +14780,7 @@ class WebSocketApi(
|
|
|
14652
14780
|
account=account,
|
|
14653
14781
|
color=color,
|
|
14654
14782
|
dimensions_map=dimensions_map,
|
|
14783
|
+
id=id,
|
|
14655
14784
|
label=label,
|
|
14656
14785
|
period=period,
|
|
14657
14786
|
region=region,
|
|
@@ -14659,6 +14788,7 @@ class WebSocketApi(
|
|
|
14659
14788
|
stack_region=stack_region,
|
|
14660
14789
|
statistic=statistic,
|
|
14661
14790
|
unit=unit,
|
|
14791
|
+
visible=visible,
|
|
14662
14792
|
)
|
|
14663
14793
|
|
|
14664
14794
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metric", [metric_name, props]))
|
|
@@ -16580,6 +16710,7 @@ class WebSocketStage(
|
|
|
16580
16710
|
description: typing.Optional[builtins.str] = None,
|
|
16581
16711
|
detailed_metrics_enabled: typing.Optional[builtins.bool] = None,
|
|
16582
16712
|
domain_mapping: typing.Optional[typing.Union[DomainMappingOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
16713
|
+
stage_variables: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
16583
16714
|
throttle: typing.Optional[typing.Union[ThrottleSettings, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
16584
16715
|
) -> None:
|
|
16585
16716
|
'''
|
|
@@ -16592,6 +16723,7 @@ class WebSocketStage(
|
|
|
16592
16723
|
:param description: The description for the API stage. Default: - no description
|
|
16593
16724
|
:param detailed_metrics_enabled: Specifies whether detailed metrics are enabled. Default: false
|
|
16594
16725
|
:param domain_mapping: The options for custom domain and api mapping. Default: - no custom domain and api mapping configuration
|
|
16726
|
+
:param stage_variables: Stage variables for the stage. These are key-value pairs that you can define and use in your API routes. The allowed characters for variable names and the required pattern for variable values are specified here: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-apigateway-stage.html#cfn-apigateway-stage-variables Default: - No stage variables
|
|
16595
16727
|
:param throttle: Throttle settings for the routes of this stage. Default: - no throttling configuration
|
|
16596
16728
|
'''
|
|
16597
16729
|
if __debug__:
|
|
@@ -16606,6 +16738,7 @@ class WebSocketStage(
|
|
|
16606
16738
|
description=description,
|
|
16607
16739
|
detailed_metrics_enabled=detailed_metrics_enabled,
|
|
16608
16740
|
domain_mapping=domain_mapping,
|
|
16741
|
+
stage_variables=stage_variables,
|
|
16609
16742
|
throttle=throttle,
|
|
16610
16743
|
)
|
|
16611
16744
|
|
|
@@ -16636,6 +16769,19 @@ class WebSocketStage(
|
|
|
16636
16769
|
|
|
16637
16770
|
return typing.cast(IWebSocketStage, jsii.sinvoke(cls, "fromWebSocketStageAttributes", [scope, id, attrs]))
|
|
16638
16771
|
|
|
16772
|
+
@jsii.member(jsii_name="addStageVariable")
|
|
16773
|
+
def add_stage_variable(self, name: builtins.str, value: builtins.str) -> None:
|
|
16774
|
+
'''Adds a stage variable to this stage.
|
|
16775
|
+
|
|
16776
|
+
:param name: -
|
|
16777
|
+
:param value: -
|
|
16778
|
+
'''
|
|
16779
|
+
if __debug__:
|
|
16780
|
+
type_hints = typing.get_type_hints(_typecheckingstub__e80115730fb3880acf6034ad67463426b7c8e7b50ede7f129cc2fa78fd11a66d)
|
|
16781
|
+
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
16782
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
16783
|
+
return typing.cast(None, jsii.invoke(self, "addStageVariable", [name, value]))
|
|
16784
|
+
|
|
16639
16785
|
@jsii.member(jsii_name="grantManagementApiAccess")
|
|
16640
16786
|
def grant_management_api_access(
|
|
16641
16787
|
self,
|
|
@@ -16658,6 +16804,7 @@ class WebSocketStage(
|
|
|
16658
16804
|
account: typing.Optional[builtins.str] = None,
|
|
16659
16805
|
color: typing.Optional[builtins.str] = None,
|
|
16660
16806
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
16807
|
+
id: typing.Optional[builtins.str] = None,
|
|
16661
16808
|
label: typing.Optional[builtins.str] = None,
|
|
16662
16809
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
16663
16810
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -16665,6 +16812,7 @@ class WebSocketStage(
|
|
|
16665
16812
|
stack_region: typing.Optional[builtins.str] = None,
|
|
16666
16813
|
statistic: typing.Optional[builtins.str] = None,
|
|
16667
16814
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
16815
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
16668
16816
|
) -> _Metric_e396a4dc:
|
|
16669
16817
|
'''Return the given named metric for this HTTP Api Gateway Stage.
|
|
16670
16818
|
|
|
@@ -16672,6 +16820,7 @@ class WebSocketStage(
|
|
|
16672
16820
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
16673
16821
|
: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
|
|
16674
16822
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
16823
|
+
: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
|
|
16675
16824
|
: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
|
|
16676
16825
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
16677
16826
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -16679,6 +16828,7 @@ class WebSocketStage(
|
|
|
16679
16828
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
16680
16829
|
: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
|
|
16681
16830
|
: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
|
|
16831
|
+
: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
|
|
16682
16832
|
'''
|
|
16683
16833
|
if __debug__:
|
|
16684
16834
|
type_hints = typing.get_type_hints(_typecheckingstub__ce6a35c70788359cc1bb6c49bb69e812f1a7d395b852c2430a0a6dac36dacf0a)
|
|
@@ -16687,6 +16837,7 @@ class WebSocketStage(
|
|
|
16687
16837
|
account=account,
|
|
16688
16838
|
color=color,
|
|
16689
16839
|
dimensions_map=dimensions_map,
|
|
16840
|
+
id=id,
|
|
16690
16841
|
label=label,
|
|
16691
16842
|
period=period,
|
|
16692
16843
|
region=region,
|
|
@@ -16694,6 +16845,7 @@ class WebSocketStage(
|
|
|
16694
16845
|
stack_region=stack_region,
|
|
16695
16846
|
statistic=statistic,
|
|
16696
16847
|
unit=unit,
|
|
16848
|
+
visible=visible,
|
|
16697
16849
|
)
|
|
16698
16850
|
|
|
16699
16851
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metric", [metric_name, props]))
|
|
@@ -16808,6 +16960,7 @@ class WebSocketStageAttributes(StageAttributes):
|
|
|
16808
16960
|
"description": "description",
|
|
16809
16961
|
"detailed_metrics_enabled": "detailedMetricsEnabled",
|
|
16810
16962
|
"domain_mapping": "domainMapping",
|
|
16963
|
+
"stage_variables": "stageVariables",
|
|
16811
16964
|
"throttle": "throttle",
|
|
16812
16965
|
"stage_name": "stageName",
|
|
16813
16966
|
"web_socket_api": "webSocketApi",
|
|
@@ -16822,6 +16975,7 @@ class WebSocketStageProps(StageOptions):
|
|
|
16822
16975
|
description: typing.Optional[builtins.str] = None,
|
|
16823
16976
|
detailed_metrics_enabled: typing.Optional[builtins.bool] = None,
|
|
16824
16977
|
domain_mapping: typing.Optional[typing.Union[DomainMappingOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
16978
|
+
stage_variables: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
16825
16979
|
throttle: typing.Optional[typing.Union[ThrottleSettings, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
16826
16980
|
stage_name: builtins.str,
|
|
16827
16981
|
web_socket_api: IWebSocketApi,
|
|
@@ -16833,6 +16987,7 @@ class WebSocketStageProps(StageOptions):
|
|
|
16833
16987
|
:param description: The description for the API stage. Default: - no description
|
|
16834
16988
|
:param detailed_metrics_enabled: Specifies whether detailed metrics are enabled. Default: false
|
|
16835
16989
|
:param domain_mapping: The options for custom domain and api mapping. Default: - no custom domain and api mapping configuration
|
|
16990
|
+
:param stage_variables: Stage variables for the stage. These are key-value pairs that you can define and use in your API routes. The allowed characters for variable names and the required pattern for variable values are specified here: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-apigateway-stage.html#cfn-apigateway-stage-variables Default: - No stage variables
|
|
16836
16991
|
:param throttle: Throttle settings for the routes of this stage. Default: - no throttling configuration
|
|
16837
16992
|
:param stage_name: The name of the stage.
|
|
16838
16993
|
:param web_socket_api: The WebSocket API to which this stage is associated.
|
|
@@ -16867,6 +17022,7 @@ class WebSocketStageProps(StageOptions):
|
|
|
16867
17022
|
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
16868
17023
|
check_type(argname="argument detailed_metrics_enabled", value=detailed_metrics_enabled, expected_type=type_hints["detailed_metrics_enabled"])
|
|
16869
17024
|
check_type(argname="argument domain_mapping", value=domain_mapping, expected_type=type_hints["domain_mapping"])
|
|
17025
|
+
check_type(argname="argument stage_variables", value=stage_variables, expected_type=type_hints["stage_variables"])
|
|
16870
17026
|
check_type(argname="argument throttle", value=throttle, expected_type=type_hints["throttle"])
|
|
16871
17027
|
check_type(argname="argument stage_name", value=stage_name, expected_type=type_hints["stage_name"])
|
|
16872
17028
|
check_type(argname="argument web_socket_api", value=web_socket_api, expected_type=type_hints["web_socket_api"])
|
|
@@ -16884,6 +17040,8 @@ class WebSocketStageProps(StageOptions):
|
|
|
16884
17040
|
self._values["detailed_metrics_enabled"] = detailed_metrics_enabled
|
|
16885
17041
|
if domain_mapping is not None:
|
|
16886
17042
|
self._values["domain_mapping"] = domain_mapping
|
|
17043
|
+
if stage_variables is not None:
|
|
17044
|
+
self._values["stage_variables"] = stage_variables
|
|
16887
17045
|
if throttle is not None:
|
|
16888
17046
|
self._values["throttle"] = throttle
|
|
16889
17047
|
|
|
@@ -16932,6 +17090,19 @@ class WebSocketStageProps(StageOptions):
|
|
|
16932
17090
|
result = self._values.get("domain_mapping")
|
|
16933
17091
|
return typing.cast(typing.Optional[DomainMappingOptions], result)
|
|
16934
17092
|
|
|
17093
|
+
@builtins.property
|
|
17094
|
+
def stage_variables(
|
|
17095
|
+
self,
|
|
17096
|
+
) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
17097
|
+
'''Stage variables for the stage. These are key-value pairs that you can define and use in your API routes.
|
|
17098
|
+
|
|
17099
|
+
The allowed characters for variable names and the required pattern for variable values are specified here: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-apigateway-stage.html#cfn-apigateway-stage-variables
|
|
17100
|
+
|
|
17101
|
+
:default: - No stage variables
|
|
17102
|
+
'''
|
|
17103
|
+
result = self._values.get("stage_variables")
|
|
17104
|
+
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
|
|
17105
|
+
|
|
16935
17106
|
@builtins.property
|
|
16936
17107
|
def throttle(self) -> typing.Optional[ThrottleSettings]:
|
|
16937
17108
|
'''Throttle settings for the routes of this stage.
|
|
@@ -17693,6 +17864,7 @@ class HttpApi(
|
|
|
17693
17864
|
description: typing.Optional[builtins.str] = None,
|
|
17694
17865
|
detailed_metrics_enabled: typing.Optional[builtins.bool] = None,
|
|
17695
17866
|
domain_mapping: typing.Optional[typing.Union[DomainMappingOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
17867
|
+
stage_variables: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
17696
17868
|
throttle: typing.Optional[typing.Union[ThrottleSettings, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
17697
17869
|
) -> "HttpStage":
|
|
17698
17870
|
'''Add a new stage.
|
|
@@ -17704,6 +17876,7 @@ class HttpApi(
|
|
|
17704
17876
|
:param description: The description for the API stage. Default: - no description
|
|
17705
17877
|
:param detailed_metrics_enabled: Specifies whether detailed metrics are enabled. Default: false
|
|
17706
17878
|
:param domain_mapping: The options for custom domain and api mapping. Default: - no custom domain and api mapping configuration
|
|
17879
|
+
:param stage_variables: Stage variables for the stage. These are key-value pairs that you can define and use in your API routes. The allowed characters for variable names and the required pattern for variable values are specified here: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-apigateway-stage.html#cfn-apigateway-stage-variables Default: - No stage variables
|
|
17707
17880
|
:param throttle: Throttle settings for the routes of this stage. Default: - no throttling configuration
|
|
17708
17881
|
'''
|
|
17709
17882
|
if __debug__:
|
|
@@ -17716,6 +17889,7 @@ class HttpApi(
|
|
|
17716
17889
|
description=description,
|
|
17717
17890
|
detailed_metrics_enabled=detailed_metrics_enabled,
|
|
17718
17891
|
domain_mapping=domain_mapping,
|
|
17892
|
+
stage_variables=stage_variables,
|
|
17719
17893
|
throttle=throttle,
|
|
17720
17894
|
)
|
|
17721
17895
|
|
|
@@ -17776,6 +17950,7 @@ class HttpApi(
|
|
|
17776
17950
|
account: typing.Optional[builtins.str] = None,
|
|
17777
17951
|
color: typing.Optional[builtins.str] = None,
|
|
17778
17952
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
17953
|
+
id: typing.Optional[builtins.str] = None,
|
|
17779
17954
|
label: typing.Optional[builtins.str] = None,
|
|
17780
17955
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
17781
17956
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -17783,6 +17958,7 @@ class HttpApi(
|
|
|
17783
17958
|
stack_region: typing.Optional[builtins.str] = None,
|
|
17784
17959
|
statistic: typing.Optional[builtins.str] = None,
|
|
17785
17960
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
17961
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
17786
17962
|
) -> _Metric_e396a4dc:
|
|
17787
17963
|
'''Return the given named metric for this Api Gateway.
|
|
17788
17964
|
|
|
@@ -17790,6 +17966,7 @@ class HttpApi(
|
|
|
17790
17966
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
17791
17967
|
: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
|
|
17792
17968
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
17969
|
+
: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
|
|
17793
17970
|
: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
|
|
17794
17971
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
17795
17972
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -17797,6 +17974,7 @@ class HttpApi(
|
|
|
17797
17974
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
17798
17975
|
: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
|
|
17799
17976
|
: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
|
|
17977
|
+
: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
|
|
17800
17978
|
'''
|
|
17801
17979
|
if __debug__:
|
|
17802
17980
|
type_hints = typing.get_type_hints(_typecheckingstub__31e154e9541eb25c25b2ca77a4523aa38748dc392dd466816c178cb31f070c45)
|
|
@@ -17805,6 +17983,7 @@ class HttpApi(
|
|
|
17805
17983
|
account=account,
|
|
17806
17984
|
color=color,
|
|
17807
17985
|
dimensions_map=dimensions_map,
|
|
17986
|
+
id=id,
|
|
17808
17987
|
label=label,
|
|
17809
17988
|
period=period,
|
|
17810
17989
|
region=region,
|
|
@@ -17812,6 +17991,7 @@ class HttpApi(
|
|
|
17812
17991
|
stack_region=stack_region,
|
|
17813
17992
|
statistic=statistic,
|
|
17814
17993
|
unit=unit,
|
|
17994
|
+
visible=visible,
|
|
17815
17995
|
)
|
|
17816
17996
|
|
|
17817
17997
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metric", [metric_name, props]))
|
|
@@ -17823,6 +18003,7 @@ class HttpApi(
|
|
|
17823
18003
|
account: typing.Optional[builtins.str] = None,
|
|
17824
18004
|
color: typing.Optional[builtins.str] = None,
|
|
17825
18005
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
18006
|
+
id: typing.Optional[builtins.str] = None,
|
|
17826
18007
|
label: typing.Optional[builtins.str] = None,
|
|
17827
18008
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
17828
18009
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -17830,12 +18011,14 @@ class HttpApi(
|
|
|
17830
18011
|
stack_region: typing.Optional[builtins.str] = None,
|
|
17831
18012
|
statistic: typing.Optional[builtins.str] = None,
|
|
17832
18013
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
18014
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
17833
18015
|
) -> _Metric_e396a4dc:
|
|
17834
18016
|
'''Metric for the number of client-side errors captured in a given period.
|
|
17835
18017
|
|
|
17836
18018
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
17837
18019
|
: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
|
|
17838
18020
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
18021
|
+
: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
|
|
17839
18022
|
: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
|
|
17840
18023
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
17841
18024
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -17843,11 +18026,13 @@ class HttpApi(
|
|
|
17843
18026
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
17844
18027
|
: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
|
|
17845
18028
|
: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
|
|
18029
|
+
: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
|
|
17846
18030
|
'''
|
|
17847
18031
|
props = _MetricOptions_1788b62f(
|
|
17848
18032
|
account=account,
|
|
17849
18033
|
color=color,
|
|
17850
18034
|
dimensions_map=dimensions_map,
|
|
18035
|
+
id=id,
|
|
17851
18036
|
label=label,
|
|
17852
18037
|
period=period,
|
|
17853
18038
|
region=region,
|
|
@@ -17855,6 +18040,7 @@ class HttpApi(
|
|
|
17855
18040
|
stack_region=stack_region,
|
|
17856
18041
|
statistic=statistic,
|
|
17857
18042
|
unit=unit,
|
|
18043
|
+
visible=visible,
|
|
17858
18044
|
)
|
|
17859
18045
|
|
|
17860
18046
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricClientError", [props]))
|
|
@@ -17866,6 +18052,7 @@ class HttpApi(
|
|
|
17866
18052
|
account: typing.Optional[builtins.str] = None,
|
|
17867
18053
|
color: typing.Optional[builtins.str] = None,
|
|
17868
18054
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
18055
|
+
id: typing.Optional[builtins.str] = None,
|
|
17869
18056
|
label: typing.Optional[builtins.str] = None,
|
|
17870
18057
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
17871
18058
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -17873,12 +18060,14 @@ class HttpApi(
|
|
|
17873
18060
|
stack_region: typing.Optional[builtins.str] = None,
|
|
17874
18061
|
statistic: typing.Optional[builtins.str] = None,
|
|
17875
18062
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
18063
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
17876
18064
|
) -> _Metric_e396a4dc:
|
|
17877
18065
|
'''Metric for the total number API requests in a given period.
|
|
17878
18066
|
|
|
17879
18067
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
17880
18068
|
: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
|
|
17881
18069
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
18070
|
+
: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
|
|
17882
18071
|
: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
|
|
17883
18072
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
17884
18073
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -17886,11 +18075,13 @@ class HttpApi(
|
|
|
17886
18075
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
17887
18076
|
: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
|
|
17888
18077
|
: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
|
|
18078
|
+
: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
|
|
17889
18079
|
'''
|
|
17890
18080
|
props = _MetricOptions_1788b62f(
|
|
17891
18081
|
account=account,
|
|
17892
18082
|
color=color,
|
|
17893
18083
|
dimensions_map=dimensions_map,
|
|
18084
|
+
id=id,
|
|
17894
18085
|
label=label,
|
|
17895
18086
|
period=period,
|
|
17896
18087
|
region=region,
|
|
@@ -17898,6 +18089,7 @@ class HttpApi(
|
|
|
17898
18089
|
stack_region=stack_region,
|
|
17899
18090
|
statistic=statistic,
|
|
17900
18091
|
unit=unit,
|
|
18092
|
+
visible=visible,
|
|
17901
18093
|
)
|
|
17902
18094
|
|
|
17903
18095
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricCount", [props]))
|
|
@@ -17909,6 +18101,7 @@ class HttpApi(
|
|
|
17909
18101
|
account: typing.Optional[builtins.str] = None,
|
|
17910
18102
|
color: typing.Optional[builtins.str] = None,
|
|
17911
18103
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
18104
|
+
id: typing.Optional[builtins.str] = None,
|
|
17912
18105
|
label: typing.Optional[builtins.str] = None,
|
|
17913
18106
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
17914
18107
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -17916,12 +18109,14 @@ class HttpApi(
|
|
|
17916
18109
|
stack_region: typing.Optional[builtins.str] = None,
|
|
17917
18110
|
statistic: typing.Optional[builtins.str] = None,
|
|
17918
18111
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
18112
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
17919
18113
|
) -> _Metric_e396a4dc:
|
|
17920
18114
|
'''Metric for the amount of data processed in bytes.
|
|
17921
18115
|
|
|
17922
18116
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
17923
18117
|
: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
|
|
17924
18118
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
18119
|
+
: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
|
|
17925
18120
|
: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
|
|
17926
18121
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
17927
18122
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -17929,11 +18124,13 @@ class HttpApi(
|
|
|
17929
18124
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
17930
18125
|
: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
|
|
17931
18126
|
: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
|
|
18127
|
+
: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
|
|
17932
18128
|
'''
|
|
17933
18129
|
props = _MetricOptions_1788b62f(
|
|
17934
18130
|
account=account,
|
|
17935
18131
|
color=color,
|
|
17936
18132
|
dimensions_map=dimensions_map,
|
|
18133
|
+
id=id,
|
|
17937
18134
|
label=label,
|
|
17938
18135
|
period=period,
|
|
17939
18136
|
region=region,
|
|
@@ -17941,6 +18138,7 @@ class HttpApi(
|
|
|
17941
18138
|
stack_region=stack_region,
|
|
17942
18139
|
statistic=statistic,
|
|
17943
18140
|
unit=unit,
|
|
18141
|
+
visible=visible,
|
|
17944
18142
|
)
|
|
17945
18143
|
|
|
17946
18144
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricDataProcessed", [props]))
|
|
@@ -17952,6 +18150,7 @@ class HttpApi(
|
|
|
17952
18150
|
account: typing.Optional[builtins.str] = None,
|
|
17953
18151
|
color: typing.Optional[builtins.str] = None,
|
|
17954
18152
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
18153
|
+
id: typing.Optional[builtins.str] = None,
|
|
17955
18154
|
label: typing.Optional[builtins.str] = None,
|
|
17956
18155
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
17957
18156
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -17959,12 +18158,14 @@ class HttpApi(
|
|
|
17959
18158
|
stack_region: typing.Optional[builtins.str] = None,
|
|
17960
18159
|
statistic: typing.Optional[builtins.str] = None,
|
|
17961
18160
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
18161
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
17962
18162
|
) -> _Metric_e396a4dc:
|
|
17963
18163
|
'''Metric for the time between when API Gateway relays a request to the backend and when it receives a response from the backend.
|
|
17964
18164
|
|
|
17965
18165
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
17966
18166
|
: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
|
|
17967
18167
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
18168
|
+
: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
|
|
17968
18169
|
: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
|
|
17969
18170
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
17970
18171
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -17972,11 +18173,13 @@ class HttpApi(
|
|
|
17972
18173
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
17973
18174
|
: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
|
|
17974
18175
|
: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
|
|
18176
|
+
: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
|
|
17975
18177
|
'''
|
|
17976
18178
|
props = _MetricOptions_1788b62f(
|
|
17977
18179
|
account=account,
|
|
17978
18180
|
color=color,
|
|
17979
18181
|
dimensions_map=dimensions_map,
|
|
18182
|
+
id=id,
|
|
17980
18183
|
label=label,
|
|
17981
18184
|
period=period,
|
|
17982
18185
|
region=region,
|
|
@@ -17984,6 +18187,7 @@ class HttpApi(
|
|
|
17984
18187
|
stack_region=stack_region,
|
|
17985
18188
|
statistic=statistic,
|
|
17986
18189
|
unit=unit,
|
|
18190
|
+
visible=visible,
|
|
17987
18191
|
)
|
|
17988
18192
|
|
|
17989
18193
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricIntegrationLatency", [props]))
|
|
@@ -17995,6 +18199,7 @@ class HttpApi(
|
|
|
17995
18199
|
account: typing.Optional[builtins.str] = None,
|
|
17996
18200
|
color: typing.Optional[builtins.str] = None,
|
|
17997
18201
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
18202
|
+
id: typing.Optional[builtins.str] = None,
|
|
17998
18203
|
label: typing.Optional[builtins.str] = None,
|
|
17999
18204
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
18000
18205
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -18002,6 +18207,7 @@ class HttpApi(
|
|
|
18002
18207
|
stack_region: typing.Optional[builtins.str] = None,
|
|
18003
18208
|
statistic: typing.Optional[builtins.str] = None,
|
|
18004
18209
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
18210
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
18005
18211
|
) -> _Metric_e396a4dc:
|
|
18006
18212
|
'''The time between when API Gateway receives a request from a client and when it returns a response to the client.
|
|
18007
18213
|
|
|
@@ -18010,6 +18216,7 @@ class HttpApi(
|
|
|
18010
18216
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
18011
18217
|
: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
|
|
18012
18218
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
18219
|
+
: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
|
|
18013
18220
|
: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
|
|
18014
18221
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
18015
18222
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -18017,11 +18224,13 @@ class HttpApi(
|
|
|
18017
18224
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
18018
18225
|
: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
|
|
18019
18226
|
: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
|
|
18227
|
+
: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
|
|
18020
18228
|
'''
|
|
18021
18229
|
props = _MetricOptions_1788b62f(
|
|
18022
18230
|
account=account,
|
|
18023
18231
|
color=color,
|
|
18024
18232
|
dimensions_map=dimensions_map,
|
|
18233
|
+
id=id,
|
|
18025
18234
|
label=label,
|
|
18026
18235
|
period=period,
|
|
18027
18236
|
region=region,
|
|
@@ -18029,6 +18238,7 @@ class HttpApi(
|
|
|
18029
18238
|
stack_region=stack_region,
|
|
18030
18239
|
statistic=statistic,
|
|
18031
18240
|
unit=unit,
|
|
18241
|
+
visible=visible,
|
|
18032
18242
|
)
|
|
18033
18243
|
|
|
18034
18244
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricLatency", [props]))
|
|
@@ -18040,6 +18250,7 @@ class HttpApi(
|
|
|
18040
18250
|
account: typing.Optional[builtins.str] = None,
|
|
18041
18251
|
color: typing.Optional[builtins.str] = None,
|
|
18042
18252
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
18253
|
+
id: typing.Optional[builtins.str] = None,
|
|
18043
18254
|
label: typing.Optional[builtins.str] = None,
|
|
18044
18255
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
18045
18256
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -18047,12 +18258,14 @@ class HttpApi(
|
|
|
18047
18258
|
stack_region: typing.Optional[builtins.str] = None,
|
|
18048
18259
|
statistic: typing.Optional[builtins.str] = None,
|
|
18049
18260
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
18261
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
18050
18262
|
) -> _Metric_e396a4dc:
|
|
18051
18263
|
'''Metric for the number of server-side errors captured in a given period.
|
|
18052
18264
|
|
|
18053
18265
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
18054
18266
|
: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
|
|
18055
18267
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
18268
|
+
: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
|
|
18056
18269
|
: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
|
|
18057
18270
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
18058
18271
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -18060,11 +18273,13 @@ class HttpApi(
|
|
|
18060
18273
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
18061
18274
|
: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
|
|
18062
18275
|
: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
|
|
18276
|
+
: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
|
|
18063
18277
|
'''
|
|
18064
18278
|
props = _MetricOptions_1788b62f(
|
|
18065
18279
|
account=account,
|
|
18066
18280
|
color=color,
|
|
18067
18281
|
dimensions_map=dimensions_map,
|
|
18282
|
+
id=id,
|
|
18068
18283
|
label=label,
|
|
18069
18284
|
period=period,
|
|
18070
18285
|
region=region,
|
|
@@ -18072,6 +18287,7 @@ class HttpApi(
|
|
|
18072
18287
|
stack_region=stack_region,
|
|
18073
18288
|
statistic=statistic,
|
|
18074
18289
|
unit=unit,
|
|
18290
|
+
visible=visible,
|
|
18075
18291
|
)
|
|
18076
18292
|
|
|
18077
18293
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricServerError", [props]))
|
|
@@ -18425,6 +18641,7 @@ class HttpStageAttributes(StageAttributes):
|
|
|
18425
18641
|
"description": "description",
|
|
18426
18642
|
"detailed_metrics_enabled": "detailedMetricsEnabled",
|
|
18427
18643
|
"domain_mapping": "domainMapping",
|
|
18644
|
+
"stage_variables": "stageVariables",
|
|
18428
18645
|
"throttle": "throttle",
|
|
18429
18646
|
"stage_name": "stageName",
|
|
18430
18647
|
},
|
|
@@ -18438,6 +18655,7 @@ class HttpStageOptions(StageOptions):
|
|
|
18438
18655
|
description: typing.Optional[builtins.str] = None,
|
|
18439
18656
|
detailed_metrics_enabled: typing.Optional[builtins.bool] = None,
|
|
18440
18657
|
domain_mapping: typing.Optional[typing.Union[DomainMappingOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
18658
|
+
stage_variables: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
18441
18659
|
throttle: typing.Optional[typing.Union[ThrottleSettings, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
18442
18660
|
stage_name: typing.Optional[builtins.str] = None,
|
|
18443
18661
|
) -> None:
|
|
@@ -18448,6 +18666,7 @@ class HttpStageOptions(StageOptions):
|
|
|
18448
18666
|
:param description: The description for the API stage. Default: - no description
|
|
18449
18667
|
:param detailed_metrics_enabled: Specifies whether detailed metrics are enabled. Default: false
|
|
18450
18668
|
:param domain_mapping: The options for custom domain and api mapping. Default: - no custom domain and api mapping configuration
|
|
18669
|
+
:param stage_variables: Stage variables for the stage. These are key-value pairs that you can define and use in your API routes. The allowed characters for variable names and the required pattern for variable values are specified here: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-apigateway-stage.html#cfn-apigateway-stage-variables Default: - No stage variables
|
|
18451
18670
|
:param throttle: Throttle settings for the routes of this stage. Default: - no throttling configuration
|
|
18452
18671
|
:param stage_name: The name of the stage. See ``StageName`` class for more details. Default: '$default' the default stage of the API. This stage will have the URL at the root of the API endpoint.
|
|
18453
18672
|
|
|
@@ -18480,6 +18699,7 @@ class HttpStageOptions(StageOptions):
|
|
|
18480
18699
|
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
18481
18700
|
check_type(argname="argument detailed_metrics_enabled", value=detailed_metrics_enabled, expected_type=type_hints["detailed_metrics_enabled"])
|
|
18482
18701
|
check_type(argname="argument domain_mapping", value=domain_mapping, expected_type=type_hints["domain_mapping"])
|
|
18702
|
+
check_type(argname="argument stage_variables", value=stage_variables, expected_type=type_hints["stage_variables"])
|
|
18483
18703
|
check_type(argname="argument throttle", value=throttle, expected_type=type_hints["throttle"])
|
|
18484
18704
|
check_type(argname="argument stage_name", value=stage_name, expected_type=type_hints["stage_name"])
|
|
18485
18705
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
@@ -18493,6 +18713,8 @@ class HttpStageOptions(StageOptions):
|
|
|
18493
18713
|
self._values["detailed_metrics_enabled"] = detailed_metrics_enabled
|
|
18494
18714
|
if domain_mapping is not None:
|
|
18495
18715
|
self._values["domain_mapping"] = domain_mapping
|
|
18716
|
+
if stage_variables is not None:
|
|
18717
|
+
self._values["stage_variables"] = stage_variables
|
|
18496
18718
|
if throttle is not None:
|
|
18497
18719
|
self._values["throttle"] = throttle
|
|
18498
18720
|
if stage_name is not None:
|
|
@@ -18543,6 +18765,19 @@ class HttpStageOptions(StageOptions):
|
|
|
18543
18765
|
result = self._values.get("domain_mapping")
|
|
18544
18766
|
return typing.cast(typing.Optional[DomainMappingOptions], result)
|
|
18545
18767
|
|
|
18768
|
+
@builtins.property
|
|
18769
|
+
def stage_variables(
|
|
18770
|
+
self,
|
|
18771
|
+
) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
18772
|
+
'''Stage variables for the stage. These are key-value pairs that you can define and use in your API routes.
|
|
18773
|
+
|
|
18774
|
+
The allowed characters for variable names and the required pattern for variable values are specified here: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-apigateway-stage.html#cfn-apigateway-stage-variables
|
|
18775
|
+
|
|
18776
|
+
:default: - No stage variables
|
|
18777
|
+
'''
|
|
18778
|
+
result = self._values.get("stage_variables")
|
|
18779
|
+
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
|
|
18780
|
+
|
|
18546
18781
|
@builtins.property
|
|
18547
18782
|
def throttle(self) -> typing.Optional[ThrottleSettings]:
|
|
18548
18783
|
'''Throttle settings for the routes of this stage.
|
|
@@ -18584,6 +18819,7 @@ class HttpStageOptions(StageOptions):
|
|
|
18584
18819
|
"description": "description",
|
|
18585
18820
|
"detailed_metrics_enabled": "detailedMetricsEnabled",
|
|
18586
18821
|
"domain_mapping": "domainMapping",
|
|
18822
|
+
"stage_variables": "stageVariables",
|
|
18587
18823
|
"throttle": "throttle",
|
|
18588
18824
|
"stage_name": "stageName",
|
|
18589
18825
|
"http_api": "httpApi",
|
|
@@ -18598,6 +18834,7 @@ class HttpStageProps(HttpStageOptions):
|
|
|
18598
18834
|
description: typing.Optional[builtins.str] = None,
|
|
18599
18835
|
detailed_metrics_enabled: typing.Optional[builtins.bool] = None,
|
|
18600
18836
|
domain_mapping: typing.Optional[typing.Union[DomainMappingOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
18837
|
+
stage_variables: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
18601
18838
|
throttle: typing.Optional[typing.Union[ThrottleSettings, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
18602
18839
|
stage_name: typing.Optional[builtins.str] = None,
|
|
18603
18840
|
http_api: IHttpApi,
|
|
@@ -18609,6 +18846,7 @@ class HttpStageProps(HttpStageOptions):
|
|
|
18609
18846
|
:param description: The description for the API stage. Default: - no description
|
|
18610
18847
|
:param detailed_metrics_enabled: Specifies whether detailed metrics are enabled. Default: false
|
|
18611
18848
|
:param domain_mapping: The options for custom domain and api mapping. Default: - no custom domain and api mapping configuration
|
|
18849
|
+
:param stage_variables: Stage variables for the stage. These are key-value pairs that you can define and use in your API routes. The allowed characters for variable names and the required pattern for variable values are specified here: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-apigateway-stage.html#cfn-apigateway-stage-variables Default: - No stage variables
|
|
18612
18850
|
:param throttle: Throttle settings for the routes of this stage. Default: - no throttling configuration
|
|
18613
18851
|
:param stage_name: The name of the stage. See ``StageName`` class for more details. Default: '$default' the default stage of the API. This stage will have the URL at the root of the API endpoint.
|
|
18614
18852
|
:param http_api: The HTTP API to which this stage is associated.
|
|
@@ -18641,6 +18879,7 @@ class HttpStageProps(HttpStageOptions):
|
|
|
18641
18879
|
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
18642
18880
|
check_type(argname="argument detailed_metrics_enabled", value=detailed_metrics_enabled, expected_type=type_hints["detailed_metrics_enabled"])
|
|
18643
18881
|
check_type(argname="argument domain_mapping", value=domain_mapping, expected_type=type_hints["domain_mapping"])
|
|
18882
|
+
check_type(argname="argument stage_variables", value=stage_variables, expected_type=type_hints["stage_variables"])
|
|
18644
18883
|
check_type(argname="argument throttle", value=throttle, expected_type=type_hints["throttle"])
|
|
18645
18884
|
check_type(argname="argument stage_name", value=stage_name, expected_type=type_hints["stage_name"])
|
|
18646
18885
|
check_type(argname="argument http_api", value=http_api, expected_type=type_hints["http_api"])
|
|
@@ -18657,6 +18896,8 @@ class HttpStageProps(HttpStageOptions):
|
|
|
18657
18896
|
self._values["detailed_metrics_enabled"] = detailed_metrics_enabled
|
|
18658
18897
|
if domain_mapping is not None:
|
|
18659
18898
|
self._values["domain_mapping"] = domain_mapping
|
|
18899
|
+
if stage_variables is not None:
|
|
18900
|
+
self._values["stage_variables"] = stage_variables
|
|
18660
18901
|
if throttle is not None:
|
|
18661
18902
|
self._values["throttle"] = throttle
|
|
18662
18903
|
if stage_name is not None:
|
|
@@ -18707,6 +18948,19 @@ class HttpStageProps(HttpStageOptions):
|
|
|
18707
18948
|
result = self._values.get("domain_mapping")
|
|
18708
18949
|
return typing.cast(typing.Optional[DomainMappingOptions], result)
|
|
18709
18950
|
|
|
18951
|
+
@builtins.property
|
|
18952
|
+
def stage_variables(
|
|
18953
|
+
self,
|
|
18954
|
+
) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
18955
|
+
'''Stage variables for the stage. These are key-value pairs that you can define and use in your API routes.
|
|
18956
|
+
|
|
18957
|
+
The allowed characters for variable names and the required pattern for variable values are specified here: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-apigateway-stage.html#cfn-apigateway-stage-variables
|
|
18958
|
+
|
|
18959
|
+
:default: - No stage variables
|
|
18960
|
+
'''
|
|
18961
|
+
result = self._values.get("stage_variables")
|
|
18962
|
+
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
|
|
18963
|
+
|
|
18710
18964
|
@builtins.property
|
|
18711
18965
|
def throttle(self) -> typing.Optional[ThrottleSettings]:
|
|
18712
18966
|
'''Throttle settings for the routes of this stage.
|
|
@@ -18894,6 +19148,7 @@ class IHttpStage(IStage, typing_extensions.Protocol):
|
|
|
18894
19148
|
account: typing.Optional[builtins.str] = None,
|
|
18895
19149
|
color: typing.Optional[builtins.str] = None,
|
|
18896
19150
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
19151
|
+
id: typing.Optional[builtins.str] = None,
|
|
18897
19152
|
label: typing.Optional[builtins.str] = None,
|
|
18898
19153
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
18899
19154
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -18901,12 +19156,14 @@ class IHttpStage(IStage, typing_extensions.Protocol):
|
|
|
18901
19156
|
stack_region: typing.Optional[builtins.str] = None,
|
|
18902
19157
|
statistic: typing.Optional[builtins.str] = None,
|
|
18903
19158
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
19159
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
18904
19160
|
) -> _Metric_e396a4dc:
|
|
18905
19161
|
'''Metric for the number of client-side errors captured in a given period.
|
|
18906
19162
|
|
|
18907
19163
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
18908
19164
|
: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
|
|
18909
19165
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
19166
|
+
: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
|
|
18910
19167
|
: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
|
|
18911
19168
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
18912
19169
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -18914,6 +19171,7 @@ class IHttpStage(IStage, typing_extensions.Protocol):
|
|
|
18914
19171
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
18915
19172
|
: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
|
|
18916
19173
|
: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
|
|
19174
|
+
: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
|
|
18917
19175
|
|
|
18918
19176
|
:default: - sum over 5 minutes
|
|
18919
19177
|
'''
|
|
@@ -18926,6 +19184,7 @@ class IHttpStage(IStage, typing_extensions.Protocol):
|
|
|
18926
19184
|
account: typing.Optional[builtins.str] = None,
|
|
18927
19185
|
color: typing.Optional[builtins.str] = None,
|
|
18928
19186
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
19187
|
+
id: typing.Optional[builtins.str] = None,
|
|
18929
19188
|
label: typing.Optional[builtins.str] = None,
|
|
18930
19189
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
18931
19190
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -18933,12 +19192,14 @@ class IHttpStage(IStage, typing_extensions.Protocol):
|
|
|
18933
19192
|
stack_region: typing.Optional[builtins.str] = None,
|
|
18934
19193
|
statistic: typing.Optional[builtins.str] = None,
|
|
18935
19194
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
19195
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
18936
19196
|
) -> _Metric_e396a4dc:
|
|
18937
19197
|
'''Metric for the total number API requests in a given period.
|
|
18938
19198
|
|
|
18939
19199
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
18940
19200
|
: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
|
|
18941
19201
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
19202
|
+
: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
|
|
18942
19203
|
: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
|
|
18943
19204
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
18944
19205
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -18946,6 +19207,7 @@ class IHttpStage(IStage, typing_extensions.Protocol):
|
|
|
18946
19207
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
18947
19208
|
: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
|
|
18948
19209
|
: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
|
|
19210
|
+
: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
|
|
18949
19211
|
|
|
18950
19212
|
:default: - SampleCount over 5 minutes
|
|
18951
19213
|
'''
|
|
@@ -18958,6 +19220,7 @@ class IHttpStage(IStage, typing_extensions.Protocol):
|
|
|
18958
19220
|
account: typing.Optional[builtins.str] = None,
|
|
18959
19221
|
color: typing.Optional[builtins.str] = None,
|
|
18960
19222
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
19223
|
+
id: typing.Optional[builtins.str] = None,
|
|
18961
19224
|
label: typing.Optional[builtins.str] = None,
|
|
18962
19225
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
18963
19226
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -18965,12 +19228,14 @@ class IHttpStage(IStage, typing_extensions.Protocol):
|
|
|
18965
19228
|
stack_region: typing.Optional[builtins.str] = None,
|
|
18966
19229
|
statistic: typing.Optional[builtins.str] = None,
|
|
18967
19230
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
19231
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
18968
19232
|
) -> _Metric_e396a4dc:
|
|
18969
19233
|
'''Metric for the amount of data processed in bytes.
|
|
18970
19234
|
|
|
18971
19235
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
18972
19236
|
: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
|
|
18973
19237
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
19238
|
+
: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
|
|
18974
19239
|
: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
|
|
18975
19240
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
18976
19241
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -18978,6 +19243,7 @@ class IHttpStage(IStage, typing_extensions.Protocol):
|
|
|
18978
19243
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
18979
19244
|
: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
|
|
18980
19245
|
: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
|
|
19246
|
+
: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
|
|
18981
19247
|
|
|
18982
19248
|
:default: - sum over 5 minutes
|
|
18983
19249
|
'''
|
|
@@ -18990,6 +19256,7 @@ class IHttpStage(IStage, typing_extensions.Protocol):
|
|
|
18990
19256
|
account: typing.Optional[builtins.str] = None,
|
|
18991
19257
|
color: typing.Optional[builtins.str] = None,
|
|
18992
19258
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
19259
|
+
id: typing.Optional[builtins.str] = None,
|
|
18993
19260
|
label: typing.Optional[builtins.str] = None,
|
|
18994
19261
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
18995
19262
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -18997,12 +19264,14 @@ class IHttpStage(IStage, typing_extensions.Protocol):
|
|
|
18997
19264
|
stack_region: typing.Optional[builtins.str] = None,
|
|
18998
19265
|
statistic: typing.Optional[builtins.str] = None,
|
|
18999
19266
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
19267
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
19000
19268
|
) -> _Metric_e396a4dc:
|
|
19001
19269
|
'''Metric for the time between when API Gateway relays a request to the backend and when it receives a response from the backend.
|
|
19002
19270
|
|
|
19003
19271
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
19004
19272
|
: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
|
|
19005
19273
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
19274
|
+
: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
|
|
19006
19275
|
: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
|
|
19007
19276
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
19008
19277
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -19010,6 +19279,7 @@ class IHttpStage(IStage, typing_extensions.Protocol):
|
|
|
19010
19279
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
19011
19280
|
: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
|
|
19012
19281
|
: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
|
|
19282
|
+
: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
|
|
19013
19283
|
|
|
19014
19284
|
:default: - no statistic
|
|
19015
19285
|
'''
|
|
@@ -19022,6 +19292,7 @@ class IHttpStage(IStage, typing_extensions.Protocol):
|
|
|
19022
19292
|
account: typing.Optional[builtins.str] = None,
|
|
19023
19293
|
color: typing.Optional[builtins.str] = None,
|
|
19024
19294
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
19295
|
+
id: typing.Optional[builtins.str] = None,
|
|
19025
19296
|
label: typing.Optional[builtins.str] = None,
|
|
19026
19297
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
19027
19298
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -19029,6 +19300,7 @@ class IHttpStage(IStage, typing_extensions.Protocol):
|
|
|
19029
19300
|
stack_region: typing.Optional[builtins.str] = None,
|
|
19030
19301
|
statistic: typing.Optional[builtins.str] = None,
|
|
19031
19302
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
19303
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
19032
19304
|
) -> _Metric_e396a4dc:
|
|
19033
19305
|
'''The time between when API Gateway receives a request from a client and when it returns a response to the client.
|
|
19034
19306
|
|
|
@@ -19037,6 +19309,7 @@ class IHttpStage(IStage, typing_extensions.Protocol):
|
|
|
19037
19309
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
19038
19310
|
: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
|
|
19039
19311
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
19312
|
+
: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
|
|
19040
19313
|
: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
|
|
19041
19314
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
19042
19315
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -19044,6 +19317,7 @@ class IHttpStage(IStage, typing_extensions.Protocol):
|
|
|
19044
19317
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
19045
19318
|
: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
|
|
19046
19319
|
: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
|
|
19320
|
+
: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
|
|
19047
19321
|
|
|
19048
19322
|
:default: - no statistic
|
|
19049
19323
|
'''
|
|
@@ -19056,6 +19330,7 @@ class IHttpStage(IStage, typing_extensions.Protocol):
|
|
|
19056
19330
|
account: typing.Optional[builtins.str] = None,
|
|
19057
19331
|
color: typing.Optional[builtins.str] = None,
|
|
19058
19332
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
19333
|
+
id: typing.Optional[builtins.str] = None,
|
|
19059
19334
|
label: typing.Optional[builtins.str] = None,
|
|
19060
19335
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
19061
19336
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -19063,12 +19338,14 @@ class IHttpStage(IStage, typing_extensions.Protocol):
|
|
|
19063
19338
|
stack_region: typing.Optional[builtins.str] = None,
|
|
19064
19339
|
statistic: typing.Optional[builtins.str] = None,
|
|
19065
19340
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
19341
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
19066
19342
|
) -> _Metric_e396a4dc:
|
|
19067
19343
|
'''Metric for the number of server-side errors captured in a given period.
|
|
19068
19344
|
|
|
19069
19345
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
19070
19346
|
: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
|
|
19071
19347
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
19348
|
+
: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
|
|
19072
19349
|
: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
|
|
19073
19350
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
19074
19351
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -19076,6 +19353,7 @@ class IHttpStage(IStage, typing_extensions.Protocol):
|
|
|
19076
19353
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
19077
19354
|
: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
|
|
19078
19355
|
: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
|
|
19356
|
+
: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
|
|
19079
19357
|
|
|
19080
19358
|
:default: - sum over 5 minutes
|
|
19081
19359
|
'''
|
|
@@ -19108,6 +19386,7 @@ class _IHttpStageProxy(
|
|
|
19108
19386
|
account: typing.Optional[builtins.str] = None,
|
|
19109
19387
|
color: typing.Optional[builtins.str] = None,
|
|
19110
19388
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
19389
|
+
id: typing.Optional[builtins.str] = None,
|
|
19111
19390
|
label: typing.Optional[builtins.str] = None,
|
|
19112
19391
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
19113
19392
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -19115,12 +19394,14 @@ class _IHttpStageProxy(
|
|
|
19115
19394
|
stack_region: typing.Optional[builtins.str] = None,
|
|
19116
19395
|
statistic: typing.Optional[builtins.str] = None,
|
|
19117
19396
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
19397
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
19118
19398
|
) -> _Metric_e396a4dc:
|
|
19119
19399
|
'''Metric for the number of client-side errors captured in a given period.
|
|
19120
19400
|
|
|
19121
19401
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
19122
19402
|
: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
|
|
19123
19403
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
19404
|
+
: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
|
|
19124
19405
|
: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
|
|
19125
19406
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
19126
19407
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -19128,6 +19409,7 @@ class _IHttpStageProxy(
|
|
|
19128
19409
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
19129
19410
|
: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
|
|
19130
19411
|
: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
|
|
19412
|
+
: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
|
|
19131
19413
|
|
|
19132
19414
|
:default: - sum over 5 minutes
|
|
19133
19415
|
'''
|
|
@@ -19135,6 +19417,7 @@ class _IHttpStageProxy(
|
|
|
19135
19417
|
account=account,
|
|
19136
19418
|
color=color,
|
|
19137
19419
|
dimensions_map=dimensions_map,
|
|
19420
|
+
id=id,
|
|
19138
19421
|
label=label,
|
|
19139
19422
|
period=period,
|
|
19140
19423
|
region=region,
|
|
@@ -19142,6 +19425,7 @@ class _IHttpStageProxy(
|
|
|
19142
19425
|
stack_region=stack_region,
|
|
19143
19426
|
statistic=statistic,
|
|
19144
19427
|
unit=unit,
|
|
19428
|
+
visible=visible,
|
|
19145
19429
|
)
|
|
19146
19430
|
|
|
19147
19431
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricClientError", [props]))
|
|
@@ -19153,6 +19437,7 @@ class _IHttpStageProxy(
|
|
|
19153
19437
|
account: typing.Optional[builtins.str] = None,
|
|
19154
19438
|
color: typing.Optional[builtins.str] = None,
|
|
19155
19439
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
19440
|
+
id: typing.Optional[builtins.str] = None,
|
|
19156
19441
|
label: typing.Optional[builtins.str] = None,
|
|
19157
19442
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
19158
19443
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -19160,12 +19445,14 @@ class _IHttpStageProxy(
|
|
|
19160
19445
|
stack_region: typing.Optional[builtins.str] = None,
|
|
19161
19446
|
statistic: typing.Optional[builtins.str] = None,
|
|
19162
19447
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
19448
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
19163
19449
|
) -> _Metric_e396a4dc:
|
|
19164
19450
|
'''Metric for the total number API requests in a given period.
|
|
19165
19451
|
|
|
19166
19452
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
19167
19453
|
: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
|
|
19168
19454
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
19455
|
+
: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
|
|
19169
19456
|
: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
|
|
19170
19457
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
19171
19458
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -19173,6 +19460,7 @@ class _IHttpStageProxy(
|
|
|
19173
19460
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
19174
19461
|
: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
|
|
19175
19462
|
: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
|
|
19463
|
+
: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
|
|
19176
19464
|
|
|
19177
19465
|
:default: - SampleCount over 5 minutes
|
|
19178
19466
|
'''
|
|
@@ -19180,6 +19468,7 @@ class _IHttpStageProxy(
|
|
|
19180
19468
|
account=account,
|
|
19181
19469
|
color=color,
|
|
19182
19470
|
dimensions_map=dimensions_map,
|
|
19471
|
+
id=id,
|
|
19183
19472
|
label=label,
|
|
19184
19473
|
period=period,
|
|
19185
19474
|
region=region,
|
|
@@ -19187,6 +19476,7 @@ class _IHttpStageProxy(
|
|
|
19187
19476
|
stack_region=stack_region,
|
|
19188
19477
|
statistic=statistic,
|
|
19189
19478
|
unit=unit,
|
|
19479
|
+
visible=visible,
|
|
19190
19480
|
)
|
|
19191
19481
|
|
|
19192
19482
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricCount", [props]))
|
|
@@ -19198,6 +19488,7 @@ class _IHttpStageProxy(
|
|
|
19198
19488
|
account: typing.Optional[builtins.str] = None,
|
|
19199
19489
|
color: typing.Optional[builtins.str] = None,
|
|
19200
19490
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
19491
|
+
id: typing.Optional[builtins.str] = None,
|
|
19201
19492
|
label: typing.Optional[builtins.str] = None,
|
|
19202
19493
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
19203
19494
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -19205,12 +19496,14 @@ class _IHttpStageProxy(
|
|
|
19205
19496
|
stack_region: typing.Optional[builtins.str] = None,
|
|
19206
19497
|
statistic: typing.Optional[builtins.str] = None,
|
|
19207
19498
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
19499
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
19208
19500
|
) -> _Metric_e396a4dc:
|
|
19209
19501
|
'''Metric for the amount of data processed in bytes.
|
|
19210
19502
|
|
|
19211
19503
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
19212
19504
|
: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
|
|
19213
19505
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
19506
|
+
: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
|
|
19214
19507
|
: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
|
|
19215
19508
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
19216
19509
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -19218,6 +19511,7 @@ class _IHttpStageProxy(
|
|
|
19218
19511
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
19219
19512
|
: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
|
|
19220
19513
|
: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
|
|
19514
|
+
: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
|
|
19221
19515
|
|
|
19222
19516
|
:default: - sum over 5 minutes
|
|
19223
19517
|
'''
|
|
@@ -19225,6 +19519,7 @@ class _IHttpStageProxy(
|
|
|
19225
19519
|
account=account,
|
|
19226
19520
|
color=color,
|
|
19227
19521
|
dimensions_map=dimensions_map,
|
|
19522
|
+
id=id,
|
|
19228
19523
|
label=label,
|
|
19229
19524
|
period=period,
|
|
19230
19525
|
region=region,
|
|
@@ -19232,6 +19527,7 @@ class _IHttpStageProxy(
|
|
|
19232
19527
|
stack_region=stack_region,
|
|
19233
19528
|
statistic=statistic,
|
|
19234
19529
|
unit=unit,
|
|
19530
|
+
visible=visible,
|
|
19235
19531
|
)
|
|
19236
19532
|
|
|
19237
19533
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricDataProcessed", [props]))
|
|
@@ -19243,6 +19539,7 @@ class _IHttpStageProxy(
|
|
|
19243
19539
|
account: typing.Optional[builtins.str] = None,
|
|
19244
19540
|
color: typing.Optional[builtins.str] = None,
|
|
19245
19541
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
19542
|
+
id: typing.Optional[builtins.str] = None,
|
|
19246
19543
|
label: typing.Optional[builtins.str] = None,
|
|
19247
19544
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
19248
19545
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -19250,12 +19547,14 @@ class _IHttpStageProxy(
|
|
|
19250
19547
|
stack_region: typing.Optional[builtins.str] = None,
|
|
19251
19548
|
statistic: typing.Optional[builtins.str] = None,
|
|
19252
19549
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
19550
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
19253
19551
|
) -> _Metric_e396a4dc:
|
|
19254
19552
|
'''Metric for the time between when API Gateway relays a request to the backend and when it receives a response from the backend.
|
|
19255
19553
|
|
|
19256
19554
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
19257
19555
|
: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
|
|
19258
19556
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
19557
|
+
: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
|
|
19259
19558
|
: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
|
|
19260
19559
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
19261
19560
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -19263,6 +19562,7 @@ class _IHttpStageProxy(
|
|
|
19263
19562
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
19264
19563
|
: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
|
|
19265
19564
|
: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
|
|
19565
|
+
: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
|
|
19266
19566
|
|
|
19267
19567
|
:default: - no statistic
|
|
19268
19568
|
'''
|
|
@@ -19270,6 +19570,7 @@ class _IHttpStageProxy(
|
|
|
19270
19570
|
account=account,
|
|
19271
19571
|
color=color,
|
|
19272
19572
|
dimensions_map=dimensions_map,
|
|
19573
|
+
id=id,
|
|
19273
19574
|
label=label,
|
|
19274
19575
|
period=period,
|
|
19275
19576
|
region=region,
|
|
@@ -19277,6 +19578,7 @@ class _IHttpStageProxy(
|
|
|
19277
19578
|
stack_region=stack_region,
|
|
19278
19579
|
statistic=statistic,
|
|
19279
19580
|
unit=unit,
|
|
19581
|
+
visible=visible,
|
|
19280
19582
|
)
|
|
19281
19583
|
|
|
19282
19584
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricIntegrationLatency", [props]))
|
|
@@ -19288,6 +19590,7 @@ class _IHttpStageProxy(
|
|
|
19288
19590
|
account: typing.Optional[builtins.str] = None,
|
|
19289
19591
|
color: typing.Optional[builtins.str] = None,
|
|
19290
19592
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
19593
|
+
id: typing.Optional[builtins.str] = None,
|
|
19291
19594
|
label: typing.Optional[builtins.str] = None,
|
|
19292
19595
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
19293
19596
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -19295,6 +19598,7 @@ class _IHttpStageProxy(
|
|
|
19295
19598
|
stack_region: typing.Optional[builtins.str] = None,
|
|
19296
19599
|
statistic: typing.Optional[builtins.str] = None,
|
|
19297
19600
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
19601
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
19298
19602
|
) -> _Metric_e396a4dc:
|
|
19299
19603
|
'''The time between when API Gateway receives a request from a client and when it returns a response to the client.
|
|
19300
19604
|
|
|
@@ -19303,6 +19607,7 @@ class _IHttpStageProxy(
|
|
|
19303
19607
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
19304
19608
|
: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
|
|
19305
19609
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
19610
|
+
: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
|
|
19306
19611
|
: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
|
|
19307
19612
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
19308
19613
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -19310,6 +19615,7 @@ class _IHttpStageProxy(
|
|
|
19310
19615
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
19311
19616
|
: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
|
|
19312
19617
|
: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
|
|
19618
|
+
: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
|
|
19313
19619
|
|
|
19314
19620
|
:default: - no statistic
|
|
19315
19621
|
'''
|
|
@@ -19317,6 +19623,7 @@ class _IHttpStageProxy(
|
|
|
19317
19623
|
account=account,
|
|
19318
19624
|
color=color,
|
|
19319
19625
|
dimensions_map=dimensions_map,
|
|
19626
|
+
id=id,
|
|
19320
19627
|
label=label,
|
|
19321
19628
|
period=period,
|
|
19322
19629
|
region=region,
|
|
@@ -19324,6 +19631,7 @@ class _IHttpStageProxy(
|
|
|
19324
19631
|
stack_region=stack_region,
|
|
19325
19632
|
statistic=statistic,
|
|
19326
19633
|
unit=unit,
|
|
19634
|
+
visible=visible,
|
|
19327
19635
|
)
|
|
19328
19636
|
|
|
19329
19637
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricLatency", [props]))
|
|
@@ -19335,6 +19643,7 @@ class _IHttpStageProxy(
|
|
|
19335
19643
|
account: typing.Optional[builtins.str] = None,
|
|
19336
19644
|
color: typing.Optional[builtins.str] = None,
|
|
19337
19645
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
19646
|
+
id: typing.Optional[builtins.str] = None,
|
|
19338
19647
|
label: typing.Optional[builtins.str] = None,
|
|
19339
19648
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
19340
19649
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -19342,12 +19651,14 @@ class _IHttpStageProxy(
|
|
|
19342
19651
|
stack_region: typing.Optional[builtins.str] = None,
|
|
19343
19652
|
statistic: typing.Optional[builtins.str] = None,
|
|
19344
19653
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
19654
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
19345
19655
|
) -> _Metric_e396a4dc:
|
|
19346
19656
|
'''Metric for the number of server-side errors captured in a given period.
|
|
19347
19657
|
|
|
19348
19658
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
19349
19659
|
: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
|
|
19350
19660
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
19661
|
+
: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
|
|
19351
19662
|
: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
|
|
19352
19663
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
19353
19664
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -19355,6 +19666,7 @@ class _IHttpStageProxy(
|
|
|
19355
19666
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
19356
19667
|
: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
|
|
19357
19668
|
: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
|
|
19669
|
+
: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
|
|
19358
19670
|
|
|
19359
19671
|
:default: - sum over 5 minutes
|
|
19360
19672
|
'''
|
|
@@ -19362,6 +19674,7 @@ class _IHttpStageProxy(
|
|
|
19362
19674
|
account=account,
|
|
19363
19675
|
color=color,
|
|
19364
19676
|
dimensions_map=dimensions_map,
|
|
19677
|
+
id=id,
|
|
19365
19678
|
label=label,
|
|
19366
19679
|
period=period,
|
|
19367
19680
|
region=region,
|
|
@@ -19369,6 +19682,7 @@ class _IHttpStageProxy(
|
|
|
19369
19682
|
stack_region=stack_region,
|
|
19370
19683
|
statistic=statistic,
|
|
19371
19684
|
unit=unit,
|
|
19685
|
+
visible=visible,
|
|
19372
19686
|
)
|
|
19373
19687
|
|
|
19374
19688
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricServerError", [props]))
|
|
@@ -19651,6 +19965,7 @@ class HttpStage(
|
|
|
19651
19965
|
description: typing.Optional[builtins.str] = None,
|
|
19652
19966
|
detailed_metrics_enabled: typing.Optional[builtins.bool] = None,
|
|
19653
19967
|
domain_mapping: typing.Optional[typing.Union[DomainMappingOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
19968
|
+
stage_variables: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
19654
19969
|
throttle: typing.Optional[typing.Union[ThrottleSettings, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
19655
19970
|
) -> None:
|
|
19656
19971
|
'''
|
|
@@ -19663,6 +19978,7 @@ class HttpStage(
|
|
|
19663
19978
|
:param description: The description for the API stage. Default: - no description
|
|
19664
19979
|
:param detailed_metrics_enabled: Specifies whether detailed metrics are enabled. Default: false
|
|
19665
19980
|
:param domain_mapping: The options for custom domain and api mapping. Default: - no custom domain and api mapping configuration
|
|
19981
|
+
:param stage_variables: Stage variables for the stage. These are key-value pairs that you can define and use in your API routes. The allowed characters for variable names and the required pattern for variable values are specified here: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-apigateway-stage.html#cfn-apigateway-stage-variables Default: - No stage variables
|
|
19666
19982
|
:param throttle: Throttle settings for the routes of this stage. Default: - no throttling configuration
|
|
19667
19983
|
'''
|
|
19668
19984
|
if __debug__:
|
|
@@ -19677,6 +19993,7 @@ class HttpStage(
|
|
|
19677
19993
|
description=description,
|
|
19678
19994
|
detailed_metrics_enabled=detailed_metrics_enabled,
|
|
19679
19995
|
domain_mapping=domain_mapping,
|
|
19996
|
+
stage_variables=stage_variables,
|
|
19680
19997
|
throttle=throttle,
|
|
19681
19998
|
)
|
|
19682
19999
|
|
|
@@ -19707,6 +20024,19 @@ class HttpStage(
|
|
|
19707
20024
|
|
|
19708
20025
|
return typing.cast(IHttpStage, jsii.sinvoke(cls, "fromHttpStageAttributes", [scope, id, attrs]))
|
|
19709
20026
|
|
|
20027
|
+
@jsii.member(jsii_name="addStageVariable")
|
|
20028
|
+
def add_stage_variable(self, name: builtins.str, value: builtins.str) -> None:
|
|
20029
|
+
'''Adds a stage variable to this stage.
|
|
20030
|
+
|
|
20031
|
+
:param name: -
|
|
20032
|
+
:param value: -
|
|
20033
|
+
'''
|
|
20034
|
+
if __debug__:
|
|
20035
|
+
type_hints = typing.get_type_hints(_typecheckingstub__9ee8829d99e6a9ccbf892a71dbd725b00c41172f02b95802db76e73e48b21da5)
|
|
20036
|
+
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
20037
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
20038
|
+
return typing.cast(None, jsii.invoke(self, "addStageVariable", [name, value]))
|
|
20039
|
+
|
|
19710
20040
|
@jsii.member(jsii_name="metric")
|
|
19711
20041
|
def metric(
|
|
19712
20042
|
self,
|
|
@@ -19715,6 +20045,7 @@ class HttpStage(
|
|
|
19715
20045
|
account: typing.Optional[builtins.str] = None,
|
|
19716
20046
|
color: typing.Optional[builtins.str] = None,
|
|
19717
20047
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
20048
|
+
id: typing.Optional[builtins.str] = None,
|
|
19718
20049
|
label: typing.Optional[builtins.str] = None,
|
|
19719
20050
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
19720
20051
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -19722,6 +20053,7 @@ class HttpStage(
|
|
|
19722
20053
|
stack_region: typing.Optional[builtins.str] = None,
|
|
19723
20054
|
statistic: typing.Optional[builtins.str] = None,
|
|
19724
20055
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
20056
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
19725
20057
|
) -> _Metric_e396a4dc:
|
|
19726
20058
|
'''Return the given named metric for this HTTP Api Gateway Stage.
|
|
19727
20059
|
|
|
@@ -19729,6 +20061,7 @@ class HttpStage(
|
|
|
19729
20061
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
19730
20062
|
: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
|
|
19731
20063
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
20064
|
+
: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
|
|
19732
20065
|
: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
|
|
19733
20066
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
19734
20067
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -19736,6 +20069,7 @@ class HttpStage(
|
|
|
19736
20069
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
19737
20070
|
: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
|
|
19738
20071
|
: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
|
|
20072
|
+
: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
|
|
19739
20073
|
'''
|
|
19740
20074
|
if __debug__:
|
|
19741
20075
|
type_hints = typing.get_type_hints(_typecheckingstub__500452af5f3368ca0335b3b0a1f3ad3606a8d42f9416ce2e98f133fb0c4952ef)
|
|
@@ -19744,6 +20078,7 @@ class HttpStage(
|
|
|
19744
20078
|
account=account,
|
|
19745
20079
|
color=color,
|
|
19746
20080
|
dimensions_map=dimensions_map,
|
|
20081
|
+
id=id,
|
|
19747
20082
|
label=label,
|
|
19748
20083
|
period=period,
|
|
19749
20084
|
region=region,
|
|
@@ -19751,6 +20086,7 @@ class HttpStage(
|
|
|
19751
20086
|
stack_region=stack_region,
|
|
19752
20087
|
statistic=statistic,
|
|
19753
20088
|
unit=unit,
|
|
20089
|
+
visible=visible,
|
|
19754
20090
|
)
|
|
19755
20091
|
|
|
19756
20092
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metric", [metric_name, props]))
|
|
@@ -19762,6 +20098,7 @@ class HttpStage(
|
|
|
19762
20098
|
account: typing.Optional[builtins.str] = None,
|
|
19763
20099
|
color: typing.Optional[builtins.str] = None,
|
|
19764
20100
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
20101
|
+
id: typing.Optional[builtins.str] = None,
|
|
19765
20102
|
label: typing.Optional[builtins.str] = None,
|
|
19766
20103
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
19767
20104
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -19769,12 +20106,14 @@ class HttpStage(
|
|
|
19769
20106
|
stack_region: typing.Optional[builtins.str] = None,
|
|
19770
20107
|
statistic: typing.Optional[builtins.str] = None,
|
|
19771
20108
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
20109
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
19772
20110
|
) -> _Metric_e396a4dc:
|
|
19773
20111
|
'''Metric for the number of client-side errors captured in a given period.
|
|
19774
20112
|
|
|
19775
20113
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
19776
20114
|
: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
|
|
19777
20115
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
20116
|
+
: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
|
|
19778
20117
|
: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
|
|
19779
20118
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
19780
20119
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -19782,11 +20121,13 @@ class HttpStage(
|
|
|
19782
20121
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
19783
20122
|
: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
|
|
19784
20123
|
: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
|
|
20124
|
+
: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
|
|
19785
20125
|
'''
|
|
19786
20126
|
props = _MetricOptions_1788b62f(
|
|
19787
20127
|
account=account,
|
|
19788
20128
|
color=color,
|
|
19789
20129
|
dimensions_map=dimensions_map,
|
|
20130
|
+
id=id,
|
|
19790
20131
|
label=label,
|
|
19791
20132
|
period=period,
|
|
19792
20133
|
region=region,
|
|
@@ -19794,6 +20135,7 @@ class HttpStage(
|
|
|
19794
20135
|
stack_region=stack_region,
|
|
19795
20136
|
statistic=statistic,
|
|
19796
20137
|
unit=unit,
|
|
20138
|
+
visible=visible,
|
|
19797
20139
|
)
|
|
19798
20140
|
|
|
19799
20141
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricClientError", [props]))
|
|
@@ -19805,6 +20147,7 @@ class HttpStage(
|
|
|
19805
20147
|
account: typing.Optional[builtins.str] = None,
|
|
19806
20148
|
color: typing.Optional[builtins.str] = None,
|
|
19807
20149
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
20150
|
+
id: typing.Optional[builtins.str] = None,
|
|
19808
20151
|
label: typing.Optional[builtins.str] = None,
|
|
19809
20152
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
19810
20153
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -19812,12 +20155,14 @@ class HttpStage(
|
|
|
19812
20155
|
stack_region: typing.Optional[builtins.str] = None,
|
|
19813
20156
|
statistic: typing.Optional[builtins.str] = None,
|
|
19814
20157
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
20158
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
19815
20159
|
) -> _Metric_e396a4dc:
|
|
19816
20160
|
'''Metric for the total number API requests in a given period.
|
|
19817
20161
|
|
|
19818
20162
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
19819
20163
|
: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
|
|
19820
20164
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
20165
|
+
: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
|
|
19821
20166
|
: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
|
|
19822
20167
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
19823
20168
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -19825,11 +20170,13 @@ class HttpStage(
|
|
|
19825
20170
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
19826
20171
|
: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
|
|
19827
20172
|
: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
|
|
20173
|
+
: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
|
|
19828
20174
|
'''
|
|
19829
20175
|
props = _MetricOptions_1788b62f(
|
|
19830
20176
|
account=account,
|
|
19831
20177
|
color=color,
|
|
19832
20178
|
dimensions_map=dimensions_map,
|
|
20179
|
+
id=id,
|
|
19833
20180
|
label=label,
|
|
19834
20181
|
period=period,
|
|
19835
20182
|
region=region,
|
|
@@ -19837,6 +20184,7 @@ class HttpStage(
|
|
|
19837
20184
|
stack_region=stack_region,
|
|
19838
20185
|
statistic=statistic,
|
|
19839
20186
|
unit=unit,
|
|
20187
|
+
visible=visible,
|
|
19840
20188
|
)
|
|
19841
20189
|
|
|
19842
20190
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricCount", [props]))
|
|
@@ -19848,6 +20196,7 @@ class HttpStage(
|
|
|
19848
20196
|
account: typing.Optional[builtins.str] = None,
|
|
19849
20197
|
color: typing.Optional[builtins.str] = None,
|
|
19850
20198
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
20199
|
+
id: typing.Optional[builtins.str] = None,
|
|
19851
20200
|
label: typing.Optional[builtins.str] = None,
|
|
19852
20201
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
19853
20202
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -19855,12 +20204,14 @@ class HttpStage(
|
|
|
19855
20204
|
stack_region: typing.Optional[builtins.str] = None,
|
|
19856
20205
|
statistic: typing.Optional[builtins.str] = None,
|
|
19857
20206
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
20207
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
19858
20208
|
) -> _Metric_e396a4dc:
|
|
19859
20209
|
'''Metric for the amount of data processed in bytes.
|
|
19860
20210
|
|
|
19861
20211
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
19862
20212
|
: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
|
|
19863
20213
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
20214
|
+
: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
|
|
19864
20215
|
: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
|
|
19865
20216
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
19866
20217
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -19868,11 +20219,13 @@ class HttpStage(
|
|
|
19868
20219
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
19869
20220
|
: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
|
|
19870
20221
|
: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
|
|
20222
|
+
: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
|
|
19871
20223
|
'''
|
|
19872
20224
|
props = _MetricOptions_1788b62f(
|
|
19873
20225
|
account=account,
|
|
19874
20226
|
color=color,
|
|
19875
20227
|
dimensions_map=dimensions_map,
|
|
20228
|
+
id=id,
|
|
19876
20229
|
label=label,
|
|
19877
20230
|
period=period,
|
|
19878
20231
|
region=region,
|
|
@@ -19880,6 +20233,7 @@ class HttpStage(
|
|
|
19880
20233
|
stack_region=stack_region,
|
|
19881
20234
|
statistic=statistic,
|
|
19882
20235
|
unit=unit,
|
|
20236
|
+
visible=visible,
|
|
19883
20237
|
)
|
|
19884
20238
|
|
|
19885
20239
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricDataProcessed", [props]))
|
|
@@ -19891,6 +20245,7 @@ class HttpStage(
|
|
|
19891
20245
|
account: typing.Optional[builtins.str] = None,
|
|
19892
20246
|
color: typing.Optional[builtins.str] = None,
|
|
19893
20247
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
20248
|
+
id: typing.Optional[builtins.str] = None,
|
|
19894
20249
|
label: typing.Optional[builtins.str] = None,
|
|
19895
20250
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
19896
20251
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -19898,12 +20253,14 @@ class HttpStage(
|
|
|
19898
20253
|
stack_region: typing.Optional[builtins.str] = None,
|
|
19899
20254
|
statistic: typing.Optional[builtins.str] = None,
|
|
19900
20255
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
20256
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
19901
20257
|
) -> _Metric_e396a4dc:
|
|
19902
20258
|
'''Metric for the time between when API Gateway relays a request to the backend and when it receives a response from the backend.
|
|
19903
20259
|
|
|
19904
20260
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
19905
20261
|
: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
|
|
19906
20262
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
20263
|
+
: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
|
|
19907
20264
|
: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
|
|
19908
20265
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
19909
20266
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -19911,11 +20268,13 @@ class HttpStage(
|
|
|
19911
20268
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
19912
20269
|
: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
|
|
19913
20270
|
: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
|
|
20271
|
+
: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
|
|
19914
20272
|
'''
|
|
19915
20273
|
props = _MetricOptions_1788b62f(
|
|
19916
20274
|
account=account,
|
|
19917
20275
|
color=color,
|
|
19918
20276
|
dimensions_map=dimensions_map,
|
|
20277
|
+
id=id,
|
|
19919
20278
|
label=label,
|
|
19920
20279
|
period=period,
|
|
19921
20280
|
region=region,
|
|
@@ -19923,6 +20282,7 @@ class HttpStage(
|
|
|
19923
20282
|
stack_region=stack_region,
|
|
19924
20283
|
statistic=statistic,
|
|
19925
20284
|
unit=unit,
|
|
20285
|
+
visible=visible,
|
|
19926
20286
|
)
|
|
19927
20287
|
|
|
19928
20288
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricIntegrationLatency", [props]))
|
|
@@ -19934,6 +20294,7 @@ class HttpStage(
|
|
|
19934
20294
|
account: typing.Optional[builtins.str] = None,
|
|
19935
20295
|
color: typing.Optional[builtins.str] = None,
|
|
19936
20296
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
20297
|
+
id: typing.Optional[builtins.str] = None,
|
|
19937
20298
|
label: typing.Optional[builtins.str] = None,
|
|
19938
20299
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
19939
20300
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -19941,6 +20302,7 @@ class HttpStage(
|
|
|
19941
20302
|
stack_region: typing.Optional[builtins.str] = None,
|
|
19942
20303
|
statistic: typing.Optional[builtins.str] = None,
|
|
19943
20304
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
20305
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
19944
20306
|
) -> _Metric_e396a4dc:
|
|
19945
20307
|
'''The time between when API Gateway receives a request from a client and when it returns a response to the client.
|
|
19946
20308
|
|
|
@@ -19949,6 +20311,7 @@ class HttpStage(
|
|
|
19949
20311
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
19950
20312
|
: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
|
|
19951
20313
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
20314
|
+
: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
|
|
19952
20315
|
: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
|
|
19953
20316
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
19954
20317
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -19956,11 +20319,13 @@ class HttpStage(
|
|
|
19956
20319
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
19957
20320
|
: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
|
|
19958
20321
|
: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
|
|
20322
|
+
: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
|
|
19959
20323
|
'''
|
|
19960
20324
|
props = _MetricOptions_1788b62f(
|
|
19961
20325
|
account=account,
|
|
19962
20326
|
color=color,
|
|
19963
20327
|
dimensions_map=dimensions_map,
|
|
20328
|
+
id=id,
|
|
19964
20329
|
label=label,
|
|
19965
20330
|
period=period,
|
|
19966
20331
|
region=region,
|
|
@@ -19968,6 +20333,7 @@ class HttpStage(
|
|
|
19968
20333
|
stack_region=stack_region,
|
|
19969
20334
|
statistic=statistic,
|
|
19970
20335
|
unit=unit,
|
|
20336
|
+
visible=visible,
|
|
19971
20337
|
)
|
|
19972
20338
|
|
|
19973
20339
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricLatency", [props]))
|
|
@@ -19979,6 +20345,7 @@ class HttpStage(
|
|
|
19979
20345
|
account: typing.Optional[builtins.str] = None,
|
|
19980
20346
|
color: typing.Optional[builtins.str] = None,
|
|
19981
20347
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
20348
|
+
id: typing.Optional[builtins.str] = None,
|
|
19982
20349
|
label: typing.Optional[builtins.str] = None,
|
|
19983
20350
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
19984
20351
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -19986,12 +20353,14 @@ class HttpStage(
|
|
|
19986
20353
|
stack_region: typing.Optional[builtins.str] = None,
|
|
19987
20354
|
statistic: typing.Optional[builtins.str] = None,
|
|
19988
20355
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
20356
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
19989
20357
|
) -> _Metric_e396a4dc:
|
|
19990
20358
|
'''Metric for the number of server-side errors captured in a given period.
|
|
19991
20359
|
|
|
19992
20360
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
19993
20361
|
: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
|
|
19994
20362
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
20363
|
+
: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
|
|
19995
20364
|
: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
|
|
19996
20365
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
19997
20366
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -19999,11 +20368,13 @@ class HttpStage(
|
|
|
19999
20368
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
20000
20369
|
: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
|
|
20001
20370
|
: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
|
|
20371
|
+
: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
|
|
20002
20372
|
'''
|
|
20003
20373
|
props = _MetricOptions_1788b62f(
|
|
20004
20374
|
account=account,
|
|
20005
20375
|
color=color,
|
|
20006
20376
|
dimensions_map=dimensions_map,
|
|
20377
|
+
id=id,
|
|
20007
20378
|
label=label,
|
|
20008
20379
|
period=period,
|
|
20009
20380
|
region=region,
|
|
@@ -20011,6 +20382,7 @@ class HttpStage(
|
|
|
20011
20382
|
stack_region=stack_region,
|
|
20012
20383
|
statistic=statistic,
|
|
20013
20384
|
unit=unit,
|
|
20385
|
+
visible=visible,
|
|
20014
20386
|
)
|
|
20015
20387
|
|
|
20016
20388
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricServerError", [props]))
|
|
@@ -21893,6 +22265,7 @@ def _typecheckingstub__c88a55b08f170ef03ef7ee65891d47150923f5d517c30630b947b1c74
|
|
|
21893
22265
|
account: typing.Optional[builtins.str] = None,
|
|
21894
22266
|
color: typing.Optional[builtins.str] = None,
|
|
21895
22267
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
22268
|
+
id: typing.Optional[builtins.str] = None,
|
|
21896
22269
|
label: typing.Optional[builtins.str] = None,
|
|
21897
22270
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
21898
22271
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -21900,6 +22273,7 @@ def _typecheckingstub__c88a55b08f170ef03ef7ee65891d47150923f5d517c30630b947b1c74
|
|
|
21900
22273
|
stack_region: typing.Optional[builtins.str] = None,
|
|
21901
22274
|
statistic: typing.Optional[builtins.str] = None,
|
|
21902
22275
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
22276
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
21903
22277
|
) -> None:
|
|
21904
22278
|
"""Type checking stubs"""
|
|
21905
22279
|
pass
|
|
@@ -21912,12 +22286,20 @@ def _typecheckingstub__d4bdb3d2e15291eea92125ef948cd6cf44f902aa79fe0c219f66cb001
|
|
|
21912
22286
|
"""Type checking stubs"""
|
|
21913
22287
|
pass
|
|
21914
22288
|
|
|
22289
|
+
def _typecheckingstub__4c665dea48f412447206e1f5da11faba5435e964a15bc960b6d46ece81fa0f67(
|
|
22290
|
+
name: builtins.str,
|
|
22291
|
+
value: builtins.str,
|
|
22292
|
+
) -> None:
|
|
22293
|
+
"""Type checking stubs"""
|
|
22294
|
+
pass
|
|
22295
|
+
|
|
21915
22296
|
def _typecheckingstub__d4b9c7a822660da49cf87c3fc29340609a45b07f2b21e9c3832e9a5507b05771(
|
|
21916
22297
|
metric_name: builtins.str,
|
|
21917
22298
|
*,
|
|
21918
22299
|
account: typing.Optional[builtins.str] = None,
|
|
21919
22300
|
color: typing.Optional[builtins.str] = None,
|
|
21920
22301
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
22302
|
+
id: typing.Optional[builtins.str] = None,
|
|
21921
22303
|
label: typing.Optional[builtins.str] = None,
|
|
21922
22304
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
21923
22305
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -21925,6 +22307,7 @@ def _typecheckingstub__d4b9c7a822660da49cf87c3fc29340609a45b07f2b21e9c3832e9a550
|
|
|
21925
22307
|
stack_region: typing.Optional[builtins.str] = None,
|
|
21926
22308
|
statistic: typing.Optional[builtins.str] = None,
|
|
21927
22309
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
22310
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
21928
22311
|
) -> None:
|
|
21929
22312
|
"""Type checking stubs"""
|
|
21930
22313
|
pass
|
|
@@ -22083,6 +22466,7 @@ def _typecheckingstub__7d1ab9a2efdde27ab3aff279b986e4a558573396d5100c22c5a48bcbe
|
|
|
22083
22466
|
description: typing.Optional[builtins.str] = None,
|
|
22084
22467
|
detailed_metrics_enabled: typing.Optional[builtins.bool] = None,
|
|
22085
22468
|
domain_mapping: typing.Optional[typing.Union[DomainMappingOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
22469
|
+
stage_variables: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
22086
22470
|
throttle: typing.Optional[typing.Union[ThrottleSettings, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
22087
22471
|
) -> None:
|
|
22088
22472
|
"""Type checking stubs"""
|
|
@@ -22211,6 +22595,7 @@ def _typecheckingstub__8ea2af8d6aef7e127f3feb093668fe567793f3442bb0838c12dde2c9a
|
|
|
22211
22595
|
account: typing.Optional[builtins.str] = None,
|
|
22212
22596
|
color: typing.Optional[builtins.str] = None,
|
|
22213
22597
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
22598
|
+
id: typing.Optional[builtins.str] = None,
|
|
22214
22599
|
label: typing.Optional[builtins.str] = None,
|
|
22215
22600
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
22216
22601
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -22218,6 +22603,7 @@ def _typecheckingstub__8ea2af8d6aef7e127f3feb093668fe567793f3442bb0838c12dde2c9a
|
|
|
22218
22603
|
stack_region: typing.Optional[builtins.str] = None,
|
|
22219
22604
|
statistic: typing.Optional[builtins.str] = None,
|
|
22220
22605
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
22606
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
22221
22607
|
) -> None:
|
|
22222
22608
|
"""Type checking stubs"""
|
|
22223
22609
|
pass
|
|
@@ -22420,6 +22806,7 @@ def _typecheckingstub__64b576b4eaac9e08a38566f9968efb8de351df1daf6fe46d0fe7787da
|
|
|
22420
22806
|
description: typing.Optional[builtins.str] = None,
|
|
22421
22807
|
detailed_metrics_enabled: typing.Optional[builtins.bool] = None,
|
|
22422
22808
|
domain_mapping: typing.Optional[typing.Union[DomainMappingOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
22809
|
+
stage_variables: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
22423
22810
|
throttle: typing.Optional[typing.Union[ThrottleSettings, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
22424
22811
|
) -> None:
|
|
22425
22812
|
"""Type checking stubs"""
|
|
@@ -22435,6 +22822,13 @@ def _typecheckingstub__df2363dbeccd1454ba68fd1d71b4a9bbfc602ea9355efd49ec3182014
|
|
|
22435
22822
|
"""Type checking stubs"""
|
|
22436
22823
|
pass
|
|
22437
22824
|
|
|
22825
|
+
def _typecheckingstub__e80115730fb3880acf6034ad67463426b7c8e7b50ede7f129cc2fa78fd11a66d(
|
|
22826
|
+
name: builtins.str,
|
|
22827
|
+
value: builtins.str,
|
|
22828
|
+
) -> None:
|
|
22829
|
+
"""Type checking stubs"""
|
|
22830
|
+
pass
|
|
22831
|
+
|
|
22438
22832
|
def _typecheckingstub__8cbbe54e710ffddb18851ee60226c6453ffe4f6e45c2d13e12fcdbb78a94a35d(
|
|
22439
22833
|
identity: _IGrantable_71c4f5de,
|
|
22440
22834
|
) -> None:
|
|
@@ -22447,6 +22841,7 @@ def _typecheckingstub__ce6a35c70788359cc1bb6c49bb69e812f1a7d395b852c2430a0a6dac3
|
|
|
22447
22841
|
account: typing.Optional[builtins.str] = None,
|
|
22448
22842
|
color: typing.Optional[builtins.str] = None,
|
|
22449
22843
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
22844
|
+
id: typing.Optional[builtins.str] = None,
|
|
22450
22845
|
label: typing.Optional[builtins.str] = None,
|
|
22451
22846
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
22452
22847
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -22454,6 +22849,7 @@ def _typecheckingstub__ce6a35c70788359cc1bb6c49bb69e812f1a7d395b852c2430a0a6dac3
|
|
|
22454
22849
|
stack_region: typing.Optional[builtins.str] = None,
|
|
22455
22850
|
statistic: typing.Optional[builtins.str] = None,
|
|
22456
22851
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
22852
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
22457
22853
|
) -> None:
|
|
22458
22854
|
"""Type checking stubs"""
|
|
22459
22855
|
pass
|
|
@@ -22473,6 +22869,7 @@ def _typecheckingstub__42c328a8780899b5d1949986febb2d9e9b3f4f2f6b8e4f03561cb02e5
|
|
|
22473
22869
|
description: typing.Optional[builtins.str] = None,
|
|
22474
22870
|
detailed_metrics_enabled: typing.Optional[builtins.bool] = None,
|
|
22475
22871
|
domain_mapping: typing.Optional[typing.Union[DomainMappingOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
22872
|
+
stage_variables: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
22476
22873
|
throttle: typing.Optional[typing.Union[ThrottleSettings, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
22477
22874
|
stage_name: builtins.str,
|
|
22478
22875
|
web_socket_api: IWebSocketApi,
|
|
@@ -22591,6 +22988,7 @@ def _typecheckingstub__f8917ad3a680cbc2c8ade65728d8549bf69f03ea4c9d0752e5dae7263
|
|
|
22591
22988
|
description: typing.Optional[builtins.str] = None,
|
|
22592
22989
|
detailed_metrics_enabled: typing.Optional[builtins.bool] = None,
|
|
22593
22990
|
domain_mapping: typing.Optional[typing.Union[DomainMappingOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
22991
|
+
stage_variables: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
22594
22992
|
throttle: typing.Optional[typing.Union[ThrottleSettings, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
22595
22993
|
) -> None:
|
|
22596
22994
|
"""Type checking stubs"""
|
|
@@ -22610,6 +23008,7 @@ def _typecheckingstub__31e154e9541eb25c25b2ca77a4523aa38748dc392dd466816c178cb31
|
|
|
22610
23008
|
account: typing.Optional[builtins.str] = None,
|
|
22611
23009
|
color: typing.Optional[builtins.str] = None,
|
|
22612
23010
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
23011
|
+
id: typing.Optional[builtins.str] = None,
|
|
22613
23012
|
label: typing.Optional[builtins.str] = None,
|
|
22614
23013
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
22615
23014
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -22617,6 +23016,7 @@ def _typecheckingstub__31e154e9541eb25c25b2ca77a4523aa38748dc392dd466816c178cb31
|
|
|
22617
23016
|
stack_region: typing.Optional[builtins.str] = None,
|
|
22618
23017
|
statistic: typing.Optional[builtins.str] = None,
|
|
22619
23018
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
23019
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
22620
23020
|
) -> None:
|
|
22621
23021
|
"""Type checking stubs"""
|
|
22622
23022
|
pass
|
|
@@ -22664,6 +23064,7 @@ def _typecheckingstub__70c0bb0779b1636661ab1c2d695953c6dda7a5247d18a4bd7e045cc96
|
|
|
22664
23064
|
description: typing.Optional[builtins.str] = None,
|
|
22665
23065
|
detailed_metrics_enabled: typing.Optional[builtins.bool] = None,
|
|
22666
23066
|
domain_mapping: typing.Optional[typing.Union[DomainMappingOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
23067
|
+
stage_variables: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
22667
23068
|
throttle: typing.Optional[typing.Union[ThrottleSettings, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
22668
23069
|
stage_name: typing.Optional[builtins.str] = None,
|
|
22669
23070
|
) -> None:
|
|
@@ -22677,6 +23078,7 @@ def _typecheckingstub__77d8b0adbb783021a6c7e33999d2a3a80e2414824d202954599bb4ad7
|
|
|
22677
23078
|
description: typing.Optional[builtins.str] = None,
|
|
22678
23079
|
detailed_metrics_enabled: typing.Optional[builtins.bool] = None,
|
|
22679
23080
|
domain_mapping: typing.Optional[typing.Union[DomainMappingOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
23081
|
+
stage_variables: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
22680
23082
|
throttle: typing.Optional[typing.Union[ThrottleSettings, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
22681
23083
|
stage_name: typing.Optional[builtins.str] = None,
|
|
22682
23084
|
http_api: IHttpApi,
|
|
@@ -22744,6 +23146,7 @@ def _typecheckingstub__4573d7530f36463b1b12875197f2c49f968925d114c4ed7ac6b9ab04e
|
|
|
22744
23146
|
description: typing.Optional[builtins.str] = None,
|
|
22745
23147
|
detailed_metrics_enabled: typing.Optional[builtins.bool] = None,
|
|
22746
23148
|
domain_mapping: typing.Optional[typing.Union[DomainMappingOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
23149
|
+
stage_variables: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
22747
23150
|
throttle: typing.Optional[typing.Union[ThrottleSettings, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
22748
23151
|
) -> None:
|
|
22749
23152
|
"""Type checking stubs"""
|
|
@@ -22759,12 +23162,20 @@ def _typecheckingstub__0953e827fea9eaabbe70925f5d8e03cbcecdc854b08df955e93bbf879
|
|
|
22759
23162
|
"""Type checking stubs"""
|
|
22760
23163
|
pass
|
|
22761
23164
|
|
|
23165
|
+
def _typecheckingstub__9ee8829d99e6a9ccbf892a71dbd725b00c41172f02b95802db76e73e48b21da5(
|
|
23166
|
+
name: builtins.str,
|
|
23167
|
+
value: builtins.str,
|
|
23168
|
+
) -> None:
|
|
23169
|
+
"""Type checking stubs"""
|
|
23170
|
+
pass
|
|
23171
|
+
|
|
22762
23172
|
def _typecheckingstub__500452af5f3368ca0335b3b0a1f3ad3606a8d42f9416ce2e98f133fb0c4952ef(
|
|
22763
23173
|
metric_name: builtins.str,
|
|
22764
23174
|
*,
|
|
22765
23175
|
account: typing.Optional[builtins.str] = None,
|
|
22766
23176
|
color: typing.Optional[builtins.str] = None,
|
|
22767
23177
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
23178
|
+
id: typing.Optional[builtins.str] = None,
|
|
22768
23179
|
label: typing.Optional[builtins.str] = None,
|
|
22769
23180
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
22770
23181
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -22772,6 +23183,7 @@ def _typecheckingstub__500452af5f3368ca0335b3b0a1f3ad3606a8d42f9416ce2e98f133fb0
|
|
|
22772
23183
|
stack_region: typing.Optional[builtins.str] = None,
|
|
22773
23184
|
statistic: typing.Optional[builtins.str] = None,
|
|
22774
23185
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
23186
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
22775
23187
|
) -> None:
|
|
22776
23188
|
"""Type checking stubs"""
|
|
22777
23189
|
pass
|