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.

Files changed (62) hide show
  1. aws_cdk/__init__.py +208 -92
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.203.1.jsii.tgz → aws-cdk-lib@2.205.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_aiops/__init__.py +89 -39
  5. aws_cdk/aws_apigateway/__init__.py +164 -0
  6. aws_cdk/aws_apigatewayv2/__init__.py +412 -0
  7. aws_cdk/aws_applicationautoscaling/__init__.py +2 -2
  8. aws_cdk/aws_arczonalshift/__init__.py +4 -1
  9. aws_cdk/aws_b2bi/__init__.py +32 -16
  10. aws_cdk/aws_bedrock/__init__.py +198 -10
  11. aws_cdk/aws_cassandra/__init__.py +156 -0
  12. aws_cdk/aws_certificatemanager/__init__.py +28 -0
  13. aws_cdk/aws_chatbot/__init__.py +28 -0
  14. aws_cdk/aws_cloudformation/__init__.py +74 -72
  15. aws_cdk/aws_cloudfront/__init__.py +1273 -485
  16. aws_cdk/aws_cloudfront/experimental/__init__.py +32 -0
  17. aws_cdk/aws_cloudfront_origins/__init__.py +26 -21
  18. aws_cdk/aws_cloudwatch/__init__.py +278 -23
  19. aws_cdk/aws_codebuild/__init__.py +300 -36
  20. aws_cdk/aws_datasync/__init__.py +2 -2
  21. aws_cdk/aws_docdb/__init__.py +78 -0
  22. aws_cdk/aws_dynamodb/__init__.py +523 -37
  23. aws_cdk/aws_ec2/__init__.py +126 -30
  24. aws_cdk/aws_ecs/__init__.py +64 -19
  25. aws_cdk/aws_elasticloadbalancingv2/__init__.py +724 -0
  26. aws_cdk/aws_elasticsearch/__init__.py +260 -0
  27. aws_cdk/aws_emrserverless/__init__.py +5 -5
  28. aws_cdk/aws_events/__init__.py +58 -3
  29. aws_cdk/aws_events_targets/__init__.py +7 -2
  30. aws_cdk/aws_evs/__init__.py +7 -7
  31. aws_cdk/aws_fsx/__init__.py +138 -78
  32. aws_cdk/aws_gamelift/__init__.py +19 -0
  33. aws_cdk/aws_glue/__init__.py +3 -3
  34. aws_cdk/aws_iot/__init__.py +1 -1
  35. aws_cdk/aws_kinesis/__init__.py +391 -13
  36. aws_cdk/aws_kinesisfirehose/__init__.py +128 -1
  37. aws_cdk/aws_lambda/__init__.py +144 -0
  38. aws_cdk/aws_lex/__init__.py +36 -19
  39. aws_cdk/aws_logs/__init__.py +58 -0
  40. aws_cdk/aws_neptune/__init__.py +12 -12
  41. aws_cdk/aws_odb/__init__.py +4049 -0
  42. aws_cdk/aws_omics/__init__.py +1 -1
  43. aws_cdk/aws_opensearchservice/__init__.py +260 -0
  44. aws_cdk/aws_qbusiness/__init__.py +471 -4
  45. aws_cdk/aws_quicksight/__init__.py +185 -16
  46. aws_cdk/aws_rds/__init__.py +553 -17
  47. aws_cdk/aws_redshiftserverless/__init__.py +72 -45
  48. aws_cdk/aws_route53/__init__.py +41 -19
  49. aws_cdk/aws_s3tables/__init__.py +1005 -0
  50. aws_cdk/aws_sagemaker/__init__.py +20 -0
  51. aws_cdk/aws_scheduler/__init__.py +210 -0
  52. aws_cdk/aws_sns/__init__.py +164 -0
  53. aws_cdk/aws_sqs/__init__.py +164 -0
  54. aws_cdk/aws_stepfunctions/__init__.py +288 -0
  55. aws_cdk/aws_synthetics/__init__.py +159 -37
  56. aws_cdk/aws_transfer/__init__.py +23 -1
  57. {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.205.0.dist-info}/METADATA +2 -2
  58. {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.205.0.dist-info}/RECORD +62 -61
  59. {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.205.0.dist-info}/LICENSE +0 -0
  60. {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.205.0.dist-info}/NOTICE +0 -0
  61. {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.205.0.dist-info}/WHEEL +0 -0
  62. {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.205.0.dist-info}/top_level.txt +0 -0
@@ -8846,7 +8846,9 @@ class CfnService(
8846
8846
  @builtins.property
8847
8847
  @jsii.member(jsii_name="attrServiceArn")
8848
8848
  def attr_service_arn(self) -> builtins.str:
8849
- '''Not currently supported in AWS CloudFormation .
8849
+ '''The ARN that identifies the service.
8850
+
8851
+ For more information about the ARN format, see `Amazon Resource Name (ARN) <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#ecs-resource-ids>`_ in the *Amazon ECS Developer Guide* .
8850
8852
 
8851
8853
  :cloudformationAttribute: ServiceArn
8852
8854
  '''
@@ -12885,7 +12887,7 @@ class CfnTaskDefinition(
12885
12887
  :param ephemeral_storage: The ephemeral storage settings to use for tasks run with the task definition.
12886
12888
  :param execution_role_arn: The Amazon Resource Name (ARN) of the task execution role that grants the Amazon ECS container agent permission to make AWS API calls on your behalf. For informationabout the required IAM roles for Amazon ECS, see `IAM roles for Amazon ECS <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/security-ecs-iam-role-overview.html>`_ in the *Amazon Elastic Container Service Developer Guide* .
12887
12889
  :param family: The name of a family that this task definition is registered to. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed. A family groups multiple versions of a task definition. Amazon ECS gives the first task definition that you registered to a family a revision number of 1. Amazon ECS gives sequential revision numbers to each task definition that you add. .. epigraph:: To use revision numbers when you update a task definition, specify this property. If you don't specify a value, AWS CloudFormation generates a new task definition each time that you update it.
12888
- :param inference_accelerators: (deprecated) The Elastic Inference accelerators to use for the containers in the task.
12890
+ :param inference_accelerators:
12889
12891
  :param ipc_mode: The IPC resource namespace to use for the containers in the task. The valid values are ``host`` , ``task`` , or ``none`` . If ``host`` is specified, then all containers within the tasks that specified the ``host`` IPC mode on the same container instance share the same IPC resources with the host Amazon EC2 instance. If ``task`` is specified, all containers within the specified task share the same IPC resources. If ``none`` is specified, then IPC resources within the containers of a task are private and not shared with other containers in a task or on the container instance. If no value is specified, then the IPC resource namespace sharing depends on the Docker daemon setting on the container instance. If the ``host`` IPC mode is used, be aware that there is a heightened risk of undesired IPC namespace expose. If you are setting namespaced kernel parameters using ``systemControls`` for the containers in the task, the following will apply to your IPC resource namespace. For more information, see `System Controls <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html>`_ in the *Amazon Elastic Container Service Developer Guide* . - For tasks that use the ``host`` IPC mode, IPC namespace related ``systemControls`` are not supported. - For tasks that use the ``task`` IPC mode, IPC namespace related ``systemControls`` will apply to all containers within a task. .. epigraph:: This parameter is not supported for Windows containers or tasks run on AWS Fargate .
12890
12892
  :param memory: The amount (in MiB) of memory used by the task. If your tasks runs on Amazon EC2 instances, you must specify either a task-level memory value or a container-level memory value. This field is optional and any value can be used. If a task-level memory value is specified, the container-level memory value is optional. For more information regarding container-level memory and memory reservation, see `ContainerDefinition <https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ContainerDefinition.html>`_ . If your tasks runs on AWS Fargate , this field is required. You must use one of the following values. The value you choose determines your range of valid values for the ``cpu`` parameter. - 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) - Available ``cpu`` values: 256 (.25 vCPU) - 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) - Available ``cpu`` values: 512 (.5 vCPU) - 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB) - Available ``cpu`` values: 1024 (1 vCPU) - Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) - Available ``cpu`` values: 2048 (2 vCPU) - Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB) - Available ``cpu`` values: 4096 (4 vCPU) - Between 16 GB and 60 GB in 4 GB increments - Available ``cpu`` values: 8192 (8 vCPU) This option requires Linux platform ``1.4.0`` or later. - Between 32GB and 120 GB in 8 GB increments - Available ``cpu`` values: 16384 (16 vCPU) This option requires Linux platform ``1.4.0`` or later.
12891
12893
  :param network_mode: The Docker networking mode to use for the containers in the task. The valid values are ``none`` , ``bridge`` , ``awsvpc`` , and ``host`` . If no network mode is specified, the default is ``bridge`` . For Amazon ECS tasks on Fargate, the ``awsvpc`` network mode is required. For Amazon ECS tasks on Amazon EC2 Linux instances, any network mode can be used. For Amazon ECS tasks on Amazon EC2 Windows instances, ``<default>`` or ``awsvpc`` can be used. If the network mode is set to ``none`` , you cannot specify port mappings in your container definitions, and the tasks containers do not have external connectivity. The ``host`` and ``awsvpc`` network modes offer the highest networking performance for containers because they use the EC2 network stack instead of the virtualized network stack provided by the ``bridge`` mode. With the ``host`` and ``awsvpc`` network modes, exposed container ports are mapped directly to the corresponding host port (for the ``host`` network mode) or the attached elastic network interface port (for the ``awsvpc`` network mode), so you cannot take advantage of dynamic host port mappings. .. epigraph:: When using the ``host`` network mode, you should not run containers using the root user (UID 0). It is considered best practice to use a non-root user. If the network mode is ``awsvpc`` , the task is allocated an elastic network interface, and you must specify a `NetworkConfiguration <https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_NetworkConfiguration.html>`_ value when you create a service or run a task with the task definition. For more information, see `Task Networking <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html>`_ in the *Amazon Elastic Container Service Developer Guide* . If the network mode is ``host`` , you cannot run multiple instantiations of the same task on a single container instance when port mappings are used.
@@ -13073,8 +13075,7 @@ class CfnTaskDefinition(
13073
13075
  def inference_accelerators(
13074
13076
  self,
13075
13077
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnTaskDefinition.InferenceAcceleratorProperty"]]]]:
13076
- '''(deprecated) The Elastic Inference accelerators to use for the containers in the task.
13077
-
13078
+ '''
13078
13079
  :deprecated: this property has been deprecated
13079
13080
 
13080
13081
  :stability: deprecated
@@ -15613,12 +15614,9 @@ class CfnTaskDefinition(
15613
15614
  device_name: typing.Optional[builtins.str] = None,
15614
15615
  device_type: typing.Optional[builtins.str] = None,
15615
15616
  ) -> None:
15616
- '''Details on an Elastic Inference accelerator.
15617
-
15618
- For more information, see `Working with Amazon Elastic Inference on Amazon ECS <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-inference.html>`_ in the *Amazon Elastic Container Service Developer Guide* .
15619
-
15620
- :param device_name: The Elastic Inference accelerator device name. The ``deviceName`` must also be referenced in a container definition as a `ResourceRequirement <https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ResourceRequirement.html>`_ .
15621
- :param device_type: The Elastic Inference accelerator type to use.
15617
+ '''
15618
+ :param device_name:
15619
+ :param device_type:
15622
15620
 
15623
15621
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-inferenceaccelerator.html
15624
15622
  :exampleMetadata: fixture=_generated
@@ -15646,10 +15644,7 @@ class CfnTaskDefinition(
15646
15644
 
15647
15645
  @builtins.property
15648
15646
  def device_name(self) -> typing.Optional[builtins.str]:
15649
- '''The Elastic Inference accelerator device name.
15650
-
15651
- The ``deviceName`` must also be referenced in a container definition as a `ResourceRequirement <https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ResourceRequirement.html>`_ .
15652
-
15647
+ '''
15653
15648
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-inferenceaccelerator.html#cfn-ecs-taskdefinition-inferenceaccelerator-devicename
15654
15649
  '''
15655
15650
  result = self._values.get("device_name")
@@ -15657,8 +15652,7 @@ class CfnTaskDefinition(
15657
15652
 
15658
15653
  @builtins.property
15659
15654
  def device_type(self) -> typing.Optional[builtins.str]:
15660
- '''The Elastic Inference accelerator type to use.
15661
-
15655
+ '''
15662
15656
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-inferenceaccelerator.html#cfn-ecs-taskdefinition-inferenceaccelerator-devicetype
15663
15657
  '''
15664
15658
  result = self._values.get("device_type")
@@ -17739,7 +17733,7 @@ class CfnTaskDefinitionProps:
17739
17733
  :param ephemeral_storage: The ephemeral storage settings to use for tasks run with the task definition.
17740
17734
  :param execution_role_arn: The Amazon Resource Name (ARN) of the task execution role that grants the Amazon ECS container agent permission to make AWS API calls on your behalf. For informationabout the required IAM roles for Amazon ECS, see `IAM roles for Amazon ECS <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/security-ecs-iam-role-overview.html>`_ in the *Amazon Elastic Container Service Developer Guide* .
17741
17735
  :param family: The name of a family that this task definition is registered to. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed. A family groups multiple versions of a task definition. Amazon ECS gives the first task definition that you registered to a family a revision number of 1. Amazon ECS gives sequential revision numbers to each task definition that you add. .. epigraph:: To use revision numbers when you update a task definition, specify this property. If you don't specify a value, AWS CloudFormation generates a new task definition each time that you update it.
17742
- :param inference_accelerators: (deprecated) The Elastic Inference accelerators to use for the containers in the task.
17736
+ :param inference_accelerators:
17743
17737
  :param ipc_mode: The IPC resource namespace to use for the containers in the task. The valid values are ``host`` , ``task`` , or ``none`` . If ``host`` is specified, then all containers within the tasks that specified the ``host`` IPC mode on the same container instance share the same IPC resources with the host Amazon EC2 instance. If ``task`` is specified, all containers within the specified task share the same IPC resources. If ``none`` is specified, then IPC resources within the containers of a task are private and not shared with other containers in a task or on the container instance. If no value is specified, then the IPC resource namespace sharing depends on the Docker daemon setting on the container instance. If the ``host`` IPC mode is used, be aware that there is a heightened risk of undesired IPC namespace expose. If you are setting namespaced kernel parameters using ``systemControls`` for the containers in the task, the following will apply to your IPC resource namespace. For more information, see `System Controls <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html>`_ in the *Amazon Elastic Container Service Developer Guide* . - For tasks that use the ``host`` IPC mode, IPC namespace related ``systemControls`` are not supported. - For tasks that use the ``task`` IPC mode, IPC namespace related ``systemControls`` will apply to all containers within a task. .. epigraph:: This parameter is not supported for Windows containers or tasks run on AWS Fargate .
17744
17738
  :param memory: The amount (in MiB) of memory used by the task. If your tasks runs on Amazon EC2 instances, you must specify either a task-level memory value or a container-level memory value. This field is optional and any value can be used. If a task-level memory value is specified, the container-level memory value is optional. For more information regarding container-level memory and memory reservation, see `ContainerDefinition <https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ContainerDefinition.html>`_ . If your tasks runs on AWS Fargate , this field is required. You must use one of the following values. The value you choose determines your range of valid values for the ``cpu`` parameter. - 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) - Available ``cpu`` values: 256 (.25 vCPU) - 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) - Available ``cpu`` values: 512 (.5 vCPU) - 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB) - Available ``cpu`` values: 1024 (1 vCPU) - Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) - Available ``cpu`` values: 2048 (2 vCPU) - Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB) - Available ``cpu`` values: 4096 (4 vCPU) - Between 16 GB and 60 GB in 4 GB increments - Available ``cpu`` values: 8192 (8 vCPU) This option requires Linux platform ``1.4.0`` or later. - Between 32GB and 120 GB in 8 GB increments - Available ``cpu`` values: 16384 (16 vCPU) This option requires Linux platform ``1.4.0`` or later.
17745
17739
  :param network_mode: The Docker networking mode to use for the containers in the task. The valid values are ``none`` , ``bridge`` , ``awsvpc`` , and ``host`` . If no network mode is specified, the default is ``bridge`` . For Amazon ECS tasks on Fargate, the ``awsvpc`` network mode is required. For Amazon ECS tasks on Amazon EC2 Linux instances, any network mode can be used. For Amazon ECS tasks on Amazon EC2 Windows instances, ``<default>`` or ``awsvpc`` can be used. If the network mode is set to ``none`` , you cannot specify port mappings in your container definitions, and the tasks containers do not have external connectivity. The ``host`` and ``awsvpc`` network modes offer the highest networking performance for containers because they use the EC2 network stack instead of the virtualized network stack provided by the ``bridge`` mode. With the ``host`` and ``awsvpc`` network modes, exposed container ports are mapped directly to the corresponding host port (for the ``host`` network mode) or the attached elastic network interface port (for the ``awsvpc`` network mode), so you cannot take advantage of dynamic host port mappings. .. epigraph:: When using the ``host`` network mode, you should not run containers using the root user (UID 0). It is considered best practice to use a non-root user. If the network mode is ``awsvpc`` , the task is allocated an elastic network interface, and you must specify a `NetworkConfiguration <https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_NetworkConfiguration.html>`_ value when you create a service or run a task with the task definition. For more information, see `Task Networking <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html>`_ in the *Amazon Elastic Container Service Developer Guide* . If the network mode is ``host`` , you cannot run multiple instantiations of the same task on a single container instance when port mappings are used.
@@ -18122,8 +18116,7 @@ class CfnTaskDefinitionProps:
18122
18116
  def inference_accelerators(
18123
18117
  self,
18124
18118
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnTaskDefinition.InferenceAcceleratorProperty]]]]:
18125
- '''(deprecated) The Elastic Inference accelerators to use for the containers in the task.
18126
-
18119
+ '''
18127
18120
  :deprecated: this property has been deprecated
18128
18121
 
18129
18122
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskdefinition.html#cfn-ecs-taskdefinition-inferenceaccelerators
@@ -40266,6 +40259,7 @@ class Cluster(
40266
40259
  account: typing.Optional[builtins.str] = None,
40267
40260
  color: typing.Optional[builtins.str] = None,
40268
40261
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
40262
+ id: typing.Optional[builtins.str] = None,
40269
40263
  label: typing.Optional[builtins.str] = None,
40270
40264
  period: typing.Optional[_Duration_4839e8c3] = None,
40271
40265
  region: typing.Optional[builtins.str] = None,
@@ -40273,6 +40267,7 @@ class Cluster(
40273
40267
  stack_region: typing.Optional[builtins.str] = None,
40274
40268
  statistic: typing.Optional[builtins.str] = None,
40275
40269
  unit: typing.Optional[_Unit_61bc6f70] = None,
40270
+ visible: typing.Optional[builtins.bool] = None,
40276
40271
  ) -> _Metric_e396a4dc:
40277
40272
  '''This method returns the specified CloudWatch metric for this cluster.
40278
40273
 
@@ -40280,6 +40275,7 @@ class Cluster(
40280
40275
  :param account: Account which this metric comes from. Default: - Deployment account.
40281
40276
  :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
40277
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
40278
+ :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
40279
  :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
40280
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
40285
40281
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -40287,6 +40283,7 @@ class Cluster(
40287
40283
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
40288
40284
  :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
40285
  :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
40286
+ :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
40287
  '''
40291
40288
  if __debug__:
40292
40289
  type_hints = typing.get_type_hints(_typecheckingstub__35d18b54e19d86c5562f997d757fcd71f57fa6d194d5ed055020a0ad29b81b04)
@@ -40295,6 +40292,7 @@ class Cluster(
40295
40292
  account=account,
40296
40293
  color=color,
40297
40294
  dimensions_map=dimensions_map,
40295
+ id=id,
40298
40296
  label=label,
40299
40297
  period=period,
40300
40298
  region=region,
@@ -40302,6 +40300,7 @@ class Cluster(
40302
40300
  stack_region=stack_region,
40303
40301
  statistic=statistic,
40304
40302
  unit=unit,
40303
+ visible=visible,
40305
40304
  )
40306
40305
 
40307
40306
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metric", [metric_name, props]))
@@ -40313,6 +40312,7 @@ class Cluster(
40313
40312
  account: typing.Optional[builtins.str] = None,
40314
40313
  color: typing.Optional[builtins.str] = None,
40315
40314
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
40315
+ id: typing.Optional[builtins.str] = None,
40316
40316
  label: typing.Optional[builtins.str] = None,
40317
40317
  period: typing.Optional[_Duration_4839e8c3] = None,
40318
40318
  region: typing.Optional[builtins.str] = None,
@@ -40320,12 +40320,14 @@ class Cluster(
40320
40320
  stack_region: typing.Optional[builtins.str] = None,
40321
40321
  statistic: typing.Optional[builtins.str] = None,
40322
40322
  unit: typing.Optional[_Unit_61bc6f70] = None,
40323
+ visible: typing.Optional[builtins.bool] = None,
40323
40324
  ) -> _Metric_e396a4dc:
40324
40325
  '''This method returns the CloudWatch metric for this clusters CPU reservation.
40325
40326
 
40326
40327
  :param account: Account which this metric comes from. Default: - Deployment account.
40327
40328
  :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
40329
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
40330
+ :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
40331
  :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
40332
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
40331
40333
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -40333,6 +40335,7 @@ class Cluster(
40333
40335
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
40334
40336
  :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
40337
  :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
40338
+ :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
40339
 
40337
40340
  :default: average over 5 minutes
40338
40341
  '''
@@ -40340,6 +40343,7 @@ class Cluster(
40340
40343
  account=account,
40341
40344
  color=color,
40342
40345
  dimensions_map=dimensions_map,
40346
+ id=id,
40343
40347
  label=label,
40344
40348
  period=period,
40345
40349
  region=region,
@@ -40347,6 +40351,7 @@ class Cluster(
40347
40351
  stack_region=stack_region,
40348
40352
  statistic=statistic,
40349
40353
  unit=unit,
40354
+ visible=visible,
40350
40355
  )
40351
40356
 
40352
40357
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricCpuReservation", [props]))
@@ -40358,6 +40363,7 @@ class Cluster(
40358
40363
  account: typing.Optional[builtins.str] = None,
40359
40364
  color: typing.Optional[builtins.str] = None,
40360
40365
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
40366
+ id: typing.Optional[builtins.str] = None,
40361
40367
  label: typing.Optional[builtins.str] = None,
40362
40368
  period: typing.Optional[_Duration_4839e8c3] = None,
40363
40369
  region: typing.Optional[builtins.str] = None,
@@ -40365,12 +40371,14 @@ class Cluster(
40365
40371
  stack_region: typing.Optional[builtins.str] = None,
40366
40372
  statistic: typing.Optional[builtins.str] = None,
40367
40373
  unit: typing.Optional[_Unit_61bc6f70] = None,
40374
+ visible: typing.Optional[builtins.bool] = None,
40368
40375
  ) -> _Metric_e396a4dc:
40369
40376
  '''This method returns the CloudWatch metric for this clusters CPU utilization.
40370
40377
 
40371
40378
  :param account: Account which this metric comes from. Default: - Deployment account.
40372
40379
  :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
40380
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
40381
+ :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
40382
  :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
40383
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
40376
40384
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -40378,6 +40386,7 @@ class Cluster(
40378
40386
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
40379
40387
  :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
40388
  :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
40389
+ :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
40390
 
40382
40391
  :default: average over 5 minutes
40383
40392
  '''
@@ -40385,6 +40394,7 @@ class Cluster(
40385
40394
  account=account,
40386
40395
  color=color,
40387
40396
  dimensions_map=dimensions_map,
40397
+ id=id,
40388
40398
  label=label,
40389
40399
  period=period,
40390
40400
  region=region,
@@ -40392,6 +40402,7 @@ class Cluster(
40392
40402
  stack_region=stack_region,
40393
40403
  statistic=statistic,
40394
40404
  unit=unit,
40405
+ visible=visible,
40395
40406
  )
40396
40407
 
40397
40408
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricCpuUtilization", [props]))
@@ -40403,6 +40414,7 @@ class Cluster(
40403
40414
  account: typing.Optional[builtins.str] = None,
40404
40415
  color: typing.Optional[builtins.str] = None,
40405
40416
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
40417
+ id: typing.Optional[builtins.str] = None,
40406
40418
  label: typing.Optional[builtins.str] = None,
40407
40419
  period: typing.Optional[_Duration_4839e8c3] = None,
40408
40420
  region: typing.Optional[builtins.str] = None,
@@ -40410,12 +40422,14 @@ class Cluster(
40410
40422
  stack_region: typing.Optional[builtins.str] = None,
40411
40423
  statistic: typing.Optional[builtins.str] = None,
40412
40424
  unit: typing.Optional[_Unit_61bc6f70] = None,
40425
+ visible: typing.Optional[builtins.bool] = None,
40413
40426
  ) -> _Metric_e396a4dc:
40414
40427
  '''This method returns the CloudWatch metric for this clusters memory reservation.
40415
40428
 
40416
40429
  :param account: Account which this metric comes from. Default: - Deployment account.
40417
40430
  :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
40431
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
40432
+ :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
40433
  :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
40434
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
40421
40435
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -40423,6 +40437,7 @@ class Cluster(
40423
40437
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
40424
40438
  :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
40439
  :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
40440
+ :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
40441
 
40427
40442
  :default: average over 5 minutes
40428
40443
  '''
@@ -40430,6 +40445,7 @@ class Cluster(
40430
40445
  account=account,
40431
40446
  color=color,
40432
40447
  dimensions_map=dimensions_map,
40448
+ id=id,
40433
40449
  label=label,
40434
40450
  period=period,
40435
40451
  region=region,
@@ -40437,6 +40453,7 @@ class Cluster(
40437
40453
  stack_region=stack_region,
40438
40454
  statistic=statistic,
40439
40455
  unit=unit,
40456
+ visible=visible,
40440
40457
  )
40441
40458
 
40442
40459
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricMemoryReservation", [props]))
@@ -40448,6 +40465,7 @@ class Cluster(
40448
40465
  account: typing.Optional[builtins.str] = None,
40449
40466
  color: typing.Optional[builtins.str] = None,
40450
40467
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
40468
+ id: typing.Optional[builtins.str] = None,
40451
40469
  label: typing.Optional[builtins.str] = None,
40452
40470
  period: typing.Optional[_Duration_4839e8c3] = None,
40453
40471
  region: typing.Optional[builtins.str] = None,
@@ -40455,12 +40473,14 @@ class Cluster(
40455
40473
  stack_region: typing.Optional[builtins.str] = None,
40456
40474
  statistic: typing.Optional[builtins.str] = None,
40457
40475
  unit: typing.Optional[_Unit_61bc6f70] = None,
40476
+ visible: typing.Optional[builtins.bool] = None,
40458
40477
  ) -> _Metric_e396a4dc:
40459
40478
  '''This method returns the CloudWatch metric for this clusters memory utilization.
40460
40479
 
40461
40480
  :param account: Account which this metric comes from. Default: - Deployment account.
40462
40481
  :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
40482
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
40483
+ :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
40484
  :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
40485
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
40466
40486
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -40468,6 +40488,7 @@ class Cluster(
40468
40488
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
40469
40489
  :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
40490
  :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
40491
+ :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
40492
 
40472
40493
  :default: average over 5 minutes
40473
40494
  '''
@@ -40475,6 +40496,7 @@ class Cluster(
40475
40496
  account=account,
40476
40497
  color=color,
40477
40498
  dimensions_map=dimensions_map,
40499
+ id=id,
40478
40500
  label=label,
40479
40501
  period=period,
40480
40502
  region=region,
@@ -40482,6 +40504,7 @@ class Cluster(
40482
40504
  stack_region=stack_region,
40483
40505
  statistic=statistic,
40484
40506
  unit=unit,
40507
+ visible=visible,
40485
40508
  )
40486
40509
 
40487
40510
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricMemoryUtilization", [props]))
@@ -41590,6 +41613,7 @@ class BaseService(
41590
41613
  account: typing.Optional[builtins.str] = None,
41591
41614
  color: typing.Optional[builtins.str] = None,
41592
41615
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
41616
+ id: typing.Optional[builtins.str] = None,
41593
41617
  label: typing.Optional[builtins.str] = None,
41594
41618
  period: typing.Optional[_Duration_4839e8c3] = None,
41595
41619
  region: typing.Optional[builtins.str] = None,
@@ -41597,6 +41621,7 @@ class BaseService(
41597
41621
  stack_region: typing.Optional[builtins.str] = None,
41598
41622
  statistic: typing.Optional[builtins.str] = None,
41599
41623
  unit: typing.Optional[_Unit_61bc6f70] = None,
41624
+ visible: typing.Optional[builtins.bool] = None,
41600
41625
  ) -> _Metric_e396a4dc:
41601
41626
  '''This method returns the specified CloudWatch metric name for this service.
41602
41627
 
@@ -41604,6 +41629,7 @@ class BaseService(
41604
41629
  :param account: Account which this metric comes from. Default: - Deployment account.
41605
41630
  :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
41631
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
41632
+ :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
41633
  :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
41634
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
41609
41635
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -41611,6 +41637,7 @@ class BaseService(
41611
41637
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
41612
41638
  :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
41639
  :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
41640
+ :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
41641
  '''
41615
41642
  if __debug__:
41616
41643
  type_hints = typing.get_type_hints(_typecheckingstub__fb3b6cd83a49e029a6aab0309e4bf6a856a09b82a0d6752ebc4b8057753a9902)
@@ -41619,6 +41646,7 @@ class BaseService(
41619
41646
  account=account,
41620
41647
  color=color,
41621
41648
  dimensions_map=dimensions_map,
41649
+ id=id,
41622
41650
  label=label,
41623
41651
  period=period,
41624
41652
  region=region,
@@ -41626,6 +41654,7 @@ class BaseService(
41626
41654
  stack_region=stack_region,
41627
41655
  statistic=statistic,
41628
41656
  unit=unit,
41657
+ visible=visible,
41629
41658
  )
41630
41659
 
41631
41660
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metric", [metric_name, props]))
@@ -41637,6 +41666,7 @@ class BaseService(
41637
41666
  account: typing.Optional[builtins.str] = None,
41638
41667
  color: typing.Optional[builtins.str] = None,
41639
41668
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
41669
+ id: typing.Optional[builtins.str] = None,
41640
41670
  label: typing.Optional[builtins.str] = None,
41641
41671
  period: typing.Optional[_Duration_4839e8c3] = None,
41642
41672
  region: typing.Optional[builtins.str] = None,
@@ -41644,12 +41674,14 @@ class BaseService(
41644
41674
  stack_region: typing.Optional[builtins.str] = None,
41645
41675
  statistic: typing.Optional[builtins.str] = None,
41646
41676
  unit: typing.Optional[_Unit_61bc6f70] = None,
41677
+ visible: typing.Optional[builtins.bool] = None,
41647
41678
  ) -> _Metric_e396a4dc:
41648
41679
  '''This method returns the CloudWatch metric for this service's CPU utilization.
41649
41680
 
41650
41681
  :param account: Account which this metric comes from. Default: - Deployment account.
41651
41682
  :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
41683
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
41684
+ :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
41685
  :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
41686
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
41655
41687
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -41657,6 +41689,7 @@ class BaseService(
41657
41689
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
41658
41690
  :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
41691
  :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
41692
+ :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
41693
 
41661
41694
  :default: average over 5 minutes
41662
41695
  '''
@@ -41664,6 +41697,7 @@ class BaseService(
41664
41697
  account=account,
41665
41698
  color=color,
41666
41699
  dimensions_map=dimensions_map,
41700
+ id=id,
41667
41701
  label=label,
41668
41702
  period=period,
41669
41703
  region=region,
@@ -41671,6 +41705,7 @@ class BaseService(
41671
41705
  stack_region=stack_region,
41672
41706
  statistic=statistic,
41673
41707
  unit=unit,
41708
+ visible=visible,
41674
41709
  )
41675
41710
 
41676
41711
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricCpuUtilization", [props]))
@@ -41682,6 +41717,7 @@ class BaseService(
41682
41717
  account: typing.Optional[builtins.str] = None,
41683
41718
  color: typing.Optional[builtins.str] = None,
41684
41719
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
41720
+ id: typing.Optional[builtins.str] = None,
41685
41721
  label: typing.Optional[builtins.str] = None,
41686
41722
  period: typing.Optional[_Duration_4839e8c3] = None,
41687
41723
  region: typing.Optional[builtins.str] = None,
@@ -41689,12 +41725,14 @@ class BaseService(
41689
41725
  stack_region: typing.Optional[builtins.str] = None,
41690
41726
  statistic: typing.Optional[builtins.str] = None,
41691
41727
  unit: typing.Optional[_Unit_61bc6f70] = None,
41728
+ visible: typing.Optional[builtins.bool] = None,
41692
41729
  ) -> _Metric_e396a4dc:
41693
41730
  '''This method returns the CloudWatch metric for this service's memory utilization.
41694
41731
 
41695
41732
  :param account: Account which this metric comes from. Default: - Deployment account.
41696
41733
  :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
41734
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
41735
+ :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
41736
  :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
41737
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
41700
41738
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -41702,6 +41740,7 @@ class BaseService(
41702
41740
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
41703
41741
  :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
41742
  :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
41743
+ :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
41744
 
41706
41745
  :default: average over 5 minutes
41707
41746
  '''
@@ -41709,6 +41748,7 @@ class BaseService(
41709
41748
  account=account,
41710
41749
  color=color,
41711
41750
  dimensions_map=dimensions_map,
41751
+ id=id,
41712
41752
  label=label,
41713
41753
  period=period,
41714
41754
  region=region,
@@ -41716,6 +41756,7 @@ class BaseService(
41716
41756
  stack_region=stack_region,
41717
41757
  statistic=statistic,
41718
41758
  unit=unit,
41759
+ visible=visible,
41719
41760
  )
41720
41761
 
41721
41762
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricMemoryUtilization", [props]))
@@ -47323,6 +47364,7 @@ def _typecheckingstub__35d18b54e19d86c5562f997d757fcd71f57fa6d194d5ed055020a0ad2
47323
47364
  account: typing.Optional[builtins.str] = None,
47324
47365
  color: typing.Optional[builtins.str] = None,
47325
47366
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
47367
+ id: typing.Optional[builtins.str] = None,
47326
47368
  label: typing.Optional[builtins.str] = None,
47327
47369
  period: typing.Optional[_Duration_4839e8c3] = None,
47328
47370
  region: typing.Optional[builtins.str] = None,
@@ -47330,6 +47372,7 @@ def _typecheckingstub__35d18b54e19d86c5562f997d757fcd71f57fa6d194d5ed055020a0ad2
47330
47372
  stack_region: typing.Optional[builtins.str] = None,
47331
47373
  statistic: typing.Optional[builtins.str] = None,
47332
47374
  unit: typing.Optional[_Unit_61bc6f70] = None,
47375
+ visible: typing.Optional[builtins.bool] = None,
47333
47376
  ) -> None:
47334
47377
  """Type checking stubs"""
47335
47378
  pass
@@ -47449,6 +47492,7 @@ def _typecheckingstub__fb3b6cd83a49e029a6aab0309e4bf6a856a09b82a0d6752ebc4b80577
47449
47492
  account: typing.Optional[builtins.str] = None,
47450
47493
  color: typing.Optional[builtins.str] = None,
47451
47494
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
47495
+ id: typing.Optional[builtins.str] = None,
47452
47496
  label: typing.Optional[builtins.str] = None,
47453
47497
  period: typing.Optional[_Duration_4839e8c3] = None,
47454
47498
  region: typing.Optional[builtins.str] = None,
@@ -47456,6 +47500,7 @@ def _typecheckingstub__fb3b6cd83a49e029a6aab0309e4bf6a856a09b82a0d6752ebc4b80577
47456
47500
  stack_region: typing.Optional[builtins.str] = None,
47457
47501
  statistic: typing.Optional[builtins.str] = None,
47458
47502
  unit: typing.Optional[_Unit_61bc6f70] = None,
47503
+ visible: typing.Optional[builtins.bool] = None,
47459
47504
  ) -> None:
47460
47505
  """Type checking stubs"""
47461
47506
  pass