aws-cdk-lib 2.114.0__py3-none-any.whl → 2.115.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 (47) hide show
  1. aws_cdk/__init__.py +7 -1
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.114.0.jsii.tgz → aws-cdk-lib@2.115.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_apigateway/__init__.py +6 -0
  5. aws_cdk/aws_apigatewayv2/__init__.py +223 -574
  6. aws_cdk/aws_autoscaling/__init__.py +99 -86
  7. aws_cdk/aws_bedrock/__init__.py +355 -0
  8. aws_cdk/aws_billingconductor/__init__.py +41 -0
  9. aws_cdk/aws_cleanrooms/__init__.py +46 -20
  10. aws_cdk/aws_cloudformation/__init__.py +5 -1
  11. aws_cdk/aws_cloudtrail/__init__.py +89 -0
  12. aws_cdk/aws_codedeploy/__init__.py +233 -1
  13. aws_cdk/aws_connect/__init__.py +49 -2
  14. aws_cdk/aws_dlm/__init__.py +8 -11
  15. aws_cdk/aws_dms/__init__.py +3861 -1643
  16. aws_cdk/aws_ec2/__init__.py +91 -47
  17. aws_cdk/aws_ecs/__init__.py +18 -0
  18. aws_cdk/aws_efs/__init__.py +1 -1
  19. aws_cdk/aws_eks/__init__.py +26 -13
  20. aws_cdk/aws_elasticloadbalancingv2/__init__.py +110 -54
  21. aws_cdk/aws_emr/__init__.py +287 -18
  22. aws_cdk/aws_eventschemas/__init__.py +1 -1
  23. aws_cdk/aws_fis/__init__.py +466 -34
  24. aws_cdk/aws_iam/__init__.py +47 -35
  25. aws_cdk/aws_internetmonitor/__init__.py +10 -12
  26. aws_cdk/aws_lightsail/__init__.py +4 -2
  27. aws_cdk/aws_logs/__init__.py +5 -4
  28. aws_cdk/aws_opensearchservice/__init__.py +47 -0
  29. aws_cdk/aws_osis/__init__.py +272 -32
  30. aws_cdk/aws_rds/__init__.py +205 -87
  31. aws_cdk/aws_resiliencehub/__init__.py +9 -14
  32. aws_cdk/aws_rolesanywhere/__init__.py +41 -53
  33. aws_cdk/aws_route53/__init__.py +3 -3
  34. aws_cdk/aws_route53_targets/__init__.py +2 -2
  35. aws_cdk/aws_s3/__init__.py +2 -6
  36. aws_cdk/aws_s3express/__init__.py +3 -3
  37. aws_cdk/aws_sagemaker/__init__.py +82 -11
  38. aws_cdk/aws_sns/__init__.py +181 -0
  39. aws_cdk/aws_stepfunctions/__init__.py +16 -8
  40. aws_cdk/aws_stepfunctions_tasks/__init__.py +975 -139
  41. aws_cdk/aws_workspacesthinclient/__init__.py +44 -35
  42. {aws_cdk_lib-2.114.0.dist-info → aws_cdk_lib-2.115.0.dist-info}/METADATA +2 -2
  43. {aws_cdk_lib-2.114.0.dist-info → aws_cdk_lib-2.115.0.dist-info}/RECORD +47 -46
  44. {aws_cdk_lib-2.114.0.dist-info → aws_cdk_lib-2.115.0.dist-info}/LICENSE +0 -0
  45. {aws_cdk_lib-2.114.0.dist-info → aws_cdk_lib-2.115.0.dist-info}/NOTICE +0 -0
  46. {aws_cdk_lib-2.114.0.dist-info → aws_cdk_lib-2.115.0.dist-info}/WHEEL +0 -0
  47. {aws_cdk_lib-2.114.0.dist-info → aws_cdk_lib-2.115.0.dist-info}/top_level.txt +0 -0
@@ -2278,6 +2278,16 @@ class CfnAutoScalingGroup(
2278
2278
  # the properties below are optional
2279
2279
  overrides=[autoscaling.CfnAutoScalingGroup.LaunchTemplateOverridesProperty(
2280
2280
  instance_requirements=autoscaling.CfnAutoScalingGroup.InstanceRequirementsProperty(
2281
+ memory_mi_b=autoscaling.CfnAutoScalingGroup.MemoryMiBRequestProperty(
2282
+ max=123,
2283
+ min=123
2284
+ ),
2285
+ v_cpu_count=autoscaling.CfnAutoScalingGroup.VCpuCountRequestProperty(
2286
+ max=123,
2287
+ min=123
2288
+ ),
2289
+
2290
+ # the properties below are optional
2281
2291
  accelerator_count=autoscaling.CfnAutoScalingGroup.AcceleratorCountRequestProperty(
2282
2292
  max=123,
2283
2293
  min=123
@@ -2305,10 +2315,6 @@ class CfnAutoScalingGroup(
2305
2315
  max=123,
2306
2316
  min=123
2307
2317
  ),
2308
- memory_mi_b=autoscaling.CfnAutoScalingGroup.MemoryMiBRequestProperty(
2309
- max=123,
2310
- min=123
2311
- ),
2312
2318
  network_bandwidth_gbps=autoscaling.CfnAutoScalingGroup.NetworkBandwidthGbpsRequestProperty(
2313
2319
  max=123,
2314
2320
  min=123
@@ -2323,10 +2329,6 @@ class CfnAutoScalingGroup(
2323
2329
  total_local_storage_gb=autoscaling.CfnAutoScalingGroup.TotalLocalStorageGBRequestProperty(
2324
2330
  max=123,
2325
2331
  min=123
2326
- ),
2327
- v_cpu_count=autoscaling.CfnAutoScalingGroup.VCpuCountRequestProperty(
2328
- max=123,
2329
- min=123
2330
2332
  )
2331
2333
  ),
2332
2334
  instance_type="instanceType",
@@ -3284,6 +3286,8 @@ class CfnAutoScalingGroup(
3284
3286
  jsii_type="aws-cdk-lib.aws_autoscaling.CfnAutoScalingGroup.InstanceRequirementsProperty",
3285
3287
  jsii_struct_bases=[],
3286
3288
  name_mapping={
3289
+ "memory_mib": "memoryMiB",
3290
+ "v_cpu_count": "vCpuCount",
3287
3291
  "accelerator_count": "acceleratorCount",
3288
3292
  "accelerator_manufacturers": "acceleratorManufacturers",
3289
3293
  "accelerator_names": "acceleratorNames",
@@ -3299,20 +3303,20 @@ class CfnAutoScalingGroup(
3299
3303
  "local_storage": "localStorage",
3300
3304
  "local_storage_types": "localStorageTypes",
3301
3305
  "memory_gib_per_v_cpu": "memoryGiBPerVCpu",
3302
- "memory_mib": "memoryMiB",
3303
3306
  "network_bandwidth_gbps": "networkBandwidthGbps",
3304
3307
  "network_interface_count": "networkInterfaceCount",
3305
3308
  "on_demand_max_price_percentage_over_lowest_price": "onDemandMaxPricePercentageOverLowestPrice",
3306
3309
  "require_hibernate_support": "requireHibernateSupport",
3307
3310
  "spot_max_price_percentage_over_lowest_price": "spotMaxPricePercentageOverLowestPrice",
3308
3311
  "total_local_storage_gb": "totalLocalStorageGb",
3309
- "v_cpu_count": "vCpuCount",
3310
3312
  },
3311
3313
  )
3312
3314
  class InstanceRequirementsProperty:
3313
3315
  def __init__(
3314
3316
  self,
3315
3317
  *,
3318
+ memory_mib: typing.Union[_IResolvable_da3f097b, typing.Union["CfnAutoScalingGroup.MemoryMiBRequestProperty", typing.Dict[builtins.str, typing.Any]]],
3319
+ v_cpu_count: typing.Union[_IResolvable_da3f097b, typing.Union["CfnAutoScalingGroup.VCpuCountRequestProperty", typing.Dict[builtins.str, typing.Any]]],
3316
3320
  accelerator_count: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAutoScalingGroup.AcceleratorCountRequestProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
3317
3321
  accelerator_manufacturers: typing.Optional[typing.Sequence[builtins.str]] = None,
3318
3322
  accelerator_names: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -3328,14 +3332,12 @@ class CfnAutoScalingGroup(
3328
3332
  local_storage: typing.Optional[builtins.str] = None,
3329
3333
  local_storage_types: typing.Optional[typing.Sequence[builtins.str]] = None,
3330
3334
  memory_gib_per_v_cpu: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAutoScalingGroup.MemoryGiBPerVCpuRequestProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
3331
- memory_mib: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAutoScalingGroup.MemoryMiBRequestProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
3332
3335
  network_bandwidth_gbps: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAutoScalingGroup.NetworkBandwidthGbpsRequestProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
3333
3336
  network_interface_count: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAutoScalingGroup.NetworkInterfaceCountRequestProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
3334
3337
  on_demand_max_price_percentage_over_lowest_price: typing.Optional[jsii.Number] = None,
3335
3338
  require_hibernate_support: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
3336
3339
  spot_max_price_percentage_over_lowest_price: typing.Optional[jsii.Number] = None,
3337
3340
  total_local_storage_gb: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAutoScalingGroup.TotalLocalStorageGBRequestProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
3338
- v_cpu_count: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAutoScalingGroup.VCpuCountRequestProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
3339
3341
  ) -> None:
3340
3342
  '''The attributes for the instance types for a mixed instances policy.
3341
3343
 
@@ -3358,6 +3360,8 @@ class CfnAutoScalingGroup(
3358
3360
 
3359
3361
  ``InstanceRequirements`` is a property of the ``LaunchTemplateOverrides`` property of the `AWS::AutoScaling::AutoScalingGroup LaunchTemplate <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-launchtemplate.html>`_ property type.
3360
3362
 
3363
+ :param memory_mib: The minimum and maximum instance memory size for an instance type, in MiB.
3364
+ :param v_cpu_count: The minimum and maximum number of vCPUs for an instance type.
3361
3365
  :param accelerator_count: The minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips) for an instance type. To exclude accelerator-enabled instance types, set ``Max`` to ``0`` . Default: No minimum or maximum limits
3362
3366
  :param accelerator_manufacturers: Indicates whether instance types must have accelerators by specific manufacturers. - For instance types with NVIDIA devices, specify ``nvidia`` . - For instance types with AMD devices, specify ``amd`` . - For instance types with AWS devices, specify ``amazon-web-services`` . - For instance types with Xilinx devices, specify ``xilinx`` . Default: Any manufacturer
3363
3367
  :param accelerator_names: Lists the accelerators that must be on an instance type. - For instance types with NVIDIA A100 GPUs, specify ``a100`` . - For instance types with NVIDIA V100 GPUs, specify ``v100`` . - For instance types with NVIDIA K80 GPUs, specify ``k80`` . - For instance types with NVIDIA T4 GPUs, specify ``t4`` . - For instance types with NVIDIA M60 GPUs, specify ``m60`` . - For instance types with AMD Radeon Pro V520 GPUs, specify ``radeon-pro-v520`` . - For instance types with Xilinx VU9P FPGAs, specify ``vu9p`` . Default: Any accelerator
@@ -3373,14 +3377,12 @@ class CfnAutoScalingGroup(
3373
3377
  :param local_storage: Indicates whether instance types with instance store volumes are included, excluded, or required. For more information, see `Amazon EC2 instance store <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html>`_ in the *Amazon EC2 User Guide for Linux Instances* . Default: ``included``
3374
3378
  :param local_storage_types: Indicates the type of local storage that is required. - For instance types with hard disk drive (HDD) storage, specify ``hdd`` . - For instance types with solid state drive (SSD) storage, specify ``ssd`` . Default: Any local storage type
3375
3379
  :param memory_gib_per_v_cpu: The minimum and maximum amount of memory per vCPU for an instance type, in GiB. Default: No minimum or maximum limits
3376
- :param memory_mib: The minimum and maximum instance memory size for an instance type, in MiB.
3377
3380
  :param network_bandwidth_gbps: The minimum and maximum amount of network bandwidth, in gigabits per second (Gbps). Default: No minimum or maximum limits
3378
3381
  :param network_interface_count: The minimum and maximum number of network interfaces for an instance type. Default: No minimum or maximum limits
3379
3382
  :param on_demand_max_price_percentage_over_lowest_price: The price protection threshold for On-Demand Instances. This is the maximum you’ll pay for an On-Demand Instance, expressed as a percentage higher than the least expensive current generation M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as ``999999`` . If you set ``DesiredCapacityType`` to ``vcpu`` or ``memory-mib`` , the price protection threshold is applied based on the per vCPU or per memory price instead of the per instance price. Default: ``20``
3380
3383
  :param require_hibernate_support: Indicates whether instance types must provide On-Demand Instance hibernation support. Default: ``false``
3381
3384
  :param spot_max_price_percentage_over_lowest_price: The price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the least expensive current generation M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as ``999999`` . If you set ``DesiredCapacityType`` to ``vcpu`` or ``memory-mib`` , the price protection threshold is applied based on the per vCPU or per memory price instead of the per instance price. Default: ``100``
3382
3385
  :param total_local_storage_gb: The minimum and maximum total local storage size for an instance type, in GB. Default: No minimum or maximum limits
3383
- :param v_cpu_count: The minimum and maximum number of vCPUs for an instance type.
3384
3386
 
3385
3387
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-instancerequirements.html
3386
3388
  :exampleMetadata: fixture=_generated
@@ -3392,6 +3394,16 @@ class CfnAutoScalingGroup(
3392
3394
  from aws_cdk import aws_autoscaling as autoscaling
3393
3395
 
3394
3396
  instance_requirements_property = autoscaling.CfnAutoScalingGroup.InstanceRequirementsProperty(
3397
+ memory_mi_b=autoscaling.CfnAutoScalingGroup.MemoryMiBRequestProperty(
3398
+ max=123,
3399
+ min=123
3400
+ ),
3401
+ v_cpu_count=autoscaling.CfnAutoScalingGroup.VCpuCountRequestProperty(
3402
+ max=123,
3403
+ min=123
3404
+ ),
3405
+
3406
+ # the properties below are optional
3395
3407
  accelerator_count=autoscaling.CfnAutoScalingGroup.AcceleratorCountRequestProperty(
3396
3408
  max=123,
3397
3409
  min=123
@@ -3419,10 +3431,6 @@ class CfnAutoScalingGroup(
3419
3431
  max=123,
3420
3432
  min=123
3421
3433
  ),
3422
- memory_mi_b=autoscaling.CfnAutoScalingGroup.MemoryMiBRequestProperty(
3423
- max=123,
3424
- min=123
3425
- ),
3426
3434
  network_bandwidth_gbps=autoscaling.CfnAutoScalingGroup.NetworkBandwidthGbpsRequestProperty(
3427
3435
  max=123,
3428
3436
  min=123
@@ -3437,15 +3445,13 @@ class CfnAutoScalingGroup(
3437
3445
  total_local_storage_gb=autoscaling.CfnAutoScalingGroup.TotalLocalStorageGBRequestProperty(
3438
3446
  max=123,
3439
3447
  min=123
3440
- ),
3441
- v_cpu_count=autoscaling.CfnAutoScalingGroup.VCpuCountRequestProperty(
3442
- max=123,
3443
- min=123
3444
3448
  )
3445
3449
  )
3446
3450
  '''
3447
3451
  if __debug__:
3448
3452
  type_hints = typing.get_type_hints(_typecheckingstub__e22358c3d5577020d9106a247f13fb06a2cf3668a83ede597e2b41db7bac111f)
3453
+ check_type(argname="argument memory_mib", value=memory_mib, expected_type=type_hints["memory_mib"])
3454
+ check_type(argname="argument v_cpu_count", value=v_cpu_count, expected_type=type_hints["v_cpu_count"])
3449
3455
  check_type(argname="argument accelerator_count", value=accelerator_count, expected_type=type_hints["accelerator_count"])
3450
3456
  check_type(argname="argument accelerator_manufacturers", value=accelerator_manufacturers, expected_type=type_hints["accelerator_manufacturers"])
3451
3457
  check_type(argname="argument accelerator_names", value=accelerator_names, expected_type=type_hints["accelerator_names"])
@@ -3461,15 +3467,16 @@ class CfnAutoScalingGroup(
3461
3467
  check_type(argname="argument local_storage", value=local_storage, expected_type=type_hints["local_storage"])
3462
3468
  check_type(argname="argument local_storage_types", value=local_storage_types, expected_type=type_hints["local_storage_types"])
3463
3469
  check_type(argname="argument memory_gib_per_v_cpu", value=memory_gib_per_v_cpu, expected_type=type_hints["memory_gib_per_v_cpu"])
3464
- check_type(argname="argument memory_mib", value=memory_mib, expected_type=type_hints["memory_mib"])
3465
3470
  check_type(argname="argument network_bandwidth_gbps", value=network_bandwidth_gbps, expected_type=type_hints["network_bandwidth_gbps"])
3466
3471
  check_type(argname="argument network_interface_count", value=network_interface_count, expected_type=type_hints["network_interface_count"])
3467
3472
  check_type(argname="argument on_demand_max_price_percentage_over_lowest_price", value=on_demand_max_price_percentage_over_lowest_price, expected_type=type_hints["on_demand_max_price_percentage_over_lowest_price"])
3468
3473
  check_type(argname="argument require_hibernate_support", value=require_hibernate_support, expected_type=type_hints["require_hibernate_support"])
3469
3474
  check_type(argname="argument spot_max_price_percentage_over_lowest_price", value=spot_max_price_percentage_over_lowest_price, expected_type=type_hints["spot_max_price_percentage_over_lowest_price"])
3470
3475
  check_type(argname="argument total_local_storage_gb", value=total_local_storage_gb, expected_type=type_hints["total_local_storage_gb"])
3471
- check_type(argname="argument v_cpu_count", value=v_cpu_count, expected_type=type_hints["v_cpu_count"])
3472
- self._values: typing.Dict[builtins.str, typing.Any] = {}
3476
+ self._values: typing.Dict[builtins.str, typing.Any] = {
3477
+ "memory_mib": memory_mib,
3478
+ "v_cpu_count": v_cpu_count,
3479
+ }
3473
3480
  if accelerator_count is not None:
3474
3481
  self._values["accelerator_count"] = accelerator_count
3475
3482
  if accelerator_manufacturers is not None:
@@ -3500,8 +3507,6 @@ class CfnAutoScalingGroup(
3500
3507
  self._values["local_storage_types"] = local_storage_types
3501
3508
  if memory_gib_per_v_cpu is not None:
3502
3509
  self._values["memory_gib_per_v_cpu"] = memory_gib_per_v_cpu
3503
- if memory_mib is not None:
3504
- self._values["memory_mib"] = memory_mib
3505
3510
  if network_bandwidth_gbps is not None:
3506
3511
  self._values["network_bandwidth_gbps"] = network_bandwidth_gbps
3507
3512
  if network_interface_count is not None:
@@ -3514,8 +3519,30 @@ class CfnAutoScalingGroup(
3514
3519
  self._values["spot_max_price_percentage_over_lowest_price"] = spot_max_price_percentage_over_lowest_price
3515
3520
  if total_local_storage_gb is not None:
3516
3521
  self._values["total_local_storage_gb"] = total_local_storage_gb
3517
- if v_cpu_count is not None:
3518
- self._values["v_cpu_count"] = v_cpu_count
3522
+
3523
+ @builtins.property
3524
+ def memory_mib(
3525
+ self,
3526
+ ) -> typing.Union[_IResolvable_da3f097b, "CfnAutoScalingGroup.MemoryMiBRequestProperty"]:
3527
+ '''The minimum and maximum instance memory size for an instance type, in MiB.
3528
+
3529
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-instancerequirements.html#cfn-autoscaling-autoscalinggroup-instancerequirements-memorymib
3530
+ '''
3531
+ result = self._values.get("memory_mib")
3532
+ assert result is not None, "Required property 'memory_mib' is missing"
3533
+ return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnAutoScalingGroup.MemoryMiBRequestProperty"], result)
3534
+
3535
+ @builtins.property
3536
+ def v_cpu_count(
3537
+ self,
3538
+ ) -> typing.Union[_IResolvable_da3f097b, "CfnAutoScalingGroup.VCpuCountRequestProperty"]:
3539
+ '''The minimum and maximum number of vCPUs for an instance type.
3540
+
3541
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-instancerequirements.html#cfn-autoscaling-autoscalinggroup-instancerequirements-vcpucount
3542
+ '''
3543
+ result = self._values.get("v_cpu_count")
3544
+ assert result is not None, "Required property 'v_cpu_count' is missing"
3545
+ return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnAutoScalingGroup.VCpuCountRequestProperty"], result)
3519
3546
 
3520
3547
  @builtins.property
3521
3548
  def accelerator_count(
@@ -3747,17 +3774,6 @@ class CfnAutoScalingGroup(
3747
3774
  result = self._values.get("memory_gib_per_v_cpu")
3748
3775
  return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAutoScalingGroup.MemoryGiBPerVCpuRequestProperty"]], result)
3749
3776
 
3750
- @builtins.property
3751
- def memory_mib(
3752
- self,
3753
- ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAutoScalingGroup.MemoryMiBRequestProperty"]]:
3754
- '''The minimum and maximum instance memory size for an instance type, in MiB.
3755
-
3756
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-instancerequirements.html#cfn-autoscaling-autoscalinggroup-instancerequirements-memorymib
3757
- '''
3758
- result = self._values.get("memory_mib")
3759
- return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAutoScalingGroup.MemoryMiBRequestProperty"]], result)
3760
-
3761
3777
  @builtins.property
3762
3778
  def network_bandwidth_gbps(
3763
3779
  self,
@@ -3844,17 +3860,6 @@ class CfnAutoScalingGroup(
3844
3860
  result = self._values.get("total_local_storage_gb")
3845
3861
  return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAutoScalingGroup.TotalLocalStorageGBRequestProperty"]], result)
3846
3862
 
3847
- @builtins.property
3848
- def v_cpu_count(
3849
- self,
3850
- ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAutoScalingGroup.VCpuCountRequestProperty"]]:
3851
- '''The minimum and maximum number of vCPUs for an instance type.
3852
-
3853
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-instancerequirements.html#cfn-autoscaling-autoscalinggroup-instancerequirements-vcpucount
3854
- '''
3855
- result = self._values.get("v_cpu_count")
3856
- return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAutoScalingGroup.VCpuCountRequestProperty"]], result)
3857
-
3858
3863
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
3859
3864
  return isinstance(rhs, self.__class__) and rhs._values == self._values
3860
3865
 
@@ -4097,6 +4102,16 @@ class CfnAutoScalingGroup(
4097
4102
 
4098
4103
  launch_template_overrides_property = autoscaling.CfnAutoScalingGroup.LaunchTemplateOverridesProperty(
4099
4104
  instance_requirements=autoscaling.CfnAutoScalingGroup.InstanceRequirementsProperty(
4105
+ memory_mi_b=autoscaling.CfnAutoScalingGroup.MemoryMiBRequestProperty(
4106
+ max=123,
4107
+ min=123
4108
+ ),
4109
+ v_cpu_count=autoscaling.CfnAutoScalingGroup.VCpuCountRequestProperty(
4110
+ max=123,
4111
+ min=123
4112
+ ),
4113
+
4114
+ # the properties below are optional
4100
4115
  accelerator_count=autoscaling.CfnAutoScalingGroup.AcceleratorCountRequestProperty(
4101
4116
  max=123,
4102
4117
  min=123
@@ -4124,10 +4139,6 @@ class CfnAutoScalingGroup(
4124
4139
  max=123,
4125
4140
  min=123
4126
4141
  ),
4127
- memory_mi_b=autoscaling.CfnAutoScalingGroup.MemoryMiBRequestProperty(
4128
- max=123,
4129
- min=123
4130
- ),
4131
4142
  network_bandwidth_gbps=autoscaling.CfnAutoScalingGroup.NetworkBandwidthGbpsRequestProperty(
4132
4143
  max=123,
4133
4144
  min=123
@@ -4142,10 +4153,6 @@ class CfnAutoScalingGroup(
4142
4153
  total_local_storage_gb=autoscaling.CfnAutoScalingGroup.TotalLocalStorageGBRequestProperty(
4143
4154
  max=123,
4144
4155
  min=123
4145
- ),
4146
- v_cpu_count=autoscaling.CfnAutoScalingGroup.VCpuCountRequestProperty(
4147
- max=123,
4148
- min=123
4149
4156
  )
4150
4157
  ),
4151
4158
  instance_type="instanceType",
@@ -4289,6 +4296,16 @@ class CfnAutoScalingGroup(
4289
4296
  # the properties below are optional
4290
4297
  overrides=[autoscaling.CfnAutoScalingGroup.LaunchTemplateOverridesProperty(
4291
4298
  instance_requirements=autoscaling.CfnAutoScalingGroup.InstanceRequirementsProperty(
4299
+ memory_mi_b=autoscaling.CfnAutoScalingGroup.MemoryMiBRequestProperty(
4300
+ max=123,
4301
+ min=123
4302
+ ),
4303
+ v_cpu_count=autoscaling.CfnAutoScalingGroup.VCpuCountRequestProperty(
4304
+ max=123,
4305
+ min=123
4306
+ ),
4307
+
4308
+ # the properties below are optional
4292
4309
  accelerator_count=autoscaling.CfnAutoScalingGroup.AcceleratorCountRequestProperty(
4293
4310
  max=123,
4294
4311
  min=123
@@ -4316,10 +4333,6 @@ class CfnAutoScalingGroup(
4316
4333
  max=123,
4317
4334
  min=123
4318
4335
  ),
4319
- memory_mi_b=autoscaling.CfnAutoScalingGroup.MemoryMiBRequestProperty(
4320
- max=123,
4321
- min=123
4322
- ),
4323
4336
  network_bandwidth_gbps=autoscaling.CfnAutoScalingGroup.NetworkBandwidthGbpsRequestProperty(
4324
4337
  max=123,
4325
4338
  min=123
@@ -4334,10 +4347,6 @@ class CfnAutoScalingGroup(
4334
4347
  total_local_storage_gb=autoscaling.CfnAutoScalingGroup.TotalLocalStorageGBRequestProperty(
4335
4348
  max=123,
4336
4349
  min=123
4337
- ),
4338
- v_cpu_count=autoscaling.CfnAutoScalingGroup.VCpuCountRequestProperty(
4339
- max=123,
4340
- min=123
4341
4350
  )
4342
4351
  ),
4343
4352
  instance_type="instanceType",
@@ -4980,6 +4989,16 @@ class CfnAutoScalingGroup(
4980
4989
  # the properties below are optional
4981
4990
  overrides=[autoscaling.CfnAutoScalingGroup.LaunchTemplateOverridesProperty(
4982
4991
  instance_requirements=autoscaling.CfnAutoScalingGroup.InstanceRequirementsProperty(
4992
+ memory_mi_b=autoscaling.CfnAutoScalingGroup.MemoryMiBRequestProperty(
4993
+ max=123,
4994
+ min=123
4995
+ ),
4996
+ v_cpu_count=autoscaling.CfnAutoScalingGroup.VCpuCountRequestProperty(
4997
+ max=123,
4998
+ min=123
4999
+ ),
5000
+
5001
+ # the properties below are optional
4983
5002
  accelerator_count=autoscaling.CfnAutoScalingGroup.AcceleratorCountRequestProperty(
4984
5003
  max=123,
4985
5004
  min=123
@@ -5007,10 +5026,6 @@ class CfnAutoScalingGroup(
5007
5026
  max=123,
5008
5027
  min=123
5009
5028
  ),
5010
- memory_mi_b=autoscaling.CfnAutoScalingGroup.MemoryMiBRequestProperty(
5011
- max=123,
5012
- min=123
5013
- ),
5014
5029
  network_bandwidth_gbps=autoscaling.CfnAutoScalingGroup.NetworkBandwidthGbpsRequestProperty(
5015
5030
  max=123,
5016
5031
  min=123
@@ -5025,10 +5040,6 @@ class CfnAutoScalingGroup(
5025
5040
  total_local_storage_gb=autoscaling.CfnAutoScalingGroup.TotalLocalStorageGBRequestProperty(
5026
5041
  max=123,
5027
5042
  min=123
5028
- ),
5029
- v_cpu_count=autoscaling.CfnAutoScalingGroup.VCpuCountRequestProperty(
5030
- max=123,
5031
- min=123
5032
5043
  )
5033
5044
  ),
5034
5045
  instance_type="instanceType",
@@ -5746,6 +5757,16 @@ class CfnAutoScalingGroupProps:
5746
5757
  # the properties below are optional
5747
5758
  overrides=[autoscaling.CfnAutoScalingGroup.LaunchTemplateOverridesProperty(
5748
5759
  instance_requirements=autoscaling.CfnAutoScalingGroup.InstanceRequirementsProperty(
5760
+ memory_mi_b=autoscaling.CfnAutoScalingGroup.MemoryMiBRequestProperty(
5761
+ max=123,
5762
+ min=123
5763
+ ),
5764
+ v_cpu_count=autoscaling.CfnAutoScalingGroup.VCpuCountRequestProperty(
5765
+ max=123,
5766
+ min=123
5767
+ ),
5768
+
5769
+ # the properties below are optional
5749
5770
  accelerator_count=autoscaling.CfnAutoScalingGroup.AcceleratorCountRequestProperty(
5750
5771
  max=123,
5751
5772
  min=123
@@ -5773,10 +5794,6 @@ class CfnAutoScalingGroupProps:
5773
5794
  max=123,
5774
5795
  min=123
5775
5796
  ),
5776
- memory_mi_b=autoscaling.CfnAutoScalingGroup.MemoryMiBRequestProperty(
5777
- max=123,
5778
- min=123
5779
- ),
5780
5797
  network_bandwidth_gbps=autoscaling.CfnAutoScalingGroup.NetworkBandwidthGbpsRequestProperty(
5781
5798
  max=123,
5782
5799
  min=123
@@ -5791,10 +5808,6 @@ class CfnAutoScalingGroupProps:
5791
5808
  total_local_storage_gb=autoscaling.CfnAutoScalingGroup.TotalLocalStorageGBRequestProperty(
5792
5809
  max=123,
5793
5810
  min=123
5794
- ),
5795
- v_cpu_count=autoscaling.CfnAutoScalingGroup.VCpuCountRequestProperty(
5796
- max=123,
5797
- min=123
5798
5811
  )
5799
5812
  ),
5800
5813
  instance_type="instanceType",
@@ -9021,7 +9034,7 @@ class CfnScalingPolicy(
9021
9034
  ) -> None:
9022
9035
  '''``MetricStat`` is a property of the `AWS::AutoScaling::ScalingPolicy MetricDataQuery <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-metricdataquery.html>`_ property type.
9023
9036
 
9024
- This structure defines the CloudWatch metric to return, along with the statistic, period, and unit.
9037
+ This structure defines the CloudWatch metric to return, along with the statistic and unit.
9025
9038
 
9026
9039
  For more information about the CloudWatch terminology below, see `Amazon CloudWatch concepts <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html>`_ in the *Amazon CloudWatch User Guide* .
9027
9040
 
@@ -19566,6 +19579,8 @@ def _typecheckingstub__87d530b3532712626606d828a108a8ef6e07c752060995be5ad0caf95
19566
19579
 
19567
19580
  def _typecheckingstub__e22358c3d5577020d9106a247f13fb06a2cf3668a83ede597e2b41db7bac111f(
19568
19581
  *,
19582
+ memory_mib: typing.Union[_IResolvable_da3f097b, typing.Union[CfnAutoScalingGroup.MemoryMiBRequestProperty, typing.Dict[builtins.str, typing.Any]]],
19583
+ v_cpu_count: typing.Union[_IResolvable_da3f097b, typing.Union[CfnAutoScalingGroup.VCpuCountRequestProperty, typing.Dict[builtins.str, typing.Any]]],
19569
19584
  accelerator_count: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAutoScalingGroup.AcceleratorCountRequestProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
19570
19585
  accelerator_manufacturers: typing.Optional[typing.Sequence[builtins.str]] = None,
19571
19586
  accelerator_names: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -19581,14 +19596,12 @@ def _typecheckingstub__e22358c3d5577020d9106a247f13fb06a2cf3668a83ede597e2b41db7
19581
19596
  local_storage: typing.Optional[builtins.str] = None,
19582
19597
  local_storage_types: typing.Optional[typing.Sequence[builtins.str]] = None,
19583
19598
  memory_gib_per_v_cpu: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAutoScalingGroup.MemoryGiBPerVCpuRequestProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
19584
- memory_mib: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAutoScalingGroup.MemoryMiBRequestProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
19585
19599
  network_bandwidth_gbps: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAutoScalingGroup.NetworkBandwidthGbpsRequestProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
19586
19600
  network_interface_count: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAutoScalingGroup.NetworkInterfaceCountRequestProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
19587
19601
  on_demand_max_price_percentage_over_lowest_price: typing.Optional[jsii.Number] = None,
19588
19602
  require_hibernate_support: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
19589
19603
  spot_max_price_percentage_over_lowest_price: typing.Optional[jsii.Number] = None,
19590
19604
  total_local_storage_gb: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAutoScalingGroup.TotalLocalStorageGBRequestProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
19591
- v_cpu_count: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAutoScalingGroup.VCpuCountRequestProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
19592
19605
  ) -> None:
19593
19606
  """Type checking stubs"""
19594
19607
  pass