aws-cdk-lib 2.218.0__py3-none-any.whl → 2.220.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 (65) hide show
  1. aws_cdk/__init__.py +31 -36
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.218.0.jsii.tgz → aws-cdk-lib@2.220.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_amazonmq/__init__.py +98 -87
  5. aws_cdk/aws_apigateway/__init__.py +39 -0
  6. aws_cdk/aws_applicationsignals/__init__.py +450 -2
  7. aws_cdk/aws_arcregionswitch/__init__.py +8 -0
  8. aws_cdk/aws_backup/__init__.py +29 -0
  9. aws_cdk/aws_batch/__init__.py +109 -7
  10. aws_cdk/aws_bcmdataexports/__init__.py +9 -0
  11. aws_cdk/aws_bedrock/__init__.py +384 -1
  12. aws_cdk/aws_bedrockagentcore/__init__.py +7862 -1568
  13. aws_cdk/aws_cloudfront/experimental/__init__.py +4 -0
  14. aws_cdk/aws_cloudfront_origins/__init__.py +87 -6
  15. aws_cdk/aws_cloudwatch/__init__.py +5 -5
  16. aws_cdk/aws_codebuild/__init__.py +339 -62
  17. aws_cdk/aws_cognito/__init__.py +6 -4
  18. aws_cdk/aws_connect/__init__.py +9 -9
  19. aws_cdk/aws_cur/__init__.py +5 -3
  20. aws_cdk/aws_datasync/__init__.py +44 -22
  21. aws_cdk/aws_datazone/__init__.py +35 -33
  22. aws_cdk/aws_dax/__init__.py +12 -3
  23. aws_cdk/aws_dms/__init__.py +3 -5
  24. aws_cdk/aws_ec2/__init__.py +2721 -30
  25. aws_cdk/aws_ecs/__init__.py +2900 -90
  26. aws_cdk/aws_eks/__init__.py +114 -9
  27. aws_cdk/aws_entityresolution/__init__.py +18 -0
  28. aws_cdk/aws_fsx/__init__.py +4 -4
  29. aws_cdk/aws_greengrassv2/__init__.py +29 -0
  30. aws_cdk/aws_imagebuilder/__init__.py +397 -0
  31. aws_cdk/aws_iotsitewise/__init__.py +136 -80
  32. aws_cdk/aws_kinesis/__init__.py +95 -4
  33. aws_cdk/aws_lambda/__init__.py +43 -0
  34. aws_cdk/aws_lightsail/__init__.py +584 -0
  35. aws_cdk/aws_logs/__init__.py +57 -0
  36. aws_cdk/aws_lookoutmetrics/__init__.py +14 -2
  37. aws_cdk/aws_m2/__init__.py +59 -13
  38. aws_cdk/aws_medialive/__init__.py +108 -0
  39. aws_cdk/aws_msk/__init__.py +4 -2
  40. aws_cdk/aws_mwaa/__init__.py +5 -5
  41. aws_cdk/aws_neptune/__init__.py +133 -70
  42. aws_cdk/aws_networkfirewall/__init__.py +6 -2
  43. aws_cdk/aws_networkmanager/__init__.py +29 -0
  44. aws_cdk/aws_observabilityadmin/__init__.py +1227 -83
  45. aws_cdk/aws_omics/__init__.py +7 -1
  46. aws_cdk/aws_opensearchservice/__init__.py +64 -0
  47. aws_cdk/aws_opsworkscm/__init__.py +0 -29
  48. aws_cdk/aws_pcs/__init__.py +224 -33
  49. aws_cdk/aws_pinpoint/__init__.py +58 -0
  50. aws_cdk/aws_quicksight/__init__.py +118 -0
  51. aws_cdk/aws_rds/__init__.py +62 -37
  52. aws_cdk/aws_refactorspaces/__init__.py +18 -6
  53. aws_cdk/aws_route53/__init__.py +138 -8
  54. aws_cdk/aws_s3/__init__.py +29 -2
  55. aws_cdk/aws_s3objectlambda/__init__.py +44 -12
  56. aws_cdk/aws_servicecatalog/__init__.py +103 -106
  57. aws_cdk/aws_smsvoice/__init__.py +319 -0
  58. aws_cdk/aws_ssmquicksetup/__init__.py +3 -3
  59. aws_cdk/aws_synthetics/__init__.py +21 -1
  60. {aws_cdk_lib-2.218.0.dist-info → aws_cdk_lib-2.220.0.dist-info}/METADATA +2 -2
  61. {aws_cdk_lib-2.218.0.dist-info → aws_cdk_lib-2.220.0.dist-info}/RECORD +65 -65
  62. {aws_cdk_lib-2.218.0.dist-info → aws_cdk_lib-2.220.0.dist-info}/LICENSE +0 -0
  63. {aws_cdk_lib-2.218.0.dist-info → aws_cdk_lib-2.220.0.dist-info}/NOTICE +0 -0
  64. {aws_cdk_lib-2.218.0.dist-info → aws_cdk_lib-2.220.0.dist-info}/WHEEL +0 -0
  65. {aws_cdk_lib-2.218.0.dist-info → aws_cdk_lib-2.220.0.dist-info}/top_level.txt +0 -0
@@ -553,6 +553,10 @@ logs.Transformer(self, "Transformer",
553
553
 
554
554
  For more details on CloudWatch Logs transformation processors, refer to the [AWS documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CloudWatch-Logs-Transformation-Processors.html).
555
555
 
556
+ ### Usage of metric filters on transformed logs
557
+
558
+ In order to use the transformed logs as search pattern, set the parameter `applyOnTransformedLogs: true` in the MetricFilterProps.
559
+
556
560
  ## Notes
557
561
 
558
562
  Be aware that Log Group ARNs will always have the string `:*` appended to
@@ -5541,6 +5545,7 @@ class ILogGroup(_IResourceWithPolicy_720d64fc, typing_extensions.Protocol):
5541
5545
  filter_pattern: IFilterPattern,
5542
5546
  metric_name: builtins.str,
5543
5547
  metric_namespace: builtins.str,
5548
+ apply_on_transformed_logs: typing.Optional[builtins.bool] = None,
5544
5549
  default_value: typing.Optional[jsii.Number] = None,
5545
5550
  dimensions: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
5546
5551
  filter_name: typing.Optional[builtins.str] = None,
@@ -5553,6 +5558,7 @@ class ILogGroup(_IResourceWithPolicy_720d64fc, typing_extensions.Protocol):
5553
5558
  :param filter_pattern: Pattern to search for log events.
5554
5559
  :param metric_name: The name of the metric to emit.
5555
5560
  :param metric_namespace: The namespace of the metric to emit.
5561
+ :param apply_on_transformed_logs: Whether the metric filter is applied on the tranformed logs. This parameter is valid only for log groups that have an active log transformer. If this value is true, the metric filter is applied on the transformed version of the log events instead of the original ingested log events. Default: - false
5556
5562
  :param default_value: The value to emit if the pattern does not match a particular event. Default: No metric emitted.
5557
5563
  :param dimensions: The fields to use as dimensions for the metric. One metric filter can include as many as three dimensions. Default: - No dimensions attached to metrics.
5558
5564
  :param filter_name: The name of the metric filter. Default: - Cloudformation generated name.
@@ -5810,6 +5816,7 @@ class _ILogGroupProxy(
5810
5816
  filter_pattern: IFilterPattern,
5811
5817
  metric_name: builtins.str,
5812
5818
  metric_namespace: builtins.str,
5819
+ apply_on_transformed_logs: typing.Optional[builtins.bool] = None,
5813
5820
  default_value: typing.Optional[jsii.Number] = None,
5814
5821
  dimensions: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
5815
5822
  filter_name: typing.Optional[builtins.str] = None,
@@ -5822,6 +5829,7 @@ class _ILogGroupProxy(
5822
5829
  :param filter_pattern: Pattern to search for log events.
5823
5830
  :param metric_name: The name of the metric to emit.
5824
5831
  :param metric_namespace: The namespace of the metric to emit.
5832
+ :param apply_on_transformed_logs: Whether the metric filter is applied on the tranformed logs. This parameter is valid only for log groups that have an active log transformer. If this value is true, the metric filter is applied on the transformed version of the log events instead of the original ingested log events. Default: - false
5825
5833
  :param default_value: The value to emit if the pattern does not match a particular event. Default: No metric emitted.
5826
5834
  :param dimensions: The fields to use as dimensions for the metric. One metric filter can include as many as three dimensions. Default: - No dimensions attached to metrics.
5827
5835
  :param filter_name: The name of the metric filter. Default: - Cloudformation generated name.
@@ -5835,6 +5843,7 @@ class _ILogGroupProxy(
5835
5843
  filter_pattern=filter_pattern,
5836
5844
  metric_name=metric_name,
5837
5845
  metric_namespace=metric_namespace,
5846
+ apply_on_transformed_logs=apply_on_transformed_logs,
5838
5847
  default_value=default_value,
5839
5848
  dimensions=dimensions,
5840
5849
  filter_name=filter_name,
@@ -7308,6 +7317,7 @@ class LogGroup(
7308
7317
  filter_pattern: IFilterPattern,
7309
7318
  metric_name: builtins.str,
7310
7319
  metric_namespace: builtins.str,
7320
+ apply_on_transformed_logs: typing.Optional[builtins.bool] = None,
7311
7321
  default_value: typing.Optional[jsii.Number] = None,
7312
7322
  dimensions: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
7313
7323
  filter_name: typing.Optional[builtins.str] = None,
@@ -7320,6 +7330,7 @@ class LogGroup(
7320
7330
  :param filter_pattern: Pattern to search for log events.
7321
7331
  :param metric_name: The name of the metric to emit.
7322
7332
  :param metric_namespace: The namespace of the metric to emit.
7333
+ :param apply_on_transformed_logs: Whether the metric filter is applied on the tranformed logs. This parameter is valid only for log groups that have an active log transformer. If this value is true, the metric filter is applied on the transformed version of the log events instead of the original ingested log events. Default: - false
7323
7334
  :param default_value: The value to emit if the pattern does not match a particular event. Default: No metric emitted.
7324
7335
  :param dimensions: The fields to use as dimensions for the metric. One metric filter can include as many as three dimensions. Default: - No dimensions attached to metrics.
7325
7336
  :param filter_name: The name of the metric filter. Default: - Cloudformation generated name.
@@ -7333,6 +7344,7 @@ class LogGroup(
7333
7344
  filter_pattern=filter_pattern,
7334
7345
  metric_name=metric_name,
7335
7346
  metric_namespace=metric_namespace,
7347
+ apply_on_transformed_logs=apply_on_transformed_logs,
7336
7348
  default_value=default_value,
7337
7349
  dimensions=dimensions,
7338
7350
  filter_name=filter_name,
@@ -8654,6 +8666,7 @@ class MetricFilter(
8654
8666
  filter_pattern: IFilterPattern,
8655
8667
  metric_name: builtins.str,
8656
8668
  metric_namespace: builtins.str,
8669
+ apply_on_transformed_logs: typing.Optional[builtins.bool] = None,
8657
8670
  default_value: typing.Optional[jsii.Number] = None,
8658
8671
  dimensions: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
8659
8672
  filter_name: typing.Optional[builtins.str] = None,
@@ -8667,6 +8680,7 @@ class MetricFilter(
8667
8680
  :param filter_pattern: Pattern to search for log events.
8668
8681
  :param metric_name: The name of the metric to emit.
8669
8682
  :param metric_namespace: The namespace of the metric to emit.
8683
+ :param apply_on_transformed_logs: Whether the metric filter is applied on the tranformed logs. This parameter is valid only for log groups that have an active log transformer. If this value is true, the metric filter is applied on the transformed version of the log events instead of the original ingested log events. Default: - false
8670
8684
  :param default_value: The value to emit if the pattern does not match a particular event. Default: No metric emitted.
8671
8685
  :param dimensions: The fields to use as dimensions for the metric. One metric filter can include as many as three dimensions. Default: - No dimensions attached to metrics.
8672
8686
  :param filter_name: The name of the metric filter. Default: - Cloudformation generated name.
@@ -8682,6 +8696,7 @@ class MetricFilter(
8682
8696
  filter_pattern=filter_pattern,
8683
8697
  metric_name=metric_name,
8684
8698
  metric_namespace=metric_namespace,
8699
+ apply_on_transformed_logs=apply_on_transformed_logs,
8685
8700
  default_value=default_value,
8686
8701
  dimensions=dimensions,
8687
8702
  filter_name=filter_name,
@@ -8756,6 +8771,7 @@ class MetricFilter(
8756
8771
  "filter_pattern": "filterPattern",
8757
8772
  "metric_name": "metricName",
8758
8773
  "metric_namespace": "metricNamespace",
8774
+ "apply_on_transformed_logs": "applyOnTransformedLogs",
8759
8775
  "default_value": "defaultValue",
8760
8776
  "dimensions": "dimensions",
8761
8777
  "filter_name": "filterName",
@@ -8770,6 +8786,7 @@ class MetricFilterOptions:
8770
8786
  filter_pattern: IFilterPattern,
8771
8787
  metric_name: builtins.str,
8772
8788
  metric_namespace: builtins.str,
8789
+ apply_on_transformed_logs: typing.Optional[builtins.bool] = None,
8773
8790
  default_value: typing.Optional[jsii.Number] = None,
8774
8791
  dimensions: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
8775
8792
  filter_name: typing.Optional[builtins.str] = None,
@@ -8781,6 +8798,7 @@ class MetricFilterOptions:
8781
8798
  :param filter_pattern: Pattern to search for log events.
8782
8799
  :param metric_name: The name of the metric to emit.
8783
8800
  :param metric_namespace: The namespace of the metric to emit.
8801
+ :param apply_on_transformed_logs: Whether the metric filter is applied on the tranformed logs. This parameter is valid only for log groups that have an active log transformer. If this value is true, the metric filter is applied on the transformed version of the log events instead of the original ingested log events. Default: - false
8784
8802
  :param default_value: The value to emit if the pattern does not match a particular event. Default: No metric emitted.
8785
8803
  :param dimensions: The fields to use as dimensions for the metric. One metric filter can include as many as three dimensions. Default: - No dimensions attached to metrics.
8786
8804
  :param filter_name: The name of the metric filter. Default: - Cloudformation generated name.
@@ -8804,6 +8822,7 @@ class MetricFilterOptions:
8804
8822
  metric_namespace="metricNamespace",
8805
8823
 
8806
8824
  # the properties below are optional
8825
+ apply_on_transformed_logs=False,
8807
8826
  default_value=123,
8808
8827
  dimensions={
8809
8828
  "dimensions_key": "dimensions"
@@ -8818,6 +8837,7 @@ class MetricFilterOptions:
8818
8837
  check_type(argname="argument filter_pattern", value=filter_pattern, expected_type=type_hints["filter_pattern"])
8819
8838
  check_type(argname="argument metric_name", value=metric_name, expected_type=type_hints["metric_name"])
8820
8839
  check_type(argname="argument metric_namespace", value=metric_namespace, expected_type=type_hints["metric_namespace"])
8840
+ check_type(argname="argument apply_on_transformed_logs", value=apply_on_transformed_logs, expected_type=type_hints["apply_on_transformed_logs"])
8821
8841
  check_type(argname="argument default_value", value=default_value, expected_type=type_hints["default_value"])
8822
8842
  check_type(argname="argument dimensions", value=dimensions, expected_type=type_hints["dimensions"])
8823
8843
  check_type(argname="argument filter_name", value=filter_name, expected_type=type_hints["filter_name"])
@@ -8828,6 +8848,8 @@ class MetricFilterOptions:
8828
8848
  "metric_name": metric_name,
8829
8849
  "metric_namespace": metric_namespace,
8830
8850
  }
8851
+ if apply_on_transformed_logs is not None:
8852
+ self._values["apply_on_transformed_logs"] = apply_on_transformed_logs
8831
8853
  if default_value is not None:
8832
8854
  self._values["default_value"] = default_value
8833
8855
  if dimensions is not None:
@@ -8860,6 +8882,18 @@ class MetricFilterOptions:
8860
8882
  assert result is not None, "Required property 'metric_namespace' is missing"
8861
8883
  return typing.cast(builtins.str, result)
8862
8884
 
8885
+ @builtins.property
8886
+ def apply_on_transformed_logs(self) -> typing.Optional[builtins.bool]:
8887
+ '''Whether the metric filter is applied on the tranformed logs.
8888
+
8889
+ This parameter is valid only for log groups that have an active log transformer.
8890
+ If this value is true, the metric filter is applied on the transformed version of the log events instead of the original ingested log events.
8891
+
8892
+ :default: - false
8893
+ '''
8894
+ result = self._values.get("apply_on_transformed_logs")
8895
+ return typing.cast(typing.Optional[builtins.bool], result)
8896
+
8863
8897
  @builtins.property
8864
8898
  def default_value(self) -> typing.Optional[jsii.Number]:
8865
8899
  '''The value to emit if the pattern does not match a particular event.
@@ -8940,6 +8974,7 @@ class MetricFilterOptions:
8940
8974
  "filter_pattern": "filterPattern",
8941
8975
  "metric_name": "metricName",
8942
8976
  "metric_namespace": "metricNamespace",
8977
+ "apply_on_transformed_logs": "applyOnTransformedLogs",
8943
8978
  "default_value": "defaultValue",
8944
8979
  "dimensions": "dimensions",
8945
8980
  "filter_name": "filterName",
@@ -8955,6 +8990,7 @@ class MetricFilterProps(MetricFilterOptions):
8955
8990
  filter_pattern: IFilterPattern,
8956
8991
  metric_name: builtins.str,
8957
8992
  metric_namespace: builtins.str,
8993
+ apply_on_transformed_logs: typing.Optional[builtins.bool] = None,
8958
8994
  default_value: typing.Optional[jsii.Number] = None,
8959
8995
  dimensions: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
8960
8996
  filter_name: typing.Optional[builtins.str] = None,
@@ -8967,6 +9003,7 @@ class MetricFilterProps(MetricFilterOptions):
8967
9003
  :param filter_pattern: Pattern to search for log events.
8968
9004
  :param metric_name: The name of the metric to emit.
8969
9005
  :param metric_namespace: The namespace of the metric to emit.
9006
+ :param apply_on_transformed_logs: Whether the metric filter is applied on the tranformed logs. This parameter is valid only for log groups that have an active log transformer. If this value is true, the metric filter is applied on the transformed version of the log events instead of the original ingested log events. Default: - false
8970
9007
  :param default_value: The value to emit if the pattern does not match a particular event. Default: No metric emitted.
8971
9008
  :param dimensions: The fields to use as dimensions for the metric. One metric filter can include as many as three dimensions. Default: - No dimensions attached to metrics.
8972
9009
  :param filter_name: The name of the metric filter. Default: - Cloudformation generated name.
@@ -8993,6 +9030,7 @@ class MetricFilterProps(MetricFilterOptions):
8993
9030
  check_type(argname="argument filter_pattern", value=filter_pattern, expected_type=type_hints["filter_pattern"])
8994
9031
  check_type(argname="argument metric_name", value=metric_name, expected_type=type_hints["metric_name"])
8995
9032
  check_type(argname="argument metric_namespace", value=metric_namespace, expected_type=type_hints["metric_namespace"])
9033
+ check_type(argname="argument apply_on_transformed_logs", value=apply_on_transformed_logs, expected_type=type_hints["apply_on_transformed_logs"])
8996
9034
  check_type(argname="argument default_value", value=default_value, expected_type=type_hints["default_value"])
8997
9035
  check_type(argname="argument dimensions", value=dimensions, expected_type=type_hints["dimensions"])
8998
9036
  check_type(argname="argument filter_name", value=filter_name, expected_type=type_hints["filter_name"])
@@ -9005,6 +9043,8 @@ class MetricFilterProps(MetricFilterOptions):
9005
9043
  "metric_namespace": metric_namespace,
9006
9044
  "log_group": log_group,
9007
9045
  }
9046
+ if apply_on_transformed_logs is not None:
9047
+ self._values["apply_on_transformed_logs"] = apply_on_transformed_logs
9008
9048
  if default_value is not None:
9009
9049
  self._values["default_value"] = default_value
9010
9050
  if dimensions is not None:
@@ -9037,6 +9077,18 @@ class MetricFilterProps(MetricFilterOptions):
9037
9077
  assert result is not None, "Required property 'metric_namespace' is missing"
9038
9078
  return typing.cast(builtins.str, result)
9039
9079
 
9080
+ @builtins.property
9081
+ def apply_on_transformed_logs(self) -> typing.Optional[builtins.bool]:
9082
+ '''Whether the metric filter is applied on the tranformed logs.
9083
+
9084
+ This parameter is valid only for log groups that have an active log transformer.
9085
+ If this value is true, the metric filter is applied on the transformed version of the log events instead of the original ingested log events.
9086
+
9087
+ :default: - false
9088
+ '''
9089
+ result = self._values.get("apply_on_transformed_logs")
9090
+ return typing.cast(typing.Optional[builtins.bool], result)
9091
+
9040
9092
  @builtins.property
9041
9093
  def default_value(self) -> typing.Optional[jsii.Number]:
9042
9094
  '''The value to emit if the pattern does not match a particular event.
@@ -19994,6 +20046,7 @@ def _typecheckingstub__5c3910e9df11478e889b7f25e252df8a33e79b82dd18c304bf83e6be6
19994
20046
  filter_pattern: IFilterPattern,
19995
20047
  metric_name: builtins.str,
19996
20048
  metric_namespace: builtins.str,
20049
+ apply_on_transformed_logs: typing.Optional[builtins.bool] = None,
19997
20050
  default_value: typing.Optional[jsii.Number] = None,
19998
20051
  dimensions: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
19999
20052
  filter_name: typing.Optional[builtins.str] = None,
@@ -20172,6 +20225,7 @@ def _typecheckingstub__60bdb647264d5f9edd37cf7e07a8b1cde70ce81f1ebb17eb131efa9d1
20172
20225
  filter_pattern: IFilterPattern,
20173
20226
  metric_name: builtins.str,
20174
20227
  metric_namespace: builtins.str,
20228
+ apply_on_transformed_logs: typing.Optional[builtins.bool] = None,
20175
20229
  default_value: typing.Optional[jsii.Number] = None,
20176
20230
  dimensions: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
20177
20231
  filter_name: typing.Optional[builtins.str] = None,
@@ -20368,6 +20422,7 @@ def _typecheckingstub__8d62ba20acf6180e35fd081efe9f21747bf2bd8765dd3a4a5c41cc0f4
20368
20422
  filter_pattern: IFilterPattern,
20369
20423
  metric_name: builtins.str,
20370
20424
  metric_namespace: builtins.str,
20425
+ apply_on_transformed_logs: typing.Optional[builtins.bool] = None,
20371
20426
  default_value: typing.Optional[jsii.Number] = None,
20372
20427
  dimensions: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
20373
20428
  filter_name: typing.Optional[builtins.str] = None,
@@ -20382,6 +20437,7 @@ def _typecheckingstub__a5bb9c8220568f1b3f6adf2d20dcfde3ada18ce4351110a49b3a07078
20382
20437
  filter_pattern: IFilterPattern,
20383
20438
  metric_name: builtins.str,
20384
20439
  metric_namespace: builtins.str,
20440
+ apply_on_transformed_logs: typing.Optional[builtins.bool] = None,
20385
20441
  default_value: typing.Optional[jsii.Number] = None,
20386
20442
  dimensions: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
20387
20443
  filter_name: typing.Optional[builtins.str] = None,
@@ -20396,6 +20452,7 @@ def _typecheckingstub__66722f3b881a30b7ce1b9efa7c76f2539915abe8fe84a770e1e2c4765
20396
20452
  filter_pattern: IFilterPattern,
20397
20453
  metric_name: builtins.str,
20398
20454
  metric_namespace: builtins.str,
20455
+ apply_on_transformed_logs: typing.Optional[builtins.bool] = None,
20399
20456
  default_value: typing.Optional[jsii.Number] = None,
20400
20457
  dimensions: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
20401
20458
  filter_name: typing.Optional[builtins.str] = None,
@@ -591,7 +591,13 @@ class CfnAlert(
591
591
  metaclass=jsii.JSIIMeta,
592
592
  jsii_type="aws-cdk-lib.aws_lookoutmetrics.CfnAlert",
593
593
  ):
594
- '''The ``AWS::LookoutMetrics::Alert`` type creates an alert for an anomaly detector.
594
+ '''.. epigraph::
595
+
596
+ End of support notice: On Oct 9, 2025, AWS will end support for Amazon Lookout for Metrics.
597
+
598
+ After Oct 9, 2025, you will no longer be able to access the Amazon Lookout for Metrics console or Amazon Lookout for Metrics resources. For more information, see `Amazon Lookout for Metrics end of support <https://docs.aws.amazon.com//blogs/machine-learning/transitioning-off-amazon-lookout-for-metrics/>`_ .
599
+
600
+ The ``AWS::LookoutMetrics::Alert`` type creates an alert for an anomaly detector.
595
601
 
596
602
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lookoutmetrics-alert.html
597
603
  :cloudformationResource: AWS::LookoutMetrics::Alert
@@ -1004,7 +1010,13 @@ class CfnAnomalyDetector(
1004
1010
  metaclass=jsii.JSIIMeta,
1005
1011
  jsii_type="aws-cdk-lib.aws_lookoutmetrics.CfnAnomalyDetector",
1006
1012
  ):
1007
- '''The ``AWS::LookoutMetrics::AnomalyDetector`` type creates an anomaly detector.
1013
+ '''.. epigraph::
1014
+
1015
+ End of support notice: On Oct 9, 2025, AWS will end support for Amazon Lookout for Metrics.
1016
+
1017
+ After Oct 9, 2025, you will no longer be able to access the Amazon Lookout for Metrics console or Amazon Lookout for Metrics resources. For more information, see `Amazon Lookout for Metrics end of support <https://docs.aws.amazon.com//blogs/machine-learning/transitioning-off-amazon-lookout-for-metrics/>`_ .
1018
+
1019
+ The ``AWS::LookoutMetrics::AnomalyDetector`` type creates an anomaly detector.
1008
1020
 
1009
1021
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lookoutmetrics-anomalydetector.html
1010
1022
  :cloudformationResource: AWS::LookoutMetrics::AnomalyDetector
@@ -422,13 +422,13 @@ class CfnEnvironmentProps:
422
422
  :param name: The name of the runtime environment.
423
423
  :param description: The description of the runtime environment.
424
424
  :param engine_version: The version of the runtime engine.
425
- :param high_availability_config: Defines the details of a high availability configuration.
425
+ :param high_availability_config: .. epigraph:: AWS Mainframe Modernization Service (Managed Runtime Environment experience) will no longer be open to new customers starting on November 7, 2025. If you would like to use the service, please sign up prior to November 7, 2025. For capabilities similar to AWS Mainframe Modernization Service (Managed Runtime Environment experience) explore AWS Mainframe Modernization Service (Self-Managed Experience). Existing customers can continue to use the service as normal. For more information, see `AWS Mainframe Modernization availability change <https://docs.aws.amazon.com/m2/latest/userguide/mainframe-modernization-availability-change.html>`_ . Defines the details of a high availability configuration.
426
426
  :param kms_key_id: The identifier of a customer managed key.
427
427
  :param network_type: The network type supported by the runtime environment.
428
428
  :param preferred_maintenance_window: Configures the maintenance window that you want for the runtime environment. The maintenance window must have the format ``ddd:hh24:mi-ddd:hh24:mi`` and must be less than 24 hours. The following two examples are valid maintenance windows: ``sun:23:45-mon:00:15`` or ``sat:01:00-sat:03:00`` . If you do not provide a value, a random system-generated value will be assigned.
429
429
  :param publicly_accessible: Specifies whether the runtime environment is publicly accessible.
430
430
  :param security_group_ids: The list of security groups for the VPC associated with this runtime environment.
431
- :param storage_configurations: Defines the storage configuration for a runtime environment.
431
+ :param storage_configurations: .. epigraph:: AWS Mainframe Modernization Service (Managed Runtime Environment experience) will no longer be open to new customers starting on November 7, 2025. If you would like to use the service, please sign up prior to November 7, 2025. For capabilities similar to AWS Mainframe Modernization Service (Managed Runtime Environment experience) explore AWS Mainframe Modernization Service (Self-Managed Experience). Existing customers can continue to use the service as normal. For more information, see `AWS Mainframe Modernization availability change <https://docs.aws.amazon.com/m2/latest/userguide/mainframe-modernization-availability-change.html>`_ . Defines the storage configuration for a runtime environment.
432
432
  :param subnet_ids: The list of subnets associated with the VPC for this runtime environment.
433
433
  :param tags: An array of key-value pairs to apply to this resource. For more information, see `Tag <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html>`_ .
434
434
 
@@ -569,7 +569,13 @@ class CfnEnvironmentProps:
569
569
  def high_availability_config(
570
570
  self,
571
571
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnEnvironment.HighAvailabilityConfigProperty"]]:
572
- '''Defines the details of a high availability configuration.
572
+ '''.. epigraph::
573
+
574
+ AWS Mainframe Modernization Service (Managed Runtime Environment experience) will no longer be open to new customers starting on November 7, 2025.
575
+
576
+ If you would like to use the service, please sign up prior to November 7, 2025. For capabilities similar to AWS Mainframe Modernization Service (Managed Runtime Environment experience) explore AWS Mainframe Modernization Service (Self-Managed Experience). Existing customers can continue to use the service as normal. For more information, see `AWS Mainframe Modernization availability change <https://docs.aws.amazon.com/m2/latest/userguide/mainframe-modernization-availability-change.html>`_ .
577
+
578
+ Defines the details of a high availability configuration.
573
579
 
574
580
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-m2-environment.html#cfn-m2-environment-highavailabilityconfig
575
581
  '''
@@ -631,7 +637,13 @@ class CfnEnvironmentProps:
631
637
  def storage_configurations(
632
638
  self,
633
639
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnEnvironment.StorageConfigurationProperty"]]]]:
634
- '''Defines the storage configuration for a runtime environment.
640
+ '''.. epigraph::
641
+
642
+ AWS Mainframe Modernization Service (Managed Runtime Environment experience) will no longer be open to new customers starting on November 7, 2025.
643
+
644
+ If you would like to use the service, please sign up prior to November 7, 2025. For capabilities similar to AWS Mainframe Modernization Service (Managed Runtime Environment experience) explore AWS Mainframe Modernization Service (Self-Managed Experience). Existing customers can continue to use the service as normal. For more information, see `AWS Mainframe Modernization availability change <https://docs.aws.amazon.com/m2/latest/userguide/mainframe-modernization-availability-change.html>`_ .
645
+
646
+ Defines the storage configuration for a runtime environment.
635
647
 
636
648
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-m2-environment.html#cfn-m2-environment-storageconfigurations
637
649
  '''
@@ -1214,7 +1226,13 @@ class CfnDeployment(
1214
1226
  metaclass=jsii.JSIIMeta,
1215
1227
  jsii_type="aws-cdk-lib.aws_m2.CfnDeployment",
1216
1228
  ):
1217
- '''Creates and starts a deployment to deploy an application into a runtime environment.
1229
+ '''.. epigraph::
1230
+
1231
+ AWS Mainframe Modernization Service (Managed Runtime Environment experience) will no longer be open to new customers starting on November 7, 2025.
1232
+
1233
+ If you would like to use the service, please sign up prior to November 7, 2025. For capabilities similar to AWS Mainframe Modernization Service (Managed Runtime Environment experience) explore AWS Mainframe Modernization Service (Self-Managed Experience). Existing customers can continue to use the service as normal. For more information, see `AWS Mainframe Modernization availability change <https://docs.aws.amazon.com/m2/latest/userguide/mainframe-modernization-availability-change.html>`_ .
1234
+
1235
+ Creates and starts a deployment to deploy an application into a runtime environment.
1218
1236
 
1219
1237
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-m2-deployment.html
1220
1238
  :cloudformationResource: AWS::M2::Deployment
@@ -1439,13 +1457,13 @@ class CfnEnvironment(
1439
1457
  :param name: The name of the runtime environment.
1440
1458
  :param description: The description of the runtime environment.
1441
1459
  :param engine_version: The version of the runtime engine.
1442
- :param high_availability_config: Defines the details of a high availability configuration.
1460
+ :param high_availability_config: .. epigraph:: AWS Mainframe Modernization Service (Managed Runtime Environment experience) will no longer be open to new customers starting on November 7, 2025. If you would like to use the service, please sign up prior to November 7, 2025. For capabilities similar to AWS Mainframe Modernization Service (Managed Runtime Environment experience) explore AWS Mainframe Modernization Service (Self-Managed Experience). Existing customers can continue to use the service as normal. For more information, see `AWS Mainframe Modernization availability change <https://docs.aws.amazon.com/m2/latest/userguide/mainframe-modernization-availability-change.html>`_ . Defines the details of a high availability configuration.
1443
1461
  :param kms_key_id: The identifier of a customer managed key.
1444
1462
  :param network_type: The network type supported by the runtime environment.
1445
1463
  :param preferred_maintenance_window: Configures the maintenance window that you want for the runtime environment. The maintenance window must have the format ``ddd:hh24:mi-ddd:hh24:mi`` and must be less than 24 hours. The following two examples are valid maintenance windows: ``sun:23:45-mon:00:15`` or ``sat:01:00-sat:03:00`` . If you do not provide a value, a random system-generated value will be assigned.
1446
1464
  :param publicly_accessible: Specifies whether the runtime environment is publicly accessible.
1447
1465
  :param security_group_ids: The list of security groups for the VPC associated with this runtime environment.
1448
- :param storage_configurations: Defines the storage configuration for a runtime environment.
1466
+ :param storage_configurations: .. epigraph:: AWS Mainframe Modernization Service (Managed Runtime Environment experience) will no longer be open to new customers starting on November 7, 2025. If you would like to use the service, please sign up prior to November 7, 2025. For capabilities similar to AWS Mainframe Modernization Service (Managed Runtime Environment experience) explore AWS Mainframe Modernization Service (Self-Managed Experience). Existing customers can continue to use the service as normal. For more information, see `AWS Mainframe Modernization availability change <https://docs.aws.amazon.com/m2/latest/userguide/mainframe-modernization-availability-change.html>`_ . Defines the storage configuration for a runtime environment.
1449
1467
  :param subnet_ids: The list of subnets associated with the VPC for this runtime environment.
1450
1468
  :param tags: An array of key-value pairs to apply to this resource. For more information, see `Tag <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html>`_ .
1451
1469
  '''
@@ -1607,7 +1625,9 @@ class CfnEnvironment(
1607
1625
  def high_availability_config(
1608
1626
  self,
1609
1627
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnEnvironment.HighAvailabilityConfigProperty"]]:
1610
- '''Defines the details of a high availability configuration.'''
1628
+ '''.. epigraph::
1629
+
1630
+ AWS Mainframe Modernization Service (Managed Runtime Environment experience) will no longer be open to new customers starting on November 7, 2025.'''
1611
1631
  return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnEnvironment.HighAvailabilityConfigProperty"]], jsii.get(self, "highAvailabilityConfig"))
1612
1632
 
1613
1633
  @high_availability_config.setter
@@ -1701,7 +1721,9 @@ class CfnEnvironment(
1701
1721
  def storage_configurations(
1702
1722
  self,
1703
1723
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnEnvironment.StorageConfigurationProperty"]]]]:
1704
- '''Defines the storage configuration for a runtime environment.'''
1724
+ '''.. epigraph::
1725
+
1726
+ AWS Mainframe Modernization Service (Managed Runtime Environment experience) will no longer be open to new customers starting on November 7, 2025.'''
1705
1727
  return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnEnvironment.StorageConfigurationProperty"]]]], jsii.get(self, "storageConfigurations"))
1706
1728
 
1707
1729
  @storage_configurations.setter
@@ -1755,7 +1777,13 @@ class CfnEnvironment(
1755
1777
  file_system_id: builtins.str,
1756
1778
  mount_point: builtins.str,
1757
1779
  ) -> None:
1758
- '''Defines the storage configuration for an Amazon EFS file system.
1780
+ '''.. epigraph::
1781
+
1782
+ AWS Mainframe Modernization Service (Managed Runtime Environment experience) will no longer be open to new customers starting on November 7, 2025.
1783
+
1784
+ If you would like to use the service, please sign up prior to November 7, 2025. For capabilities similar to AWS Mainframe Modernization Service (Managed Runtime Environment experience) explore AWS Mainframe Modernization Service (Self-Managed Experience). Existing customers can continue to use the service as normal. For more information, see `AWS Mainframe Modernization availability change <https://docs.aws.amazon.com/m2/latest/userguide/mainframe-modernization-availability-change.html>`_ .
1785
+
1786
+ Defines the storage configuration for an Amazon EFS file system.
1759
1787
 
1760
1788
  :param file_system_id: The file system identifier.
1761
1789
  :param mount_point: The mount point for the file system.
@@ -1826,7 +1854,13 @@ class CfnEnvironment(
1826
1854
  file_system_id: builtins.str,
1827
1855
  mount_point: builtins.str,
1828
1856
  ) -> None:
1829
- '''Defines the storage configuration for an Amazon FSx file system.
1857
+ '''.. epigraph::
1858
+
1859
+ AWS Mainframe Modernization Service (Managed Runtime Environment experience) will no longer be open to new customers starting on November 7, 2025.
1860
+
1861
+ If you would like to use the service, please sign up prior to November 7, 2025. For capabilities similar to AWS Mainframe Modernization Service (Managed Runtime Environment experience) explore AWS Mainframe Modernization Service (Self-Managed Experience). Existing customers can continue to use the service as normal. For more information, see `AWS Mainframe Modernization availability change <https://docs.aws.amazon.com/m2/latest/userguide/mainframe-modernization-availability-change.html>`_ .
1862
+
1863
+ Defines the storage configuration for an Amazon FSx file system.
1830
1864
 
1831
1865
  :param file_system_id: The file system identifier.
1832
1866
  :param mount_point: The mount point for the file system.
@@ -1892,7 +1926,13 @@ class CfnEnvironment(
1892
1926
  )
1893
1927
  class HighAvailabilityConfigProperty:
1894
1928
  def __init__(self, *, desired_capacity: jsii.Number) -> None:
1895
- '''Defines the details of a high availability configuration.
1929
+ '''.. epigraph::
1930
+
1931
+ AWS Mainframe Modernization Service (Managed Runtime Environment experience) will no longer be open to new customers starting on November 7, 2025.
1932
+
1933
+ If you would like to use the service, please sign up prior to November 7, 2025. For capabilities similar to AWS Mainframe Modernization Service (Managed Runtime Environment experience) explore AWS Mainframe Modernization Service (Self-Managed Experience). Existing customers can continue to use the service as normal. For more information, see `AWS Mainframe Modernization availability change <https://docs.aws.amazon.com/m2/latest/userguide/mainframe-modernization-availability-change.html>`_ .
1934
+
1935
+ Defines the details of a high availability configuration.
1896
1936
 
1897
1937
  :param desired_capacity: The number of instances in a high availability configuration. The minimum possible value is 1 and the maximum is 100.
1898
1938
 
@@ -1951,7 +1991,13 @@ class CfnEnvironment(
1951
1991
  efs: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnEnvironment.EfsStorageConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1952
1992
  fsx: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnEnvironment.FsxStorageConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1953
1993
  ) -> None:
1954
- '''Defines the storage configuration for a runtime environment.
1994
+ '''.. epigraph::
1995
+
1996
+ AWS Mainframe Modernization Service (Managed Runtime Environment experience) will no longer be open to new customers starting on November 7, 2025.
1997
+
1998
+ If you would like to use the service, please sign up prior to November 7, 2025. For capabilities similar to AWS Mainframe Modernization Service (Managed Runtime Environment experience) explore AWS Mainframe Modernization Service (Self-Managed Experience). Existing customers can continue to use the service as normal. For more information, see `AWS Mainframe Modernization availability change <https://docs.aws.amazon.com/m2/latest/userguide/mainframe-modernization-availability-change.html>`_ .
1999
+
2000
+ Defines the storage configuration for a runtime environment.
1955
2001
 
1956
2002
  :param efs: Defines the storage configuration for an Amazon EFS file system.
1957
2003
  :param fsx: Defines the storage configuration for an Amazon FSx file system.