aws-cdk-lib 2.203.1__py3-none-any.whl → 2.204.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of aws-cdk-lib might be problematic. Click here for more details.

Files changed (33) hide show
  1. aws_cdk/__init__.py +38 -0
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.203.1.jsii.tgz → aws-cdk-lib@2.204.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_apigateway/__init__.py +164 -0
  5. aws_cdk/aws_apigatewayv2/__init__.py +412 -0
  6. aws_cdk/aws_certificatemanager/__init__.py +28 -0
  7. aws_cdk/aws_chatbot/__init__.py +28 -0
  8. aws_cdk/aws_cloudfront/__init__.py +92 -0
  9. aws_cdk/aws_cloudfront/experimental/__init__.py +32 -0
  10. aws_cdk/aws_cloudwatch/__init__.py +217 -23
  11. aws_cdk/aws_codebuild/__init__.py +84 -0
  12. aws_cdk/aws_dynamodb/__init__.py +316 -2
  13. aws_cdk/aws_ec2/__init__.py +94 -0
  14. aws_cdk/aws_ecs/__init__.py +52 -0
  15. aws_cdk/aws_elasticloadbalancingv2/__init__.py +724 -0
  16. aws_cdk/aws_elasticsearch/__init__.py +260 -0
  17. aws_cdk/aws_kinesis/__init__.py +324 -0
  18. aws_cdk/aws_kinesisfirehose/__init__.py +100 -0
  19. aws_cdk/aws_lambda/__init__.py +144 -0
  20. aws_cdk/aws_logs/__init__.py +58 -0
  21. aws_cdk/aws_opensearchservice/__init__.py +260 -0
  22. aws_cdk/aws_rds/__init__.py +384 -0
  23. aws_cdk/aws_scheduler/__init__.py +210 -0
  24. aws_cdk/aws_sns/__init__.py +164 -0
  25. aws_cdk/aws_sqs/__init__.py +164 -0
  26. aws_cdk/aws_stepfunctions/__init__.py +288 -0
  27. aws_cdk/aws_synthetics/__init__.py +18 -0
  28. {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.204.0.dist-info}/METADATA +2 -2
  29. {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.204.0.dist-info}/RECORD +33 -33
  30. {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.204.0.dist-info}/LICENSE +0 -0
  31. {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.204.0.dist-info}/NOTICE +0 -0
  32. {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.204.0.dist-info}/WHEEL +0 -0
  33. {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.204.0.dist-info}/top_level.txt +0 -0
@@ -1743,6 +1743,7 @@ class ICertificate(_IResource_c80c4260, typing_extensions.Protocol):
1743
1743
  account: typing.Optional[builtins.str] = None,
1744
1744
  color: typing.Optional[builtins.str] = None,
1745
1745
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
1746
+ id: typing.Optional[builtins.str] = None,
1746
1747
  label: typing.Optional[builtins.str] = None,
1747
1748
  period: typing.Optional[_Duration_4839e8c3] = None,
1748
1749
  region: typing.Optional[builtins.str] = None,
@@ -1750,6 +1751,7 @@ class ICertificate(_IResource_c80c4260, typing_extensions.Protocol):
1750
1751
  stack_region: typing.Optional[builtins.str] = None,
1751
1752
  statistic: typing.Optional[builtins.str] = None,
1752
1753
  unit: typing.Optional[_Unit_61bc6f70] = None,
1754
+ visible: typing.Optional[builtins.bool] = None,
1753
1755
  ) -> _Metric_e396a4dc:
1754
1756
  '''Return the DaysToExpiry metric for this AWS Certificate Manager Certificate. By default, this is the minimum value over 1 day.
1755
1757
 
@@ -1760,6 +1762,7 @@ class ICertificate(_IResource_c80c4260, typing_extensions.Protocol):
1760
1762
  :param account: Account which this metric comes from. Default: - Deployment account.
1761
1763
  :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
1762
1764
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
1765
+ :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
1763
1766
  :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
1764
1767
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
1765
1768
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -1767,6 +1770,7 @@ class ICertificate(_IResource_c80c4260, typing_extensions.Protocol):
1767
1770
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
1768
1771
  :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
1769
1772
  :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
1773
+ :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
1770
1774
  '''
1771
1775
  ...
1772
1776
 
@@ -1794,6 +1798,7 @@ class _ICertificateProxy(
1794
1798
  account: typing.Optional[builtins.str] = None,
1795
1799
  color: typing.Optional[builtins.str] = None,
1796
1800
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
1801
+ id: typing.Optional[builtins.str] = None,
1797
1802
  label: typing.Optional[builtins.str] = None,
1798
1803
  period: typing.Optional[_Duration_4839e8c3] = None,
1799
1804
  region: typing.Optional[builtins.str] = None,
@@ -1801,6 +1806,7 @@ class _ICertificateProxy(
1801
1806
  stack_region: typing.Optional[builtins.str] = None,
1802
1807
  statistic: typing.Optional[builtins.str] = None,
1803
1808
  unit: typing.Optional[_Unit_61bc6f70] = None,
1809
+ visible: typing.Optional[builtins.bool] = None,
1804
1810
  ) -> _Metric_e396a4dc:
1805
1811
  '''Return the DaysToExpiry metric for this AWS Certificate Manager Certificate. By default, this is the minimum value over 1 day.
1806
1812
 
@@ -1811,6 +1817,7 @@ class _ICertificateProxy(
1811
1817
  :param account: Account which this metric comes from. Default: - Deployment account.
1812
1818
  :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
1813
1819
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
1820
+ :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
1814
1821
  :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
1815
1822
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
1816
1823
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -1818,11 +1825,13 @@ class _ICertificateProxy(
1818
1825
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
1819
1826
  :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
1820
1827
  :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
1828
+ :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
1821
1829
  '''
1822
1830
  props = _MetricOptions_1788b62f(
1823
1831
  account=account,
1824
1832
  color=color,
1825
1833
  dimensions_map=dimensions_map,
1834
+ id=id,
1826
1835
  label=label,
1827
1836
  period=period,
1828
1837
  region=region,
@@ -1830,6 +1839,7 @@ class _ICertificateProxy(
1830
1839
  stack_region=stack_region,
1831
1840
  statistic=statistic,
1832
1841
  unit=unit,
1842
+ visible=visible,
1833
1843
  )
1834
1844
 
1835
1845
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricDaysToExpiry", [props]))
@@ -2004,6 +2014,7 @@ class PrivateCertificate(
2004
2014
  account: typing.Optional[builtins.str] = None,
2005
2015
  color: typing.Optional[builtins.str] = None,
2006
2016
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2017
+ id: typing.Optional[builtins.str] = None,
2007
2018
  label: typing.Optional[builtins.str] = None,
2008
2019
  period: typing.Optional[_Duration_4839e8c3] = None,
2009
2020
  region: typing.Optional[builtins.str] = None,
@@ -2011,6 +2022,7 @@ class PrivateCertificate(
2011
2022
  stack_region: typing.Optional[builtins.str] = None,
2012
2023
  statistic: typing.Optional[builtins.str] = None,
2013
2024
  unit: typing.Optional[_Unit_61bc6f70] = None,
2025
+ visible: typing.Optional[builtins.bool] = None,
2014
2026
  ) -> _Metric_e396a4dc:
2015
2027
  '''Return the DaysToExpiry metric for this AWS Certificate Manager Certificate. By default, this is the minimum value over 1 day.
2016
2028
 
@@ -2021,6 +2033,7 @@ class PrivateCertificate(
2021
2033
  :param account: Account which this metric comes from. Default: - Deployment account.
2022
2034
  :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
2023
2035
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2036
+ :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
2024
2037
  :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
2025
2038
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2026
2039
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2028,11 +2041,13 @@ class PrivateCertificate(
2028
2041
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2029
2042
  :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
2030
2043
  :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
2044
+ :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
2031
2045
  '''
2032
2046
  props = _MetricOptions_1788b62f(
2033
2047
  account=account,
2034
2048
  color=color,
2035
2049
  dimensions_map=dimensions_map,
2050
+ id=id,
2036
2051
  label=label,
2037
2052
  period=period,
2038
2053
  region=region,
@@ -2040,6 +2055,7 @@ class PrivateCertificate(
2040
2055
  stack_region=stack_region,
2041
2056
  statistic=statistic,
2042
2057
  unit=unit,
2058
+ visible=visible,
2043
2059
  )
2044
2060
 
2045
2061
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricDaysToExpiry", [props]))
@@ -2284,6 +2300,7 @@ class Certificate(
2284
2300
  account: typing.Optional[builtins.str] = None,
2285
2301
  color: typing.Optional[builtins.str] = None,
2286
2302
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2303
+ id: typing.Optional[builtins.str] = None,
2287
2304
  label: typing.Optional[builtins.str] = None,
2288
2305
  period: typing.Optional[_Duration_4839e8c3] = None,
2289
2306
  region: typing.Optional[builtins.str] = None,
@@ -2291,6 +2308,7 @@ class Certificate(
2291
2308
  stack_region: typing.Optional[builtins.str] = None,
2292
2309
  statistic: typing.Optional[builtins.str] = None,
2293
2310
  unit: typing.Optional[_Unit_61bc6f70] = None,
2311
+ visible: typing.Optional[builtins.bool] = None,
2294
2312
  ) -> _Metric_e396a4dc:
2295
2313
  '''Return the DaysToExpiry metric for this AWS Certificate Manager Certificate. By default, this is the minimum value over 1 day.
2296
2314
 
@@ -2301,6 +2319,7 @@ class Certificate(
2301
2319
  :param account: Account which this metric comes from. Default: - Deployment account.
2302
2320
  :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
2303
2321
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2322
+ :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
2304
2323
  :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
2305
2324
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2306
2325
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2308,11 +2327,13 @@ class Certificate(
2308
2327
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2309
2328
  :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
2310
2329
  :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
2330
+ :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
2311
2331
  '''
2312
2332
  props = _MetricOptions_1788b62f(
2313
2333
  account=account,
2314
2334
  color=color,
2315
2335
  dimensions_map=dimensions_map,
2336
+ id=id,
2316
2337
  label=label,
2317
2338
  period=period,
2318
2339
  region=region,
@@ -2320,6 +2341,7 @@ class Certificate(
2320
2341
  stack_region=stack_region,
2321
2342
  statistic=statistic,
2322
2343
  unit=unit,
2344
+ visible=visible,
2323
2345
  )
2324
2346
 
2325
2347
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricDaysToExpiry", [props]))
@@ -2472,6 +2494,7 @@ class DnsValidatedCertificate(
2472
2494
  account: typing.Optional[builtins.str] = None,
2473
2495
  color: typing.Optional[builtins.str] = None,
2474
2496
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2497
+ id: typing.Optional[builtins.str] = None,
2475
2498
  label: typing.Optional[builtins.str] = None,
2476
2499
  period: typing.Optional[_Duration_4839e8c3] = None,
2477
2500
  region: typing.Optional[builtins.str] = None,
@@ -2479,6 +2502,7 @@ class DnsValidatedCertificate(
2479
2502
  stack_region: typing.Optional[builtins.str] = None,
2480
2503
  statistic: typing.Optional[builtins.str] = None,
2481
2504
  unit: typing.Optional[_Unit_61bc6f70] = None,
2505
+ visible: typing.Optional[builtins.bool] = None,
2482
2506
  ) -> _Metric_e396a4dc:
2483
2507
  '''(deprecated) Return the DaysToExpiry metric for this AWS Certificate Manager Certificate. By default, this is the minimum value over 1 day.
2484
2508
 
@@ -2489,6 +2513,7 @@ class DnsValidatedCertificate(
2489
2513
  :param account: Account which this metric comes from. Default: - Deployment account.
2490
2514
  :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
2491
2515
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2516
+ :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
2492
2517
  :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
2493
2518
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2494
2519
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2496,6 +2521,7 @@ class DnsValidatedCertificate(
2496
2521
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2497
2522
  :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
2498
2523
  :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
2524
+ :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
2499
2525
 
2500
2526
  :stability: deprecated
2501
2527
  '''
@@ -2503,6 +2529,7 @@ class DnsValidatedCertificate(
2503
2529
  account=account,
2504
2530
  color=color,
2505
2531
  dimensions_map=dimensions_map,
2532
+ id=id,
2506
2533
  label=label,
2507
2534
  period=period,
2508
2535
  region=region,
@@ -2510,6 +2537,7 @@ class DnsValidatedCertificate(
2510
2537
  stack_region=stack_region,
2511
2538
  statistic=statistic,
2512
2539
  unit=unit,
2540
+ visible=visible,
2513
2541
  )
2514
2542
 
2515
2543
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricDaysToExpiry", [props]))
@@ -1916,6 +1916,7 @@ class ISlackChannelConfiguration(
1916
1916
  account: typing.Optional[builtins.str] = None,
1917
1917
  color: typing.Optional[builtins.str] = None,
1918
1918
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
1919
+ id: typing.Optional[builtins.str] = None,
1919
1920
  label: typing.Optional[builtins.str] = None,
1920
1921
  period: typing.Optional[_Duration_4839e8c3] = None,
1921
1922
  region: typing.Optional[builtins.str] = None,
@@ -1923,6 +1924,7 @@ class ISlackChannelConfiguration(
1923
1924
  stack_region: typing.Optional[builtins.str] = None,
1924
1925
  statistic: typing.Optional[builtins.str] = None,
1925
1926
  unit: typing.Optional[_Unit_61bc6f70] = None,
1927
+ visible: typing.Optional[builtins.bool] = None,
1926
1928
  ) -> _Metric_e396a4dc:
1927
1929
  '''Return the given named metric for this SlackChannelConfiguration.
1928
1930
 
@@ -1930,6 +1932,7 @@ class ISlackChannelConfiguration(
1930
1932
  :param account: Account which this metric comes from. Default: - Deployment account.
1931
1933
  :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
1932
1934
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
1935
+ :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
1933
1936
  :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
1934
1937
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
1935
1938
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -1937,6 +1940,7 @@ class ISlackChannelConfiguration(
1937
1940
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
1938
1941
  :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
1939
1942
  :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
1943
+ :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
1940
1944
  '''
1941
1945
  ...
1942
1946
 
@@ -1998,6 +2002,7 @@ class _ISlackChannelConfigurationProxy(
1998
2002
  account: typing.Optional[builtins.str] = None,
1999
2003
  color: typing.Optional[builtins.str] = None,
2000
2004
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2005
+ id: typing.Optional[builtins.str] = None,
2001
2006
  label: typing.Optional[builtins.str] = None,
2002
2007
  period: typing.Optional[_Duration_4839e8c3] = None,
2003
2008
  region: typing.Optional[builtins.str] = None,
@@ -2005,6 +2010,7 @@ class _ISlackChannelConfigurationProxy(
2005
2010
  stack_region: typing.Optional[builtins.str] = None,
2006
2011
  statistic: typing.Optional[builtins.str] = None,
2007
2012
  unit: typing.Optional[_Unit_61bc6f70] = None,
2013
+ visible: typing.Optional[builtins.bool] = None,
2008
2014
  ) -> _Metric_e396a4dc:
2009
2015
  '''Return the given named metric for this SlackChannelConfiguration.
2010
2016
 
@@ -2012,6 +2018,7 @@ class _ISlackChannelConfigurationProxy(
2012
2018
  :param account: Account which this metric comes from. Default: - Deployment account.
2013
2019
  :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
2014
2020
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2021
+ :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
2015
2022
  :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
2016
2023
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2017
2024
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2019,6 +2026,7 @@ class _ISlackChannelConfigurationProxy(
2019
2026
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2020
2027
  :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
2021
2028
  :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
2029
+ :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
2022
2030
  '''
2023
2031
  if __debug__:
2024
2032
  type_hints = typing.get_type_hints(_typecheckingstub__36f008bf41135b7a58422d2b7c9fd93227d05029491e965085b315e66c8b2dc7)
@@ -2027,6 +2035,7 @@ class _ISlackChannelConfigurationProxy(
2027
2035
  account=account,
2028
2036
  color=color,
2029
2037
  dimensions_map=dimensions_map,
2038
+ id=id,
2030
2039
  label=label,
2031
2040
  period=period,
2032
2041
  region=region,
@@ -2034,6 +2043,7 @@ class _ISlackChannelConfigurationProxy(
2034
2043
  stack_region=stack_region,
2035
2044
  statistic=statistic,
2036
2045
  unit=unit,
2046
+ visible=visible,
2037
2047
  )
2038
2048
 
2039
2049
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metric", [metric_name, props]))
@@ -2164,6 +2174,7 @@ class SlackChannelConfiguration(
2164
2174
  account: typing.Optional[builtins.str] = None,
2165
2175
  color: typing.Optional[builtins.str] = None,
2166
2176
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2177
+ id: typing.Optional[builtins.str] = None,
2167
2178
  label: typing.Optional[builtins.str] = None,
2168
2179
  period: typing.Optional[_Duration_4839e8c3] = None,
2169
2180
  region: typing.Optional[builtins.str] = None,
@@ -2171,6 +2182,7 @@ class SlackChannelConfiguration(
2171
2182
  stack_region: typing.Optional[builtins.str] = None,
2172
2183
  statistic: typing.Optional[builtins.str] = None,
2173
2184
  unit: typing.Optional[_Unit_61bc6f70] = None,
2185
+ visible: typing.Optional[builtins.bool] = None,
2174
2186
  ) -> _Metric_e396a4dc:
2175
2187
  '''Return the given named metric for All SlackChannelConfigurations.
2176
2188
 
@@ -2178,6 +2190,7 @@ class SlackChannelConfiguration(
2178
2190
  :param account: Account which this metric comes from. Default: - Deployment account.
2179
2191
  :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
2180
2192
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2193
+ :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
2181
2194
  :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
2182
2195
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2183
2196
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2185,6 +2198,7 @@ class SlackChannelConfiguration(
2185
2198
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2186
2199
  :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
2187
2200
  :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
2201
+ :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
2188
2202
  '''
2189
2203
  if __debug__:
2190
2204
  type_hints = typing.get_type_hints(_typecheckingstub__12b8814a68917d1077846377a05d9a9cfd41105cef24a78340753723cc2a1bba)
@@ -2193,6 +2207,7 @@ class SlackChannelConfiguration(
2193
2207
  account=account,
2194
2208
  color=color,
2195
2209
  dimensions_map=dimensions_map,
2210
+ id=id,
2196
2211
  label=label,
2197
2212
  period=period,
2198
2213
  region=region,
@@ -2200,6 +2215,7 @@ class SlackChannelConfiguration(
2200
2215
  stack_region=stack_region,
2201
2216
  statistic=statistic,
2202
2217
  unit=unit,
2218
+ visible=visible,
2203
2219
  )
2204
2220
 
2205
2221
  return typing.cast(_Metric_e396a4dc, jsii.sinvoke(cls, "metricAll", [metric_name, props]))
@@ -2248,6 +2264,7 @@ class SlackChannelConfiguration(
2248
2264
  account: typing.Optional[builtins.str] = None,
2249
2265
  color: typing.Optional[builtins.str] = None,
2250
2266
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2267
+ id: typing.Optional[builtins.str] = None,
2251
2268
  label: typing.Optional[builtins.str] = None,
2252
2269
  period: typing.Optional[_Duration_4839e8c3] = None,
2253
2270
  region: typing.Optional[builtins.str] = None,
@@ -2255,6 +2272,7 @@ class SlackChannelConfiguration(
2255
2272
  stack_region: typing.Optional[builtins.str] = None,
2256
2273
  statistic: typing.Optional[builtins.str] = None,
2257
2274
  unit: typing.Optional[_Unit_61bc6f70] = None,
2275
+ visible: typing.Optional[builtins.bool] = None,
2258
2276
  ) -> _Metric_e396a4dc:
2259
2277
  '''Return the given named metric for this SlackChannelConfiguration.
2260
2278
 
@@ -2262,6 +2280,7 @@ class SlackChannelConfiguration(
2262
2280
  :param account: Account which this metric comes from. Default: - Deployment account.
2263
2281
  :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
2264
2282
  :param dimensions_map: Dimensions of the metric. Default: - No dimensions.
2283
+ :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
2265
2284
  :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
2266
2285
  :param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
2267
2286
  :param region: Region which this metric comes from. Default: - Deployment region.
@@ -2269,6 +2288,7 @@ class SlackChannelConfiguration(
2269
2288
  :param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
2270
2289
  :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
2271
2290
  :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
2291
+ :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
2272
2292
  '''
2273
2293
  if __debug__:
2274
2294
  type_hints = typing.get_type_hints(_typecheckingstub__73a006622b0f5bc2a3fc133c38aeeb0fffe167bf0457064024d2adc8ffe005ff)
@@ -2277,6 +2297,7 @@ class SlackChannelConfiguration(
2277
2297
  account=account,
2278
2298
  color=color,
2279
2299
  dimensions_map=dimensions_map,
2300
+ id=id,
2280
2301
  label=label,
2281
2302
  period=period,
2282
2303
  region=region,
@@ -2284,6 +2305,7 @@ class SlackChannelConfiguration(
2284
2305
  stack_region=stack_region,
2285
2306
  statistic=statistic,
2286
2307
  unit=unit,
2308
+ visible=visible,
2287
2309
  )
2288
2310
 
2289
2311
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metric", [metric_name, props]))
@@ -2895,6 +2917,7 @@ def _typecheckingstub__36f008bf41135b7a58422d2b7c9fd93227d05029491e965085b315e66
2895
2917
  account: typing.Optional[builtins.str] = None,
2896
2918
  color: typing.Optional[builtins.str] = None,
2897
2919
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2920
+ id: typing.Optional[builtins.str] = None,
2898
2921
  label: typing.Optional[builtins.str] = None,
2899
2922
  period: typing.Optional[_Duration_4839e8c3] = None,
2900
2923
  region: typing.Optional[builtins.str] = None,
@@ -2902,6 +2925,7 @@ def _typecheckingstub__36f008bf41135b7a58422d2b7c9fd93227d05029491e965085b315e66
2902
2925
  stack_region: typing.Optional[builtins.str] = None,
2903
2926
  statistic: typing.Optional[builtins.str] = None,
2904
2927
  unit: typing.Optional[_Unit_61bc6f70] = None,
2928
+ visible: typing.Optional[builtins.bool] = None,
2905
2929
  ) -> None:
2906
2930
  """Type checking stubs"""
2907
2931
  pass
@@ -2939,6 +2963,7 @@ def _typecheckingstub__12b8814a68917d1077846377a05d9a9cfd41105cef24a78340753723c
2939
2963
  account: typing.Optional[builtins.str] = None,
2940
2964
  color: typing.Optional[builtins.str] = None,
2941
2965
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2966
+ id: typing.Optional[builtins.str] = None,
2942
2967
  label: typing.Optional[builtins.str] = None,
2943
2968
  period: typing.Optional[_Duration_4839e8c3] = None,
2944
2969
  region: typing.Optional[builtins.str] = None,
@@ -2946,6 +2971,7 @@ def _typecheckingstub__12b8814a68917d1077846377a05d9a9cfd41105cef24a78340753723c
2946
2971
  stack_region: typing.Optional[builtins.str] = None,
2947
2972
  statistic: typing.Optional[builtins.str] = None,
2948
2973
  unit: typing.Optional[_Unit_61bc6f70] = None,
2974
+ visible: typing.Optional[builtins.bool] = None,
2949
2975
  ) -> None:
2950
2976
  """Type checking stubs"""
2951
2977
  pass
@@ -2974,6 +3000,7 @@ def _typecheckingstub__73a006622b0f5bc2a3fc133c38aeeb0fffe167bf0457064024d2adc8f
2974
3000
  account: typing.Optional[builtins.str] = None,
2975
3001
  color: typing.Optional[builtins.str] = None,
2976
3002
  dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
3003
+ id: typing.Optional[builtins.str] = None,
2977
3004
  label: typing.Optional[builtins.str] = None,
2978
3005
  period: typing.Optional[_Duration_4839e8c3] = None,
2979
3006
  region: typing.Optional[builtins.str] = None,
@@ -2981,6 +3008,7 @@ def _typecheckingstub__73a006622b0f5bc2a3fc133c38aeeb0fffe167bf0457064024d2adc8f
2981
3008
  stack_region: typing.Optional[builtins.str] = None,
2982
3009
  statistic: typing.Optional[builtins.str] = None,
2983
3010
  unit: typing.Optional[_Unit_61bc6f70] = None,
3011
+ visible: typing.Optional[builtins.bool] = None,
2984
3012
  ) -> None:
2985
3013
  """Type checking stubs"""
2986
3014
  pass