aws-cdk-lib 2.167.2__py3-none-any.whl → 2.168.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 (44) hide show
  1. aws_cdk/__init__.py +2081 -0
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.167.2.jsii.tgz → aws-cdk-lib@2.168.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_applicationautoscaling/__init__.py +1691 -95
  5. aws_cdk/aws_applicationinsights/__init__.py +41 -0
  6. aws_cdk/aws_applicationsignals/__init__.py +117 -0
  7. aws_cdk/aws_autoscaling/__init__.py +441 -6
  8. aws_cdk/aws_batch/__init__.py +202 -5
  9. aws_cdk/aws_bedrock/__init__.py +12 -12
  10. aws_cdk/aws_cleanrooms/__init__.py +17 -8
  11. aws_cdk/aws_cloudformation/__init__.py +2571 -492
  12. aws_cdk/aws_cloudfront/__init__.py +231 -0
  13. aws_cdk/aws_cloudfront/experimental/__init__.py +5 -0
  14. aws_cdk/aws_cloudfront_origins/__init__.py +714 -132
  15. aws_cdk/aws_cloudtrail/__init__.py +52 -14
  16. aws_cdk/aws_codebuild/__init__.py +668 -2
  17. aws_cdk/aws_connectcampaignsv2/__init__.py +3376 -0
  18. aws_cdk/aws_dynamodb/__init__.py +332 -11
  19. aws_cdk/aws_ec2/__init__.py +13 -4
  20. aws_cdk/aws_ecs/__init__.py +213 -0
  21. aws_cdk/aws_elasticloadbalancingv2/__init__.py +160 -11
  22. aws_cdk/aws_fis/__init__.py +495 -0
  23. aws_cdk/aws_gamelift/__init__.py +3101 -1135
  24. aws_cdk/aws_kinesisfirehose/__init__.py +696 -5
  25. aws_cdk/aws_lambda/__init__.py +634 -259
  26. aws_cdk/aws_lambda_destinations/__init__.py +73 -0
  27. aws_cdk/aws_lambda_event_sources/__init__.py +102 -2
  28. aws_cdk/aws_location/__init__.py +18 -18
  29. aws_cdk/aws_mediastore/__init__.py +22 -10
  30. aws_cdk/aws_opensearchservice/__init__.py +6 -0
  31. aws_cdk/aws_quicksight/__init__.py +35 -19
  32. aws_cdk/aws_rds/__init__.py +51 -3
  33. aws_cdk/aws_securityhub/__init__.py +11 -14
  34. aws_cdk/aws_ses/__init__.py +58 -5
  35. aws_cdk/aws_stepfunctions_tasks/__init__.py +1601 -8
  36. aws_cdk/aws_transfer/__init__.py +0 -8
  37. aws_cdk/aws_vpclattice/__init__.py +39 -0
  38. aws_cdk/aws_wisdom/__init__.py +134 -85
  39. {aws_cdk_lib-2.167.2.dist-info → aws_cdk_lib-2.168.0.dist-info}/METADATA +1 -1
  40. {aws_cdk_lib-2.167.2.dist-info → aws_cdk_lib-2.168.0.dist-info}/RECORD +44 -43
  41. {aws_cdk_lib-2.167.2.dist-info → aws_cdk_lib-2.168.0.dist-info}/LICENSE +0 -0
  42. {aws_cdk_lib-2.167.2.dist-info → aws_cdk_lib-2.168.0.dist-info}/NOTICE +0 -0
  43. {aws_cdk_lib-2.167.2.dist-info → aws_cdk_lib-2.168.0.dist-info}/WHEEL +0 -0
  44. {aws_cdk_lib-2.167.2.dist-info → aws_cdk_lib-2.168.0.dist-info}/top_level.txt +0 -0
@@ -307,6 +307,7 @@ class CfnApplication(
307
307
  )],
308
308
  ops_center_enabled=False,
309
309
  ops_item_sns_topic_arn="opsItemSnsTopicArn",
310
+ sns_notification_arn="snsNotificationArn",
310
311
  tags=[CfnTag(
311
312
  key="key",
312
313
  value="value"
@@ -329,6 +330,7 @@ class CfnApplication(
329
330
  log_pattern_sets: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnApplication.LogPatternSetProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
330
331
  ops_center_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
331
332
  ops_item_sns_topic_arn: typing.Optional[builtins.str] = None,
333
+ sns_notification_arn: typing.Optional[builtins.str] = None,
332
334
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
333
335
  ) -> None:
334
336
  '''
@@ -344,6 +346,7 @@ class CfnApplication(
344
346
  :param log_pattern_sets: The log pattern sets.
345
347
  :param ops_center_enabled: Indicates whether Application Insights will create OpsItems for any problem that is detected by Application Insights for an application.
346
348
  :param ops_item_sns_topic_arn: The SNS topic provided to Application Insights that is associated with the created OpsItems to receive SNS notifications for opsItem updates.
349
+ :param sns_notification_arn: The SNS topic ARN that is associated with SNS notifications for updates or issues.
347
350
  :param tags: An array of ``Tags`` .
348
351
  '''
349
352
  if __debug__:
@@ -361,6 +364,7 @@ class CfnApplication(
361
364
  log_pattern_sets=log_pattern_sets,
362
365
  ops_center_enabled=ops_center_enabled,
363
366
  ops_item_sns_topic_arn=ops_item_sns_topic_arn,
367
+ sns_notification_arn=sns_notification_arn,
364
368
  tags=tags,
365
369
  )
366
370
 
@@ -581,6 +585,19 @@ class CfnApplication(
581
585
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
582
586
  jsii.set(self, "opsItemSnsTopicArn", value) # pyright: ignore[reportArgumentType]
583
587
 
588
+ @builtins.property
589
+ @jsii.member(jsii_name="snsNotificationArn")
590
+ def sns_notification_arn(self) -> typing.Optional[builtins.str]:
591
+ '''The SNS topic ARN that is associated with SNS notifications for updates or issues.'''
592
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "snsNotificationArn"))
593
+
594
+ @sns_notification_arn.setter
595
+ def sns_notification_arn(self, value: typing.Optional[builtins.str]) -> None:
596
+ if __debug__:
597
+ type_hints = typing.get_type_hints(_typecheckingstub__6aad8a6b1824dde01367a1ee7e0eb9daaef62d50907b859bfa448b68bd654952)
598
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
599
+ jsii.set(self, "snsNotificationArn", value) # pyright: ignore[reportArgumentType]
600
+
584
601
  @builtins.property
585
602
  @jsii.member(jsii_name="tagsRaw")
586
603
  def tags_raw(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
@@ -2802,6 +2819,7 @@ class CfnApplication(
2802
2819
  "log_pattern_sets": "logPatternSets",
2803
2820
  "ops_center_enabled": "opsCenterEnabled",
2804
2821
  "ops_item_sns_topic_arn": "opsItemSnsTopicArn",
2822
+ "sns_notification_arn": "snsNotificationArn",
2805
2823
  "tags": "tags",
2806
2824
  },
2807
2825
  )
@@ -2819,6 +2837,7 @@ class CfnApplicationProps:
2819
2837
  log_pattern_sets: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.LogPatternSetProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
2820
2838
  ops_center_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
2821
2839
  ops_item_sns_topic_arn: typing.Optional[builtins.str] = None,
2840
+ sns_notification_arn: typing.Optional[builtins.str] = None,
2822
2841
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
2823
2842
  ) -> None:
2824
2843
  '''Properties for defining a ``CfnApplication``.
@@ -2833,6 +2852,7 @@ class CfnApplicationProps:
2833
2852
  :param log_pattern_sets: The log pattern sets.
2834
2853
  :param ops_center_enabled: Indicates whether Application Insights will create OpsItems for any problem that is detected by Application Insights for an application.
2835
2854
  :param ops_item_sns_topic_arn: The SNS topic provided to Application Insights that is associated with the created OpsItems to receive SNS notifications for opsItem updates.
2855
+ :param sns_notification_arn: The SNS topic ARN that is associated with SNS notifications for updates or issues.
2836
2856
  :param tags: An array of ``Tags`` .
2837
2857
 
2838
2858
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationinsights-application.html
@@ -3064,6 +3084,7 @@ class CfnApplicationProps:
3064
3084
  )],
3065
3085
  ops_center_enabled=False,
3066
3086
  ops_item_sns_topic_arn="opsItemSnsTopicArn",
3087
+ sns_notification_arn="snsNotificationArn",
3067
3088
  tags=[CfnTag(
3068
3089
  key="key",
3069
3090
  value="value"
@@ -3082,6 +3103,7 @@ class CfnApplicationProps:
3082
3103
  check_type(argname="argument log_pattern_sets", value=log_pattern_sets, expected_type=type_hints["log_pattern_sets"])
3083
3104
  check_type(argname="argument ops_center_enabled", value=ops_center_enabled, expected_type=type_hints["ops_center_enabled"])
3084
3105
  check_type(argname="argument ops_item_sns_topic_arn", value=ops_item_sns_topic_arn, expected_type=type_hints["ops_item_sns_topic_arn"])
3106
+ check_type(argname="argument sns_notification_arn", value=sns_notification_arn, expected_type=type_hints["sns_notification_arn"])
3085
3107
  check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
3086
3108
  self._values: typing.Dict[builtins.str, typing.Any] = {
3087
3109
  "resource_group_name": resource_group_name,
@@ -3104,6 +3126,8 @@ class CfnApplicationProps:
3104
3126
  self._values["ops_center_enabled"] = ops_center_enabled
3105
3127
  if ops_item_sns_topic_arn is not None:
3106
3128
  self._values["ops_item_sns_topic_arn"] = ops_item_sns_topic_arn
3129
+ if sns_notification_arn is not None:
3130
+ self._values["sns_notification_arn"] = sns_notification_arn
3107
3131
  if tags is not None:
3108
3132
  self._values["tags"] = tags
3109
3133
 
@@ -3216,6 +3240,15 @@ class CfnApplicationProps:
3216
3240
  result = self._values.get("ops_item_sns_topic_arn")
3217
3241
  return typing.cast(typing.Optional[builtins.str], result)
3218
3242
 
3243
+ @builtins.property
3244
+ def sns_notification_arn(self) -> typing.Optional[builtins.str]:
3245
+ '''The SNS topic ARN that is associated with SNS notifications for updates or issues.
3246
+
3247
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationinsights-application.html#cfn-applicationinsights-application-snsnotificationarn
3248
+ '''
3249
+ result = self._values.get("sns_notification_arn")
3250
+ return typing.cast(typing.Optional[builtins.str], result)
3251
+
3219
3252
  @builtins.property
3220
3253
  def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
3221
3254
  '''An array of ``Tags`` .
@@ -3258,6 +3291,7 @@ def _typecheckingstub__4243897a1b09da007f04bd9d10c5c58049449cf0c6e94f1290a6e466b
3258
3291
  log_pattern_sets: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.LogPatternSetProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
3259
3292
  ops_center_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
3260
3293
  ops_item_sns_topic_arn: typing.Optional[builtins.str] = None,
3294
+ sns_notification_arn: typing.Optional[builtins.str] = None,
3261
3295
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
3262
3296
  ) -> None:
3263
3297
  """Type checking stubs"""
@@ -3335,6 +3369,12 @@ def _typecheckingstub__534fdd5b3ea185943b0c3ba472105f4fe575891b709fcfde6c8ac83a5
3335
3369
  """Type checking stubs"""
3336
3370
  pass
3337
3371
 
3372
+ def _typecheckingstub__6aad8a6b1824dde01367a1ee7e0eb9daaef62d50907b859bfa448b68bd654952(
3373
+ value: typing.Optional[builtins.str],
3374
+ ) -> None:
3375
+ """Type checking stubs"""
3376
+ pass
3377
+
3338
3378
  def _typecheckingstub__d3968f9830f62362b22c2014663f1301019810cda56a0b7635f533d5603aa304(
3339
3379
  value: typing.Optional[typing.List[_CfnTag_f6864754]],
3340
3380
  ) -> None:
@@ -3520,6 +3560,7 @@ def _typecheckingstub__8cffa09a5f66aca30b2e15034c06662c459b8bc4a4b3a9e705762d124
3520
3560
  log_pattern_sets: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.LogPatternSetProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
3521
3561
  ops_center_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
3522
3562
  ops_item_sns_topic_arn: typing.Optional[builtins.str] = None,
3563
+ sns_notification_arn: typing.Optional[builtins.str] = None,
3523
3564
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
3524
3565
  ) -> None:
3525
3566
  """Type checking stubs"""
@@ -139,6 +139,9 @@ class CfnServiceLevelObjective(
139
139
  name="name",
140
140
 
141
141
  # the properties below are optional
142
+ burn_rate_configurations=[applicationsignals.CfnServiceLevelObjective.BurnRateConfigurationProperty(
143
+ look_back_window_minutes=123
144
+ )],
142
145
  description="description",
143
146
  goal=applicationsignals.CfnServiceLevelObjective.GoalProperty(
144
147
  attainment_goal=123,
@@ -288,6 +291,7 @@ class CfnServiceLevelObjective(
288
291
  id: builtins.str,
289
292
  *,
290
293
  name: builtins.str,
294
+ burn_rate_configurations: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnServiceLevelObjective.BurnRateConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
291
295
  description: typing.Optional[builtins.str] = None,
292
296
  goal: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnServiceLevelObjective.GoalProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
293
297
  request_based_sli: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnServiceLevelObjective.RequestBasedSliProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
@@ -298,6 +302,7 @@ class CfnServiceLevelObjective(
298
302
  :param scope: Scope in which this resource is defined.
299
303
  :param id: Construct identifier for this resource (unique in its scope).
300
304
  :param name: A name for this SLO.
305
+ :param burn_rate_configurations: Each object in this array defines the length of the look-back window used to calculate one burn rate metric for this SLO. The burn rate measures how fast the service is consuming the error budget, relative to the attainment goal of the SLO.
301
306
  :param description: An optional description for this SLO. Default: - "No description"
302
307
  :param goal: This structure contains the attributes that determine the goal of an SLO. This includes the time period for evaluation and the attainment threshold.
303
308
  :param request_based_sli: A structure containing information about the performance metric that this SLO monitors, if this is a request-based SLO.
@@ -310,6 +315,7 @@ class CfnServiceLevelObjective(
310
315
  check_type(argname="argument id", value=id, expected_type=type_hints["id"])
311
316
  props = CfnServiceLevelObjectiveProps(
312
317
  name=name,
318
+ burn_rate_configurations=burn_rate_configurations,
313
319
  description=description,
314
320
  goal=goal,
315
321
  request_based_sli=request_based_sli,
@@ -409,6 +415,24 @@ class CfnServiceLevelObjective(
409
415
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
410
416
  jsii.set(self, "name", value) # pyright: ignore[reportArgumentType]
411
417
 
418
+ @builtins.property
419
+ @jsii.member(jsii_name="burnRateConfigurations")
420
+ def burn_rate_configurations(
421
+ self,
422
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnServiceLevelObjective.BurnRateConfigurationProperty"]]]]:
423
+ '''Each object in this array defines the length of the look-back window used to calculate one burn rate metric for this SLO.'''
424
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnServiceLevelObjective.BurnRateConfigurationProperty"]]]], jsii.get(self, "burnRateConfigurations"))
425
+
426
+ @burn_rate_configurations.setter
427
+ def burn_rate_configurations(
428
+ self,
429
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnServiceLevelObjective.BurnRateConfigurationProperty"]]]],
430
+ ) -> None:
431
+ if __debug__:
432
+ type_hints = typing.get_type_hints(_typecheckingstub__485d9b0fd57b50948a9f2d1207185ec9c2cc9dfe96eec7b166b7ededffcad772)
433
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
434
+ jsii.set(self, "burnRateConfigurations", value) # pyright: ignore[reportArgumentType]
435
+
412
436
  @builtins.property
413
437
  @jsii.member(jsii_name="description")
414
438
  def description(self) -> typing.Optional[builtins.str]:
@@ -489,6 +513,62 @@ class CfnServiceLevelObjective(
489
513
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
490
514
  jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
491
515
 
516
+ @jsii.data_type(
517
+ jsii_type="aws-cdk-lib.aws_applicationsignals.CfnServiceLevelObjective.BurnRateConfigurationProperty",
518
+ jsii_struct_bases=[],
519
+ name_mapping={"look_back_window_minutes": "lookBackWindowMinutes"},
520
+ )
521
+ class BurnRateConfigurationProperty:
522
+ def __init__(self, *, look_back_window_minutes: jsii.Number) -> None:
523
+ '''This object defines the length of the look-back window used to calculate one burn rate metric for this SLO.
524
+
525
+ The burn rate measures how fast the service is consuming the error budget, relative to the attainment goal of the SLO. A burn rate of exactly 1 indicates that the SLO goal will be met exactly.
526
+ For example, if you specify 60 as the number of minutes in the look-back window, the burn rate is calculated as the following:
527
+ burn rate = error rate over the look-back window / (1 - attainment goal percentage)
528
+
529
+ :param look_back_window_minutes: The number of minutes to use as the look-back window.
530
+
531
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationsignals-servicelevelobjective-burnrateconfiguration.html
532
+ :exampleMetadata: fixture=_generated
533
+
534
+ Example::
535
+
536
+ # The code below shows an example of how to instantiate this type.
537
+ # The values are placeholders you should change.
538
+ from aws_cdk import aws_applicationsignals as applicationsignals
539
+
540
+ burn_rate_configuration_property = applicationsignals.CfnServiceLevelObjective.BurnRateConfigurationProperty(
541
+ look_back_window_minutes=123
542
+ )
543
+ '''
544
+ if __debug__:
545
+ type_hints = typing.get_type_hints(_typecheckingstub__6b8bb721cb69256e1874ed2434c876ca06e731c0455e767d0cf32adcf3a13207)
546
+ check_type(argname="argument look_back_window_minutes", value=look_back_window_minutes, expected_type=type_hints["look_back_window_minutes"])
547
+ self._values: typing.Dict[builtins.str, typing.Any] = {
548
+ "look_back_window_minutes": look_back_window_minutes,
549
+ }
550
+
551
+ @builtins.property
552
+ def look_back_window_minutes(self) -> jsii.Number:
553
+ '''The number of minutes to use as the look-back window.
554
+
555
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationsignals-servicelevelobjective-burnrateconfiguration.html#cfn-applicationsignals-servicelevelobjective-burnrateconfiguration-lookbackwindowminutes
556
+ '''
557
+ result = self._values.get("look_back_window_minutes")
558
+ assert result is not None, "Required property 'look_back_window_minutes' is missing"
559
+ return typing.cast(jsii.Number, result)
560
+
561
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
562
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
563
+
564
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
565
+ return not (rhs == self)
566
+
567
+ def __repr__(self) -> str:
568
+ return "BurnRateConfigurationProperty(%s)" % ", ".join(
569
+ k + "=" + repr(v) for k, v in self._values.items()
570
+ )
571
+
492
572
  @jsii.data_type(
493
573
  jsii_type="aws-cdk-lib.aws_applicationsignals.CfnServiceLevelObjective.CalendarIntervalProperty",
494
574
  jsii_struct_bases=[],
@@ -2126,6 +2206,7 @@ class CfnServiceLevelObjective(
2126
2206
  jsii_struct_bases=[],
2127
2207
  name_mapping={
2128
2208
  "name": "name",
2209
+ "burn_rate_configurations": "burnRateConfigurations",
2129
2210
  "description": "description",
2130
2211
  "goal": "goal",
2131
2212
  "request_based_sli": "requestBasedSli",
@@ -2138,6 +2219,7 @@ class CfnServiceLevelObjectiveProps:
2138
2219
  self,
2139
2220
  *,
2140
2221
  name: builtins.str,
2222
+ burn_rate_configurations: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnServiceLevelObjective.BurnRateConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
2141
2223
  description: typing.Optional[builtins.str] = None,
2142
2224
  goal: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnServiceLevelObjective.GoalProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
2143
2225
  request_based_sli: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnServiceLevelObjective.RequestBasedSliProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
@@ -2147,6 +2229,7 @@ class CfnServiceLevelObjectiveProps:
2147
2229
  '''Properties for defining a ``CfnServiceLevelObjective``.
2148
2230
 
2149
2231
  :param name: A name for this SLO.
2232
+ :param burn_rate_configurations: Each object in this array defines the length of the look-back window used to calculate one burn rate metric for this SLO. The burn rate measures how fast the service is consuming the error budget, relative to the attainment goal of the SLO.
2150
2233
  :param description: An optional description for this SLO. Default: - "No description"
2151
2234
  :param goal: This structure contains the attributes that determine the goal of an SLO. This includes the time period for evaluation and the attainment threshold.
2152
2235
  :param request_based_sli: A structure containing information about the performance metric that this SLO monitors, if this is a request-based SLO.
@@ -2166,6 +2249,9 @@ class CfnServiceLevelObjectiveProps:
2166
2249
  name="name",
2167
2250
 
2168
2251
  # the properties below are optional
2252
+ burn_rate_configurations=[applicationsignals.CfnServiceLevelObjective.BurnRateConfigurationProperty(
2253
+ look_back_window_minutes=123
2254
+ )],
2169
2255
  description="description",
2170
2256
  goal=applicationsignals.CfnServiceLevelObjective.GoalProperty(
2171
2257
  attainment_goal=123,
@@ -2311,6 +2397,7 @@ class CfnServiceLevelObjectiveProps:
2311
2397
  if __debug__:
2312
2398
  type_hints = typing.get_type_hints(_typecheckingstub__8a302456885343cc9ce5e0497feed773de1ef0f44e2934f97458bfdc5a810dee)
2313
2399
  check_type(argname="argument name", value=name, expected_type=type_hints["name"])
2400
+ check_type(argname="argument burn_rate_configurations", value=burn_rate_configurations, expected_type=type_hints["burn_rate_configurations"])
2314
2401
  check_type(argname="argument description", value=description, expected_type=type_hints["description"])
2315
2402
  check_type(argname="argument goal", value=goal, expected_type=type_hints["goal"])
2316
2403
  check_type(argname="argument request_based_sli", value=request_based_sli, expected_type=type_hints["request_based_sli"])
@@ -2319,6 +2406,8 @@ class CfnServiceLevelObjectiveProps:
2319
2406
  self._values: typing.Dict[builtins.str, typing.Any] = {
2320
2407
  "name": name,
2321
2408
  }
2409
+ if burn_rate_configurations is not None:
2410
+ self._values["burn_rate_configurations"] = burn_rate_configurations
2322
2411
  if description is not None:
2323
2412
  self._values["description"] = description
2324
2413
  if goal is not None:
@@ -2340,6 +2429,19 @@ class CfnServiceLevelObjectiveProps:
2340
2429
  assert result is not None, "Required property 'name' is missing"
2341
2430
  return typing.cast(builtins.str, result)
2342
2431
 
2432
+ @builtins.property
2433
+ def burn_rate_configurations(
2434
+ self,
2435
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnServiceLevelObjective.BurnRateConfigurationProperty]]]]:
2436
+ '''Each object in this array defines the length of the look-back window used to calculate one burn rate metric for this SLO.
2437
+
2438
+ The burn rate measures how fast the service is consuming the error budget, relative to the attainment goal of the SLO.
2439
+
2440
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationsignals-servicelevelobjective.html#cfn-applicationsignals-servicelevelobjective-burnrateconfigurations
2441
+ '''
2442
+ result = self._values.get("burn_rate_configurations")
2443
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnServiceLevelObjective.BurnRateConfigurationProperty]]]], result)
2444
+
2343
2445
  @builtins.property
2344
2446
  def description(self) -> typing.Optional[builtins.str]:
2345
2447
  '''An optional description for this SLO.
@@ -2423,6 +2525,7 @@ def _typecheckingstub__8476d024be5b448cfb8f9ae2f80fa7f2083296f712cdb7cd12e69365d
2423
2525
  id: builtins.str,
2424
2526
  *,
2425
2527
  name: builtins.str,
2528
+ burn_rate_configurations: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnServiceLevelObjective.BurnRateConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
2426
2529
  description: typing.Optional[builtins.str] = None,
2427
2530
  goal: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnServiceLevelObjective.GoalProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
2428
2531
  request_based_sli: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnServiceLevelObjective.RequestBasedSliProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
@@ -2450,6 +2553,12 @@ def _typecheckingstub__e7d1b42972f3b8a4430dca27e7ecab3fce56490ad1edcfabdc346becf
2450
2553
  """Type checking stubs"""
2451
2554
  pass
2452
2555
 
2556
+ def _typecheckingstub__485d9b0fd57b50948a9f2d1207185ec9c2cc9dfe96eec7b166b7ededffcad772(
2557
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnServiceLevelObjective.BurnRateConfigurationProperty]]]],
2558
+ ) -> None:
2559
+ """Type checking stubs"""
2560
+ pass
2561
+
2453
2562
  def _typecheckingstub__c6761a51565a6d9d6b93723803df5fa7735ec11aa5f14c9cc222e4e60eb54506(
2454
2563
  value: typing.Optional[builtins.str],
2455
2564
  ) -> None:
@@ -2480,6 +2589,13 @@ def _typecheckingstub__45578973503123093d3b0c8f845e2df0c9ad023b7df510f3a7b7ee7ab
2480
2589
  """Type checking stubs"""
2481
2590
  pass
2482
2591
 
2592
+ def _typecheckingstub__6b8bb721cb69256e1874ed2434c876ca06e731c0455e767d0cf32adcf3a13207(
2593
+ *,
2594
+ look_back_window_minutes: jsii.Number,
2595
+ ) -> None:
2596
+ """Type checking stubs"""
2597
+ pass
2598
+
2483
2599
  def _typecheckingstub__bb256cb6878f107649da0ff6e94d5a653ad8e2c683a434ba458525e129419535(
2484
2600
  *,
2485
2601
  duration: jsii.Number,
@@ -2604,6 +2720,7 @@ def _typecheckingstub__fcb2d383c03844ff1706f4720c7bf04c5a00252d1e49f3ecb2c00c22b
2604
2720
  def _typecheckingstub__8a302456885343cc9ce5e0497feed773de1ef0f44e2934f97458bfdc5a810dee(
2605
2721
  *,
2606
2722
  name: builtins.str,
2723
+ burn_rate_configurations: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnServiceLevelObjective.BurnRateConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
2607
2724
  description: typing.Optional[builtins.str] = None,
2608
2725
  goal: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnServiceLevelObjective.GoalProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
2609
2726
  request_based_sli: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnServiceLevelObjective.RequestBasedSliProperty, typing.Dict[builtins.str, typing.Any]]]] = None,