aws-cdk-lib 2.168.0__py3-none-any.whl → 2.170.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.
Files changed (40) hide show
  1. aws_cdk/__init__.py +2 -0
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.168.0.jsii.tgz → aws-cdk-lib@2.170.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_accessanalyzer/__init__.py +244 -13
  5. aws_cdk/aws_applicationsignals/__init__.py +8 -1
  6. aws_cdk/aws_autoscaling/__init__.py +310 -9
  7. aws_cdk/aws_cloudfront/__init__.py +50 -0
  8. aws_cdk/aws_cloudfront/experimental/__init__.py +5 -0
  9. aws_cdk/aws_codebuild/__init__.py +2 -2
  10. aws_cdk/aws_connect/__init__.py +378 -0
  11. aws_cdk/aws_customerprofiles/__init__.py +44 -0
  12. aws_cdk/aws_deadline/__init__.py +299 -6
  13. aws_cdk/aws_dynamodb/__init__.py +47 -25
  14. aws_cdk/aws_ec2/__init__.py +6 -2
  15. aws_cdk/aws_ecs/__init__.py +28 -22
  16. aws_cdk/aws_efs/__init__.py +61 -4
  17. aws_cdk/aws_eks/__init__.py +116 -0
  18. aws_cdk/aws_gamelift/__init__.py +385 -251
  19. aws_cdk/aws_iot/__init__.py +209 -0
  20. aws_cdk/aws_iotfleetwise/__init__.py +550 -0
  21. aws_cdk/aws_iotsitewise/__init__.py +6 -3
  22. aws_cdk/aws_ivs/__init__.py +458 -0
  23. aws_cdk/aws_kinesisfirehose/__init__.py +90 -33
  24. aws_cdk/aws_lambda/__init__.py +150 -6
  25. aws_cdk/aws_lambda_event_sources/__init__.py +298 -1
  26. aws_cdk/aws_rbin/__init__.py +902 -0
  27. aws_cdk/aws_rds/__init__.py +115 -0
  28. aws_cdk/aws_route53resolver/__init__.py +76 -19
  29. aws_cdk/aws_sagemaker/__init__.py +32 -0
  30. aws_cdk/aws_sns/__init__.py +593 -8
  31. aws_cdk/aws_sns_subscriptions/__init__.py +68 -22
  32. aws_cdk/aws_synthetics/__init__.py +46 -0
  33. aws_cdk/aws_vpclattice/__init__.py +118 -2
  34. aws_cdk/aws_wisdom/__init__.py +16 -21
  35. {aws_cdk_lib-2.168.0.dist-info → aws_cdk_lib-2.170.0.dist-info}/METADATA +1 -1
  36. {aws_cdk_lib-2.168.0.dist-info → aws_cdk_lib-2.170.0.dist-info}/RECORD +40 -39
  37. {aws_cdk_lib-2.168.0.dist-info → aws_cdk_lib-2.170.0.dist-info}/LICENSE +0 -0
  38. {aws_cdk_lib-2.168.0.dist-info → aws_cdk_lib-2.170.0.dist-info}/NOTICE +0 -0
  39. {aws_cdk_lib-2.168.0.dist-info → aws_cdk_lib-2.170.0.dist-info}/WHEEL +0 -0
  40. {aws_cdk_lib-2.168.0.dist-info → aws_cdk_lib-2.170.0.dist-info}/top_level.txt +0 -0
@@ -2381,6 +2381,15 @@ class CfnAutoScalingGroup(
2381
2381
  ),
2382
2382
  availability_zones=["availabilityZones"],
2383
2383
  capacity_rebalance=False,
2384
+ capacity_reservation_specification=autoscaling.CfnAutoScalingGroup.CapacityReservationSpecificationProperty(
2385
+ capacity_reservation_preference="capacityReservationPreference",
2386
+
2387
+ # the properties below are optional
2388
+ capacity_reservation_target=autoscaling.CfnAutoScalingGroup.CapacityReservationTargetProperty(
2389
+ capacity_reservation_ids=["capacityReservationIds"],
2390
+ capacity_reservation_resource_group_arns=["capacityReservationResourceGroupArns"]
2391
+ )
2392
+ ),
2384
2393
  context="context",
2385
2394
  cooldown="cooldown",
2386
2395
  default_instance_warmup=123,
@@ -2559,6 +2568,7 @@ class CfnAutoScalingGroup(
2559
2568
  availability_zone_impairment_policy: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAutoScalingGroup.AvailabilityZoneImpairmentPolicyProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
2560
2569
  availability_zones: typing.Optional[typing.Sequence[builtins.str]] = None,
2561
2570
  capacity_rebalance: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
2571
+ capacity_reservation_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAutoScalingGroup.CapacityReservationSpecificationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
2562
2572
  context: typing.Optional[builtins.str] = None,
2563
2573
  cooldown: typing.Optional[builtins.str] = None,
2564
2574
  default_instance_warmup: typing.Optional[jsii.Number] = None,
@@ -2594,9 +2604,10 @@ class CfnAutoScalingGroup(
2594
2604
  :param min_size: The minimum size of the group.
2595
2605
  :param auto_scaling_group_name: The name of the Auto Scaling group. This name must be unique per Region per account. The name can contain any ASCII character 33 to 126 including most punctuation characters, digits, and upper and lowercased letters. .. epigraph:: You cannot use a colon (:) in the name.
2596
2606
  :param availability_zone_distribution: The instance capacity distribution across Availability Zones.
2597
- :param availability_zone_impairment_policy:
2607
+ :param availability_zone_impairment_policy: The Availability Zone impairment policy.
2598
2608
  :param availability_zones: A list of Availability Zones where instances in the Auto Scaling group can be created. Used for launching into the default VPC subnet in each Availability Zone when not using the ``VPCZoneIdentifier`` property, or for attaching a network interface when an existing network interface ID is specified in a launch template.
2599
2609
  :param capacity_rebalance: Indicates whether Capacity Rebalancing is enabled. Otherwise, Capacity Rebalancing is disabled. When you turn on Capacity Rebalancing, Amazon EC2 Auto Scaling attempts to launch a Spot Instance whenever Amazon EC2 notifies that a Spot Instance is at an elevated risk of interruption. After launching a new instance, it then terminates an old instance. For more information, see `Use Capacity Rebalancing to handle Amazon EC2 Spot Interruptions <https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-capacity-rebalancing.html>`_ in the in the *Amazon EC2 Auto Scaling User Guide* .
2610
+ :param capacity_reservation_specification:
2600
2611
  :param context: Reserved.
2601
2612
  :param cooldown: *Only needed if you use simple scaling policies.*. The amount of time, in seconds, between one scaling activity ending and another one starting due to simple scaling policies. For more information, see `Scaling cooldowns for Amazon EC2 Auto Scaling <https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-scaling-cooldowns.html>`_ in the *Amazon EC2 Auto Scaling User Guide* . Default: ``300`` seconds
2602
2613
  :param default_instance_warmup: The amount of time, in seconds, until a new instance is considered to have finished initializing and resource consumption to become stable after it enters the ``InService`` state. During an instance refresh, Amazon EC2 Auto Scaling waits for the warm-up period after it replaces an instance before it moves on to replacing the next instance. Amazon EC2 Auto Scaling also waits for the warm-up period before aggregating the metrics for new instances with existing instances in the Amazon CloudWatch metrics that are used for scaling, resulting in more reliable usage data. For more information, see `Set the default instance warmup for an Auto Scaling group <https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-default-instance-warmup.html>`_ in the *Amazon EC2 Auto Scaling User Guide* . .. epigraph:: To manage various warm-up settings at the group level, we recommend that you set the default instance warmup, *even if it is set to 0 seconds* . To remove a value that you previously set, include the property but specify ``-1`` for the value. However, we strongly recommend keeping the default instance warmup enabled by specifying a value of ``0`` or other nominal value. Default: None
@@ -2637,6 +2648,7 @@ class CfnAutoScalingGroup(
2637
2648
  availability_zone_impairment_policy=availability_zone_impairment_policy,
2638
2649
  availability_zones=availability_zones,
2639
2650
  capacity_rebalance=capacity_rebalance,
2651
+ capacity_reservation_specification=capacity_reservation_specification,
2640
2652
  context=context,
2641
2653
  cooldown=cooldown,
2642
2654
  default_instance_warmup=default_instance_warmup,
@@ -2774,6 +2786,7 @@ class CfnAutoScalingGroup(
2774
2786
  def availability_zone_impairment_policy(
2775
2787
  self,
2776
2788
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAutoScalingGroup.AvailabilityZoneImpairmentPolicyProperty"]]:
2789
+ '''The Availability Zone impairment policy.'''
2777
2790
  return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAutoScalingGroup.AvailabilityZoneImpairmentPolicyProperty"]], jsii.get(self, "availabilityZoneImpairmentPolicy"))
2778
2791
 
2779
2792
  @availability_zone_impairment_policy.setter
@@ -2820,6 +2833,23 @@ class CfnAutoScalingGroup(
2820
2833
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
2821
2834
  jsii.set(self, "capacityRebalance", value) # pyright: ignore[reportArgumentType]
2822
2835
 
2836
+ @builtins.property
2837
+ @jsii.member(jsii_name="capacityReservationSpecification")
2838
+ def capacity_reservation_specification(
2839
+ self,
2840
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAutoScalingGroup.CapacityReservationSpecificationProperty"]]:
2841
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAutoScalingGroup.CapacityReservationSpecificationProperty"]], jsii.get(self, "capacityReservationSpecification"))
2842
+
2843
+ @capacity_reservation_specification.setter
2844
+ def capacity_reservation_specification(
2845
+ self,
2846
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAutoScalingGroup.CapacityReservationSpecificationProperty"]],
2847
+ ) -> None:
2848
+ if __debug__:
2849
+ type_hints = typing.get_type_hints(_typecheckingstub__6a3669b72eed49c81bef887851936a8d3e62cc7ebbf7d0596c044449b0caa478)
2850
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
2851
+ jsii.set(self, "capacityReservationSpecification", value) # pyright: ignore[reportArgumentType]
2852
+
2823
2853
  @builtins.property
2824
2854
  @jsii.member(jsii_name="context")
2825
2855
  def context(self) -> typing.Optional[builtins.str]:
@@ -3457,9 +3487,10 @@ class CfnAutoScalingGroup(
3457
3487
  impaired_zone_health_check_behavior: builtins.str,
3458
3488
  zonal_shift_enabled: typing.Union[builtins.bool, _IResolvable_da3f097b],
3459
3489
  ) -> None:
3460
- '''
3461
- :param impaired_zone_health_check_behavior:
3462
- :param zonal_shift_enabled:
3490
+ '''Describes an Availability Zone impairment policy.
3491
+
3492
+ :param impaired_zone_health_check_behavior: Specifies the health check behavior for the impaired Availability Zone in an active zonal shift. If you select ``Replace unhealthy`` , instances that appear unhealthy will be replaced in all Availability Zones. If you select ``Ignore unhealthy`` , instances will not be replaced in the Availability Zone with the active zonal shift. For more information, see `Auto Scaling group zonal shift <https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-zonal-shift.html>`_ in the *Amazon EC2 Auto Scaling User Guide* .
3493
+ :param zonal_shift_enabled: If ``true`` , enable zonal shift for your Auto Scaling group.
3463
3494
 
3464
3495
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-availabilityzoneimpairmentpolicy.html
3465
3496
  :exampleMetadata: fixture=_generated
@@ -3486,7 +3517,10 @@ class CfnAutoScalingGroup(
3486
3517
 
3487
3518
  @builtins.property
3488
3519
  def impaired_zone_health_check_behavior(self) -> builtins.str:
3489
- '''
3520
+ '''Specifies the health check behavior for the impaired Availability Zone in an active zonal shift.
3521
+
3522
+ If you select ``Replace unhealthy`` , instances that appear unhealthy will be replaced in all Availability Zones. If you select ``Ignore unhealthy`` , instances will not be replaced in the Availability Zone with the active zonal shift. For more information, see `Auto Scaling group zonal shift <https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-zonal-shift.html>`_ in the *Amazon EC2 Auto Scaling User Guide* .
3523
+
3490
3524
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-availabilityzoneimpairmentpolicy.html#cfn-autoscaling-autoscalinggroup-availabilityzoneimpairmentpolicy-impairedzonehealthcheckbehavior
3491
3525
  '''
3492
3526
  result = self._values.get("impaired_zone_health_check_behavior")
@@ -3497,7 +3531,8 @@ class CfnAutoScalingGroup(
3497
3531
  def zonal_shift_enabled(
3498
3532
  self,
3499
3533
  ) -> typing.Union[builtins.bool, _IResolvable_da3f097b]:
3500
- '''
3534
+ '''If ``true`` , enable zonal shift for your Auto Scaling group.
3535
+
3501
3536
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-availabilityzoneimpairmentpolicy.html#cfn-autoscaling-autoscalinggroup-availabilityzoneimpairmentpolicy-zonalshiftenabled
3502
3537
  '''
3503
3538
  result = self._values.get("zonal_shift_enabled")
@@ -3644,6 +3679,158 @@ class CfnAutoScalingGroup(
3644
3679
  k + "=" + repr(v) for k, v in self._values.items()
3645
3680
  )
3646
3681
 
3682
+ @jsii.data_type(
3683
+ jsii_type="aws-cdk-lib.aws_autoscaling.CfnAutoScalingGroup.CapacityReservationSpecificationProperty",
3684
+ jsii_struct_bases=[],
3685
+ name_mapping={
3686
+ "capacity_reservation_preference": "capacityReservationPreference",
3687
+ "capacity_reservation_target": "capacityReservationTarget",
3688
+ },
3689
+ )
3690
+ class CapacityReservationSpecificationProperty:
3691
+ def __init__(
3692
+ self,
3693
+ *,
3694
+ capacity_reservation_preference: builtins.str,
3695
+ capacity_reservation_target: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAutoScalingGroup.CapacityReservationTargetProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
3696
+ ) -> None:
3697
+ '''
3698
+ :param capacity_reservation_preference:
3699
+ :param capacity_reservation_target:
3700
+
3701
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-capacityreservationspecification.html
3702
+ :exampleMetadata: fixture=_generated
3703
+
3704
+ Example::
3705
+
3706
+ # The code below shows an example of how to instantiate this type.
3707
+ # The values are placeholders you should change.
3708
+ from aws_cdk import aws_autoscaling as autoscaling
3709
+
3710
+ capacity_reservation_specification_property = autoscaling.CfnAutoScalingGroup.CapacityReservationSpecificationProperty(
3711
+ capacity_reservation_preference="capacityReservationPreference",
3712
+
3713
+ # the properties below are optional
3714
+ capacity_reservation_target=autoscaling.CfnAutoScalingGroup.CapacityReservationTargetProperty(
3715
+ capacity_reservation_ids=["capacityReservationIds"],
3716
+ capacity_reservation_resource_group_arns=["capacityReservationResourceGroupArns"]
3717
+ )
3718
+ )
3719
+ '''
3720
+ if __debug__:
3721
+ type_hints = typing.get_type_hints(_typecheckingstub__1bde97582584c247c2d01a5e0b6cd47064999134f62912522c05bd0ba4e73870)
3722
+ check_type(argname="argument capacity_reservation_preference", value=capacity_reservation_preference, expected_type=type_hints["capacity_reservation_preference"])
3723
+ check_type(argname="argument capacity_reservation_target", value=capacity_reservation_target, expected_type=type_hints["capacity_reservation_target"])
3724
+ self._values: typing.Dict[builtins.str, typing.Any] = {
3725
+ "capacity_reservation_preference": capacity_reservation_preference,
3726
+ }
3727
+ if capacity_reservation_target is not None:
3728
+ self._values["capacity_reservation_target"] = capacity_reservation_target
3729
+
3730
+ @builtins.property
3731
+ def capacity_reservation_preference(self) -> builtins.str:
3732
+ '''
3733
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-capacityreservationspecification.html#cfn-autoscaling-autoscalinggroup-capacityreservationspecification-capacityreservationpreference
3734
+ '''
3735
+ result = self._values.get("capacity_reservation_preference")
3736
+ assert result is not None, "Required property 'capacity_reservation_preference' is missing"
3737
+ return typing.cast(builtins.str, result)
3738
+
3739
+ @builtins.property
3740
+ def capacity_reservation_target(
3741
+ self,
3742
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAutoScalingGroup.CapacityReservationTargetProperty"]]:
3743
+ '''
3744
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-capacityreservationspecification.html#cfn-autoscaling-autoscalinggroup-capacityreservationspecification-capacityreservationtarget
3745
+ '''
3746
+ result = self._values.get("capacity_reservation_target")
3747
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAutoScalingGroup.CapacityReservationTargetProperty"]], result)
3748
+
3749
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
3750
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
3751
+
3752
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
3753
+ return not (rhs == self)
3754
+
3755
+ def __repr__(self) -> str:
3756
+ return "CapacityReservationSpecificationProperty(%s)" % ", ".join(
3757
+ k + "=" + repr(v) for k, v in self._values.items()
3758
+ )
3759
+
3760
+ @jsii.data_type(
3761
+ jsii_type="aws-cdk-lib.aws_autoscaling.CfnAutoScalingGroup.CapacityReservationTargetProperty",
3762
+ jsii_struct_bases=[],
3763
+ name_mapping={
3764
+ "capacity_reservation_ids": "capacityReservationIds",
3765
+ "capacity_reservation_resource_group_arns": "capacityReservationResourceGroupArns",
3766
+ },
3767
+ )
3768
+ class CapacityReservationTargetProperty:
3769
+ def __init__(
3770
+ self,
3771
+ *,
3772
+ capacity_reservation_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
3773
+ capacity_reservation_resource_group_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
3774
+ ) -> None:
3775
+ '''
3776
+ :param capacity_reservation_ids:
3777
+ :param capacity_reservation_resource_group_arns:
3778
+
3779
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-capacityreservationtarget.html
3780
+ :exampleMetadata: fixture=_generated
3781
+
3782
+ Example::
3783
+
3784
+ # The code below shows an example of how to instantiate this type.
3785
+ # The values are placeholders you should change.
3786
+ from aws_cdk import aws_autoscaling as autoscaling
3787
+
3788
+ capacity_reservation_target_property = autoscaling.CfnAutoScalingGroup.CapacityReservationTargetProperty(
3789
+ capacity_reservation_ids=["capacityReservationIds"],
3790
+ capacity_reservation_resource_group_arns=["capacityReservationResourceGroupArns"]
3791
+ )
3792
+ '''
3793
+ if __debug__:
3794
+ type_hints = typing.get_type_hints(_typecheckingstub__008068c103b32f4f1d9358960d48d71e416dc2ffebeb79a29b94777a9ee6bb28)
3795
+ check_type(argname="argument capacity_reservation_ids", value=capacity_reservation_ids, expected_type=type_hints["capacity_reservation_ids"])
3796
+ check_type(argname="argument capacity_reservation_resource_group_arns", value=capacity_reservation_resource_group_arns, expected_type=type_hints["capacity_reservation_resource_group_arns"])
3797
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
3798
+ if capacity_reservation_ids is not None:
3799
+ self._values["capacity_reservation_ids"] = capacity_reservation_ids
3800
+ if capacity_reservation_resource_group_arns is not None:
3801
+ self._values["capacity_reservation_resource_group_arns"] = capacity_reservation_resource_group_arns
3802
+
3803
+ @builtins.property
3804
+ def capacity_reservation_ids(
3805
+ self,
3806
+ ) -> typing.Optional[typing.List[builtins.str]]:
3807
+ '''
3808
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-capacityreservationtarget.html#cfn-autoscaling-autoscalinggroup-capacityreservationtarget-capacityreservationids
3809
+ '''
3810
+ result = self._values.get("capacity_reservation_ids")
3811
+ return typing.cast(typing.Optional[typing.List[builtins.str]], result)
3812
+
3813
+ @builtins.property
3814
+ def capacity_reservation_resource_group_arns(
3815
+ self,
3816
+ ) -> typing.Optional[typing.List[builtins.str]]:
3817
+ '''
3818
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-capacityreservationtarget.html#cfn-autoscaling-autoscalinggroup-capacityreservationtarget-capacityreservationresourcegrouparns
3819
+ '''
3820
+ result = self._values.get("capacity_reservation_resource_group_arns")
3821
+ return typing.cast(typing.Optional[typing.List[builtins.str]], result)
3822
+
3823
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
3824
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
3825
+
3826
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
3827
+ return not (rhs == self)
3828
+
3829
+ def __repr__(self) -> str:
3830
+ return "CapacityReservationTargetProperty(%s)" % ", ".join(
3831
+ k + "=" + repr(v) for k, v in self._values.items()
3832
+ )
3833
+
3647
3834
  @jsii.data_type(
3648
3835
  jsii_type="aws-cdk-lib.aws_autoscaling.CfnAutoScalingGroup.CpuPerformanceFactorRequestProperty",
3649
3836
  jsii_struct_bases=[],
@@ -6267,6 +6454,7 @@ class CfnAutoScalingGroup(
6267
6454
  "availability_zone_impairment_policy": "availabilityZoneImpairmentPolicy",
6268
6455
  "availability_zones": "availabilityZones",
6269
6456
  "capacity_rebalance": "capacityRebalance",
6457
+ "capacity_reservation_specification": "capacityReservationSpecification",
6270
6458
  "context": "context",
6271
6459
  "cooldown": "cooldown",
6272
6460
  "default_instance_warmup": "defaultInstanceWarmup",
@@ -6307,6 +6495,7 @@ class CfnAutoScalingGroupProps:
6307
6495
  availability_zone_impairment_policy: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAutoScalingGroup.AvailabilityZoneImpairmentPolicyProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
6308
6496
  availability_zones: typing.Optional[typing.Sequence[builtins.str]] = None,
6309
6497
  capacity_rebalance: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
6498
+ capacity_reservation_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAutoScalingGroup.CapacityReservationSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
6310
6499
  context: typing.Optional[builtins.str] = None,
6311
6500
  cooldown: typing.Optional[builtins.str] = None,
6312
6501
  default_instance_warmup: typing.Optional[jsii.Number] = None,
@@ -6341,9 +6530,10 @@ class CfnAutoScalingGroupProps:
6341
6530
  :param min_size: The minimum size of the group.
6342
6531
  :param auto_scaling_group_name: The name of the Auto Scaling group. This name must be unique per Region per account. The name can contain any ASCII character 33 to 126 including most punctuation characters, digits, and upper and lowercased letters. .. epigraph:: You cannot use a colon (:) in the name.
6343
6532
  :param availability_zone_distribution: The instance capacity distribution across Availability Zones.
6344
- :param availability_zone_impairment_policy:
6533
+ :param availability_zone_impairment_policy: The Availability Zone impairment policy.
6345
6534
  :param availability_zones: A list of Availability Zones where instances in the Auto Scaling group can be created. Used for launching into the default VPC subnet in each Availability Zone when not using the ``VPCZoneIdentifier`` property, or for attaching a network interface when an existing network interface ID is specified in a launch template.
6346
6535
  :param capacity_rebalance: Indicates whether Capacity Rebalancing is enabled. Otherwise, Capacity Rebalancing is disabled. When you turn on Capacity Rebalancing, Amazon EC2 Auto Scaling attempts to launch a Spot Instance whenever Amazon EC2 notifies that a Spot Instance is at an elevated risk of interruption. After launching a new instance, it then terminates an old instance. For more information, see `Use Capacity Rebalancing to handle Amazon EC2 Spot Interruptions <https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-capacity-rebalancing.html>`_ in the in the *Amazon EC2 Auto Scaling User Guide* .
6536
+ :param capacity_reservation_specification:
6347
6537
  :param context: Reserved.
6348
6538
  :param cooldown: *Only needed if you use simple scaling policies.*. The amount of time, in seconds, between one scaling activity ending and another one starting due to simple scaling policies. For more information, see `Scaling cooldowns for Amazon EC2 Auto Scaling <https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-scaling-cooldowns.html>`_ in the *Amazon EC2 Auto Scaling User Guide* . Default: ``300`` seconds
6349
6539
  :param default_instance_warmup: The amount of time, in seconds, until a new instance is considered to have finished initializing and resource consumption to become stable after it enters the ``InService`` state. During an instance refresh, Amazon EC2 Auto Scaling waits for the warm-up period after it replaces an instance before it moves on to replacing the next instance. Amazon EC2 Auto Scaling also waits for the warm-up period before aggregating the metrics for new instances with existing instances in the Amazon CloudWatch metrics that are used for scaling, resulting in more reliable usage data. For more information, see `Set the default instance warmup for an Auto Scaling group <https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-default-instance-warmup.html>`_ in the *Amazon EC2 Auto Scaling User Guide* . .. epigraph:: To manage various warm-up settings at the group level, we recommend that you set the default instance warmup, *even if it is set to 0 seconds* . To remove a value that you previously set, include the property but specify ``-1`` for the value. However, we strongly recommend keeping the default instance warmup enabled by specifying a value of ``0`` or other nominal value. Default: None
@@ -6396,6 +6586,15 @@ class CfnAutoScalingGroupProps:
6396
6586
  ),
6397
6587
  availability_zones=["availabilityZones"],
6398
6588
  capacity_rebalance=False,
6589
+ capacity_reservation_specification=autoscaling.CfnAutoScalingGroup.CapacityReservationSpecificationProperty(
6590
+ capacity_reservation_preference="capacityReservationPreference",
6591
+
6592
+ # the properties below are optional
6593
+ capacity_reservation_target=autoscaling.CfnAutoScalingGroup.CapacityReservationTargetProperty(
6594
+ capacity_reservation_ids=["capacityReservationIds"],
6595
+ capacity_reservation_resource_group_arns=["capacityReservationResourceGroupArns"]
6596
+ )
6597
+ ),
6399
6598
  context="context",
6400
6599
  cooldown="cooldown",
6401
6600
  default_instance_warmup=123,
@@ -6570,6 +6769,7 @@ class CfnAutoScalingGroupProps:
6570
6769
  check_type(argname="argument availability_zone_impairment_policy", value=availability_zone_impairment_policy, expected_type=type_hints["availability_zone_impairment_policy"])
6571
6770
  check_type(argname="argument availability_zones", value=availability_zones, expected_type=type_hints["availability_zones"])
6572
6771
  check_type(argname="argument capacity_rebalance", value=capacity_rebalance, expected_type=type_hints["capacity_rebalance"])
6772
+ check_type(argname="argument capacity_reservation_specification", value=capacity_reservation_specification, expected_type=type_hints["capacity_reservation_specification"])
6573
6773
  check_type(argname="argument context", value=context, expected_type=type_hints["context"])
6574
6774
  check_type(argname="argument cooldown", value=cooldown, expected_type=type_hints["cooldown"])
6575
6775
  check_type(argname="argument default_instance_warmup", value=default_instance_warmup, expected_type=type_hints["default_instance_warmup"])
@@ -6611,6 +6811,8 @@ class CfnAutoScalingGroupProps:
6611
6811
  self._values["availability_zones"] = availability_zones
6612
6812
  if capacity_rebalance is not None:
6613
6813
  self._values["capacity_rebalance"] = capacity_rebalance
6814
+ if capacity_reservation_specification is not None:
6815
+ self._values["capacity_reservation_specification"] = capacity_reservation_specification
6614
6816
  if context is not None:
6615
6817
  self._values["context"] = context
6616
6818
  if cooldown is not None:
@@ -6719,7 +6921,8 @@ class CfnAutoScalingGroupProps:
6719
6921
  def availability_zone_impairment_policy(
6720
6922
  self,
6721
6923
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnAutoScalingGroup.AvailabilityZoneImpairmentPolicyProperty]]:
6722
- '''
6924
+ '''The Availability Zone impairment policy.
6925
+
6723
6926
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html#cfn-autoscaling-autoscalinggroup-availabilityzoneimpairmentpolicy
6724
6927
  '''
6725
6928
  result = self._values.get("availability_zone_impairment_policy")
@@ -6749,6 +6952,16 @@ class CfnAutoScalingGroupProps:
6749
6952
  result = self._values.get("capacity_rebalance")
6750
6953
  return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
6751
6954
 
6955
+ @builtins.property
6956
+ def capacity_reservation_specification(
6957
+ self,
6958
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnAutoScalingGroup.CapacityReservationSpecificationProperty]]:
6959
+ '''
6960
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html#cfn-autoscaling-autoscalinggroup-capacityreservationspecification
6961
+ '''
6962
+ result = self._values.get("capacity_reservation_specification")
6963
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnAutoScalingGroup.CapacityReservationSpecificationProperty]], result)
6964
+
6752
6965
  @builtins.property
6753
6966
  def context(self) -> typing.Optional[builtins.str]:
6754
6967
  '''Reserved.
@@ -9026,11 +9239,14 @@ class CfnScalingPolicy(
9026
9239
  stat="stat",
9027
9240
 
9028
9241
  # the properties below are optional
9242
+ period=123,
9029
9243
  unit="unit"
9030
9244
  ),
9245
+ period=123,
9031
9246
  return_data=False
9032
9247
  )],
9033
9248
  namespace="namespace",
9249
+ period=123,
9034
9250
  statistic="statistic",
9035
9251
  unit="unit"
9036
9252
  ),
@@ -9322,6 +9538,7 @@ class CfnScalingPolicy(
9322
9538
  "metric_name": "metricName",
9323
9539
  "metrics": "metrics",
9324
9540
  "namespace": "namespace",
9541
+ "period": "period",
9325
9542
  "statistic": "statistic",
9326
9543
  "unit": "unit",
9327
9544
  },
@@ -9334,6 +9551,7 @@ class CfnScalingPolicy(
9334
9551
  metric_name: typing.Optional[builtins.str] = None,
9335
9552
  metrics: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnScalingPolicy.TargetTrackingMetricDataQueryProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
9336
9553
  namespace: typing.Optional[builtins.str] = None,
9554
+ period: typing.Optional[jsii.Number] = None,
9337
9555
  statistic: typing.Optional[builtins.str] = None,
9338
9556
  unit: typing.Optional[builtins.str] = None,
9339
9557
  ) -> None:
@@ -9352,6 +9570,7 @@ class CfnScalingPolicy(
9352
9570
  :param metric_name: The name of the metric. To get the exact metric name, namespace, and dimensions, inspect the `Metric <https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_Metric.html>`_ object that is returned by a call to `ListMetrics <https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_ListMetrics.html>`_ .
9353
9571
  :param metrics: The metrics to include in the target tracking scaling policy, as a metric data query. This can include both raw metric and metric math expressions.
9354
9572
  :param namespace: The namespace of the metric.
9573
+ :param period:
9355
9574
  :param statistic: The statistic of the metric.
9356
9575
  :param unit: The unit of the metric. For a complete list of the units that CloudWatch supports, see the `MetricDatum <https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html>`_ data type in the *Amazon CloudWatch API Reference* .
9357
9576
 
@@ -9390,11 +9609,14 @@ class CfnScalingPolicy(
9390
9609
  stat="stat",
9391
9610
 
9392
9611
  # the properties below are optional
9612
+ period=123,
9393
9613
  unit="unit"
9394
9614
  ),
9615
+ period=123,
9395
9616
  return_data=False
9396
9617
  )],
9397
9618
  namespace="namespace",
9619
+ period=123,
9398
9620
  statistic="statistic",
9399
9621
  unit="unit"
9400
9622
  )
@@ -9405,6 +9627,7 @@ class CfnScalingPolicy(
9405
9627
  check_type(argname="argument metric_name", value=metric_name, expected_type=type_hints["metric_name"])
9406
9628
  check_type(argname="argument metrics", value=metrics, expected_type=type_hints["metrics"])
9407
9629
  check_type(argname="argument namespace", value=namespace, expected_type=type_hints["namespace"])
9630
+ check_type(argname="argument period", value=period, expected_type=type_hints["period"])
9408
9631
  check_type(argname="argument statistic", value=statistic, expected_type=type_hints["statistic"])
9409
9632
  check_type(argname="argument unit", value=unit, expected_type=type_hints["unit"])
9410
9633
  self._values: typing.Dict[builtins.str, typing.Any] = {}
@@ -9416,6 +9639,8 @@ class CfnScalingPolicy(
9416
9639
  self._values["metrics"] = metrics
9417
9640
  if namespace is not None:
9418
9641
  self._values["namespace"] = namespace
9642
+ if period is not None:
9643
+ self._values["period"] = period
9419
9644
  if statistic is not None:
9420
9645
  self._values["statistic"] = statistic
9421
9646
  if unit is not None:
@@ -9467,6 +9692,14 @@ class CfnScalingPolicy(
9467
9692
  result = self._values.get("namespace")
9468
9693
  return typing.cast(typing.Optional[builtins.str], result)
9469
9694
 
9695
+ @builtins.property
9696
+ def period(self) -> typing.Optional[jsii.Number]:
9697
+ '''
9698
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-customizedmetricspecification.html#cfn-autoscaling-scalingpolicy-customizedmetricspecification-period
9699
+ '''
9700
+ result = self._values.get("period")
9701
+ return typing.cast(typing.Optional[jsii.Number], result)
9702
+
9470
9703
  @builtins.property
9471
9704
  def statistic(self) -> typing.Optional[builtins.str]:
9472
9705
  '''The statistic of the metric.
@@ -11285,11 +11518,14 @@ class CfnScalingPolicy(
11285
11518
  stat="stat",
11286
11519
 
11287
11520
  # the properties below are optional
11521
+ period=123,
11288
11522
  unit="unit"
11289
11523
  ),
11524
+ period=123,
11290
11525
  return_data=False
11291
11526
  )],
11292
11527
  namespace="namespace",
11528
+ period=123,
11293
11529
  statistic="statistic",
11294
11530
  unit="unit"
11295
11531
  ),
@@ -11390,6 +11626,7 @@ class CfnScalingPolicy(
11390
11626
  "expression": "expression",
11391
11627
  "label": "label",
11392
11628
  "metric_stat": "metricStat",
11629
+ "period": "period",
11393
11630
  "return_data": "returnData",
11394
11631
  },
11395
11632
  )
@@ -11401,6 +11638,7 @@ class CfnScalingPolicy(
11401
11638
  expression: typing.Optional[builtins.str] = None,
11402
11639
  label: typing.Optional[builtins.str] = None,
11403
11640
  metric_stat: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnScalingPolicy.TargetTrackingMetricStatProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
11641
+ period: typing.Optional[jsii.Number] = None,
11404
11642
  return_data: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
11405
11643
  ) -> None:
11406
11644
  '''The metric data to return.
@@ -11417,6 +11655,7 @@ class CfnScalingPolicy(
11417
11655
  :param expression: The math expression to perform on the returned data, if this object is performing a math expression. This expression can use the ``Id`` of the other metrics to refer to those metrics, and can also use the ``Id`` of other expressions to use the result of those expressions. Conditional: Within each ``TargetTrackingMetricDataQuery`` object, you must specify either ``Expression`` or ``MetricStat`` , but not both.
11418
11656
  :param label: A human-readable label for this metric or expression. This is especially useful if this is a math expression, so that you know what the value represents.
11419
11657
  :param metric_stat: Information about the metric data to return. Conditional: Within each ``TargetTrackingMetricDataQuery`` object, you must specify either ``Expression`` or ``MetricStat`` , but not both.
11658
+ :param period:
11420
11659
  :param return_data: Indicates whether to return the timestamps and raw data values of this metric. If you use any math expressions, specify ``true`` for this value for only the final math expression that the metric specification is based on. You must specify ``false`` for ``ReturnData`` for all the other metrics and expressions used in the metric specification. If you are only retrieving metrics and not performing any math expressions, do not specify anything for ``ReturnData`` . This sets it to its default ( ``true`` ).
11421
11660
 
11422
11661
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-targettrackingmetricdataquery.html
@@ -11448,8 +11687,10 @@ class CfnScalingPolicy(
11448
11687
  stat="stat",
11449
11688
 
11450
11689
  # the properties below are optional
11690
+ period=123,
11451
11691
  unit="unit"
11452
11692
  ),
11693
+ period=123,
11453
11694
  return_data=False
11454
11695
  )
11455
11696
  '''
@@ -11459,6 +11700,7 @@ class CfnScalingPolicy(
11459
11700
  check_type(argname="argument expression", value=expression, expected_type=type_hints["expression"])
11460
11701
  check_type(argname="argument label", value=label, expected_type=type_hints["label"])
11461
11702
  check_type(argname="argument metric_stat", value=metric_stat, expected_type=type_hints["metric_stat"])
11703
+ check_type(argname="argument period", value=period, expected_type=type_hints["period"])
11462
11704
  check_type(argname="argument return_data", value=return_data, expected_type=type_hints["return_data"])
11463
11705
  self._values: typing.Dict[builtins.str, typing.Any] = {
11464
11706
  "id": id,
@@ -11469,6 +11711,8 @@ class CfnScalingPolicy(
11469
11711
  self._values["label"] = label
11470
11712
  if metric_stat is not None:
11471
11713
  self._values["metric_stat"] = metric_stat
11714
+ if period is not None:
11715
+ self._values["period"] = period
11472
11716
  if return_data is not None:
11473
11717
  self._values["return_data"] = return_data
11474
11718
 
@@ -11521,6 +11765,14 @@ class CfnScalingPolicy(
11521
11765
  result = self._values.get("metric_stat")
11522
11766
  return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnScalingPolicy.TargetTrackingMetricStatProperty"]], result)
11523
11767
 
11768
+ @builtins.property
11769
+ def period(self) -> typing.Optional[jsii.Number]:
11770
+ '''
11771
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-targettrackingmetricdataquery.html#cfn-autoscaling-scalingpolicy-targettrackingmetricdataquery-period
11772
+ '''
11773
+ result = self._values.get("period")
11774
+ return typing.cast(typing.Optional[jsii.Number], result)
11775
+
11524
11776
  @builtins.property
11525
11777
  def return_data(
11526
11778
  self,
@@ -11550,7 +11802,12 @@ class CfnScalingPolicy(
11550
11802
  @jsii.data_type(
11551
11803
  jsii_type="aws-cdk-lib.aws_autoscaling.CfnScalingPolicy.TargetTrackingMetricStatProperty",
11552
11804
  jsii_struct_bases=[],
11553
- name_mapping={"metric": "metric", "stat": "stat", "unit": "unit"},
11805
+ name_mapping={
11806
+ "metric": "metric",
11807
+ "stat": "stat",
11808
+ "period": "period",
11809
+ "unit": "unit",
11810
+ },
11554
11811
  )
11555
11812
  class TargetTrackingMetricStatProperty:
11556
11813
  def __init__(
@@ -11558,6 +11815,7 @@ class CfnScalingPolicy(
11558
11815
  *,
11559
11816
  metric: typing.Union[_IResolvable_da3f097b, typing.Union["CfnScalingPolicy.MetricProperty", typing.Dict[builtins.str, typing.Any]]],
11560
11817
  stat: builtins.str,
11818
+ period: typing.Optional[jsii.Number] = None,
11561
11819
  unit: typing.Optional[builtins.str] = None,
11562
11820
  ) -> None:
11563
11821
  '''This structure defines the CloudWatch metric to return, along with the statistic and unit.
@@ -11568,6 +11826,7 @@ class CfnScalingPolicy(
11568
11826
 
11569
11827
  :param metric: The metric to use.
11570
11828
  :param stat: The statistic to return. It can include any CloudWatch statistic or extended statistic. For a list of valid values, see the table in `Statistics <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Statistic>`_ in the *Amazon CloudWatch User Guide* . The most commonly used metric for scaling is ``Average`` .
11829
+ :param period:
11571
11830
  :param unit: The unit to use for the returned data points. For a complete list of the units that CloudWatch supports, see the `MetricDatum <https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html>`_ data type in the *Amazon CloudWatch API Reference* .
11572
11831
 
11573
11832
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-targettrackingmetricstat.html
@@ -11593,6 +11852,7 @@ class CfnScalingPolicy(
11593
11852
  stat="stat",
11594
11853
 
11595
11854
  # the properties below are optional
11855
+ period=123,
11596
11856
  unit="unit"
11597
11857
  )
11598
11858
  '''
@@ -11600,11 +11860,14 @@ class CfnScalingPolicy(
11600
11860
  type_hints = typing.get_type_hints(_typecheckingstub__75bb120fe0d7723abf802e828deb5b42b75d441e35d1a2974ff03b0a094adfb2)
11601
11861
  check_type(argname="argument metric", value=metric, expected_type=type_hints["metric"])
11602
11862
  check_type(argname="argument stat", value=stat, expected_type=type_hints["stat"])
11863
+ check_type(argname="argument period", value=period, expected_type=type_hints["period"])
11603
11864
  check_type(argname="argument unit", value=unit, expected_type=type_hints["unit"])
11604
11865
  self._values: typing.Dict[builtins.str, typing.Any] = {
11605
11866
  "metric": metric,
11606
11867
  "stat": stat,
11607
11868
  }
11869
+ if period is not None:
11870
+ self._values["period"] = period
11608
11871
  if unit is not None:
11609
11872
  self._values["unit"] = unit
11610
11873
 
@@ -11634,6 +11897,14 @@ class CfnScalingPolicy(
11634
11897
  assert result is not None, "Required property 'stat' is missing"
11635
11898
  return typing.cast(builtins.str, result)
11636
11899
 
11900
+ @builtins.property
11901
+ def period(self) -> typing.Optional[jsii.Number]:
11902
+ '''
11903
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-targettrackingmetricstat.html#cfn-autoscaling-scalingpolicy-targettrackingmetricstat-period
11904
+ '''
11905
+ result = self._values.get("period")
11906
+ return typing.cast(typing.Optional[jsii.Number], result)
11907
+
11637
11908
  @builtins.property
11638
11909
  def unit(self) -> typing.Optional[builtins.str]:
11639
11910
  '''The unit to use for the returned data points.
@@ -11870,11 +12141,14 @@ class CfnScalingPolicyProps:
11870
12141
  stat="stat",
11871
12142
 
11872
12143
  # the properties below are optional
12144
+ period=123,
11873
12145
  unit="unit"
11874
12146
  ),
12147
+ period=123,
11875
12148
  return_data=False
11876
12149
  )],
11877
12150
  namespace="namespace",
12151
+ period=123,
11878
12152
  statistic="statistic",
11879
12153
  unit="unit"
11880
12154
  ),
@@ -20781,6 +21055,7 @@ def _typecheckingstub__d8ba2cee6007161ce4ac8e6f271353563746b8194e9da3c4517351b35
20781
21055
  availability_zone_impairment_policy: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAutoScalingGroup.AvailabilityZoneImpairmentPolicyProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
20782
21056
  availability_zones: typing.Optional[typing.Sequence[builtins.str]] = None,
20783
21057
  capacity_rebalance: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
21058
+ capacity_reservation_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAutoScalingGroup.CapacityReservationSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
20784
21059
  context: typing.Optional[builtins.str] = None,
20785
21060
  cooldown: typing.Optional[builtins.str] = None,
20786
21061
  default_instance_warmup: typing.Optional[jsii.Number] = None,
@@ -20866,6 +21141,12 @@ def _typecheckingstub__fcd7ade02eab7516c3be5872ef46340937bca4fb38ec4eea0d8119ee5
20866
21141
  """Type checking stubs"""
20867
21142
  pass
20868
21143
 
21144
+ def _typecheckingstub__6a3669b72eed49c81bef887851936a8d3e62cc7ebbf7d0596c044449b0caa478(
21145
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnAutoScalingGroup.CapacityReservationSpecificationProperty]],
21146
+ ) -> None:
21147
+ """Type checking stubs"""
21148
+ pass
21149
+
20869
21150
  def _typecheckingstub__52553869bb2c8e9fe528514394f739bd1e81992c61e60f7aba37579b8e417255(
20870
21151
  value: typing.Optional[builtins.str],
20871
21152
  ) -> None:
@@ -21074,6 +21355,22 @@ def _typecheckingstub__d201229bbf8df0493f8005eab4878dceaf3ea5d9ead6d07f5daa203e7
21074
21355
  """Type checking stubs"""
21075
21356
  pass
21076
21357
 
21358
+ def _typecheckingstub__1bde97582584c247c2d01a5e0b6cd47064999134f62912522c05bd0ba4e73870(
21359
+ *,
21360
+ capacity_reservation_preference: builtins.str,
21361
+ capacity_reservation_target: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAutoScalingGroup.CapacityReservationTargetProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
21362
+ ) -> None:
21363
+ """Type checking stubs"""
21364
+ pass
21365
+
21366
+ def _typecheckingstub__008068c103b32f4f1d9358960d48d71e416dc2ffebeb79a29b94777a9ee6bb28(
21367
+ *,
21368
+ capacity_reservation_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
21369
+ capacity_reservation_resource_group_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
21370
+ ) -> None:
21371
+ """Type checking stubs"""
21372
+ pass
21373
+
21077
21374
  def _typecheckingstub__b278b9a78a0f65790afbe45f65bd99528e1b9698a5e94af246191f9dfe4787e1(
21078
21375
  *,
21079
21376
  references: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAutoScalingGroup.PerformanceFactorReferenceRequestProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
@@ -21277,6 +21574,7 @@ def _typecheckingstub__63de692030eb0bc729681a791501e2edd744cab3141e27cc9c9c8def2
21277
21574
  availability_zone_impairment_policy: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAutoScalingGroup.AvailabilityZoneImpairmentPolicyProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
21278
21575
  availability_zones: typing.Optional[typing.Sequence[builtins.str]] = None,
21279
21576
  capacity_rebalance: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
21577
+ capacity_reservation_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAutoScalingGroup.CapacityReservationSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
21280
21578
  context: typing.Optional[builtins.str] = None,
21281
21579
  cooldown: typing.Optional[builtins.str] = None,
21282
21580
  default_instance_warmup: typing.Optional[jsii.Number] = None,
@@ -21711,6 +22009,7 @@ def _typecheckingstub__8e7031340719d237d3182678de0dc2931e386340d37c2dd60e36be75a
21711
22009
  metric_name: typing.Optional[builtins.str] = None,
21712
22010
  metrics: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnScalingPolicy.TargetTrackingMetricDataQueryProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
21713
22011
  namespace: typing.Optional[builtins.str] = None,
22012
+ period: typing.Optional[jsii.Number] = None,
21714
22013
  statistic: typing.Optional[builtins.str] = None,
21715
22014
  unit: typing.Optional[builtins.str] = None,
21716
22015
  ) -> None:
@@ -21856,6 +22155,7 @@ def _typecheckingstub__db2b2d9653863b1d1b8f67347857edde6d9dc3f6f755a593d8da143f9
21856
22155
  expression: typing.Optional[builtins.str] = None,
21857
22156
  label: typing.Optional[builtins.str] = None,
21858
22157
  metric_stat: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnScalingPolicy.TargetTrackingMetricStatProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
22158
+ period: typing.Optional[jsii.Number] = None,
21859
22159
  return_data: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
21860
22160
  ) -> None:
21861
22161
  """Type checking stubs"""
@@ -21865,6 +22165,7 @@ def _typecheckingstub__75bb120fe0d7723abf802e828deb5b42b75d441e35d1a2974ff03b0a0
21865
22165
  *,
21866
22166
  metric: typing.Union[_IResolvable_da3f097b, typing.Union[CfnScalingPolicy.MetricProperty, typing.Dict[builtins.str, typing.Any]]],
21867
22167
  stat: builtins.str,
22168
+ period: typing.Optional[jsii.Number] = None,
21868
22169
  unit: typing.Optional[builtins.str] = None,
21869
22170
  ) -> None:
21870
22171
  """Type checking stubs"""