aws-cdk-lib 2.181.1__py3-none-any.whl → 2.183.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 (69) hide show
  1. aws_cdk/__init__.py +751 -41
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.181.1.jsii.tgz → aws-cdk-lib@2.183.0.jsii.tgz} +0 -0
  4. aws_cdk/assertions/__init__.py +59 -0
  5. aws_cdk/aws_apigateway/__init__.py +122 -66
  6. aws_cdk/aws_applicationautoscaling/__init__.py +4 -0
  7. aws_cdk/aws_appsync/__init__.py +30 -4
  8. aws_cdk/aws_autoscaling/__init__.py +409 -36
  9. aws_cdk/aws_batch/__init__.py +638 -14
  10. aws_cdk/aws_bedrock/__init__.py +6009 -2326
  11. aws_cdk/aws_ce/__init__.py +141 -3
  12. aws_cdk/aws_certificatemanager/__init__.py +24 -0
  13. aws_cdk/aws_cloudformation/__init__.py +310 -35
  14. aws_cdk/aws_cloudfront/__init__.py +1 -0
  15. aws_cdk/aws_cloudtrail/__init__.py +8 -8
  16. aws_cdk/aws_codebuild/__init__.py +4 -10
  17. aws_cdk/aws_cognito/__init__.py +3 -3
  18. aws_cdk/aws_datazone/__init__.py +82 -0
  19. aws_cdk/aws_dms/__init__.py +350 -0
  20. aws_cdk/aws_ec2/__init__.py +95 -17
  21. aws_cdk/aws_ecr/__init__.py +10 -4
  22. aws_cdk/aws_ecs/__init__.py +58 -9
  23. aws_cdk/aws_eks/__init__.py +32 -3
  24. aws_cdk/aws_elasticache/__init__.py +3 -3
  25. aws_cdk/aws_emr/__init__.py +9 -3
  26. aws_cdk/aws_fsx/__init__.py +2 -0
  27. aws_cdk/aws_gameliftstreams/__init__.py +1205 -0
  28. aws_cdk/aws_guardduty/__init__.py +38 -26
  29. aws_cdk/aws_iam/__init__.py +295 -37
  30. aws_cdk/aws_inspector/__init__.py +180 -1
  31. aws_cdk/aws_iot/__init__.py +616 -22
  32. aws_cdk/aws_iotfleetwise/__init__.py +72 -10
  33. aws_cdk/aws_iotsitewise/__init__.py +14 -11
  34. aws_cdk/aws_kafkaconnect/__init__.py +4 -2
  35. aws_cdk/aws_kinesisfirehose/__init__.py +6 -0
  36. aws_cdk/aws_lambda/__init__.py +17 -0
  37. aws_cdk/aws_logs/__init__.py +135 -0
  38. aws_cdk/aws_medialive/__init__.py +86 -86
  39. aws_cdk/aws_mediapackagev2/__init__.py +22 -14
  40. aws_cdk/aws_msk/__init__.py +236 -128
  41. aws_cdk/aws_neptunegraph/__init__.py +3 -3
  42. aws_cdk/aws_opensearchserverless/__init__.py +1031 -0
  43. aws_cdk/aws_opensearchservice/__init__.py +261 -1
  44. aws_cdk/aws_pcaconnectorad/__init__.py +30 -4
  45. aws_cdk/aws_pipes/__init__.py +6 -2
  46. aws_cdk/aws_quicksight/__init__.py +6712 -20758
  47. aws_cdk/aws_rds/__init__.py +174 -30
  48. aws_cdk/aws_redshift/__init__.py +8 -8
  49. aws_cdk/aws_s3/__init__.py +8 -0
  50. aws_cdk/aws_sagemaker/__init__.py +80 -18
  51. aws_cdk/aws_securitylake/__init__.py +3 -0
  52. aws_cdk/aws_sns/__init__.py +76 -1
  53. aws_cdk/aws_synthetics/__init__.py +2 -0
  54. aws_cdk/aws_transfer/__init__.py +241 -40
  55. aws_cdk/aws_vpclattice/__init__.py +144 -9
  56. aws_cdk/aws_wafv2/__init__.py +790 -0
  57. aws_cdk/aws_wisdom/__init__.py +3 -110
  58. aws_cdk/aws_workspacesthinclient/__init__.py +4 -4
  59. aws_cdk/aws_workspacesweb/__init__.py +179 -2
  60. aws_cdk/aws_xray/__init__.py +195 -0
  61. aws_cdk/cloud_assembly_schema/__init__.py +224 -4
  62. aws_cdk/custom_resources/__init__.py +65 -8
  63. aws_cdk/cx_api/__init__.py +2 -1
  64. {aws_cdk_lib-2.181.1.dist-info → aws_cdk_lib-2.183.0.dist-info}/METADATA +2 -2
  65. {aws_cdk_lib-2.181.1.dist-info → aws_cdk_lib-2.183.0.dist-info}/RECORD +69 -68
  66. {aws_cdk_lib-2.181.1.dist-info → aws_cdk_lib-2.183.0.dist-info}/LICENSE +0 -0
  67. {aws_cdk_lib-2.181.1.dist-info → aws_cdk_lib-2.183.0.dist-info}/NOTICE +0 -0
  68. {aws_cdk_lib-2.181.1.dist-info → aws_cdk_lib-2.183.0.dist-info}/WHEEL +0 -0
  69. {aws_cdk_lib-2.181.1.dist-info → aws_cdk_lib-2.183.0.dist-info}/top_level.txt +0 -0
@@ -324,6 +324,49 @@ auto_scaling_group.scale_on_schedule("AllowDownscalingAtNight",
324
324
  )
325
325
  ```
326
326
 
327
+ ### Health checks for instances
328
+
329
+ You can configure the health checks for the instances in the Auto Scaling group.
330
+
331
+ Possible health check types are EC2, EBS, ELB, and VPC_LATTICE. EC2 is the default health check and cannot be disabled.
332
+
333
+ If you want to configure the EC2 health check, use the `HealthChecks.ec2` method:
334
+
335
+ ```python
336
+ # vpc: ec2.Vpc
337
+
338
+
339
+ autoscaling.AutoScalingGroup(self, "ASG",
340
+ vpc=vpc,
341
+ instance_type=ec2.InstanceType.of(ec2.InstanceClass.BURSTABLE2, ec2.InstanceSize.MICRO),
342
+ machine_image=ec2.MachineImage.latest_amazon_linux2(),
343
+ health_checks=autoscaling.HealthChecks.ec2(
344
+ grace_period=Duration.seconds(100)
345
+ )
346
+ )
347
+ ```
348
+
349
+ If you also want to configure the additional health checks other than EC2, use the `HealthChecks.withAdditionalChecks` method.
350
+ EC2 is implicitly included, so you can specify types other than EC2.
351
+
352
+ ```python
353
+ # vpc: ec2.Vpc
354
+
355
+
356
+ autoscaling.AutoScalingGroup(self, "ASG",
357
+ vpc=vpc,
358
+ instance_type=ec2.InstanceType.of(ec2.InstanceClass.BURSTABLE2, ec2.InstanceSize.MICRO),
359
+ machine_image=ec2.MachineImage.latest_amazon_linux2(),
360
+ health_checks=autoscaling.HealthChecks.with_additional_checks(
361
+ grace_period=Duration.seconds(100),
362
+ additional_types=[autoscaling.AdditionalHealthCheckType.EBS, autoscaling.AdditionalHealthCheckType.ELB, autoscaling.AdditionalHealthCheckType.VPC_LATTICE
363
+ ]
364
+ )
365
+ )
366
+ ```
367
+
368
+ > Visit [Health checks for instances in an Auto Scaling group](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-health-checks.html) for more details.
369
+
327
370
  ### Instance Maintenance Policy
328
371
 
329
372
  You can configure an instance maintenance policy for your Auto Scaling group to
@@ -890,6 +933,115 @@ from ..aws_iam import (
890
933
  from ..aws_sns import ITopic as _ITopic_9eca4852
891
934
 
892
935
 
936
+ @jsii.enum(jsii_type="aws-cdk-lib.aws_autoscaling.AdditionalHealthCheckType")
937
+ class AdditionalHealthCheckType(enum.Enum):
938
+ '''Additional Health Check Type.
939
+
940
+ :exampleMetadata: infused
941
+
942
+ Example::
943
+
944
+ # vpc: ec2.Vpc
945
+
946
+
947
+ autoscaling.AutoScalingGroup(self, "ASG",
948
+ vpc=vpc,
949
+ instance_type=ec2.InstanceType.of(ec2.InstanceClass.BURSTABLE2, ec2.InstanceSize.MICRO),
950
+ machine_image=ec2.MachineImage.latest_amazon_linux2(),
951
+ health_checks=autoscaling.HealthChecks.with_additional_checks(
952
+ grace_period=Duration.seconds(100),
953
+ additional_types=[autoscaling.AdditionalHealthCheckType.EBS, autoscaling.AdditionalHealthCheckType.ELB, autoscaling.AdditionalHealthCheckType.VPC_LATTICE
954
+ ]
955
+ )
956
+ )
957
+ '''
958
+
959
+ ELB = "ELB"
960
+ '''ELB Health Check.'''
961
+ EBS = "EBS"
962
+ '''EBS Health Check.'''
963
+ VPC_LATTICE = "VPC_LATTICE"
964
+ '''VPC LATTICE Health Check.'''
965
+
966
+
967
+ @jsii.data_type(
968
+ jsii_type="aws-cdk-lib.aws_autoscaling.AdditionalHealthChecksOptions",
969
+ jsii_struct_bases=[],
970
+ name_mapping={
971
+ "additional_types": "additionalTypes",
972
+ "grace_period": "gracePeriod",
973
+ },
974
+ )
975
+ class AdditionalHealthChecksOptions:
976
+ def __init__(
977
+ self,
978
+ *,
979
+ additional_types: typing.Sequence[AdditionalHealthCheckType],
980
+ grace_period: typing.Optional[_Duration_4839e8c3] = None,
981
+ ) -> None:
982
+ '''Additional Heath checks options.
983
+
984
+ :param additional_types: One or more health check types other than EC2.
985
+ :param grace_period: Specified the time Auto Scaling waits before checking the health status of an EC2 instance that has come into service and marking it unhealthy due to a failed health check. Default: Duration.seconds(0)
986
+
987
+ :exampleMetadata: infused
988
+
989
+ Example::
990
+
991
+ # vpc: ec2.Vpc
992
+
993
+
994
+ autoscaling.AutoScalingGroup(self, "ASG",
995
+ vpc=vpc,
996
+ instance_type=ec2.InstanceType.of(ec2.InstanceClass.BURSTABLE2, ec2.InstanceSize.MICRO),
997
+ machine_image=ec2.MachineImage.latest_amazon_linux2(),
998
+ health_checks=autoscaling.HealthChecks.with_additional_checks(
999
+ grace_period=Duration.seconds(100),
1000
+ additional_types=[autoscaling.AdditionalHealthCheckType.EBS, autoscaling.AdditionalHealthCheckType.ELB, autoscaling.AdditionalHealthCheckType.VPC_LATTICE
1001
+ ]
1002
+ )
1003
+ )
1004
+ '''
1005
+ if __debug__:
1006
+ type_hints = typing.get_type_hints(_typecheckingstub__6dfdb943aaf85e88b43ad8c01d86d258ceb66c969e34e34611883dcd70953268)
1007
+ check_type(argname="argument additional_types", value=additional_types, expected_type=type_hints["additional_types"])
1008
+ check_type(argname="argument grace_period", value=grace_period, expected_type=type_hints["grace_period"])
1009
+ self._values: typing.Dict[builtins.str, typing.Any] = {
1010
+ "additional_types": additional_types,
1011
+ }
1012
+ if grace_period is not None:
1013
+ self._values["grace_period"] = grace_period
1014
+
1015
+ @builtins.property
1016
+ def additional_types(self) -> typing.List[AdditionalHealthCheckType]:
1017
+ '''One or more health check types other than EC2.'''
1018
+ result = self._values.get("additional_types")
1019
+ assert result is not None, "Required property 'additional_types' is missing"
1020
+ return typing.cast(typing.List[AdditionalHealthCheckType], result)
1021
+
1022
+ @builtins.property
1023
+ def grace_period(self) -> typing.Optional[_Duration_4839e8c3]:
1024
+ '''Specified the time Auto Scaling waits before checking the health status of an EC2 instance that has come into service and marking it unhealthy due to a failed health check.
1025
+
1026
+ :default: Duration.seconds(0)
1027
+
1028
+ :see: https://docs.aws.amazon.com/autoscaling/ec2/userguide/health-check-grace-period.html
1029
+ '''
1030
+ result = self._values.get("grace_period")
1031
+ return typing.cast(typing.Optional[_Duration_4839e8c3], result)
1032
+
1033
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
1034
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
1035
+
1036
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
1037
+ return not (rhs == self)
1038
+
1039
+ def __repr__(self) -> str:
1040
+ return "AdditionalHealthChecksOptions(%s)" % ", ".join(
1041
+ k + "=" + repr(v) for k, v in self._values.items()
1042
+ )
1043
+
1044
+
893
1045
  @jsii.data_type(
894
1046
  jsii_type="aws-cdk-lib.aws_autoscaling.AdjustmentTier",
895
1047
  jsii_struct_bases=[],
@@ -13309,6 +13461,7 @@ class CfnWarmPoolProps:
13309
13461
  "desired_capacity": "desiredCapacity",
13310
13462
  "group_metrics": "groupMetrics",
13311
13463
  "health_check": "healthCheck",
13464
+ "health_checks": "healthChecks",
13312
13465
  "ignore_unmodified_size_properties": "ignoreUnmodifiedSizeProperties",
13313
13466
  "instance_monitoring": "instanceMonitoring",
13314
13467
  "key_name": "keyName",
@@ -13342,6 +13495,7 @@ class CommonAutoScalingGroupProps:
13342
13495
  desired_capacity: typing.Optional[jsii.Number] = None,
13343
13496
  group_metrics: typing.Optional[typing.Sequence["GroupMetrics"]] = None,
13344
13497
  health_check: typing.Optional["HealthCheck"] = None,
13498
+ health_checks: typing.Optional["HealthChecks"] = None,
13345
13499
  ignore_unmodified_size_properties: typing.Optional[builtins.bool] = None,
13346
13500
  instance_monitoring: typing.Optional["Monitoring"] = None,
13347
13501
  key_name: typing.Optional[builtins.str] = None,
@@ -13374,7 +13528,8 @@ class CommonAutoScalingGroupProps:
13374
13528
  :param default_instance_warmup: The amount of time, in seconds, until a newly launched instance can contribute to the Amazon CloudWatch metrics. This delay lets an instance finish initializing before Amazon EC2 Auto Scaling aggregates instance metrics, resulting in more reliable usage data. Set this value equal to the amount of time that it takes for resource consumption to become stable after an instance reaches the InService state. To optimize the performance of scaling policies that scale continuously, such as target tracking and step scaling policies, we strongly recommend that you enable the default instance warmup, even if its value is set to 0 seconds Default instance warmup will not be added if no value is specified Default: None
13375
13529
  :param desired_capacity: Initial amount of instances in the fleet. If this is set to a number, every deployment will reset the amount of instances to this number. It is recommended to leave this value blank. Default: minCapacity, and leave unchanged during deployment
13376
13530
  :param group_metrics: Enable monitoring for group metrics, these metrics describe the group rather than any of its instances. To report all group metrics use ``GroupMetrics.all()`` Group metrics are reported in a granularity of 1 minute at no additional charge. Default: - no group metrics will be reported
13377
- :param health_check: Configuration for health checks. Default: - HealthCheck.ec2 with no grace period
13531
+ :param health_check: (deprecated) Configuration for health checks. Default: - HealthCheck.ec2 with no grace period
13532
+ :param health_checks: Configuration for EC2 or additional health checks. Even when using ``HealthChecks.withAdditionalChecks()``, the EC2 type is implicitly included. Default: - EC2 type with no grace period
13378
13533
  :param ignore_unmodified_size_properties: If the ASG has scheduled actions, don't reset unchanged group sizes. Only used if the ASG has scheduled actions (which may scale your ASG up or down regardless of cdk deployments). If true, the size of the group will only be reset if it has been changed in the CDK app. If false, the sizes will always be changed back to what they were in the CDK app on deployment. Default: true
13379
13534
  :param instance_monitoring: Controls whether instances in this group are launched with detailed or basic monitoring. When detailed monitoring is enabled, Amazon CloudWatch generates metrics every minute and your account is charged a fee. When you disable detailed monitoring, CloudWatch generates metrics every 5 minutes. ``launchTemplate`` and ``mixedInstancesPolicy`` must not be specified when this property is specified Default: - Monitoring.DETAILED
13380
13535
  :param key_name: (deprecated) Name of SSH keypair to grant access to instances. ``launchTemplate`` and ``mixedInstancesPolicy`` must not be specified when this property is specified You can either specify ``keyPair`` or ``keyName``, not both. Default: - No SSH access will be possible.
@@ -13406,6 +13561,7 @@ class CommonAutoScalingGroupProps:
13406
13561
  # block_device_volume: autoscaling.BlockDeviceVolume
13407
13562
  # group_metrics: autoscaling.GroupMetrics
13408
13563
  # health_check: autoscaling.HealthCheck
13564
+ # health_checks: autoscaling.HealthChecks
13409
13565
  # key_pair: ec2.KeyPair
13410
13566
  # scaling_events: autoscaling.ScalingEvents
13411
13567
  # signals: autoscaling.Signals
@@ -13429,6 +13585,7 @@ class CommonAutoScalingGroupProps:
13429
13585
  desired_capacity=123,
13430
13586
  group_metrics=[group_metrics],
13431
13587
  health_check=health_check,
13588
+ health_checks=health_checks,
13432
13589
  ignore_unmodified_size_properties=False,
13433
13590
  instance_monitoring=autoscaling.Monitoring.BASIC,
13434
13591
  key_name="keyName",
@@ -13474,6 +13631,7 @@ class CommonAutoScalingGroupProps:
13474
13631
  check_type(argname="argument desired_capacity", value=desired_capacity, expected_type=type_hints["desired_capacity"])
13475
13632
  check_type(argname="argument group_metrics", value=group_metrics, expected_type=type_hints["group_metrics"])
13476
13633
  check_type(argname="argument health_check", value=health_check, expected_type=type_hints["health_check"])
13634
+ check_type(argname="argument health_checks", value=health_checks, expected_type=type_hints["health_checks"])
13477
13635
  check_type(argname="argument ignore_unmodified_size_properties", value=ignore_unmodified_size_properties, expected_type=type_hints["ignore_unmodified_size_properties"])
13478
13636
  check_type(argname="argument instance_monitoring", value=instance_monitoring, expected_type=type_hints["instance_monitoring"])
13479
13637
  check_type(argname="argument key_name", value=key_name, expected_type=type_hints["key_name"])
@@ -13513,6 +13671,8 @@ class CommonAutoScalingGroupProps:
13513
13671
  self._values["group_metrics"] = group_metrics
13514
13672
  if health_check is not None:
13515
13673
  self._values["health_check"] = health_check
13674
+ if health_checks is not None:
13675
+ self._values["health_checks"] = health_checks
13516
13676
  if ignore_unmodified_size_properties is not None:
13517
13677
  self._values["ignore_unmodified_size_properties"] = ignore_unmodified_size_properties
13518
13678
  if instance_monitoring is not None:
@@ -13678,13 +13838,30 @@ class CommonAutoScalingGroupProps:
13678
13838
 
13679
13839
  @builtins.property
13680
13840
  def health_check(self) -> typing.Optional["HealthCheck"]:
13681
- '''Configuration for health checks.
13841
+ '''(deprecated) Configuration for health checks.
13682
13842
 
13683
13843
  :default: - HealthCheck.ec2 with no grace period
13844
+
13845
+ :deprecated: Use ``healthChecks`` instead
13846
+
13847
+ :stability: deprecated
13684
13848
  '''
13685
13849
  result = self._values.get("health_check")
13686
13850
  return typing.cast(typing.Optional["HealthCheck"], result)
13687
13851
 
13852
+ @builtins.property
13853
+ def health_checks(self) -> typing.Optional["HealthChecks"]:
13854
+ '''Configuration for EC2 or additional health checks.
13855
+
13856
+ Even when using ``HealthChecks.withAdditionalChecks()``, the EC2 type is implicitly included.
13857
+
13858
+ :default: - EC2 type with no grace period
13859
+
13860
+ :see: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-health-checks.html
13861
+ '''
13862
+ result = self._values.get("health_checks")
13863
+ return typing.cast(typing.Optional["HealthChecks"], result)
13864
+
13688
13865
  @builtins.property
13689
13866
  def ignore_unmodified_size_properties(self) -> typing.Optional[builtins.bool]:
13690
13867
  '''If the ASG has scheduled actions, don't reset unchanged group sizes.
@@ -14473,10 +14650,13 @@ class EbsDeviceVolumeType(enum.Enum):
14473
14650
  )
14474
14651
  class Ec2HealthCheckOptions:
14475
14652
  def __init__(self, *, grace: typing.Optional[_Duration_4839e8c3] = None) -> None:
14476
- '''EC2 Heath check options.
14653
+ '''(deprecated) EC2 Heath check options.
14477
14654
 
14478
- :param grace: Specified the time Auto Scaling waits before checking the health status of an EC2 instance that has come into service. Default: Duration.seconds(0)
14655
+ :param grace: (deprecated) Specified the time Auto Scaling waits before checking the health status of an EC2 instance that has come into service. Default: Duration.seconds(0)
14479
14656
 
14657
+ :deprecated: Use Ec2HealthChecksOptions instead
14658
+
14659
+ :stability: deprecated
14480
14660
  :exampleMetadata: fixture=_generated
14481
14661
 
14482
14662
  Example::
@@ -14499,9 +14679,11 @@ class Ec2HealthCheckOptions:
14499
14679
 
14500
14680
  @builtins.property
14501
14681
  def grace(self) -> typing.Optional[_Duration_4839e8c3]:
14502
- '''Specified the time Auto Scaling waits before checking the health status of an EC2 instance that has come into service.
14682
+ '''(deprecated) Specified the time Auto Scaling waits before checking the health status of an EC2 instance that has come into service.
14503
14683
 
14504
14684
  :default: Duration.seconds(0)
14685
+
14686
+ :stability: deprecated
14505
14687
  '''
14506
14688
  result = self._values.get("grace")
14507
14689
  return typing.cast(typing.Optional[_Duration_4839e8c3], result)
@@ -14518,6 +14700,67 @@ class Ec2HealthCheckOptions:
14518
14700
  )
14519
14701
 
14520
14702
 
14703
+ @jsii.data_type(
14704
+ jsii_type="aws-cdk-lib.aws_autoscaling.Ec2HealthChecksOptions",
14705
+ jsii_struct_bases=[],
14706
+ name_mapping={"grace_period": "gracePeriod"},
14707
+ )
14708
+ class Ec2HealthChecksOptions:
14709
+ def __init__(
14710
+ self,
14711
+ *,
14712
+ grace_period: typing.Optional[_Duration_4839e8c3] = None,
14713
+ ) -> None:
14714
+ '''EC2 Heath checks options.
14715
+
14716
+ :param grace_period: Specified the time Auto Scaling waits before checking the health status of an EC2 instance that has come into service and marking it unhealthy due to a failed health check. Default: Duration.seconds(0)
14717
+
14718
+ :exampleMetadata: infused
14719
+
14720
+ Example::
14721
+
14722
+ # vpc: ec2.Vpc
14723
+
14724
+
14725
+ autoscaling.AutoScalingGroup(self, "ASG",
14726
+ vpc=vpc,
14727
+ instance_type=ec2.InstanceType.of(ec2.InstanceClass.BURSTABLE2, ec2.InstanceSize.MICRO),
14728
+ machine_image=ec2.MachineImage.latest_amazon_linux2(),
14729
+ health_checks=autoscaling.HealthChecks.ec2(
14730
+ grace_period=Duration.seconds(100)
14731
+ )
14732
+ )
14733
+ '''
14734
+ if __debug__:
14735
+ type_hints = typing.get_type_hints(_typecheckingstub__3300c8476638604e0d967ab62e760b25293214d044a8acec0c9d8bd70eecb3f9)
14736
+ check_type(argname="argument grace_period", value=grace_period, expected_type=type_hints["grace_period"])
14737
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
14738
+ if grace_period is not None:
14739
+ self._values["grace_period"] = grace_period
14740
+
14741
+ @builtins.property
14742
+ def grace_period(self) -> typing.Optional[_Duration_4839e8c3]:
14743
+ '''Specified the time Auto Scaling waits before checking the health status of an EC2 instance that has come into service and marking it unhealthy due to a failed health check.
14744
+
14745
+ :default: Duration.seconds(0)
14746
+
14747
+ :see: https://docs.aws.amazon.com/autoscaling/ec2/userguide/health-check-grace-period.html
14748
+ '''
14749
+ result = self._values.get("grace_period")
14750
+ return typing.cast(typing.Optional[_Duration_4839e8c3], result)
14751
+
14752
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
14753
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
14754
+
14755
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
14756
+ return not (rhs == self)
14757
+
14758
+ def __repr__(self) -> str:
14759
+ return "Ec2HealthChecksOptions(%s)" % ", ".join(
14760
+ k + "=" + repr(v) for k, v in self._values.items()
14761
+ )
14762
+
14763
+
14521
14764
  @jsii.data_type(
14522
14765
  jsii_type="aws-cdk-lib.aws_autoscaling.ElbHealthCheckOptions",
14523
14766
  jsii_struct_bases=[],
@@ -14525,10 +14768,13 @@ class Ec2HealthCheckOptions:
14525
14768
  )
14526
14769
  class ElbHealthCheckOptions:
14527
14770
  def __init__(self, *, grace: _Duration_4839e8c3) -> None:
14528
- '''ELB Heath check options.
14771
+ '''(deprecated) ELB Heath check options.
14772
+
14773
+ :param grace: (deprecated) Specified the time Auto Scaling waits before checking the health status of an EC2 instance that has come into service. This option is required for ELB health checks.
14529
14774
 
14530
- :param grace: Specified the time Auto Scaling waits before checking the health status of an EC2 instance that has come into service. This option is required for ELB health checks.
14775
+ :deprecated: Use AdditionalHealthChecksOptions instead
14531
14776
 
14777
+ :stability: deprecated
14532
14778
  :exampleMetadata: fixture=_generated
14533
14779
 
14534
14780
  Example::
@@ -14551,9 +14797,11 @@ class ElbHealthCheckOptions:
14551
14797
 
14552
14798
  @builtins.property
14553
14799
  def grace(self) -> _Duration_4839e8c3:
14554
- '''Specified the time Auto Scaling waits before checking the health status of an EC2 instance that has come into service.
14800
+ '''(deprecated) Specified the time Auto Scaling waits before checking the health status of an EC2 instance that has come into service.
14555
14801
 
14556
14802
  This option is required for ELB health checks.
14803
+
14804
+ :stability: deprecated
14557
14805
  '''
14558
14806
  result = self._values.get("grace")
14559
14807
  assert result is not None, "Required property 'grace' is missing"
@@ -14731,8 +14979,11 @@ class HealthCheck(
14731
14979
  metaclass=jsii.JSIIMeta,
14732
14980
  jsii_type="aws-cdk-lib.aws_autoscaling.HealthCheck",
14733
14981
  ):
14734
- '''Health check settings.
14982
+ '''(deprecated) Health check settings.
14735
14983
 
14984
+ :deprecated: Use HealthChecks instead
14985
+
14986
+ :stability: deprecated
14736
14987
  :exampleMetadata: fixture=_generated
14737
14988
 
14738
14989
  Example::
@@ -14750,9 +15001,11 @@ class HealthCheck(
14750
15001
  @jsii.member(jsii_name="ec2")
14751
15002
  @builtins.classmethod
14752
15003
  def ec2(cls, *, grace: typing.Optional[_Duration_4839e8c3] = None) -> "HealthCheck":
14753
- '''Use EC2 for health checks.
15004
+ '''(deprecated) Use EC2 for health checks.
15005
+
15006
+ :param grace: (deprecated) Specified the time Auto Scaling waits before checking the health status of an EC2 instance that has come into service. Default: Duration.seconds(0)
14754
15007
 
14755
- :param grace: Specified the time Auto Scaling waits before checking the health status of an EC2 instance that has come into service. Default: Duration.seconds(0)
15008
+ :stability: deprecated
14756
15009
  '''
14757
15010
  options = Ec2HealthCheckOptions(grace=grace)
14758
15011
 
@@ -14761,11 +15014,13 @@ class HealthCheck(
14761
15014
  @jsii.member(jsii_name="elb")
14762
15015
  @builtins.classmethod
14763
15016
  def elb(cls, *, grace: _Duration_4839e8c3) -> "HealthCheck":
14764
- '''Use ELB for health checks.
15017
+ '''(deprecated) Use ELB for health checks.
14765
15018
 
14766
15019
  It considers the instance unhealthy if it fails either the EC2 status checks or the load balancer health checks.
14767
15020
 
14768
- :param grace: Specified the time Auto Scaling waits before checking the health status of an EC2 instance that has come into service. This option is required for ELB health checks.
15021
+ :param grace: (deprecated) Specified the time Auto Scaling waits before checking the health status of an EC2 instance that has come into service. This option is required for ELB health checks.
15022
+
15023
+ :stability: deprecated
14769
15024
  '''
14770
15025
  options = ElbHealthCheckOptions(grace=grace)
14771
15026
 
@@ -14774,8 +15029,85 @@ class HealthCheck(
14774
15029
  @builtins.property
14775
15030
  @jsii.member(jsii_name="type")
14776
15031
  def type(self) -> builtins.str:
15032
+ '''
15033
+ :stability: deprecated
15034
+ '''
14777
15035
  return typing.cast(builtins.str, jsii.get(self, "type"))
14778
15036
 
15037
+ @builtins.property
15038
+ @jsii.member(jsii_name="gracePeriod")
15039
+ def grace_period(self) -> typing.Optional[_Duration_4839e8c3]:
15040
+ '''
15041
+ :stability: deprecated
15042
+ '''
15043
+ return typing.cast(typing.Optional[_Duration_4839e8c3], jsii.get(self, "gracePeriod"))
15044
+
15045
+
15046
+ class HealthChecks(
15047
+ metaclass=jsii.JSIIMeta,
15048
+ jsii_type="aws-cdk-lib.aws_autoscaling.HealthChecks",
15049
+ ):
15050
+ '''Health check settings for multiple types.
15051
+
15052
+ :exampleMetadata: infused
15053
+
15054
+ Example::
15055
+
15056
+ # vpc: ec2.Vpc
15057
+
15058
+
15059
+ autoscaling.AutoScalingGroup(self, "ASG",
15060
+ vpc=vpc,
15061
+ instance_type=ec2.InstanceType.of(ec2.InstanceClass.BURSTABLE2, ec2.InstanceSize.MICRO),
15062
+ machine_image=ec2.MachineImage.latest_amazon_linux2(),
15063
+ health_checks=autoscaling.HealthChecks.ec2(
15064
+ grace_period=Duration.seconds(100)
15065
+ )
15066
+ )
15067
+ '''
15068
+
15069
+ @jsii.member(jsii_name="ec2")
15070
+ @builtins.classmethod
15071
+ def ec2(
15072
+ cls,
15073
+ *,
15074
+ grace_period: typing.Optional[_Duration_4839e8c3] = None,
15075
+ ) -> "HealthChecks":
15076
+ '''Use EC2 only for health checks.
15077
+
15078
+ :param grace_period: Specified the time Auto Scaling waits before checking the health status of an EC2 instance that has come into service and marking it unhealthy due to a failed health check. Default: Duration.seconds(0)
15079
+ '''
15080
+ options = Ec2HealthChecksOptions(grace_period=grace_period)
15081
+
15082
+ return typing.cast("HealthChecks", jsii.sinvoke(cls, "ec2", [options]))
15083
+
15084
+ @jsii.member(jsii_name="withAdditionalChecks")
15085
+ @builtins.classmethod
15086
+ def with_additional_checks(
15087
+ cls,
15088
+ *,
15089
+ additional_types: typing.Sequence[AdditionalHealthCheckType],
15090
+ grace_period: typing.Optional[_Duration_4839e8c3] = None,
15091
+ ) -> "HealthChecks":
15092
+ '''Use additional health checks other than EC2.
15093
+
15094
+ Specify types other than EC2, as EC2 is always enabled.
15095
+ It considers the instance unhealthy if it fails either the EC2 status checks or the additional health checks.
15096
+
15097
+ :param additional_types: One or more health check types other than EC2.
15098
+ :param grace_period: Specified the time Auto Scaling waits before checking the health status of an EC2 instance that has come into service and marking it unhealthy due to a failed health check. Default: Duration.seconds(0)
15099
+ '''
15100
+ options = AdditionalHealthChecksOptions(
15101
+ additional_types=additional_types, grace_period=grace_period
15102
+ )
15103
+
15104
+ return typing.cast("HealthChecks", jsii.sinvoke(cls, "withAdditionalChecks", [options]))
15105
+
15106
+ @builtins.property
15107
+ @jsii.member(jsii_name="types")
15108
+ def types(self) -> typing.List[builtins.str]:
15109
+ return typing.cast(typing.List[builtins.str], jsii.get(self, "types"))
15110
+
14779
15111
  @builtins.property
14780
15112
  @jsii.member(jsii_name="gracePeriod")
14781
15113
  def grace_period(self) -> typing.Optional[_Duration_4839e8c3]:
@@ -19112,15 +19444,16 @@ class AutoScalingGroup(
19112
19444
 
19113
19445
  Example::
19114
19446
 
19115
- # cluster: eks.Cluster
19116
- # asg: autoscaling.AutoScalingGroup
19447
+ # vpc: ec2.Vpc
19117
19448
 
19118
- imported_cluster = eks.Cluster.from_cluster_attributes(self, "ImportedCluster",
19119
- cluster_name=cluster.cluster_name,
19120
- cluster_security_group_id=cluster.cluster_security_group_id
19121
- )
19122
19449
 
19123
- imported_cluster.connect_auto_scaling_group_capacity(asg)
19450
+ my_security_group = ec2.SecurityGroup(self, "SecurityGroup", vpc=vpc)
19451
+ autoscaling.AutoScalingGroup(self, "ASG",
19452
+ vpc=vpc,
19453
+ instance_type=ec2.InstanceType.of(ec2.InstanceClass.BURSTABLE2, ec2.InstanceSize.MICRO),
19454
+ machine_image=ec2.MachineImage.latest_amazon_linux2(),
19455
+ security_group=my_security_group
19456
+ )
19124
19457
  '''
19125
19458
 
19126
19459
  def __init__(
@@ -19152,6 +19485,7 @@ class AutoScalingGroup(
19152
19485
  desired_capacity: typing.Optional[jsii.Number] = None,
19153
19486
  group_metrics: typing.Optional[typing.Sequence[GroupMetrics]] = None,
19154
19487
  health_check: typing.Optional[HealthCheck] = None,
19488
+ health_checks: typing.Optional[HealthChecks] = None,
19155
19489
  ignore_unmodified_size_properties: typing.Optional[builtins.bool] = None,
19156
19490
  instance_monitoring: typing.Optional[Monitoring] = None,
19157
19491
  key_name: typing.Optional[builtins.str] = None,
@@ -19195,7 +19529,8 @@ class AutoScalingGroup(
19195
19529
  :param default_instance_warmup: The amount of time, in seconds, until a newly launched instance can contribute to the Amazon CloudWatch metrics. This delay lets an instance finish initializing before Amazon EC2 Auto Scaling aggregates instance metrics, resulting in more reliable usage data. Set this value equal to the amount of time that it takes for resource consumption to become stable after an instance reaches the InService state. To optimize the performance of scaling policies that scale continuously, such as target tracking and step scaling policies, we strongly recommend that you enable the default instance warmup, even if its value is set to 0 seconds Default instance warmup will not be added if no value is specified Default: None
19196
19530
  :param desired_capacity: Initial amount of instances in the fleet. If this is set to a number, every deployment will reset the amount of instances to this number. It is recommended to leave this value blank. Default: minCapacity, and leave unchanged during deployment
19197
19531
  :param group_metrics: Enable monitoring for group metrics, these metrics describe the group rather than any of its instances. To report all group metrics use ``GroupMetrics.all()`` Group metrics are reported in a granularity of 1 minute at no additional charge. Default: - no group metrics will be reported
19198
- :param health_check: Configuration for health checks. Default: - HealthCheck.ec2 with no grace period
19532
+ :param health_check: (deprecated) Configuration for health checks. Default: - HealthCheck.ec2 with no grace period
19533
+ :param health_checks: Configuration for EC2 or additional health checks. Even when using ``HealthChecks.withAdditionalChecks()``, the EC2 type is implicitly included. Default: - EC2 type with no grace period
19199
19534
  :param ignore_unmodified_size_properties: If the ASG has scheduled actions, don't reset unchanged group sizes. Only used if the ASG has scheduled actions (which may scale your ASG up or down regardless of cdk deployments). If true, the size of the group will only be reset if it has been changed in the CDK app. If false, the sizes will always be changed back to what they were in the CDK app on deployment. Default: true
19200
19535
  :param instance_monitoring: Controls whether instances in this group are launched with detailed or basic monitoring. When detailed monitoring is enabled, Amazon CloudWatch generates metrics every minute and your account is charged a fee. When you disable detailed monitoring, CloudWatch generates metrics every 5 minutes. ``launchTemplate`` and ``mixedInstancesPolicy`` must not be specified when this property is specified Default: - Monitoring.DETAILED
19201
19536
  :param key_name: (deprecated) Name of SSH keypair to grant access to instances. ``launchTemplate`` and ``mixedInstancesPolicy`` must not be specified when this property is specified You can either specify ``keyPair`` or ``keyName``, not both. Default: - No SSH access will be possible.
@@ -19242,6 +19577,7 @@ class AutoScalingGroup(
19242
19577
  desired_capacity=desired_capacity,
19243
19578
  group_metrics=group_metrics,
19244
19579
  health_check=health_check,
19580
+ health_checks=health_checks,
19245
19581
  ignore_unmodified_size_properties=ignore_unmodified_size_properties,
19246
19582
  instance_monitoring=instance_monitoring,
19247
19583
  key_name=key_name,
@@ -19836,6 +20172,7 @@ class AutoScalingGroup(
19836
20172
  "desired_capacity": "desiredCapacity",
19837
20173
  "group_metrics": "groupMetrics",
19838
20174
  "health_check": "healthCheck",
20175
+ "health_checks": "healthChecks",
19839
20176
  "ignore_unmodified_size_properties": "ignoreUnmodifiedSizeProperties",
19840
20177
  "instance_monitoring": "instanceMonitoring",
19841
20178
  "key_name": "keyName",
@@ -19882,6 +20219,7 @@ class AutoScalingGroupProps(CommonAutoScalingGroupProps):
19882
20219
  desired_capacity: typing.Optional[jsii.Number] = None,
19883
20220
  group_metrics: typing.Optional[typing.Sequence[GroupMetrics]] = None,
19884
20221
  health_check: typing.Optional[HealthCheck] = None,
20222
+ health_checks: typing.Optional[HealthChecks] = None,
19885
20223
  ignore_unmodified_size_properties: typing.Optional[builtins.bool] = None,
19886
20224
  instance_monitoring: typing.Optional[Monitoring] = None,
19887
20225
  key_name: typing.Optional[builtins.str] = None,
@@ -19924,7 +20262,8 @@ class AutoScalingGroupProps(CommonAutoScalingGroupProps):
19924
20262
  :param default_instance_warmup: The amount of time, in seconds, until a newly launched instance can contribute to the Amazon CloudWatch metrics. This delay lets an instance finish initializing before Amazon EC2 Auto Scaling aggregates instance metrics, resulting in more reliable usage data. Set this value equal to the amount of time that it takes for resource consumption to become stable after an instance reaches the InService state. To optimize the performance of scaling policies that scale continuously, such as target tracking and step scaling policies, we strongly recommend that you enable the default instance warmup, even if its value is set to 0 seconds Default instance warmup will not be added if no value is specified Default: None
19925
20263
  :param desired_capacity: Initial amount of instances in the fleet. If this is set to a number, every deployment will reset the amount of instances to this number. It is recommended to leave this value blank. Default: minCapacity, and leave unchanged during deployment
19926
20264
  :param group_metrics: Enable monitoring for group metrics, these metrics describe the group rather than any of its instances. To report all group metrics use ``GroupMetrics.all()`` Group metrics are reported in a granularity of 1 minute at no additional charge. Default: - no group metrics will be reported
19927
- :param health_check: Configuration for health checks. Default: - HealthCheck.ec2 with no grace period
20265
+ :param health_check: (deprecated) Configuration for health checks. Default: - HealthCheck.ec2 with no grace period
20266
+ :param health_checks: Configuration for EC2 or additional health checks. Even when using ``HealthChecks.withAdditionalChecks()``, the EC2 type is implicitly included. Default: - EC2 type with no grace period
19928
20267
  :param ignore_unmodified_size_properties: If the ASG has scheduled actions, don't reset unchanged group sizes. Only used if the ASG has scheduled actions (which may scale your ASG up or down regardless of cdk deployments). If true, the size of the group will only be reset if it has been changed in the CDK app. If false, the sizes will always be changed back to what they were in the CDK app on deployment. Default: true
19929
20268
  :param instance_monitoring: Controls whether instances in this group are launched with detailed or basic monitoring. When detailed monitoring is enabled, Amazon CloudWatch generates metrics every minute and your account is charged a fee. When you disable detailed monitoring, CloudWatch generates metrics every 5 minutes. ``launchTemplate`` and ``mixedInstancesPolicy`` must not be specified when this property is specified Default: - Monitoring.DETAILED
19930
20269
  :param key_name: (deprecated) Name of SSH keypair to grant access to instances. ``launchTemplate`` and ``mixedInstancesPolicy`` must not be specified when this property is specified You can either specify ``keyPair`` or ``keyName``, not both. Default: - No SSH access will be possible.
@@ -19960,22 +20299,14 @@ class AutoScalingGroupProps(CommonAutoScalingGroupProps):
19960
20299
  Example::
19961
20300
 
19962
20301
  # vpc: ec2.Vpc
19963
- # instance_type: ec2.InstanceType
19964
- # machine_image: ec2.IMachineImage
19965
20302
 
19966
20303
 
19967
- auto_scaling_group = autoscaling.AutoScalingGroup(self, "ASG",
20304
+ my_security_group = ec2.SecurityGroup(self, "SecurityGroup", vpc=vpc)
20305
+ autoscaling.AutoScalingGroup(self, "ASG",
19968
20306
  vpc=vpc,
19969
- instance_type=instance_type,
19970
- machine_image=machine_image,
19971
- block_devices=[autoscaling.BlockDevice(
19972
- device_name="gp3-volume",
19973
- volume=autoscaling.BlockDeviceVolume.ebs(15,
19974
- volume_type=autoscaling.EbsDeviceVolumeType.GP3,
19975
- throughput=125
19976
- )
19977
- )
19978
- ]
20307
+ instance_type=ec2.InstanceType.of(ec2.InstanceClass.BURSTABLE2, ec2.InstanceSize.MICRO),
20308
+ machine_image=ec2.MachineImage.latest_amazon_linux2(),
20309
+ security_group=my_security_group
19979
20310
  )
19980
20311
  '''
19981
20312
  if isinstance(vpc_subnets, dict):
@@ -19997,6 +20328,7 @@ class AutoScalingGroupProps(CommonAutoScalingGroupProps):
19997
20328
  check_type(argname="argument desired_capacity", value=desired_capacity, expected_type=type_hints["desired_capacity"])
19998
20329
  check_type(argname="argument group_metrics", value=group_metrics, expected_type=type_hints["group_metrics"])
19999
20330
  check_type(argname="argument health_check", value=health_check, expected_type=type_hints["health_check"])
20331
+ check_type(argname="argument health_checks", value=health_checks, expected_type=type_hints["health_checks"])
20000
20332
  check_type(argname="argument ignore_unmodified_size_properties", value=ignore_unmodified_size_properties, expected_type=type_hints["ignore_unmodified_size_properties"])
20001
20333
  check_type(argname="argument instance_monitoring", value=instance_monitoring, expected_type=type_hints["instance_monitoring"])
20002
20334
  check_type(argname="argument key_name", value=key_name, expected_type=type_hints["key_name"])
@@ -20051,6 +20383,8 @@ class AutoScalingGroupProps(CommonAutoScalingGroupProps):
20051
20383
  self._values["group_metrics"] = group_metrics
20052
20384
  if health_check is not None:
20053
20385
  self._values["health_check"] = health_check
20386
+ if health_checks is not None:
20387
+ self._values["health_checks"] = health_checks
20054
20388
  if ignore_unmodified_size_properties is not None:
20055
20389
  self._values["ignore_unmodified_size_properties"] = ignore_unmodified_size_properties
20056
20390
  if instance_monitoring is not None:
@@ -20240,13 +20574,30 @@ class AutoScalingGroupProps(CommonAutoScalingGroupProps):
20240
20574
 
20241
20575
  @builtins.property
20242
20576
  def health_check(self) -> typing.Optional[HealthCheck]:
20243
- '''Configuration for health checks.
20577
+ '''(deprecated) Configuration for health checks.
20244
20578
 
20245
20579
  :default: - HealthCheck.ec2 with no grace period
20580
+
20581
+ :deprecated: Use ``healthChecks`` instead
20582
+
20583
+ :stability: deprecated
20246
20584
  '''
20247
20585
  result = self._values.get("health_check")
20248
20586
  return typing.cast(typing.Optional[HealthCheck], result)
20249
20587
 
20588
+ @builtins.property
20589
+ def health_checks(self) -> typing.Optional[HealthChecks]:
20590
+ '''Configuration for EC2 or additional health checks.
20591
+
20592
+ Even when using ``HealthChecks.withAdditionalChecks()``, the EC2 type is implicitly included.
20593
+
20594
+ :default: - EC2 type with no grace period
20595
+
20596
+ :see: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-health-checks.html
20597
+ '''
20598
+ result = self._values.get("health_checks")
20599
+ return typing.cast(typing.Optional[HealthChecks], result)
20600
+
20250
20601
  @builtins.property
20251
20602
  def ignore_unmodified_size_properties(self) -> typing.Optional[builtins.bool]:
20252
20603
  '''If the ASG has scheduled actions, don't reset unchanged group sizes.
@@ -20966,6 +21317,8 @@ class EbsDeviceProps(EbsDeviceSnapshotOptions):
20966
21317
 
20967
21318
 
20968
21319
  __all__ = [
21320
+ "AdditionalHealthCheckType",
21321
+ "AdditionalHealthChecksOptions",
20969
21322
  "AdjustmentTier",
20970
21323
  "AdjustmentType",
20971
21324
  "ApplyCloudFormationInitOptions",
@@ -21003,10 +21356,12 @@ __all__ = [
21003
21356
  "EbsDeviceSnapshotOptions",
21004
21357
  "EbsDeviceVolumeType",
21005
21358
  "Ec2HealthCheckOptions",
21359
+ "Ec2HealthChecksOptions",
21006
21360
  "ElbHealthCheckOptions",
21007
21361
  "GroupMetric",
21008
21362
  "GroupMetrics",
21009
21363
  "HealthCheck",
21364
+ "HealthChecks",
21010
21365
  "IAutoScalingGroup",
21011
21366
  "ILifecycleHook",
21012
21367
  "ILifecycleHookTarget",
@@ -21053,6 +21408,14 @@ __all__ = [
21053
21408
 
21054
21409
  publication.publish()
21055
21410
 
21411
+ def _typecheckingstub__6dfdb943aaf85e88b43ad8c01d86d258ceb66c969e34e34611883dcd70953268(
21412
+ *,
21413
+ additional_types: typing.Sequence[AdditionalHealthCheckType],
21414
+ grace_period: typing.Optional[_Duration_4839e8c3] = None,
21415
+ ) -> None:
21416
+ """Type checking stubs"""
21417
+ pass
21418
+
21056
21419
  def _typecheckingstub__ea44f8895fe46835c1f535a501766e354e1166b5f34e774f4402c55622be2c00(
21057
21420
  *,
21058
21421
  adjustment: jsii.Number,
@@ -22523,6 +22886,7 @@ def _typecheckingstub__e7df3cbef8de53a463241b6e60846fac6e519118c7118785f8f4efb6d
22523
22886
  desired_capacity: typing.Optional[jsii.Number] = None,
22524
22887
  group_metrics: typing.Optional[typing.Sequence[GroupMetrics]] = None,
22525
22888
  health_check: typing.Optional[HealthCheck] = None,
22889
+ health_checks: typing.Optional[HealthChecks] = None,
22526
22890
  ignore_unmodified_size_properties: typing.Optional[builtins.bool] = None,
22527
22891
  instance_monitoring: typing.Optional[Monitoring] = None,
22528
22892
  key_name: typing.Optional[builtins.str] = None,
@@ -22592,6 +22956,13 @@ def _typecheckingstub__7ed1c4902bffca62eb69df85375bd1cbc0221879fd972e2805b034194
22592
22956
  """Type checking stubs"""
22593
22957
  pass
22594
22958
 
22959
+ def _typecheckingstub__3300c8476638604e0d967ab62e760b25293214d044a8acec0c9d8bd70eecb3f9(
22960
+ *,
22961
+ grace_period: typing.Optional[_Duration_4839e8c3] = None,
22962
+ ) -> None:
22963
+ """Type checking stubs"""
22964
+ pass
22965
+
22595
22966
  def _typecheckingstub__ff6ee0031db4237a2d504a88db32c061b20545da01d54dbae951f9d5b57a3eb3(
22596
22967
  *,
22597
22968
  grace: _Duration_4839e8c3,
@@ -23070,6 +23441,7 @@ def _typecheckingstub__82981fc74407321badee3133fda3bd0a016f4ab7634f761219c1c808c
23070
23441
  desired_capacity: typing.Optional[jsii.Number] = None,
23071
23442
  group_metrics: typing.Optional[typing.Sequence[GroupMetrics]] = None,
23072
23443
  health_check: typing.Optional[HealthCheck] = None,
23444
+ health_checks: typing.Optional[HealthChecks] = None,
23073
23445
  ignore_unmodified_size_properties: typing.Optional[builtins.bool] = None,
23074
23446
  instance_monitoring: typing.Optional[Monitoring] = None,
23075
23447
  key_name: typing.Optional[builtins.str] = None,
@@ -23278,6 +23650,7 @@ def _typecheckingstub__186ff14d58334848486a7ecd802c6b72a1b76f272f25349712b95361e
23278
23650
  desired_capacity: typing.Optional[jsii.Number] = None,
23279
23651
  group_metrics: typing.Optional[typing.Sequence[GroupMetrics]] = None,
23280
23652
  health_check: typing.Optional[HealthCheck] = None,
23653
+ health_checks: typing.Optional[HealthChecks] = None,
23281
23654
  ignore_unmodified_size_properties: typing.Optional[builtins.bool] = None,
23282
23655
  instance_monitoring: typing.Optional[Monitoring] = None,
23283
23656
  key_name: typing.Optional[builtins.str] = None,