aws-cdk-lib 2.198.0__py3-none-any.whl → 2.200.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 (55) hide show
  1. aws_cdk/__init__.py +22 -24
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.198.0.jsii.tgz → aws-cdk-lib@2.200.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_acmpca/__init__.py +1 -1
  5. aws_cdk/aws_apigateway/__init__.py +1 -1
  6. aws_cdk/aws_appconfig/__init__.py +296 -48
  7. aws_cdk/aws_applicationautoscaling/__init__.py +4 -4
  8. aws_cdk/aws_aps/__init__.py +365 -14
  9. aws_cdk/aws_autoscaling/__init__.py +4 -4
  10. aws_cdk/aws_bedrock/__init__.py +436 -28
  11. aws_cdk/aws_cloudformation/__init__.py +17 -23
  12. aws_cdk/aws_cloudfront_origins/__init__.py +1 -1
  13. aws_cdk/aws_cloudtrail/__init__.py +4 -4
  14. aws_cdk/aws_cloudwatch/__init__.py +50 -1
  15. aws_cdk/aws_codebuild/__init__.py +116 -0
  16. aws_cdk/aws_datazone/__init__.py +699 -9
  17. aws_cdk/aws_deadline/__init__.py +38 -10
  18. aws_cdk/aws_ec2/__init__.py +97 -28
  19. aws_cdk/aws_ecs_patterns/__init__.py +49 -3
  20. aws_cdk/aws_eks/__init__.py +40 -9
  21. aws_cdk/aws_elasticloadbalancingv2/__init__.py +7 -7
  22. aws_cdk/aws_emr/__init__.py +36 -2
  23. aws_cdk/aws_events_targets/__init__.py +78 -1
  24. aws_cdk/aws_fsx/__init__.py +122 -0
  25. aws_cdk/aws_glue/__init__.py +55 -26
  26. aws_cdk/aws_iam/__init__.py +376 -2
  27. aws_cdk/aws_iot/__init__.py +57 -5
  28. aws_cdk/aws_kinesisfirehose/__init__.py +5 -1
  29. aws_cdk/aws_lambda/__init__.py +65 -45
  30. aws_cdk/aws_lex/__init__.py +27 -13
  31. aws_cdk/aws_lightsail/__init__.py +452 -0
  32. aws_cdk/aws_medialive/__init__.py +699 -497
  33. aws_cdk/aws_msk/__init__.py +4 -4
  34. aws_cdk/aws_networkfirewall/__init__.py +9 -5
  35. aws_cdk/aws_nimblestudio/__init__.py +208 -400
  36. aws_cdk/aws_panorama/__init__.py +30 -3
  37. aws_cdk/aws_pcs/__init__.py +12 -5
  38. aws_cdk/aws_rds/__init__.py +28 -16
  39. aws_cdk/aws_s3/__init__.py +367 -6
  40. aws_cdk/aws_s3express/__init__.py +789 -0
  41. aws_cdk/aws_ses/__init__.py +549 -32
  42. aws_cdk/aws_sns_subscriptions/__init__.py +256 -1
  43. aws_cdk/aws_stepfunctions/__init__.py +55 -17
  44. aws_cdk/aws_stepfunctions_tasks/__init__.py +1502 -2
  45. aws_cdk/aws_synthetics/__init__.py +26 -16
  46. aws_cdk/aws_voiceid/__init__.py +13 -3
  47. aws_cdk/aws_vpclattice/__init__.py +219 -209
  48. aws_cdk/cloud_assembly_schema/__init__.py +137 -42
  49. aws_cdk/cx_api/__init__.py +7 -7
  50. {aws_cdk_lib-2.198.0.dist-info → aws_cdk_lib-2.200.0.dist-info}/METADATA +2 -2
  51. {aws_cdk_lib-2.198.0.dist-info → aws_cdk_lib-2.200.0.dist-info}/RECORD +55 -55
  52. {aws_cdk_lib-2.198.0.dist-info → aws_cdk_lib-2.200.0.dist-info}/LICENSE +0 -0
  53. {aws_cdk_lib-2.198.0.dist-info → aws_cdk_lib-2.200.0.dist-info}/NOTICE +0 -0
  54. {aws_cdk_lib-2.198.0.dist-info → aws_cdk_lib-2.200.0.dist-info}/WHEEL +0 -0
  55. {aws_cdk_lib-2.198.0.dist-info → aws_cdk_lib-2.200.0.dist-info}/top_level.txt +0 -0
@@ -326,7 +326,7 @@ class AdjustmentTier:
326
326
  ) -> None:
327
327
  '''An adjustment.
328
328
 
329
- :param adjustment: What number to adjust the capacity with. The number is interpeted as an added capacity, a new fixed capacity or an added percentage depending on the AdjustmentType value of the StepScalingPolicy. Can be positive or negative.
329
+ :param adjustment: What number to adjust the capacity with. The number is interpreted as an added capacity, a new fixed capacity or an added percentage depending on the AdjustmentType value of the StepScalingPolicy. Can be positive or negative.
330
330
  :param lower_bound: Lower bound where this scaling tier applies. The scaling tier applies if the difference between the metric value and its alarm threshold is higher than this value. Default: -Infinity if this is the first tier, otherwise the upperBound of the previous tier
331
331
  :param upper_bound: Upper bound where this scaling tier applies. The scaling tier applies if the difference between the metric value and its alarm threshold is lower than this value. Default: +Infinity
332
332
 
@@ -363,7 +363,7 @@ class AdjustmentTier:
363
363
  def adjustment(self) -> jsii.Number:
364
364
  '''What number to adjust the capacity with.
365
365
 
366
- The number is interpeted as an added capacity, a new fixed capacity or an
366
+ The number is interpreted as an added capacity, a new fixed capacity or an
367
367
  added percentage depending on the AdjustmentType value of the
368
368
  StepScalingPolicy.
369
369
 
@@ -6741,9 +6741,9 @@ class StepScalingAction(
6741
6741
  lower_bound: typing.Optional[jsii.Number] = None,
6742
6742
  upper_bound: typing.Optional[jsii.Number] = None,
6743
6743
  ) -> None:
6744
- '''Add an adjusment interval to the ScalingAction.
6744
+ '''Add an adjustment interval to the ScalingAction.
6745
6745
 
6746
- :param adjustment: What number to adjust the capacity with. The number is interpeted as an added capacity, a new fixed capacity or an added percentage depending on the AdjustmentType value of the StepScalingPolicy. Can be positive or negative.
6746
+ :param adjustment: What number to adjust the capacity with. The number is interpreted as an added capacity, a new fixed capacity or an added percentage depending on the AdjustmentType value of the StepScalingPolicy. Can be positive or negative.
6747
6747
  :param lower_bound: Lower bound where this scaling tier applies. The scaling tier applies if the difference between the metric value and its alarm threshold is higher than this value. Default: -Infinity if this is the first tier, otherwise the upperBound of the previous tier
6748
6748
  :param upper_bound: Upper bound where this scaling tier applies. The scaling tier applies if the difference between the metric value and its alarm threshold is lower than this value. Default: +Infinity
6749
6749
  '''
@@ -428,7 +428,7 @@ class CfnScraper(
428
428
  :param scrape_configuration: The configuration in use by the scraper.
429
429
  :param source: The Amazon EKS cluster from which the scraper collects metrics.
430
430
  :param alias: An optional user-assigned scraper alias.
431
- :param role_configuration: Role configuration.
431
+ :param role_configuration: The role configuration in an Amazon Managed Service for Prometheus scraper.
432
432
  :param tags: (Optional) The list of tag keys and values associated with the scraper.
433
433
  '''
434
434
  if __debug__:
@@ -592,7 +592,7 @@ class CfnScraper(
592
592
  def role_configuration(
593
593
  self,
594
594
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnScraper.RoleConfigurationProperty"]]:
595
- '''Role configuration.'''
595
+ '''The role configuration in an Amazon Managed Service for Prometheus scraper.'''
596
596
  return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnScraper.RoleConfigurationProperty"]], jsii.get(self, "roleConfiguration"))
597
597
 
598
598
  @role_configuration.setter
@@ -837,10 +837,10 @@ class CfnScraper(
837
837
  source_role_arn: typing.Optional[builtins.str] = None,
838
838
  target_role_arn: typing.Optional[builtins.str] = None,
839
839
  ) -> None:
840
- '''Role configuration.
840
+ '''The role configuration in an Amazon Managed Service for Prometheus scraper.
841
841
 
842
- :param source_role_arn: IAM Role in source account.
843
- :param target_role_arn: IAM Role in the target account.
842
+ :param source_role_arn: The ARN of the source role.
843
+ :param target_role_arn: The ARN of the target role.
844
844
 
845
845
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-scraper-roleconfiguration.html
846
846
  :exampleMetadata: fixture=_generated
@@ -868,7 +868,7 @@ class CfnScraper(
868
868
 
869
869
  @builtins.property
870
870
  def source_role_arn(self) -> typing.Optional[builtins.str]:
871
- '''IAM Role in source account.
871
+ '''The ARN of the source role.
872
872
 
873
873
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-scraper-roleconfiguration.html#cfn-aps-scraper-roleconfiguration-sourcerolearn
874
874
  '''
@@ -877,7 +877,7 @@ class CfnScraper(
877
877
 
878
878
  @builtins.property
879
879
  def target_role_arn(self) -> typing.Optional[builtins.str]:
880
- '''IAM Role in the target account.
880
+ '''The ARN of the target role.
881
881
 
882
882
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-scraper-roleconfiguration.html#cfn-aps-scraper-roleconfiguration-targetrolearn
883
883
  '''
@@ -1043,7 +1043,7 @@ class CfnScraperProps:
1043
1043
  :param scrape_configuration: The configuration in use by the scraper.
1044
1044
  :param source: The Amazon EKS cluster from which the scraper collects metrics.
1045
1045
  :param alias: An optional user-assigned scraper alias.
1046
- :param role_configuration: Role configuration.
1046
+ :param role_configuration: The role configuration in an Amazon Managed Service for Prometheus scraper.
1047
1047
  :param tags: (Optional) The list of tag keys and values associated with the scraper.
1048
1048
 
1049
1049
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-scraper.html
@@ -1153,7 +1153,7 @@ class CfnScraperProps:
1153
1153
  def role_configuration(
1154
1154
  self,
1155
1155
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnScraper.RoleConfigurationProperty]]:
1156
- '''Role configuration.
1156
+ '''The role configuration in an Amazon Managed Service for Prometheus scraper.
1157
1157
 
1158
1158
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-scraper.html#cfn-aps-scraper-roleconfiguration
1159
1159
  '''
@@ -1206,6 +1206,16 @@ class CfnWorkspace(
1206
1206
  logging_configuration=aps.CfnWorkspace.LoggingConfigurationProperty(
1207
1207
  log_group_arn="logGroupArn"
1208
1208
  ),
1209
+ query_logging_configuration=aps.CfnWorkspace.QueryLoggingConfigurationProperty(
1210
+ destinations=[aps.CfnWorkspace.LoggingDestinationProperty(
1211
+ cloud_watch_logs=aps.CfnWorkspace.CloudWatchLogDestinationProperty(
1212
+ log_group_arn="logGroupArn"
1213
+ ),
1214
+ filters=aps.CfnWorkspace.LoggingFilterProperty(
1215
+ qsp_threshold=123
1216
+ )
1217
+ )]
1218
+ ),
1209
1219
  tags=[CfnTag(
1210
1220
  key="key",
1211
1221
  value="value"
@@ -1234,6 +1244,7 @@ class CfnWorkspace(
1234
1244
  alias: typing.Optional[builtins.str] = None,
1235
1245
  kms_key_arn: typing.Optional[builtins.str] = None,
1236
1246
  logging_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnWorkspace.LoggingConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1247
+ query_logging_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnWorkspace.QueryLoggingConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1237
1248
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
1238
1249
  workspace_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnWorkspace.WorkspaceConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1239
1250
  ) -> None:
@@ -1243,7 +1254,8 @@ class CfnWorkspace(
1243
1254
  :param alert_manager_definition: The alert manager definition, a YAML configuration for the alert manager in your Amazon Managed Service for Prometheus workspace. For details about the alert manager definition, see `Creating an alert manager configuration files <https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-alertmanager-config.html>`_ in the *Amazon Managed Service for Prometheus User Guide* . The following example shows part of a CloudFormation YAML file with an embedded alert manager definition (following the ``- |-`` ). ``Workspace: Type: AWS::APS::Workspace .... Properties: .... AlertManagerDefinition: Fn::Sub: - |- alertmanager_config: | templates: - 'default_template' route: receiver: example-sns receivers: - name: example-sns sns_configs: - topic_arn: 'arn:aws:sns:${AWS::Region}:${AWS::AccountId}:${TopicName}' -``
1244
1255
  :param alias: The alias that is assigned to this workspace to help identify it. It does not need to be unique.
1245
1256
  :param kms_key_arn: (optional) The ARN for a customer managed AWS KMS key to use for encrypting data within your workspace. For more information about using your own key in your workspace, see `Encryption at rest <https://docs.aws.amazon.com/prometheus/latest/userguide/encryption-at-rest-Amazon-Service-Prometheus.html>`_ in the *Amazon Managed Service for Prometheus User Guide* .
1246
- :param logging_configuration: Contains information about the logging configuration for the workspace.
1257
+ :param logging_configuration: Contains information about the current rules and alerting logging configuration for the workspace. .. epigraph:: These logging configurations are only for rules and alerting logs.
1258
+ :param query_logging_configuration: The definition of logging configuration in an Amazon Managed Service for Prometheus workspace.
1247
1259
  :param tags: The list of tag keys and values that are associated with the workspace.
1248
1260
  :param workspace_configuration: Use this structure to define label sets and the ingestion limits for time series that match label sets, and to specify the retention period of the workspace.
1249
1261
  '''
@@ -1256,6 +1268,7 @@ class CfnWorkspace(
1256
1268
  alias=alias,
1257
1269
  kms_key_arn=kms_key_arn,
1258
1270
  logging_configuration=logging_configuration,
1271
+ query_logging_configuration=query_logging_configuration,
1259
1272
  tags=tags,
1260
1273
  workspace_configuration=workspace_configuration,
1261
1274
  )
@@ -1380,7 +1393,7 @@ class CfnWorkspace(
1380
1393
  def logging_configuration(
1381
1394
  self,
1382
1395
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnWorkspace.LoggingConfigurationProperty"]]:
1383
- '''Contains information about the logging configuration for the workspace.'''
1396
+ '''Contains information about the current rules and alerting logging configuration for the workspace.'''
1384
1397
  return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnWorkspace.LoggingConfigurationProperty"]], jsii.get(self, "loggingConfiguration"))
1385
1398
 
1386
1399
  @logging_configuration.setter
@@ -1393,6 +1406,24 @@ class CfnWorkspace(
1393
1406
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1394
1407
  jsii.set(self, "loggingConfiguration", value) # pyright: ignore[reportArgumentType]
1395
1408
 
1409
+ @builtins.property
1410
+ @jsii.member(jsii_name="queryLoggingConfiguration")
1411
+ def query_logging_configuration(
1412
+ self,
1413
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnWorkspace.QueryLoggingConfigurationProperty"]]:
1414
+ '''The definition of logging configuration in an Amazon Managed Service for Prometheus workspace.'''
1415
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnWorkspace.QueryLoggingConfigurationProperty"]], jsii.get(self, "queryLoggingConfiguration"))
1416
+
1417
+ @query_logging_configuration.setter
1418
+ def query_logging_configuration(
1419
+ self,
1420
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnWorkspace.QueryLoggingConfigurationProperty"]],
1421
+ ) -> None:
1422
+ if __debug__:
1423
+ type_hints = typing.get_type_hints(_typecheckingstub__6591166b06ced49bc35c6390884a7a1c30cea4102022183768ac43e25c00f9fc)
1424
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1425
+ jsii.set(self, "queryLoggingConfiguration", value) # pyright: ignore[reportArgumentType]
1426
+
1396
1427
  @builtins.property
1397
1428
  @jsii.member(jsii_name="tagsRaw")
1398
1429
  def tags_raw(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
@@ -1424,6 +1455,58 @@ class CfnWorkspace(
1424
1455
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1425
1456
  jsii.set(self, "workspaceConfiguration", value) # pyright: ignore[reportArgumentType]
1426
1457
 
1458
+ @jsii.data_type(
1459
+ jsii_type="aws-cdk-lib.aws_aps.CfnWorkspace.CloudWatchLogDestinationProperty",
1460
+ jsii_struct_bases=[],
1461
+ name_mapping={"log_group_arn": "logGroupArn"},
1462
+ )
1463
+ class CloudWatchLogDestinationProperty:
1464
+ def __init__(self, *, log_group_arn: builtins.str) -> None:
1465
+ '''Configuration details for logging to CloudWatch Logs.
1466
+
1467
+ :param log_group_arn: The ARN of the CloudWatch log group.
1468
+
1469
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-workspace-cloudwatchlogdestination.html
1470
+ :exampleMetadata: fixture=_generated
1471
+
1472
+ Example::
1473
+
1474
+ # The code below shows an example of how to instantiate this type.
1475
+ # The values are placeholders you should change.
1476
+ from aws_cdk import aws_aps as aps
1477
+
1478
+ cloud_watch_log_destination_property = aps.CfnWorkspace.CloudWatchLogDestinationProperty(
1479
+ log_group_arn="logGroupArn"
1480
+ )
1481
+ '''
1482
+ if __debug__:
1483
+ type_hints = typing.get_type_hints(_typecheckingstub__925c774442f9150193a5d3bfa3fb05562aec6581139c1378b5f09e1c30fb40ee)
1484
+ check_type(argname="argument log_group_arn", value=log_group_arn, expected_type=type_hints["log_group_arn"])
1485
+ self._values: typing.Dict[builtins.str, typing.Any] = {
1486
+ "log_group_arn": log_group_arn,
1487
+ }
1488
+
1489
+ @builtins.property
1490
+ def log_group_arn(self) -> builtins.str:
1491
+ '''The ARN of the CloudWatch log group.
1492
+
1493
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-workspace-cloudwatchlogdestination.html#cfn-aps-workspace-cloudwatchlogdestination-loggrouparn
1494
+ '''
1495
+ result = self._values.get("log_group_arn")
1496
+ assert result is not None, "Required property 'log_group_arn' is missing"
1497
+ return typing.cast(builtins.str, result)
1498
+
1499
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
1500
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
1501
+
1502
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
1503
+ return not (rhs == self)
1504
+
1505
+ def __repr__(self) -> str:
1506
+ return "CloudWatchLogDestinationProperty(%s)" % ", ".join(
1507
+ k + "=" + repr(v) for k, v in self._values.items()
1508
+ )
1509
+
1427
1510
  @jsii.data_type(
1428
1511
  jsii_type="aws-cdk-lib.aws_aps.CfnWorkspace.LabelProperty",
1429
1512
  jsii_struct_bases=[],
@@ -1642,7 +1725,11 @@ class CfnWorkspace(
1642
1725
  *,
1643
1726
  log_group_arn: typing.Optional[builtins.str] = None,
1644
1727
  ) -> None:
1645
- '''Contains information about the logging configuration for the workspace.
1728
+ '''Contains information about the rules and alerting logging configuration for the workspace.
1729
+
1730
+ .. epigraph::
1731
+
1732
+ These logging configurations are only for rules and alerting logs.
1646
1733
 
1647
1734
  :param log_group_arn: The ARN of the CloudWatch log group to which the vended log data will be published. This log group must exist prior to calling this operation.
1648
1735
 
@@ -1688,6 +1775,202 @@ class CfnWorkspace(
1688
1775
  k + "=" + repr(v) for k, v in self._values.items()
1689
1776
  )
1690
1777
 
1778
+ @jsii.data_type(
1779
+ jsii_type="aws-cdk-lib.aws_aps.CfnWorkspace.LoggingDestinationProperty",
1780
+ jsii_struct_bases=[],
1781
+ name_mapping={"cloud_watch_logs": "cloudWatchLogs", "filters": "filters"},
1782
+ )
1783
+ class LoggingDestinationProperty:
1784
+ def __init__(
1785
+ self,
1786
+ *,
1787
+ cloud_watch_logs: typing.Union[_IResolvable_da3f097b, typing.Union["CfnWorkspace.CloudWatchLogDestinationProperty", typing.Dict[builtins.str, typing.Any]]],
1788
+ filters: typing.Union[_IResolvable_da3f097b, typing.Union["CfnWorkspace.LoggingFilterProperty", typing.Dict[builtins.str, typing.Any]]],
1789
+ ) -> None:
1790
+ '''The logging destination in an Amazon Managed Service for Prometheus workspace.
1791
+
1792
+ :param cloud_watch_logs: Configuration details for logging to CloudWatch Logs.
1793
+ :param filters: Filtering criteria that determine which queries are logged.
1794
+
1795
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-workspace-loggingdestination.html
1796
+ :exampleMetadata: fixture=_generated
1797
+
1798
+ Example::
1799
+
1800
+ # The code below shows an example of how to instantiate this type.
1801
+ # The values are placeholders you should change.
1802
+ from aws_cdk import aws_aps as aps
1803
+
1804
+ logging_destination_property = aps.CfnWorkspace.LoggingDestinationProperty(
1805
+ cloud_watch_logs=aps.CfnWorkspace.CloudWatchLogDestinationProperty(
1806
+ log_group_arn="logGroupArn"
1807
+ ),
1808
+ filters=aps.CfnWorkspace.LoggingFilterProperty(
1809
+ qsp_threshold=123
1810
+ )
1811
+ )
1812
+ '''
1813
+ if __debug__:
1814
+ type_hints = typing.get_type_hints(_typecheckingstub__cce5991812152322bf70db3d7cea0d7bb3cda26bb6b0e82d9bd091ef05995168)
1815
+ check_type(argname="argument cloud_watch_logs", value=cloud_watch_logs, expected_type=type_hints["cloud_watch_logs"])
1816
+ check_type(argname="argument filters", value=filters, expected_type=type_hints["filters"])
1817
+ self._values: typing.Dict[builtins.str, typing.Any] = {
1818
+ "cloud_watch_logs": cloud_watch_logs,
1819
+ "filters": filters,
1820
+ }
1821
+
1822
+ @builtins.property
1823
+ def cloud_watch_logs(
1824
+ self,
1825
+ ) -> typing.Union[_IResolvable_da3f097b, "CfnWorkspace.CloudWatchLogDestinationProperty"]:
1826
+ '''Configuration details for logging to CloudWatch Logs.
1827
+
1828
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-workspace-loggingdestination.html#cfn-aps-workspace-loggingdestination-cloudwatchlogs
1829
+ '''
1830
+ result = self._values.get("cloud_watch_logs")
1831
+ assert result is not None, "Required property 'cloud_watch_logs' is missing"
1832
+ return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnWorkspace.CloudWatchLogDestinationProperty"], result)
1833
+
1834
+ @builtins.property
1835
+ def filters(
1836
+ self,
1837
+ ) -> typing.Union[_IResolvable_da3f097b, "CfnWorkspace.LoggingFilterProperty"]:
1838
+ '''Filtering criteria that determine which queries are logged.
1839
+
1840
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-workspace-loggingdestination.html#cfn-aps-workspace-loggingdestination-filters
1841
+ '''
1842
+ result = self._values.get("filters")
1843
+ assert result is not None, "Required property 'filters' is missing"
1844
+ return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnWorkspace.LoggingFilterProperty"], result)
1845
+
1846
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
1847
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
1848
+
1849
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
1850
+ return not (rhs == self)
1851
+
1852
+ def __repr__(self) -> str:
1853
+ return "LoggingDestinationProperty(%s)" % ", ".join(
1854
+ k + "=" + repr(v) for k, v in self._values.items()
1855
+ )
1856
+
1857
+ @jsii.data_type(
1858
+ jsii_type="aws-cdk-lib.aws_aps.CfnWorkspace.LoggingFilterProperty",
1859
+ jsii_struct_bases=[],
1860
+ name_mapping={"qsp_threshold": "qspThreshold"},
1861
+ )
1862
+ class LoggingFilterProperty:
1863
+ def __init__(self, *, qsp_threshold: jsii.Number) -> None:
1864
+ '''Filtering criteria that determine which queries are logged.
1865
+
1866
+ :param qsp_threshold: Query logs with QSP above this limit are vended.
1867
+
1868
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-workspace-loggingfilter.html
1869
+ :exampleMetadata: fixture=_generated
1870
+
1871
+ Example::
1872
+
1873
+ # The code below shows an example of how to instantiate this type.
1874
+ # The values are placeholders you should change.
1875
+ from aws_cdk import aws_aps as aps
1876
+
1877
+ logging_filter_property = aps.CfnWorkspace.LoggingFilterProperty(
1878
+ qsp_threshold=123
1879
+ )
1880
+ '''
1881
+ if __debug__:
1882
+ type_hints = typing.get_type_hints(_typecheckingstub__8f1710f9a533b3c78aa9735866c9480208fe7ceb912d68581872b145d4c634fd)
1883
+ check_type(argname="argument qsp_threshold", value=qsp_threshold, expected_type=type_hints["qsp_threshold"])
1884
+ self._values: typing.Dict[builtins.str, typing.Any] = {
1885
+ "qsp_threshold": qsp_threshold,
1886
+ }
1887
+
1888
+ @builtins.property
1889
+ def qsp_threshold(self) -> jsii.Number:
1890
+ '''Query logs with QSP above this limit are vended.
1891
+
1892
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-workspace-loggingfilter.html#cfn-aps-workspace-loggingfilter-qspthreshold
1893
+ '''
1894
+ result = self._values.get("qsp_threshold")
1895
+ assert result is not None, "Required property 'qsp_threshold' is missing"
1896
+ return typing.cast(jsii.Number, result)
1897
+
1898
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
1899
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
1900
+
1901
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
1902
+ return not (rhs == self)
1903
+
1904
+ def __repr__(self) -> str:
1905
+ return "LoggingFilterProperty(%s)" % ", ".join(
1906
+ k + "=" + repr(v) for k, v in self._values.items()
1907
+ )
1908
+
1909
+ @jsii.data_type(
1910
+ jsii_type="aws-cdk-lib.aws_aps.CfnWorkspace.QueryLoggingConfigurationProperty",
1911
+ jsii_struct_bases=[],
1912
+ name_mapping={"destinations": "destinations"},
1913
+ )
1914
+ class QueryLoggingConfigurationProperty:
1915
+ def __init__(
1916
+ self,
1917
+ *,
1918
+ destinations: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnWorkspace.LoggingDestinationProperty", typing.Dict[builtins.str, typing.Any]]]]],
1919
+ ) -> None:
1920
+ '''The query logging configuration in an Amazon Managed Service for Prometheus workspace.
1921
+
1922
+ :param destinations: Defines a destination and its associated filtering criteria for query logging.
1923
+
1924
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-workspace-queryloggingconfiguration.html
1925
+ :exampleMetadata: fixture=_generated
1926
+
1927
+ Example::
1928
+
1929
+ # The code below shows an example of how to instantiate this type.
1930
+ # The values are placeholders you should change.
1931
+ from aws_cdk import aws_aps as aps
1932
+
1933
+ query_logging_configuration_property = aps.CfnWorkspace.QueryLoggingConfigurationProperty(
1934
+ destinations=[aps.CfnWorkspace.LoggingDestinationProperty(
1935
+ cloud_watch_logs=aps.CfnWorkspace.CloudWatchLogDestinationProperty(
1936
+ log_group_arn="logGroupArn"
1937
+ ),
1938
+ filters=aps.CfnWorkspace.LoggingFilterProperty(
1939
+ qsp_threshold=123
1940
+ )
1941
+ )]
1942
+ )
1943
+ '''
1944
+ if __debug__:
1945
+ type_hints = typing.get_type_hints(_typecheckingstub__59e9b7a5bb1ecf6d3e6bf0c4d2f497bea98d1fe68b36d502a98c9b336781a58a)
1946
+ check_type(argname="argument destinations", value=destinations, expected_type=type_hints["destinations"])
1947
+ self._values: typing.Dict[builtins.str, typing.Any] = {
1948
+ "destinations": destinations,
1949
+ }
1950
+
1951
+ @builtins.property
1952
+ def destinations(
1953
+ self,
1954
+ ) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnWorkspace.LoggingDestinationProperty"]]]:
1955
+ '''Defines a destination and its associated filtering criteria for query logging.
1956
+
1957
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-workspace-queryloggingconfiguration.html#cfn-aps-workspace-queryloggingconfiguration-destinations
1958
+ '''
1959
+ result = self._values.get("destinations")
1960
+ assert result is not None, "Required property 'destinations' is missing"
1961
+ return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnWorkspace.LoggingDestinationProperty"]]], result)
1962
+
1963
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
1964
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
1965
+
1966
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
1967
+ return not (rhs == self)
1968
+
1969
+ def __repr__(self) -> str:
1970
+ return "QueryLoggingConfigurationProperty(%s)" % ", ".join(
1971
+ k + "=" + repr(v) for k, v in self._values.items()
1972
+ )
1973
+
1691
1974
  @jsii.data_type(
1692
1975
  jsii_type="aws-cdk-lib.aws_aps.CfnWorkspace.WorkspaceConfigurationProperty",
1693
1976
  jsii_struct_bases=[],
@@ -1782,6 +2065,7 @@ class CfnWorkspace(
1782
2065
  "alias": "alias",
1783
2066
  "kms_key_arn": "kmsKeyArn",
1784
2067
  "logging_configuration": "loggingConfiguration",
2068
+ "query_logging_configuration": "queryLoggingConfiguration",
1785
2069
  "tags": "tags",
1786
2070
  "workspace_configuration": "workspaceConfiguration",
1787
2071
  },
@@ -1794,6 +2078,7 @@ class CfnWorkspaceProps:
1794
2078
  alias: typing.Optional[builtins.str] = None,
1795
2079
  kms_key_arn: typing.Optional[builtins.str] = None,
1796
2080
  logging_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWorkspace.LoggingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
2081
+ query_logging_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWorkspace.QueryLoggingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
1797
2082
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
1798
2083
  workspace_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWorkspace.WorkspaceConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
1799
2084
  ) -> None:
@@ -1802,7 +2087,8 @@ class CfnWorkspaceProps:
1802
2087
  :param alert_manager_definition: The alert manager definition, a YAML configuration for the alert manager in your Amazon Managed Service for Prometheus workspace. For details about the alert manager definition, see `Creating an alert manager configuration files <https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-alertmanager-config.html>`_ in the *Amazon Managed Service for Prometheus User Guide* . The following example shows part of a CloudFormation YAML file with an embedded alert manager definition (following the ``- |-`` ). ``Workspace: Type: AWS::APS::Workspace .... Properties: .... AlertManagerDefinition: Fn::Sub: - |- alertmanager_config: | templates: - 'default_template' route: receiver: example-sns receivers: - name: example-sns sns_configs: - topic_arn: 'arn:aws:sns:${AWS::Region}:${AWS::AccountId}:${TopicName}' -``
1803
2088
  :param alias: The alias that is assigned to this workspace to help identify it. It does not need to be unique.
1804
2089
  :param kms_key_arn: (optional) The ARN for a customer managed AWS KMS key to use for encrypting data within your workspace. For more information about using your own key in your workspace, see `Encryption at rest <https://docs.aws.amazon.com/prometheus/latest/userguide/encryption-at-rest-Amazon-Service-Prometheus.html>`_ in the *Amazon Managed Service for Prometheus User Guide* .
1805
- :param logging_configuration: Contains information about the logging configuration for the workspace.
2090
+ :param logging_configuration: Contains information about the current rules and alerting logging configuration for the workspace. .. epigraph:: These logging configurations are only for rules and alerting logs.
2091
+ :param query_logging_configuration: The definition of logging configuration in an Amazon Managed Service for Prometheus workspace.
1806
2092
  :param tags: The list of tag keys and values that are associated with the workspace.
1807
2093
  :param workspace_configuration: Use this structure to define label sets and the ingestion limits for time series that match label sets, and to specify the retention period of the workspace.
1808
2094
 
@@ -1822,6 +2108,16 @@ class CfnWorkspaceProps:
1822
2108
  logging_configuration=aps.CfnWorkspace.LoggingConfigurationProperty(
1823
2109
  log_group_arn="logGroupArn"
1824
2110
  ),
2111
+ query_logging_configuration=aps.CfnWorkspace.QueryLoggingConfigurationProperty(
2112
+ destinations=[aps.CfnWorkspace.LoggingDestinationProperty(
2113
+ cloud_watch_logs=aps.CfnWorkspace.CloudWatchLogDestinationProperty(
2114
+ log_group_arn="logGroupArn"
2115
+ ),
2116
+ filters=aps.CfnWorkspace.LoggingFilterProperty(
2117
+ qsp_threshold=123
2118
+ )
2119
+ )]
2120
+ ),
1825
2121
  tags=[CfnTag(
1826
2122
  key="key",
1827
2123
  value="value"
@@ -1846,6 +2142,7 @@ class CfnWorkspaceProps:
1846
2142
  check_type(argname="argument alias", value=alias, expected_type=type_hints["alias"])
1847
2143
  check_type(argname="argument kms_key_arn", value=kms_key_arn, expected_type=type_hints["kms_key_arn"])
1848
2144
  check_type(argname="argument logging_configuration", value=logging_configuration, expected_type=type_hints["logging_configuration"])
2145
+ check_type(argname="argument query_logging_configuration", value=query_logging_configuration, expected_type=type_hints["query_logging_configuration"])
1849
2146
  check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
1850
2147
  check_type(argname="argument workspace_configuration", value=workspace_configuration, expected_type=type_hints["workspace_configuration"])
1851
2148
  self._values: typing.Dict[builtins.str, typing.Any] = {}
@@ -1857,6 +2154,8 @@ class CfnWorkspaceProps:
1857
2154
  self._values["kms_key_arn"] = kms_key_arn
1858
2155
  if logging_configuration is not None:
1859
2156
  self._values["logging_configuration"] = logging_configuration
2157
+ if query_logging_configuration is not None:
2158
+ self._values["query_logging_configuration"] = query_logging_configuration
1860
2159
  if tags is not None:
1861
2160
  self._values["tags"] = tags
1862
2161
  if workspace_configuration is not None:
@@ -1903,13 +2202,28 @@ class CfnWorkspaceProps:
1903
2202
  def logging_configuration(
1904
2203
  self,
1905
2204
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnWorkspace.LoggingConfigurationProperty]]:
1906
- '''Contains information about the logging configuration for the workspace.
2205
+ '''Contains information about the current rules and alerting logging configuration for the workspace.
2206
+
2207
+ .. epigraph::
2208
+
2209
+ These logging configurations are only for rules and alerting logs.
1907
2210
 
1908
2211
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-workspace.html#cfn-aps-workspace-loggingconfiguration
1909
2212
  '''
1910
2213
  result = self._values.get("logging_configuration")
1911
2214
  return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnWorkspace.LoggingConfigurationProperty]], result)
1912
2215
 
2216
+ @builtins.property
2217
+ def query_logging_configuration(
2218
+ self,
2219
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnWorkspace.QueryLoggingConfigurationProperty]]:
2220
+ '''The definition of logging configuration in an Amazon Managed Service for Prometheus workspace.
2221
+
2222
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-workspace.html#cfn-aps-workspace-queryloggingconfiguration
2223
+ '''
2224
+ result = self._values.get("query_logging_configuration")
2225
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnWorkspace.QueryLoggingConfigurationProperty]], result)
2226
+
1913
2227
  @builtins.property
1914
2228
  def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
1915
2229
  '''The list of tag keys and values that are associated with the workspace.
@@ -2138,6 +2452,7 @@ def _typecheckingstub__0d7d4de6c2c3c0a6cc1f746f35f29f98344da5c5d59e48a9d1e788ab8
2138
2452
  alias: typing.Optional[builtins.str] = None,
2139
2453
  kms_key_arn: typing.Optional[builtins.str] = None,
2140
2454
  logging_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWorkspace.LoggingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
2455
+ query_logging_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWorkspace.QueryLoggingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
2141
2456
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
2142
2457
  workspace_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWorkspace.WorkspaceConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
2143
2458
  ) -> None:
@@ -2180,6 +2495,12 @@ def _typecheckingstub__ab06dccfc037b2ba3e02b4a3154224a63edcfe3fc06381ff9162c2c33
2180
2495
  """Type checking stubs"""
2181
2496
  pass
2182
2497
 
2498
+ def _typecheckingstub__6591166b06ced49bc35c6390884a7a1c30cea4102022183768ac43e25c00f9fc(
2499
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnWorkspace.QueryLoggingConfigurationProperty]],
2500
+ ) -> None:
2501
+ """Type checking stubs"""
2502
+ pass
2503
+
2183
2504
  def _typecheckingstub__fb4e1977fb1f7aad47144a42af408e41c9d01794f3569a614a9ed54effb1c1e5(
2184
2505
  value: typing.Optional[typing.List[_CfnTag_f6864754]],
2185
2506
  ) -> None:
@@ -2192,6 +2513,13 @@ def _typecheckingstub__7dc44ff5af32b5cdcf5234cdf89709e32cf5a9217d64f6f2b66251910
2192
2513
  """Type checking stubs"""
2193
2514
  pass
2194
2515
 
2516
+ def _typecheckingstub__925c774442f9150193a5d3bfa3fb05562aec6581139c1378b5f09e1c30fb40ee(
2517
+ *,
2518
+ log_group_arn: builtins.str,
2519
+ ) -> None:
2520
+ """Type checking stubs"""
2521
+ pass
2522
+
2195
2523
  def _typecheckingstub__b34eb56a3257d05ed157ec9252590ce797546e9e647035e7f3e639a6629c1cd3(
2196
2524
  *,
2197
2525
  name: builtins.str,
@@ -2222,6 +2550,28 @@ def _typecheckingstub__fa0678eca2188c6c3220d708f7d16298acecab165f03de8b400d1fada
2222
2550
  """Type checking stubs"""
2223
2551
  pass
2224
2552
 
2553
+ def _typecheckingstub__cce5991812152322bf70db3d7cea0d7bb3cda26bb6b0e82d9bd091ef05995168(
2554
+ *,
2555
+ cloud_watch_logs: typing.Union[_IResolvable_da3f097b, typing.Union[CfnWorkspace.CloudWatchLogDestinationProperty, typing.Dict[builtins.str, typing.Any]]],
2556
+ filters: typing.Union[_IResolvable_da3f097b, typing.Union[CfnWorkspace.LoggingFilterProperty, typing.Dict[builtins.str, typing.Any]]],
2557
+ ) -> None:
2558
+ """Type checking stubs"""
2559
+ pass
2560
+
2561
+ def _typecheckingstub__8f1710f9a533b3c78aa9735866c9480208fe7ceb912d68581872b145d4c634fd(
2562
+ *,
2563
+ qsp_threshold: jsii.Number,
2564
+ ) -> None:
2565
+ """Type checking stubs"""
2566
+ pass
2567
+
2568
+ def _typecheckingstub__59e9b7a5bb1ecf6d3e6bf0c4d2f497bea98d1fe68b36d502a98c9b336781a58a(
2569
+ *,
2570
+ destinations: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWorkspace.LoggingDestinationProperty, typing.Dict[builtins.str, typing.Any]]]]],
2571
+ ) -> None:
2572
+ """Type checking stubs"""
2573
+ pass
2574
+
2225
2575
  def _typecheckingstub__8d8bd4b9a39be1594ef4681992e92f89f24816c775c0e0c40e340be13e59392a(
2226
2576
  *,
2227
2577
  limits_per_label_sets: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWorkspace.LimitsPerLabelSetProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
@@ -2236,6 +2586,7 @@ def _typecheckingstub__98e95bd874171795b8c6f6104e5fee9fa1d8f50cb6e1edc6d2cc01a77
2236
2586
  alias: typing.Optional[builtins.str] = None,
2237
2587
  kms_key_arn: typing.Optional[builtins.str] = None,
2238
2588
  logging_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWorkspace.LoggingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
2589
+ query_logging_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWorkspace.QueryLoggingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
2239
2590
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
2240
2591
  workspace_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWorkspace.WorkspaceConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
2241
2592
  ) -> None:
@@ -1061,7 +1061,7 @@ class AdjustmentTier:
1061
1061
  ) -> None:
1062
1062
  '''An adjustment.
1063
1063
 
1064
- :param adjustment: What number to adjust the capacity with. The number is interpeted as an added capacity, a new fixed capacity or an added percentage depending on the AdjustmentType value of the StepScalingPolicy. Can be positive or negative.
1064
+ :param adjustment: What number to adjust the capacity with. The number is interpreted as an added capacity, a new fixed capacity or an added percentage depending on the AdjustmentType value of the StepScalingPolicy. Can be positive or negative.
1065
1065
  :param lower_bound: Lower bound where this scaling tier applies. The scaling tier applies if the difference between the metric value and its alarm threshold is higher than this value. Default: -Infinity if this is the first tier, otherwise the upperBound of the previous tier
1066
1066
  :param upper_bound: Upper bound where this scaling tier applies. The scaling tier applies if the difference between the metric value and its alarm threshold is lower than this value. Default: +Infinity
1067
1067
 
@@ -1098,7 +1098,7 @@ class AdjustmentTier:
1098
1098
  def adjustment(self) -> jsii.Number:
1099
1099
  '''What number to adjust the capacity with.
1100
1100
 
1101
- The number is interpeted as an added capacity, a new fixed capacity or an
1101
+ The number is interpreted as an added capacity, a new fixed capacity or an
1102
1102
  added percentage depending on the AdjustmentType value of the
1103
1103
  StepScalingPolicy.
1104
1104
 
@@ -18238,9 +18238,9 @@ class StepScalingAction(
18238
18238
  lower_bound: typing.Optional[jsii.Number] = None,
18239
18239
  upper_bound: typing.Optional[jsii.Number] = None,
18240
18240
  ) -> None:
18241
- '''Add an adjusment interval to the ScalingAction.
18241
+ '''Add an adjustment interval to the ScalingAction.
18242
18242
 
18243
- :param adjustment: What number to adjust the capacity with. The number is interpeted as an added capacity, a new fixed capacity or an added percentage depending on the AdjustmentType value of the StepScalingPolicy. Can be positive or negative.
18243
+ :param adjustment: What number to adjust the capacity with. The number is interpreted as an added capacity, a new fixed capacity or an added percentage depending on the AdjustmentType value of the StepScalingPolicy. Can be positive or negative.
18244
18244
  :param lower_bound: Lower bound where this scaling tier applies. The scaling tier applies if the difference between the metric value and its alarm threshold is higher than this value. Default: -Infinity if this is the first tier, otherwise the upperBound of the previous tier
18245
18245
  :param upper_bound: Upper bound where this scaling tier applies. The scaling tier applies if the difference between the metric value and its alarm threshold is lower than this value. Default: +Infinity
18246
18246
  '''