aws-cdk-lib 2.203.0__py3-none-any.whl → 2.204.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of aws-cdk-lib might be problematic. Click here for more details.
- aws_cdk/__init__.py +38 -0
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.203.0.jsii.tgz → aws-cdk-lib@2.204.0.jsii.tgz} +0 -0
- aws_cdk/aws_apigateway/__init__.py +164 -0
- aws_cdk/aws_apigatewayv2/__init__.py +412 -0
- aws_cdk/aws_certificatemanager/__init__.py +28 -0
- aws_cdk/aws_chatbot/__init__.py +28 -0
- aws_cdk/aws_cloudfront/__init__.py +92 -0
- aws_cdk/aws_cloudfront/experimental/__init__.py +32 -0
- aws_cdk/aws_cloudwatch/__init__.py +217 -23
- aws_cdk/aws_codebuild/__init__.py +84 -0
- aws_cdk/aws_dynamodb/__init__.py +316 -2
- aws_cdk/aws_ec2/__init__.py +94 -0
- aws_cdk/aws_ecs/__init__.py +52 -0
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +724 -0
- aws_cdk/aws_elasticsearch/__init__.py +260 -0
- aws_cdk/aws_kinesis/__init__.py +324 -0
- aws_cdk/aws_kinesisfirehose/__init__.py +100 -0
- aws_cdk/aws_lambda/__init__.py +144 -0
- aws_cdk/aws_logs/__init__.py +58 -0
- aws_cdk/aws_opensearchservice/__init__.py +260 -0
- aws_cdk/aws_rds/__init__.py +384 -0
- aws_cdk/aws_scheduler/__init__.py +210 -0
- aws_cdk/aws_sns/__init__.py +164 -0
- aws_cdk/aws_sqs/__init__.py +164 -0
- aws_cdk/aws_stepfunctions/__init__.py +288 -0
- aws_cdk/aws_synthetics/__init__.py +18 -0
- {aws_cdk_lib-2.203.0.dist-info → aws_cdk_lib-2.204.0.dist-info}/METADATA +2 -2
- {aws_cdk_lib-2.203.0.dist-info → aws_cdk_lib-2.204.0.dist-info}/RECORD +33 -33
- {aws_cdk_lib-2.203.0.dist-info → aws_cdk_lib-2.204.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.203.0.dist-info → aws_cdk_lib-2.204.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.203.0.dist-info → aws_cdk_lib-2.204.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.203.0.dist-info → aws_cdk_lib-2.204.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_ecs/__init__.py
CHANGED
|
@@ -40266,6 +40266,7 @@ class Cluster(
|
|
|
40266
40266
|
account: typing.Optional[builtins.str] = None,
|
|
40267
40267
|
color: typing.Optional[builtins.str] = None,
|
|
40268
40268
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
40269
|
+
id: typing.Optional[builtins.str] = None,
|
|
40269
40270
|
label: typing.Optional[builtins.str] = None,
|
|
40270
40271
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
40271
40272
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -40273,6 +40274,7 @@ class Cluster(
|
|
|
40273
40274
|
stack_region: typing.Optional[builtins.str] = None,
|
|
40274
40275
|
statistic: typing.Optional[builtins.str] = None,
|
|
40275
40276
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
40277
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
40276
40278
|
) -> _Metric_e396a4dc:
|
|
40277
40279
|
'''This method returns the specified CloudWatch metric for this cluster.
|
|
40278
40280
|
|
|
@@ -40280,6 +40282,7 @@ class Cluster(
|
|
|
40280
40282
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
40281
40283
|
: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
|
|
40282
40284
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
40285
|
+
: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
|
|
40283
40286
|
: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
|
|
40284
40287
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
40285
40288
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -40287,6 +40290,7 @@ class Cluster(
|
|
|
40287
40290
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
40288
40291
|
: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
|
|
40289
40292
|
: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
|
|
40293
|
+
: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
|
|
40290
40294
|
'''
|
|
40291
40295
|
if __debug__:
|
|
40292
40296
|
type_hints = typing.get_type_hints(_typecheckingstub__35d18b54e19d86c5562f997d757fcd71f57fa6d194d5ed055020a0ad29b81b04)
|
|
@@ -40295,6 +40299,7 @@ class Cluster(
|
|
|
40295
40299
|
account=account,
|
|
40296
40300
|
color=color,
|
|
40297
40301
|
dimensions_map=dimensions_map,
|
|
40302
|
+
id=id,
|
|
40298
40303
|
label=label,
|
|
40299
40304
|
period=period,
|
|
40300
40305
|
region=region,
|
|
@@ -40302,6 +40307,7 @@ class Cluster(
|
|
|
40302
40307
|
stack_region=stack_region,
|
|
40303
40308
|
statistic=statistic,
|
|
40304
40309
|
unit=unit,
|
|
40310
|
+
visible=visible,
|
|
40305
40311
|
)
|
|
40306
40312
|
|
|
40307
40313
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metric", [metric_name, props]))
|
|
@@ -40313,6 +40319,7 @@ class Cluster(
|
|
|
40313
40319
|
account: typing.Optional[builtins.str] = None,
|
|
40314
40320
|
color: typing.Optional[builtins.str] = None,
|
|
40315
40321
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
40322
|
+
id: typing.Optional[builtins.str] = None,
|
|
40316
40323
|
label: typing.Optional[builtins.str] = None,
|
|
40317
40324
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
40318
40325
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -40320,12 +40327,14 @@ class Cluster(
|
|
|
40320
40327
|
stack_region: typing.Optional[builtins.str] = None,
|
|
40321
40328
|
statistic: typing.Optional[builtins.str] = None,
|
|
40322
40329
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
40330
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
40323
40331
|
) -> _Metric_e396a4dc:
|
|
40324
40332
|
'''This method returns the CloudWatch metric for this clusters CPU reservation.
|
|
40325
40333
|
|
|
40326
40334
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
40327
40335
|
: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
|
|
40328
40336
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
40337
|
+
: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
|
|
40329
40338
|
: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
|
|
40330
40339
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
40331
40340
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -40333,6 +40342,7 @@ class Cluster(
|
|
|
40333
40342
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
40334
40343
|
: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
|
|
40335
40344
|
: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
|
|
40345
|
+
: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
|
|
40336
40346
|
|
|
40337
40347
|
:default: average over 5 minutes
|
|
40338
40348
|
'''
|
|
@@ -40340,6 +40350,7 @@ class Cluster(
|
|
|
40340
40350
|
account=account,
|
|
40341
40351
|
color=color,
|
|
40342
40352
|
dimensions_map=dimensions_map,
|
|
40353
|
+
id=id,
|
|
40343
40354
|
label=label,
|
|
40344
40355
|
period=period,
|
|
40345
40356
|
region=region,
|
|
@@ -40347,6 +40358,7 @@ class Cluster(
|
|
|
40347
40358
|
stack_region=stack_region,
|
|
40348
40359
|
statistic=statistic,
|
|
40349
40360
|
unit=unit,
|
|
40361
|
+
visible=visible,
|
|
40350
40362
|
)
|
|
40351
40363
|
|
|
40352
40364
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricCpuReservation", [props]))
|
|
@@ -40358,6 +40370,7 @@ class Cluster(
|
|
|
40358
40370
|
account: typing.Optional[builtins.str] = None,
|
|
40359
40371
|
color: typing.Optional[builtins.str] = None,
|
|
40360
40372
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
40373
|
+
id: typing.Optional[builtins.str] = None,
|
|
40361
40374
|
label: typing.Optional[builtins.str] = None,
|
|
40362
40375
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
40363
40376
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -40365,12 +40378,14 @@ class Cluster(
|
|
|
40365
40378
|
stack_region: typing.Optional[builtins.str] = None,
|
|
40366
40379
|
statistic: typing.Optional[builtins.str] = None,
|
|
40367
40380
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
40381
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
40368
40382
|
) -> _Metric_e396a4dc:
|
|
40369
40383
|
'''This method returns the CloudWatch metric for this clusters CPU utilization.
|
|
40370
40384
|
|
|
40371
40385
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
40372
40386
|
: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
|
|
40373
40387
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
40388
|
+
: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
|
|
40374
40389
|
: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
|
|
40375
40390
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
40376
40391
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -40378,6 +40393,7 @@ class Cluster(
|
|
|
40378
40393
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
40379
40394
|
: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
|
|
40380
40395
|
: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
|
|
40396
|
+
: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
|
|
40381
40397
|
|
|
40382
40398
|
:default: average over 5 minutes
|
|
40383
40399
|
'''
|
|
@@ -40385,6 +40401,7 @@ class Cluster(
|
|
|
40385
40401
|
account=account,
|
|
40386
40402
|
color=color,
|
|
40387
40403
|
dimensions_map=dimensions_map,
|
|
40404
|
+
id=id,
|
|
40388
40405
|
label=label,
|
|
40389
40406
|
period=period,
|
|
40390
40407
|
region=region,
|
|
@@ -40392,6 +40409,7 @@ class Cluster(
|
|
|
40392
40409
|
stack_region=stack_region,
|
|
40393
40410
|
statistic=statistic,
|
|
40394
40411
|
unit=unit,
|
|
40412
|
+
visible=visible,
|
|
40395
40413
|
)
|
|
40396
40414
|
|
|
40397
40415
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricCpuUtilization", [props]))
|
|
@@ -40403,6 +40421,7 @@ class Cluster(
|
|
|
40403
40421
|
account: typing.Optional[builtins.str] = None,
|
|
40404
40422
|
color: typing.Optional[builtins.str] = None,
|
|
40405
40423
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
40424
|
+
id: typing.Optional[builtins.str] = None,
|
|
40406
40425
|
label: typing.Optional[builtins.str] = None,
|
|
40407
40426
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
40408
40427
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -40410,12 +40429,14 @@ class Cluster(
|
|
|
40410
40429
|
stack_region: typing.Optional[builtins.str] = None,
|
|
40411
40430
|
statistic: typing.Optional[builtins.str] = None,
|
|
40412
40431
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
40432
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
40413
40433
|
) -> _Metric_e396a4dc:
|
|
40414
40434
|
'''This method returns the CloudWatch metric for this clusters memory reservation.
|
|
40415
40435
|
|
|
40416
40436
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
40417
40437
|
: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
|
|
40418
40438
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
40439
|
+
: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
|
|
40419
40440
|
: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
|
|
40420
40441
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
40421
40442
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -40423,6 +40444,7 @@ class Cluster(
|
|
|
40423
40444
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
40424
40445
|
: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
|
|
40425
40446
|
: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
|
|
40447
|
+
: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
|
|
40426
40448
|
|
|
40427
40449
|
:default: average over 5 minutes
|
|
40428
40450
|
'''
|
|
@@ -40430,6 +40452,7 @@ class Cluster(
|
|
|
40430
40452
|
account=account,
|
|
40431
40453
|
color=color,
|
|
40432
40454
|
dimensions_map=dimensions_map,
|
|
40455
|
+
id=id,
|
|
40433
40456
|
label=label,
|
|
40434
40457
|
period=period,
|
|
40435
40458
|
region=region,
|
|
@@ -40437,6 +40460,7 @@ class Cluster(
|
|
|
40437
40460
|
stack_region=stack_region,
|
|
40438
40461
|
statistic=statistic,
|
|
40439
40462
|
unit=unit,
|
|
40463
|
+
visible=visible,
|
|
40440
40464
|
)
|
|
40441
40465
|
|
|
40442
40466
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricMemoryReservation", [props]))
|
|
@@ -40448,6 +40472,7 @@ class Cluster(
|
|
|
40448
40472
|
account: typing.Optional[builtins.str] = None,
|
|
40449
40473
|
color: typing.Optional[builtins.str] = None,
|
|
40450
40474
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
40475
|
+
id: typing.Optional[builtins.str] = None,
|
|
40451
40476
|
label: typing.Optional[builtins.str] = None,
|
|
40452
40477
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
40453
40478
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -40455,12 +40480,14 @@ class Cluster(
|
|
|
40455
40480
|
stack_region: typing.Optional[builtins.str] = None,
|
|
40456
40481
|
statistic: typing.Optional[builtins.str] = None,
|
|
40457
40482
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
40483
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
40458
40484
|
) -> _Metric_e396a4dc:
|
|
40459
40485
|
'''This method returns the CloudWatch metric for this clusters memory utilization.
|
|
40460
40486
|
|
|
40461
40487
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
40462
40488
|
: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
|
|
40463
40489
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
40490
|
+
: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
|
|
40464
40491
|
: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
|
|
40465
40492
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
40466
40493
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -40468,6 +40495,7 @@ class Cluster(
|
|
|
40468
40495
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
40469
40496
|
: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
|
|
40470
40497
|
: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
|
|
40498
|
+
: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
|
|
40471
40499
|
|
|
40472
40500
|
:default: average over 5 minutes
|
|
40473
40501
|
'''
|
|
@@ -40475,6 +40503,7 @@ class Cluster(
|
|
|
40475
40503
|
account=account,
|
|
40476
40504
|
color=color,
|
|
40477
40505
|
dimensions_map=dimensions_map,
|
|
40506
|
+
id=id,
|
|
40478
40507
|
label=label,
|
|
40479
40508
|
period=period,
|
|
40480
40509
|
region=region,
|
|
@@ -40482,6 +40511,7 @@ class Cluster(
|
|
|
40482
40511
|
stack_region=stack_region,
|
|
40483
40512
|
statistic=statistic,
|
|
40484
40513
|
unit=unit,
|
|
40514
|
+
visible=visible,
|
|
40485
40515
|
)
|
|
40486
40516
|
|
|
40487
40517
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricMemoryUtilization", [props]))
|
|
@@ -41590,6 +41620,7 @@ class BaseService(
|
|
|
41590
41620
|
account: typing.Optional[builtins.str] = None,
|
|
41591
41621
|
color: typing.Optional[builtins.str] = None,
|
|
41592
41622
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
41623
|
+
id: typing.Optional[builtins.str] = None,
|
|
41593
41624
|
label: typing.Optional[builtins.str] = None,
|
|
41594
41625
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
41595
41626
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -41597,6 +41628,7 @@ class BaseService(
|
|
|
41597
41628
|
stack_region: typing.Optional[builtins.str] = None,
|
|
41598
41629
|
statistic: typing.Optional[builtins.str] = None,
|
|
41599
41630
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
41631
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
41600
41632
|
) -> _Metric_e396a4dc:
|
|
41601
41633
|
'''This method returns the specified CloudWatch metric name for this service.
|
|
41602
41634
|
|
|
@@ -41604,6 +41636,7 @@ class BaseService(
|
|
|
41604
41636
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
41605
41637
|
: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
|
|
41606
41638
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
41639
|
+
: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
|
|
41607
41640
|
: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
|
|
41608
41641
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
41609
41642
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -41611,6 +41644,7 @@ class BaseService(
|
|
|
41611
41644
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
41612
41645
|
: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
|
|
41613
41646
|
: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
|
|
41647
|
+
: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
|
|
41614
41648
|
'''
|
|
41615
41649
|
if __debug__:
|
|
41616
41650
|
type_hints = typing.get_type_hints(_typecheckingstub__fb3b6cd83a49e029a6aab0309e4bf6a856a09b82a0d6752ebc4b8057753a9902)
|
|
@@ -41619,6 +41653,7 @@ class BaseService(
|
|
|
41619
41653
|
account=account,
|
|
41620
41654
|
color=color,
|
|
41621
41655
|
dimensions_map=dimensions_map,
|
|
41656
|
+
id=id,
|
|
41622
41657
|
label=label,
|
|
41623
41658
|
period=period,
|
|
41624
41659
|
region=region,
|
|
@@ -41626,6 +41661,7 @@ class BaseService(
|
|
|
41626
41661
|
stack_region=stack_region,
|
|
41627
41662
|
statistic=statistic,
|
|
41628
41663
|
unit=unit,
|
|
41664
|
+
visible=visible,
|
|
41629
41665
|
)
|
|
41630
41666
|
|
|
41631
41667
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metric", [metric_name, props]))
|
|
@@ -41637,6 +41673,7 @@ class BaseService(
|
|
|
41637
41673
|
account: typing.Optional[builtins.str] = None,
|
|
41638
41674
|
color: typing.Optional[builtins.str] = None,
|
|
41639
41675
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
41676
|
+
id: typing.Optional[builtins.str] = None,
|
|
41640
41677
|
label: typing.Optional[builtins.str] = None,
|
|
41641
41678
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
41642
41679
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -41644,12 +41681,14 @@ class BaseService(
|
|
|
41644
41681
|
stack_region: typing.Optional[builtins.str] = None,
|
|
41645
41682
|
statistic: typing.Optional[builtins.str] = None,
|
|
41646
41683
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
41684
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
41647
41685
|
) -> _Metric_e396a4dc:
|
|
41648
41686
|
'''This method returns the CloudWatch metric for this service's CPU utilization.
|
|
41649
41687
|
|
|
41650
41688
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
41651
41689
|
: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
|
|
41652
41690
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
41691
|
+
: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
|
|
41653
41692
|
: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
|
|
41654
41693
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
41655
41694
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -41657,6 +41696,7 @@ class BaseService(
|
|
|
41657
41696
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
41658
41697
|
: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
|
|
41659
41698
|
: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
|
|
41699
|
+
: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
|
|
41660
41700
|
|
|
41661
41701
|
:default: average over 5 minutes
|
|
41662
41702
|
'''
|
|
@@ -41664,6 +41704,7 @@ class BaseService(
|
|
|
41664
41704
|
account=account,
|
|
41665
41705
|
color=color,
|
|
41666
41706
|
dimensions_map=dimensions_map,
|
|
41707
|
+
id=id,
|
|
41667
41708
|
label=label,
|
|
41668
41709
|
period=period,
|
|
41669
41710
|
region=region,
|
|
@@ -41671,6 +41712,7 @@ class BaseService(
|
|
|
41671
41712
|
stack_region=stack_region,
|
|
41672
41713
|
statistic=statistic,
|
|
41673
41714
|
unit=unit,
|
|
41715
|
+
visible=visible,
|
|
41674
41716
|
)
|
|
41675
41717
|
|
|
41676
41718
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricCpuUtilization", [props]))
|
|
@@ -41682,6 +41724,7 @@ class BaseService(
|
|
|
41682
41724
|
account: typing.Optional[builtins.str] = None,
|
|
41683
41725
|
color: typing.Optional[builtins.str] = None,
|
|
41684
41726
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
41727
|
+
id: typing.Optional[builtins.str] = None,
|
|
41685
41728
|
label: typing.Optional[builtins.str] = None,
|
|
41686
41729
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
41687
41730
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -41689,12 +41732,14 @@ class BaseService(
|
|
|
41689
41732
|
stack_region: typing.Optional[builtins.str] = None,
|
|
41690
41733
|
statistic: typing.Optional[builtins.str] = None,
|
|
41691
41734
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
41735
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
41692
41736
|
) -> _Metric_e396a4dc:
|
|
41693
41737
|
'''This method returns the CloudWatch metric for this service's memory utilization.
|
|
41694
41738
|
|
|
41695
41739
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
41696
41740
|
: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
|
|
41697
41741
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
41742
|
+
: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
|
|
41698
41743
|
: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
|
|
41699
41744
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
41700
41745
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -41702,6 +41747,7 @@ class BaseService(
|
|
|
41702
41747
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
41703
41748
|
: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
|
|
41704
41749
|
: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
|
|
41750
|
+
: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
|
|
41705
41751
|
|
|
41706
41752
|
:default: average over 5 minutes
|
|
41707
41753
|
'''
|
|
@@ -41709,6 +41755,7 @@ class BaseService(
|
|
|
41709
41755
|
account=account,
|
|
41710
41756
|
color=color,
|
|
41711
41757
|
dimensions_map=dimensions_map,
|
|
41758
|
+
id=id,
|
|
41712
41759
|
label=label,
|
|
41713
41760
|
period=period,
|
|
41714
41761
|
region=region,
|
|
@@ -41716,6 +41763,7 @@ class BaseService(
|
|
|
41716
41763
|
stack_region=stack_region,
|
|
41717
41764
|
statistic=statistic,
|
|
41718
41765
|
unit=unit,
|
|
41766
|
+
visible=visible,
|
|
41719
41767
|
)
|
|
41720
41768
|
|
|
41721
41769
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricMemoryUtilization", [props]))
|
|
@@ -47323,6 +47371,7 @@ def _typecheckingstub__35d18b54e19d86c5562f997d757fcd71f57fa6d194d5ed055020a0ad2
|
|
|
47323
47371
|
account: typing.Optional[builtins.str] = None,
|
|
47324
47372
|
color: typing.Optional[builtins.str] = None,
|
|
47325
47373
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
47374
|
+
id: typing.Optional[builtins.str] = None,
|
|
47326
47375
|
label: typing.Optional[builtins.str] = None,
|
|
47327
47376
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
47328
47377
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -47330,6 +47379,7 @@ def _typecheckingstub__35d18b54e19d86c5562f997d757fcd71f57fa6d194d5ed055020a0ad2
|
|
|
47330
47379
|
stack_region: typing.Optional[builtins.str] = None,
|
|
47331
47380
|
statistic: typing.Optional[builtins.str] = None,
|
|
47332
47381
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
47382
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
47333
47383
|
) -> None:
|
|
47334
47384
|
"""Type checking stubs"""
|
|
47335
47385
|
pass
|
|
@@ -47449,6 +47499,7 @@ def _typecheckingstub__fb3b6cd83a49e029a6aab0309e4bf6a856a09b82a0d6752ebc4b80577
|
|
|
47449
47499
|
account: typing.Optional[builtins.str] = None,
|
|
47450
47500
|
color: typing.Optional[builtins.str] = None,
|
|
47451
47501
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
47502
|
+
id: typing.Optional[builtins.str] = None,
|
|
47452
47503
|
label: typing.Optional[builtins.str] = None,
|
|
47453
47504
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
47454
47505
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -47456,6 +47507,7 @@ def _typecheckingstub__fb3b6cd83a49e029a6aab0309e4bf6a856a09b82a0d6752ebc4b80577
|
|
|
47456
47507
|
stack_region: typing.Optional[builtins.str] = None,
|
|
47457
47508
|
statistic: typing.Optional[builtins.str] = None,
|
|
47458
47509
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
47510
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
47459
47511
|
) -> None:
|
|
47460
47512
|
"""Type checking stubs"""
|
|
47461
47513
|
pass
|