aws-cdk-lib 2.167.2__py3-none-any.whl → 2.168.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of aws-cdk-lib might be problematic. Click here for more details.

Files changed (44) hide show
  1. aws_cdk/__init__.py +2081 -0
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.167.2.jsii.tgz → aws-cdk-lib@2.168.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_applicationautoscaling/__init__.py +1691 -95
  5. aws_cdk/aws_applicationinsights/__init__.py +41 -0
  6. aws_cdk/aws_applicationsignals/__init__.py +117 -0
  7. aws_cdk/aws_autoscaling/__init__.py +441 -6
  8. aws_cdk/aws_batch/__init__.py +202 -5
  9. aws_cdk/aws_bedrock/__init__.py +12 -12
  10. aws_cdk/aws_cleanrooms/__init__.py +17 -8
  11. aws_cdk/aws_cloudformation/__init__.py +2571 -492
  12. aws_cdk/aws_cloudfront/__init__.py +231 -0
  13. aws_cdk/aws_cloudfront/experimental/__init__.py +5 -0
  14. aws_cdk/aws_cloudfront_origins/__init__.py +714 -132
  15. aws_cdk/aws_cloudtrail/__init__.py +52 -14
  16. aws_cdk/aws_codebuild/__init__.py +668 -2
  17. aws_cdk/aws_connectcampaignsv2/__init__.py +3376 -0
  18. aws_cdk/aws_dynamodb/__init__.py +332 -11
  19. aws_cdk/aws_ec2/__init__.py +13 -4
  20. aws_cdk/aws_ecs/__init__.py +213 -0
  21. aws_cdk/aws_elasticloadbalancingv2/__init__.py +160 -11
  22. aws_cdk/aws_fis/__init__.py +495 -0
  23. aws_cdk/aws_gamelift/__init__.py +3101 -1135
  24. aws_cdk/aws_kinesisfirehose/__init__.py +696 -5
  25. aws_cdk/aws_lambda/__init__.py +634 -259
  26. aws_cdk/aws_lambda_destinations/__init__.py +73 -0
  27. aws_cdk/aws_lambda_event_sources/__init__.py +102 -2
  28. aws_cdk/aws_location/__init__.py +18 -18
  29. aws_cdk/aws_mediastore/__init__.py +22 -10
  30. aws_cdk/aws_opensearchservice/__init__.py +6 -0
  31. aws_cdk/aws_quicksight/__init__.py +35 -19
  32. aws_cdk/aws_rds/__init__.py +51 -3
  33. aws_cdk/aws_securityhub/__init__.py +11 -14
  34. aws_cdk/aws_ses/__init__.py +58 -5
  35. aws_cdk/aws_stepfunctions_tasks/__init__.py +1601 -8
  36. aws_cdk/aws_transfer/__init__.py +0 -8
  37. aws_cdk/aws_vpclattice/__init__.py +39 -0
  38. aws_cdk/aws_wisdom/__init__.py +134 -85
  39. {aws_cdk_lib-2.167.2.dist-info → aws_cdk_lib-2.168.0.dist-info}/METADATA +1 -1
  40. {aws_cdk_lib-2.167.2.dist-info → aws_cdk_lib-2.168.0.dist-info}/RECORD +44 -43
  41. {aws_cdk_lib-2.167.2.dist-info → aws_cdk_lib-2.168.0.dist-info}/LICENSE +0 -0
  42. {aws_cdk_lib-2.167.2.dist-info → aws_cdk_lib-2.168.0.dist-info}/NOTICE +0 -0
  43. {aws_cdk_lib-2.167.2.dist-info → aws_cdk_lib-2.168.0.dist-info}/WHEEL +0 -0
  44. {aws_cdk_lib-2.167.2.dist-info → aws_cdk_lib-2.168.0.dist-info}/top_level.txt +0 -0
@@ -2155,8 +2155,22 @@ class CfnFleet(
2155
2155
 
2156
2156
  cfn_fleet = codebuild.CfnFleet(self, "MyCfnFleet",
2157
2157
  base_capacity=123,
2158
+ compute_configuration=codebuild.CfnFleet.ComputeConfigurationProperty(
2159
+ disk=123,
2160
+ machine_type="machineType",
2161
+ memory=123,
2162
+ v_cpu=123
2163
+ ),
2158
2164
  compute_type="computeType",
2159
2165
  environment_type="environmentType",
2166
+ fleet_proxy_configuration=codebuild.CfnFleet.ProxyConfigurationProperty(
2167
+ default_behavior="defaultBehavior",
2168
+ ordered_proxy_rules=[codebuild.CfnFleet.FleetProxyRuleProperty(
2169
+ effect="effect",
2170
+ entities=["entities"],
2171
+ type="type"
2172
+ )]
2173
+ ),
2160
2174
  fleet_service_role="fleetServiceRole",
2161
2175
  fleet_vpc_config=codebuild.CfnFleet.VpcConfigProperty(
2162
2176
  security_group_ids=["securityGroupIds"],
@@ -2166,6 +2180,14 @@ class CfnFleet(
2166
2180
  image_id="imageId",
2167
2181
  name="name",
2168
2182
  overflow_behavior="overflowBehavior",
2183
+ scaling_configuration=codebuild.CfnFleet.ScalingConfigurationInputProperty(
2184
+ max_capacity=123,
2185
+ scaling_type="scalingType",
2186
+ target_tracking_scaling_configs=[codebuild.CfnFleet.TargetTrackingScalingConfigurationProperty(
2187
+ metric_type="metricType",
2188
+ target_value=123
2189
+ )]
2190
+ ),
2169
2191
  tags=[CfnTag(
2170
2192
  key="key",
2171
2193
  value="value"
@@ -2179,26 +2201,32 @@ class CfnFleet(
2179
2201
  id: builtins.str,
2180
2202
  *,
2181
2203
  base_capacity: typing.Optional[jsii.Number] = None,
2204
+ compute_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFleet.ComputeConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
2182
2205
  compute_type: typing.Optional[builtins.str] = None,
2183
2206
  environment_type: typing.Optional[builtins.str] = None,
2207
+ fleet_proxy_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFleet.ProxyConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
2184
2208
  fleet_service_role: typing.Optional[builtins.str] = None,
2185
2209
  fleet_vpc_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFleet.VpcConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
2186
2210
  image_id: typing.Optional[builtins.str] = None,
2187
2211
  name: typing.Optional[builtins.str] = None,
2188
2212
  overflow_behavior: typing.Optional[builtins.str] = None,
2213
+ scaling_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFleet.ScalingConfigurationInputProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
2189
2214
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
2190
2215
  ) -> None:
2191
2216
  '''
2192
2217
  :param scope: Scope in which this resource is defined.
2193
2218
  :param id: Construct identifier for this resource (unique in its scope).
2194
2219
  :param base_capacity: The initial number of machines allocated to the compute fleet, which defines the number of builds that can run in parallel.
2220
+ :param compute_configuration: The compute configuration of the compute fleet. This is only required if ``computeType`` is set to ``ATTRIBUTE_BASED_COMPUTE`` .
2195
2221
  :param compute_type: Information about the compute resources the compute fleet uses. Available values include:. - ``ATTRIBUTE_BASED_COMPUTE`` : Specify the amount of vCPUs, memory, disk space, and the type of machine. .. epigraph:: If you use ``ATTRIBUTE_BASED_COMPUTE`` , you must define your attributes by using ``computeConfiguration`` . AWS CodeBuild will select the cheapest instance that satisfies your specified attributes. For more information, see `Reserved capacity environment types <https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html#environment-reserved-capacity.types>`_ in the *AWS CodeBuild User Guide* . - ``BUILD_GENERAL1_SMALL`` : Use up to 4 GiB memory and 2 vCPUs for builds. - ``BUILD_GENERAL1_MEDIUM`` : Use up to 8 GiB memory and 4 vCPUs for builds. - ``BUILD_GENERAL1_LARGE`` : Use up to 16 GiB memory and 8 vCPUs for builds, depending on your environment type. - ``BUILD_GENERAL1_XLARGE`` : Use up to 72 GiB memory and 36 vCPUs for builds, depending on your environment type. - ``BUILD_GENERAL1_2XLARGE`` : Use up to 144 GiB memory, 72 vCPUs, and 824 GB of SSD storage for builds. This compute type supports Docker images up to 100 GB uncompressed. - ``BUILD_LAMBDA_1GB`` : Use up to 1 GiB memory for builds. Only available for environment type ``LINUX_LAMBDA_CONTAINER`` and ``ARM_LAMBDA_CONTAINER`` . - ``BUILD_LAMBDA_2GB`` : Use up to 2 GiB memory for builds. Only available for environment type ``LINUX_LAMBDA_CONTAINER`` and ``ARM_LAMBDA_CONTAINER`` . - ``BUILD_LAMBDA_4GB`` : Use up to 4 GiB memory for builds. Only available for environment type ``LINUX_LAMBDA_CONTAINER`` and ``ARM_LAMBDA_CONTAINER`` . - ``BUILD_LAMBDA_8GB`` : Use up to 8 GiB memory for builds. Only available for environment type ``LINUX_LAMBDA_CONTAINER`` and ``ARM_LAMBDA_CONTAINER`` . - ``BUILD_LAMBDA_10GB`` : Use up to 10 GiB memory for builds. Only available for environment type ``LINUX_LAMBDA_CONTAINER`` and ``ARM_LAMBDA_CONTAINER`` . If you use ``BUILD_GENERAL1_SMALL`` : - For environment type ``LINUX_CONTAINER`` , you can use up to 4 GiB memory and 2 vCPUs for builds. - For environment type ``LINUX_GPU_CONTAINER`` , you can use up to 16 GiB memory, 4 vCPUs, and 1 NVIDIA A10G Tensor Core GPU for builds. - For environment type ``ARM_CONTAINER`` , you can use up to 4 GiB memory and 2 vCPUs on ARM-based processors for builds. If you use ``BUILD_GENERAL1_LARGE`` : - For environment type ``LINUX_CONTAINER`` , you can use up to 16 GiB memory and 8 vCPUs for builds. - For environment type ``LINUX_GPU_CONTAINER`` , you can use up to 255 GiB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds. - For environment type ``ARM_CONTAINER`` , you can use up to 16 GiB memory and 8 vCPUs on ARM-based processors for builds. For more information, see `On-demand environment types <https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html#environment.types>`_ in the *AWS CodeBuild User Guide.*
2196
- :param environment_type: The environment type of the compute fleet. - The environment type ``ARM_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), EU (Frankfurt), and South America (São Paulo). - The environment type ``LINUX_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), South America (São Paulo), and Asia Pacific (Mumbai). - The environment type ``LINUX_GPU_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), and Asia Pacific (Sydney). - The environment type ``MAC_ARM`` is available only in regions US East (Ohio), US East (N. Virginia), US West (Oregon), Europe (Frankfurt), and Asia Pacific (Sydney). - The environment type ``WINDOWS_SERVER_2019_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), Asia Pacific (Sydney), Asia Pacific (Tokyo), Asia Pacific (Mumbai) and EU (Ireland). - The environment type ``WINDOWS_SERVER_2022_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Sydney), Asia Pacific (Singapore), Asia Pacific (Tokyo), South America (São Paulo) and Asia Pacific (Mumbai). For more information, see `Build environment compute types <https://docs.aws.amazon.com//codebuild/latest/userguide/build-env-ref-compute-types.html>`_ in the *AWS CodeBuild user guide* .
2222
+ :param environment_type: The environment type of the compute fleet. - The environment type ``ARM_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), EU (Frankfurt), and South America (São Paulo). - The environment type ``ARM_EC2`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), South America (São Paulo), and Asia Pacific (Mumbai). - The environment type ``LINUX_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), South America (São Paulo), and Asia Pacific (Mumbai). - The environment type ``LINUX_EC2`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), South America (São Paulo), and Asia Pacific (Mumbai). - The environment type ``LINUX_GPU_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), and Asia Pacific (Sydney). - The environment type ``MAC_ARM`` is available only in regions US East (Ohio), US East (N. Virginia), US West (Oregon), Europe (Frankfurt), and Asia Pacific (Sydney). - The environment type ``WINDOWS_EC2`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), South America (São Paulo), and Asia Pacific (Mumbai). - The environment type ``WINDOWS_SERVER_2019_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), Asia Pacific (Sydney), Asia Pacific (Tokyo), Asia Pacific (Mumbai) and EU (Ireland). - The environment type ``WINDOWS_SERVER_2022_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Sydney), Asia Pacific (Singapore), Asia Pacific (Tokyo), South America (São Paulo) and Asia Pacific (Mumbai). For more information, see `Build environment compute types <https://docs.aws.amazon.com//codebuild/latest/userguide/build-env-ref-compute-types.html>`_ in the *AWS CodeBuild user guide* .
2223
+ :param fleet_proxy_configuration: Information about the proxy configurations that apply network access control to your reserved capacity instances.
2197
2224
  :param fleet_service_role: The service role associated with the compute fleet. For more information, see `Allow a user to add a permission policy for a fleet service role <https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-identity-based-access-control.html#customer-managed-policies-example-permission-policy-fleet-service-role.html>`_ in the *AWS CodeBuild User Guide* .
2198
2225
  :param fleet_vpc_config: Information about the VPC configuration that AWS CodeBuild accesses.
2199
2226
  :param image_id: The Amazon Machine Image (AMI) of the compute fleet.
2200
2227
  :param name: The name of the compute fleet.
2201
2228
  :param overflow_behavior: The compute fleet overflow behavior. - For overflow behavior ``QUEUE`` , your overflow builds need to wait on the existing fleet instance to become available. - For overflow behavior ``ON_DEMAND`` , your overflow builds run on CodeBuild on-demand. .. epigraph:: If you choose to set your overflow behavior to on-demand while creating a VPC-connected fleet, make sure that you add the required VPC permissions to your project service role. For more information, see `Example policy statement to allow CodeBuild access to AWS services required to create a VPC network interface <https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-identity-based-access-control.html#customer-managed-policies-example-create-vpc-network-interface>`_ .
2229
+ :param scaling_configuration: The scaling configuration of the compute fleet.
2202
2230
  :param tags: A list of tag key and value pairs associated with this compute fleet. These tags are available for use by AWS services that support AWS CodeBuild compute fleet tags.
2203
2231
  '''
2204
2232
  if __debug__:
@@ -2207,13 +2235,16 @@ class CfnFleet(
2207
2235
  check_type(argname="argument id", value=id, expected_type=type_hints["id"])
2208
2236
  props = CfnFleetProps(
2209
2237
  base_capacity=base_capacity,
2238
+ compute_configuration=compute_configuration,
2210
2239
  compute_type=compute_type,
2211
2240
  environment_type=environment_type,
2241
+ fleet_proxy_configuration=fleet_proxy_configuration,
2212
2242
  fleet_service_role=fleet_service_role,
2213
2243
  fleet_vpc_config=fleet_vpc_config,
2214
2244
  image_id=image_id,
2215
2245
  name=name,
2216
2246
  overflow_behavior=overflow_behavior,
2247
+ scaling_configuration=scaling_configuration,
2217
2248
  tags=tags,
2218
2249
  )
2219
2250
 
@@ -2282,6 +2313,24 @@ class CfnFleet(
2282
2313
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
2283
2314
  jsii.set(self, "baseCapacity", value) # pyright: ignore[reportArgumentType]
2284
2315
 
2316
+ @builtins.property
2317
+ @jsii.member(jsii_name="computeConfiguration")
2318
+ def compute_configuration(
2319
+ self,
2320
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFleet.ComputeConfigurationProperty"]]:
2321
+ '''The compute configuration of the compute fleet.'''
2322
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFleet.ComputeConfigurationProperty"]], jsii.get(self, "computeConfiguration"))
2323
+
2324
+ @compute_configuration.setter
2325
+ def compute_configuration(
2326
+ self,
2327
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFleet.ComputeConfigurationProperty"]],
2328
+ ) -> None:
2329
+ if __debug__:
2330
+ type_hints = typing.get_type_hints(_typecheckingstub__13d34cf9cb6e1b9e4c774366b62cbdd66383fb9bd63bb3d15a8f1d07cc9939a9)
2331
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
2332
+ jsii.set(self, "computeConfiguration", value) # pyright: ignore[reportArgumentType]
2333
+
2285
2334
  @builtins.property
2286
2335
  @jsii.member(jsii_name="computeType")
2287
2336
  def compute_type(self) -> typing.Optional[builtins.str]:
@@ -2311,6 +2360,24 @@ class CfnFleet(
2311
2360
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
2312
2361
  jsii.set(self, "environmentType", value) # pyright: ignore[reportArgumentType]
2313
2362
 
2363
+ @builtins.property
2364
+ @jsii.member(jsii_name="fleetProxyConfiguration")
2365
+ def fleet_proxy_configuration(
2366
+ self,
2367
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFleet.ProxyConfigurationProperty"]]:
2368
+ '''Information about the proxy configurations that apply network access control to your reserved capacity instances.'''
2369
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFleet.ProxyConfigurationProperty"]], jsii.get(self, "fleetProxyConfiguration"))
2370
+
2371
+ @fleet_proxy_configuration.setter
2372
+ def fleet_proxy_configuration(
2373
+ self,
2374
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFleet.ProxyConfigurationProperty"]],
2375
+ ) -> None:
2376
+ if __debug__:
2377
+ type_hints = typing.get_type_hints(_typecheckingstub__72aded04e24b44469c7c8f36cc8bc07ac855e30f085353ae7b830c505400b9a9)
2378
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
2379
+ jsii.set(self, "fleetProxyConfiguration", value) # pyright: ignore[reportArgumentType]
2380
+
2314
2381
  @builtins.property
2315
2382
  @jsii.member(jsii_name="fleetServiceRole")
2316
2383
  def fleet_service_role(self) -> typing.Optional[builtins.str]:
@@ -2381,6 +2448,24 @@ class CfnFleet(
2381
2448
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
2382
2449
  jsii.set(self, "overflowBehavior", value) # pyright: ignore[reportArgumentType]
2383
2450
 
2451
+ @builtins.property
2452
+ @jsii.member(jsii_name="scalingConfiguration")
2453
+ def scaling_configuration(
2454
+ self,
2455
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFleet.ScalingConfigurationInputProperty"]]:
2456
+ '''The scaling configuration of the compute fleet.'''
2457
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFleet.ScalingConfigurationInputProperty"]], jsii.get(self, "scalingConfiguration"))
2458
+
2459
+ @scaling_configuration.setter
2460
+ def scaling_configuration(
2461
+ self,
2462
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFleet.ScalingConfigurationInputProperty"]],
2463
+ ) -> None:
2464
+ if __debug__:
2465
+ type_hints = typing.get_type_hints(_typecheckingstub__55a0a09b39fb06cb983cdd0c788b002ef6b06d779cf4e8f6c9dfd6d833171db2)
2466
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
2467
+ jsii.set(self, "scalingConfiguration", value) # pyright: ignore[reportArgumentType]
2468
+
2384
2469
  @builtins.property
2385
2470
  @jsii.member(jsii_name="tags")
2386
2471
  def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
@@ -2394,6 +2479,441 @@ class CfnFleet(
2394
2479
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
2395
2480
  jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
2396
2481
 
2482
+ @jsii.data_type(
2483
+ jsii_type="aws-cdk-lib.aws_codebuild.CfnFleet.ComputeConfigurationProperty",
2484
+ jsii_struct_bases=[],
2485
+ name_mapping={
2486
+ "disk": "disk",
2487
+ "machine_type": "machineType",
2488
+ "memory": "memory",
2489
+ "v_cpu": "vCpu",
2490
+ },
2491
+ )
2492
+ class ComputeConfigurationProperty:
2493
+ def __init__(
2494
+ self,
2495
+ *,
2496
+ disk: typing.Optional[jsii.Number] = None,
2497
+ machine_type: typing.Optional[builtins.str] = None,
2498
+ memory: typing.Optional[jsii.Number] = None,
2499
+ v_cpu: typing.Optional[jsii.Number] = None,
2500
+ ) -> None:
2501
+ '''Contains compute attributes.
2502
+
2503
+ These attributes only need be specified when your project's or fleet's ``computeType`` is set to ``ATTRIBUTE_BASED_COMPUTE`` .
2504
+
2505
+ :param disk: The amount of disk space of the instance type included in your fleet.
2506
+ :param machine_type: The machine type of the instance type included in your fleet.
2507
+ :param memory: The amount of memory of the instance type included in your fleet.
2508
+ :param v_cpu: The number of vCPUs of the instance type included in your fleet.
2509
+
2510
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-fleet-computeconfiguration.html
2511
+ :exampleMetadata: fixture=_generated
2512
+
2513
+ Example::
2514
+
2515
+ # The code below shows an example of how to instantiate this type.
2516
+ # The values are placeholders you should change.
2517
+ from aws_cdk import aws_codebuild as codebuild
2518
+
2519
+ compute_configuration_property = codebuild.CfnFleet.ComputeConfigurationProperty(
2520
+ disk=123,
2521
+ machine_type="machineType",
2522
+ memory=123,
2523
+ v_cpu=123
2524
+ )
2525
+ '''
2526
+ if __debug__:
2527
+ type_hints = typing.get_type_hints(_typecheckingstub__83eb701fe90c557bf4af205ee34cfc7a5be2354e8e7cbd789a682e59834fb69b)
2528
+ check_type(argname="argument disk", value=disk, expected_type=type_hints["disk"])
2529
+ check_type(argname="argument machine_type", value=machine_type, expected_type=type_hints["machine_type"])
2530
+ check_type(argname="argument memory", value=memory, expected_type=type_hints["memory"])
2531
+ check_type(argname="argument v_cpu", value=v_cpu, expected_type=type_hints["v_cpu"])
2532
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
2533
+ if disk is not None:
2534
+ self._values["disk"] = disk
2535
+ if machine_type is not None:
2536
+ self._values["machine_type"] = machine_type
2537
+ if memory is not None:
2538
+ self._values["memory"] = memory
2539
+ if v_cpu is not None:
2540
+ self._values["v_cpu"] = v_cpu
2541
+
2542
+ @builtins.property
2543
+ def disk(self) -> typing.Optional[jsii.Number]:
2544
+ '''The amount of disk space of the instance type included in your fleet.
2545
+
2546
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-fleet-computeconfiguration.html#cfn-codebuild-fleet-computeconfiguration-disk
2547
+ '''
2548
+ result = self._values.get("disk")
2549
+ return typing.cast(typing.Optional[jsii.Number], result)
2550
+
2551
+ @builtins.property
2552
+ def machine_type(self) -> typing.Optional[builtins.str]:
2553
+ '''The machine type of the instance type included in your fleet.
2554
+
2555
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-fleet-computeconfiguration.html#cfn-codebuild-fleet-computeconfiguration-machinetype
2556
+ '''
2557
+ result = self._values.get("machine_type")
2558
+ return typing.cast(typing.Optional[builtins.str], result)
2559
+
2560
+ @builtins.property
2561
+ def memory(self) -> typing.Optional[jsii.Number]:
2562
+ '''The amount of memory of the instance type included in your fleet.
2563
+
2564
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-fleet-computeconfiguration.html#cfn-codebuild-fleet-computeconfiguration-memory
2565
+ '''
2566
+ result = self._values.get("memory")
2567
+ return typing.cast(typing.Optional[jsii.Number], result)
2568
+
2569
+ @builtins.property
2570
+ def v_cpu(self) -> typing.Optional[jsii.Number]:
2571
+ '''The number of vCPUs of the instance type included in your fleet.
2572
+
2573
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-fleet-computeconfiguration.html#cfn-codebuild-fleet-computeconfiguration-vcpu
2574
+ '''
2575
+ result = self._values.get("v_cpu")
2576
+ return typing.cast(typing.Optional[jsii.Number], result)
2577
+
2578
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
2579
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
2580
+
2581
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
2582
+ return not (rhs == self)
2583
+
2584
+ def __repr__(self) -> str:
2585
+ return "ComputeConfigurationProperty(%s)" % ", ".join(
2586
+ k + "=" + repr(v) for k, v in self._values.items()
2587
+ )
2588
+
2589
+ @jsii.data_type(
2590
+ jsii_type="aws-cdk-lib.aws_codebuild.CfnFleet.FleetProxyRuleProperty",
2591
+ jsii_struct_bases=[],
2592
+ name_mapping={"effect": "effect", "entities": "entities", "type": "type"},
2593
+ )
2594
+ class FleetProxyRuleProperty:
2595
+ def __init__(
2596
+ self,
2597
+ *,
2598
+ effect: typing.Optional[builtins.str] = None,
2599
+ entities: typing.Optional[typing.Sequence[builtins.str]] = None,
2600
+ type: typing.Optional[builtins.str] = None,
2601
+ ) -> None:
2602
+ '''Information about the proxy rule for your reserved capacity instances.
2603
+
2604
+ :param effect: The behavior of the proxy rule.
2605
+ :param entities: The destination of the proxy rule.
2606
+ :param type: The type of proxy rule.
2607
+
2608
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-fleet-fleetproxyrule.html
2609
+ :exampleMetadata: fixture=_generated
2610
+
2611
+ Example::
2612
+
2613
+ # The code below shows an example of how to instantiate this type.
2614
+ # The values are placeholders you should change.
2615
+ from aws_cdk import aws_codebuild as codebuild
2616
+
2617
+ fleet_proxy_rule_property = codebuild.CfnFleet.FleetProxyRuleProperty(
2618
+ effect="effect",
2619
+ entities=["entities"],
2620
+ type="type"
2621
+ )
2622
+ '''
2623
+ if __debug__:
2624
+ type_hints = typing.get_type_hints(_typecheckingstub__294ea4b2aa110b80612f54914152258045b6089d5ddf85fedac5468f75d17ca5)
2625
+ check_type(argname="argument effect", value=effect, expected_type=type_hints["effect"])
2626
+ check_type(argname="argument entities", value=entities, expected_type=type_hints["entities"])
2627
+ check_type(argname="argument type", value=type, expected_type=type_hints["type"])
2628
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
2629
+ if effect is not None:
2630
+ self._values["effect"] = effect
2631
+ if entities is not None:
2632
+ self._values["entities"] = entities
2633
+ if type is not None:
2634
+ self._values["type"] = type
2635
+
2636
+ @builtins.property
2637
+ def effect(self) -> typing.Optional[builtins.str]:
2638
+ '''The behavior of the proxy rule.
2639
+
2640
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-fleet-fleetproxyrule.html#cfn-codebuild-fleet-fleetproxyrule-effect
2641
+ '''
2642
+ result = self._values.get("effect")
2643
+ return typing.cast(typing.Optional[builtins.str], result)
2644
+
2645
+ @builtins.property
2646
+ def entities(self) -> typing.Optional[typing.List[builtins.str]]:
2647
+ '''The destination of the proxy rule.
2648
+
2649
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-fleet-fleetproxyrule.html#cfn-codebuild-fleet-fleetproxyrule-entities
2650
+ '''
2651
+ result = self._values.get("entities")
2652
+ return typing.cast(typing.Optional[typing.List[builtins.str]], result)
2653
+
2654
+ @builtins.property
2655
+ def type(self) -> typing.Optional[builtins.str]:
2656
+ '''The type of proxy rule.
2657
+
2658
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-fleet-fleetproxyrule.html#cfn-codebuild-fleet-fleetproxyrule-type
2659
+ '''
2660
+ result = self._values.get("type")
2661
+ return typing.cast(typing.Optional[builtins.str], result)
2662
+
2663
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
2664
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
2665
+
2666
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
2667
+ return not (rhs == self)
2668
+
2669
+ def __repr__(self) -> str:
2670
+ return "FleetProxyRuleProperty(%s)" % ", ".join(
2671
+ k + "=" + repr(v) for k, v in self._values.items()
2672
+ )
2673
+
2674
+ @jsii.data_type(
2675
+ jsii_type="aws-cdk-lib.aws_codebuild.CfnFleet.ProxyConfigurationProperty",
2676
+ jsii_struct_bases=[],
2677
+ name_mapping={
2678
+ "default_behavior": "defaultBehavior",
2679
+ "ordered_proxy_rules": "orderedProxyRules",
2680
+ },
2681
+ )
2682
+ class ProxyConfigurationProperty:
2683
+ def __init__(
2684
+ self,
2685
+ *,
2686
+ default_behavior: typing.Optional[builtins.str] = None,
2687
+ ordered_proxy_rules: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFleet.FleetProxyRuleProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
2688
+ ) -> None:
2689
+ '''Information about the proxy configurations that apply network access control to your reserved capacity instances.
2690
+
2691
+ :param default_behavior: The default behavior of outgoing traffic.
2692
+ :param ordered_proxy_rules: An array of ``FleetProxyRule`` objects that represent the specified destination domains or IPs to allow or deny network access control to.
2693
+
2694
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-fleet-proxyconfiguration.html
2695
+ :exampleMetadata: fixture=_generated
2696
+
2697
+ Example::
2698
+
2699
+ # The code below shows an example of how to instantiate this type.
2700
+ # The values are placeholders you should change.
2701
+ from aws_cdk import aws_codebuild as codebuild
2702
+
2703
+ proxy_configuration_property = codebuild.CfnFleet.ProxyConfigurationProperty(
2704
+ default_behavior="defaultBehavior",
2705
+ ordered_proxy_rules=[codebuild.CfnFleet.FleetProxyRuleProperty(
2706
+ effect="effect",
2707
+ entities=["entities"],
2708
+ type="type"
2709
+ )]
2710
+ )
2711
+ '''
2712
+ if __debug__:
2713
+ type_hints = typing.get_type_hints(_typecheckingstub__7956029753ce224cc7bbcd21623a513c0ff82c2959581e55b8fbc37fdf11c6c6)
2714
+ check_type(argname="argument default_behavior", value=default_behavior, expected_type=type_hints["default_behavior"])
2715
+ check_type(argname="argument ordered_proxy_rules", value=ordered_proxy_rules, expected_type=type_hints["ordered_proxy_rules"])
2716
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
2717
+ if default_behavior is not None:
2718
+ self._values["default_behavior"] = default_behavior
2719
+ if ordered_proxy_rules is not None:
2720
+ self._values["ordered_proxy_rules"] = ordered_proxy_rules
2721
+
2722
+ @builtins.property
2723
+ def default_behavior(self) -> typing.Optional[builtins.str]:
2724
+ '''The default behavior of outgoing traffic.
2725
+
2726
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-fleet-proxyconfiguration.html#cfn-codebuild-fleet-proxyconfiguration-defaultbehavior
2727
+ '''
2728
+ result = self._values.get("default_behavior")
2729
+ return typing.cast(typing.Optional[builtins.str], result)
2730
+
2731
+ @builtins.property
2732
+ def ordered_proxy_rules(
2733
+ self,
2734
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnFleet.FleetProxyRuleProperty"]]]]:
2735
+ '''An array of ``FleetProxyRule`` objects that represent the specified destination domains or IPs to allow or deny network access control to.
2736
+
2737
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-fleet-proxyconfiguration.html#cfn-codebuild-fleet-proxyconfiguration-orderedproxyrules
2738
+ '''
2739
+ result = self._values.get("ordered_proxy_rules")
2740
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnFleet.FleetProxyRuleProperty"]]]], result)
2741
+
2742
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
2743
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
2744
+
2745
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
2746
+ return not (rhs == self)
2747
+
2748
+ def __repr__(self) -> str:
2749
+ return "ProxyConfigurationProperty(%s)" % ", ".join(
2750
+ k + "=" + repr(v) for k, v in self._values.items()
2751
+ )
2752
+
2753
+ @jsii.data_type(
2754
+ jsii_type="aws-cdk-lib.aws_codebuild.CfnFleet.ScalingConfigurationInputProperty",
2755
+ jsii_struct_bases=[],
2756
+ name_mapping={
2757
+ "max_capacity": "maxCapacity",
2758
+ "scaling_type": "scalingType",
2759
+ "target_tracking_scaling_configs": "targetTrackingScalingConfigs",
2760
+ },
2761
+ )
2762
+ class ScalingConfigurationInputProperty:
2763
+ def __init__(
2764
+ self,
2765
+ *,
2766
+ max_capacity: typing.Optional[jsii.Number] = None,
2767
+ scaling_type: typing.Optional[builtins.str] = None,
2768
+ target_tracking_scaling_configs: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFleet.TargetTrackingScalingConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
2769
+ ) -> None:
2770
+ '''The scaling configuration input of a compute fleet.
2771
+
2772
+ :param max_capacity: The maximum number of instances in the fleet when auto-scaling.
2773
+ :param scaling_type: The scaling type for a compute fleet.
2774
+ :param target_tracking_scaling_configs: A list of ``TargetTrackingScalingConfiguration`` objects.
2775
+
2776
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-fleet-scalingconfigurationinput.html
2777
+ :exampleMetadata: fixture=_generated
2778
+
2779
+ Example::
2780
+
2781
+ # The code below shows an example of how to instantiate this type.
2782
+ # The values are placeholders you should change.
2783
+ from aws_cdk import aws_codebuild as codebuild
2784
+
2785
+ scaling_configuration_input_property = codebuild.CfnFleet.ScalingConfigurationInputProperty(
2786
+ max_capacity=123,
2787
+ scaling_type="scalingType",
2788
+ target_tracking_scaling_configs=[codebuild.CfnFleet.TargetTrackingScalingConfigurationProperty(
2789
+ metric_type="metricType",
2790
+ target_value=123
2791
+ )]
2792
+ )
2793
+ '''
2794
+ if __debug__:
2795
+ type_hints = typing.get_type_hints(_typecheckingstub__be5330c8761fd16816c5752df5892ad4b06ffc89b7bea0473d5fa36cb3a808c8)
2796
+ check_type(argname="argument max_capacity", value=max_capacity, expected_type=type_hints["max_capacity"])
2797
+ check_type(argname="argument scaling_type", value=scaling_type, expected_type=type_hints["scaling_type"])
2798
+ check_type(argname="argument target_tracking_scaling_configs", value=target_tracking_scaling_configs, expected_type=type_hints["target_tracking_scaling_configs"])
2799
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
2800
+ if max_capacity is not None:
2801
+ self._values["max_capacity"] = max_capacity
2802
+ if scaling_type is not None:
2803
+ self._values["scaling_type"] = scaling_type
2804
+ if target_tracking_scaling_configs is not None:
2805
+ self._values["target_tracking_scaling_configs"] = target_tracking_scaling_configs
2806
+
2807
+ @builtins.property
2808
+ def max_capacity(self) -> typing.Optional[jsii.Number]:
2809
+ '''The maximum number of instances in the fleet when auto-scaling.
2810
+
2811
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-fleet-scalingconfigurationinput.html#cfn-codebuild-fleet-scalingconfigurationinput-maxcapacity
2812
+ '''
2813
+ result = self._values.get("max_capacity")
2814
+ return typing.cast(typing.Optional[jsii.Number], result)
2815
+
2816
+ @builtins.property
2817
+ def scaling_type(self) -> typing.Optional[builtins.str]:
2818
+ '''The scaling type for a compute fleet.
2819
+
2820
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-fleet-scalingconfigurationinput.html#cfn-codebuild-fleet-scalingconfigurationinput-scalingtype
2821
+ '''
2822
+ result = self._values.get("scaling_type")
2823
+ return typing.cast(typing.Optional[builtins.str], result)
2824
+
2825
+ @builtins.property
2826
+ def target_tracking_scaling_configs(
2827
+ self,
2828
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnFleet.TargetTrackingScalingConfigurationProperty"]]]]:
2829
+ '''A list of ``TargetTrackingScalingConfiguration`` objects.
2830
+
2831
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-fleet-scalingconfigurationinput.html#cfn-codebuild-fleet-scalingconfigurationinput-targettrackingscalingconfigs
2832
+ '''
2833
+ result = self._values.get("target_tracking_scaling_configs")
2834
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnFleet.TargetTrackingScalingConfigurationProperty"]]]], result)
2835
+
2836
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
2837
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
2838
+
2839
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
2840
+ return not (rhs == self)
2841
+
2842
+ def __repr__(self) -> str:
2843
+ return "ScalingConfigurationInputProperty(%s)" % ", ".join(
2844
+ k + "=" + repr(v) for k, v in self._values.items()
2845
+ )
2846
+
2847
+ @jsii.data_type(
2848
+ jsii_type="aws-cdk-lib.aws_codebuild.CfnFleet.TargetTrackingScalingConfigurationProperty",
2849
+ jsii_struct_bases=[],
2850
+ name_mapping={"metric_type": "metricType", "target_value": "targetValue"},
2851
+ )
2852
+ class TargetTrackingScalingConfigurationProperty:
2853
+ def __init__(
2854
+ self,
2855
+ *,
2856
+ metric_type: typing.Optional[builtins.str] = None,
2857
+ target_value: typing.Optional[jsii.Number] = None,
2858
+ ) -> None:
2859
+ '''Defines when a new instance is auto-scaled into the compute fleet.
2860
+
2861
+ :param metric_type: The metric type to determine auto-scaling.
2862
+ :param target_value: The value of ``metricType`` when to start scaling.
2863
+
2864
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-fleet-targettrackingscalingconfiguration.html
2865
+ :exampleMetadata: fixture=_generated
2866
+
2867
+ Example::
2868
+
2869
+ # The code below shows an example of how to instantiate this type.
2870
+ # The values are placeholders you should change.
2871
+ from aws_cdk import aws_codebuild as codebuild
2872
+
2873
+ target_tracking_scaling_configuration_property = codebuild.CfnFleet.TargetTrackingScalingConfigurationProperty(
2874
+ metric_type="metricType",
2875
+ target_value=123
2876
+ )
2877
+ '''
2878
+ if __debug__:
2879
+ type_hints = typing.get_type_hints(_typecheckingstub__a7e4e473358323d624eb6523668259844e8264cd2262e75b0f49ca6c6ab48c15)
2880
+ check_type(argname="argument metric_type", value=metric_type, expected_type=type_hints["metric_type"])
2881
+ check_type(argname="argument target_value", value=target_value, expected_type=type_hints["target_value"])
2882
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
2883
+ if metric_type is not None:
2884
+ self._values["metric_type"] = metric_type
2885
+ if target_value is not None:
2886
+ self._values["target_value"] = target_value
2887
+
2888
+ @builtins.property
2889
+ def metric_type(self) -> typing.Optional[builtins.str]:
2890
+ '''The metric type to determine auto-scaling.
2891
+
2892
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-fleet-targettrackingscalingconfiguration.html#cfn-codebuild-fleet-targettrackingscalingconfiguration-metrictype
2893
+ '''
2894
+ result = self._values.get("metric_type")
2895
+ return typing.cast(typing.Optional[builtins.str], result)
2896
+
2897
+ @builtins.property
2898
+ def target_value(self) -> typing.Optional[jsii.Number]:
2899
+ '''The value of ``metricType`` when to start scaling.
2900
+
2901
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-fleet-targettrackingscalingconfiguration.html#cfn-codebuild-fleet-targettrackingscalingconfiguration-targetvalue
2902
+ '''
2903
+ result = self._values.get("target_value")
2904
+ return typing.cast(typing.Optional[jsii.Number], result)
2905
+
2906
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
2907
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
2908
+
2909
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
2910
+ return not (rhs == self)
2911
+
2912
+ def __repr__(self) -> str:
2913
+ return "TargetTrackingScalingConfigurationProperty(%s)" % ", ".join(
2914
+ k + "=" + repr(v) for k, v in self._values.items()
2915
+ )
2916
+
2397
2917
  @jsii.data_type(
2398
2918
  jsii_type="aws-cdk-lib.aws_codebuild.CfnFleet.VpcConfigProperty",
2399
2919
  jsii_struct_bases=[],
@@ -2489,13 +3009,16 @@ class CfnFleet(
2489
3009
  jsii_struct_bases=[],
2490
3010
  name_mapping={
2491
3011
  "base_capacity": "baseCapacity",
3012
+ "compute_configuration": "computeConfiguration",
2492
3013
  "compute_type": "computeType",
2493
3014
  "environment_type": "environmentType",
3015
+ "fleet_proxy_configuration": "fleetProxyConfiguration",
2494
3016
  "fleet_service_role": "fleetServiceRole",
2495
3017
  "fleet_vpc_config": "fleetVpcConfig",
2496
3018
  "image_id": "imageId",
2497
3019
  "name": "name",
2498
3020
  "overflow_behavior": "overflowBehavior",
3021
+ "scaling_configuration": "scalingConfiguration",
2499
3022
  "tags": "tags",
2500
3023
  },
2501
3024
  )
@@ -2504,25 +3027,31 @@ class CfnFleetProps:
2504
3027
  self,
2505
3028
  *,
2506
3029
  base_capacity: typing.Optional[jsii.Number] = None,
3030
+ compute_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFleet.ComputeConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
2507
3031
  compute_type: typing.Optional[builtins.str] = None,
2508
3032
  environment_type: typing.Optional[builtins.str] = None,
3033
+ fleet_proxy_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFleet.ProxyConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
2509
3034
  fleet_service_role: typing.Optional[builtins.str] = None,
2510
3035
  fleet_vpc_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFleet.VpcConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
2511
3036
  image_id: typing.Optional[builtins.str] = None,
2512
3037
  name: typing.Optional[builtins.str] = None,
2513
3038
  overflow_behavior: typing.Optional[builtins.str] = None,
3039
+ scaling_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFleet.ScalingConfigurationInputProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
2514
3040
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
2515
3041
  ) -> None:
2516
3042
  '''Properties for defining a ``CfnFleet``.
2517
3043
 
2518
3044
  :param base_capacity: The initial number of machines allocated to the compute fleet, which defines the number of builds that can run in parallel.
3045
+ :param compute_configuration: The compute configuration of the compute fleet. This is only required if ``computeType`` is set to ``ATTRIBUTE_BASED_COMPUTE`` .
2519
3046
  :param compute_type: Information about the compute resources the compute fleet uses. Available values include:. - ``ATTRIBUTE_BASED_COMPUTE`` : Specify the amount of vCPUs, memory, disk space, and the type of machine. .. epigraph:: If you use ``ATTRIBUTE_BASED_COMPUTE`` , you must define your attributes by using ``computeConfiguration`` . AWS CodeBuild will select the cheapest instance that satisfies your specified attributes. For more information, see `Reserved capacity environment types <https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html#environment-reserved-capacity.types>`_ in the *AWS CodeBuild User Guide* . - ``BUILD_GENERAL1_SMALL`` : Use up to 4 GiB memory and 2 vCPUs for builds. - ``BUILD_GENERAL1_MEDIUM`` : Use up to 8 GiB memory and 4 vCPUs for builds. - ``BUILD_GENERAL1_LARGE`` : Use up to 16 GiB memory and 8 vCPUs for builds, depending on your environment type. - ``BUILD_GENERAL1_XLARGE`` : Use up to 72 GiB memory and 36 vCPUs for builds, depending on your environment type. - ``BUILD_GENERAL1_2XLARGE`` : Use up to 144 GiB memory, 72 vCPUs, and 824 GB of SSD storage for builds. This compute type supports Docker images up to 100 GB uncompressed. - ``BUILD_LAMBDA_1GB`` : Use up to 1 GiB memory for builds. Only available for environment type ``LINUX_LAMBDA_CONTAINER`` and ``ARM_LAMBDA_CONTAINER`` . - ``BUILD_LAMBDA_2GB`` : Use up to 2 GiB memory for builds. Only available for environment type ``LINUX_LAMBDA_CONTAINER`` and ``ARM_LAMBDA_CONTAINER`` . - ``BUILD_LAMBDA_4GB`` : Use up to 4 GiB memory for builds. Only available for environment type ``LINUX_LAMBDA_CONTAINER`` and ``ARM_LAMBDA_CONTAINER`` . - ``BUILD_LAMBDA_8GB`` : Use up to 8 GiB memory for builds. Only available for environment type ``LINUX_LAMBDA_CONTAINER`` and ``ARM_LAMBDA_CONTAINER`` . - ``BUILD_LAMBDA_10GB`` : Use up to 10 GiB memory for builds. Only available for environment type ``LINUX_LAMBDA_CONTAINER`` and ``ARM_LAMBDA_CONTAINER`` . If you use ``BUILD_GENERAL1_SMALL`` : - For environment type ``LINUX_CONTAINER`` , you can use up to 4 GiB memory and 2 vCPUs for builds. - For environment type ``LINUX_GPU_CONTAINER`` , you can use up to 16 GiB memory, 4 vCPUs, and 1 NVIDIA A10G Tensor Core GPU for builds. - For environment type ``ARM_CONTAINER`` , you can use up to 4 GiB memory and 2 vCPUs on ARM-based processors for builds. If you use ``BUILD_GENERAL1_LARGE`` : - For environment type ``LINUX_CONTAINER`` , you can use up to 16 GiB memory and 8 vCPUs for builds. - For environment type ``LINUX_GPU_CONTAINER`` , you can use up to 255 GiB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds. - For environment type ``ARM_CONTAINER`` , you can use up to 16 GiB memory and 8 vCPUs on ARM-based processors for builds. For more information, see `On-demand environment types <https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html#environment.types>`_ in the *AWS CodeBuild User Guide.*
2520
- :param environment_type: The environment type of the compute fleet. - The environment type ``ARM_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), EU (Frankfurt), and South America (São Paulo). - The environment type ``LINUX_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), South America (São Paulo), and Asia Pacific (Mumbai). - The environment type ``LINUX_GPU_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), and Asia Pacific (Sydney). - The environment type ``MAC_ARM`` is available only in regions US East (Ohio), US East (N. Virginia), US West (Oregon), Europe (Frankfurt), and Asia Pacific (Sydney). - The environment type ``WINDOWS_SERVER_2019_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), Asia Pacific (Sydney), Asia Pacific (Tokyo), Asia Pacific (Mumbai) and EU (Ireland). - The environment type ``WINDOWS_SERVER_2022_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Sydney), Asia Pacific (Singapore), Asia Pacific (Tokyo), South America (São Paulo) and Asia Pacific (Mumbai). For more information, see `Build environment compute types <https://docs.aws.amazon.com//codebuild/latest/userguide/build-env-ref-compute-types.html>`_ in the *AWS CodeBuild user guide* .
3047
+ :param environment_type: The environment type of the compute fleet. - The environment type ``ARM_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), EU (Frankfurt), and South America (São Paulo). - The environment type ``ARM_EC2`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), South America (São Paulo), and Asia Pacific (Mumbai). - The environment type ``LINUX_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), South America (São Paulo), and Asia Pacific (Mumbai). - The environment type ``LINUX_EC2`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), South America (São Paulo), and Asia Pacific (Mumbai). - The environment type ``LINUX_GPU_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), and Asia Pacific (Sydney). - The environment type ``MAC_ARM`` is available only in regions US East (Ohio), US East (N. Virginia), US West (Oregon), Europe (Frankfurt), and Asia Pacific (Sydney). - The environment type ``WINDOWS_EC2`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), South America (São Paulo), and Asia Pacific (Mumbai). - The environment type ``WINDOWS_SERVER_2019_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), Asia Pacific (Sydney), Asia Pacific (Tokyo), Asia Pacific (Mumbai) and EU (Ireland). - The environment type ``WINDOWS_SERVER_2022_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Sydney), Asia Pacific (Singapore), Asia Pacific (Tokyo), South America (São Paulo) and Asia Pacific (Mumbai). For more information, see `Build environment compute types <https://docs.aws.amazon.com//codebuild/latest/userguide/build-env-ref-compute-types.html>`_ in the *AWS CodeBuild user guide* .
3048
+ :param fleet_proxy_configuration: Information about the proxy configurations that apply network access control to your reserved capacity instances.
2521
3049
  :param fleet_service_role: The service role associated with the compute fleet. For more information, see `Allow a user to add a permission policy for a fleet service role <https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-identity-based-access-control.html#customer-managed-policies-example-permission-policy-fleet-service-role.html>`_ in the *AWS CodeBuild User Guide* .
2522
3050
  :param fleet_vpc_config: Information about the VPC configuration that AWS CodeBuild accesses.
2523
3051
  :param image_id: The Amazon Machine Image (AMI) of the compute fleet.
2524
3052
  :param name: The name of the compute fleet.
2525
3053
  :param overflow_behavior: The compute fleet overflow behavior. - For overflow behavior ``QUEUE`` , your overflow builds need to wait on the existing fleet instance to become available. - For overflow behavior ``ON_DEMAND`` , your overflow builds run on CodeBuild on-demand. .. epigraph:: If you choose to set your overflow behavior to on-demand while creating a VPC-connected fleet, make sure that you add the required VPC permissions to your project service role. For more information, see `Example policy statement to allow CodeBuild access to AWS services required to create a VPC network interface <https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-identity-based-access-control.html#customer-managed-policies-example-create-vpc-network-interface>`_ .
3054
+ :param scaling_configuration: The scaling configuration of the compute fleet.
2526
3055
  :param tags: A list of tag key and value pairs associated with this compute fleet. These tags are available for use by AWS services that support AWS CodeBuild compute fleet tags.
2527
3056
 
2528
3057
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-fleet.html
@@ -2536,8 +3065,22 @@ class CfnFleetProps:
2536
3065
 
2537
3066
  cfn_fleet_props = codebuild.CfnFleetProps(
2538
3067
  base_capacity=123,
3068
+ compute_configuration=codebuild.CfnFleet.ComputeConfigurationProperty(
3069
+ disk=123,
3070
+ machine_type="machineType",
3071
+ memory=123,
3072
+ v_cpu=123
3073
+ ),
2539
3074
  compute_type="computeType",
2540
3075
  environment_type="environmentType",
3076
+ fleet_proxy_configuration=codebuild.CfnFleet.ProxyConfigurationProperty(
3077
+ default_behavior="defaultBehavior",
3078
+ ordered_proxy_rules=[codebuild.CfnFleet.FleetProxyRuleProperty(
3079
+ effect="effect",
3080
+ entities=["entities"],
3081
+ type="type"
3082
+ )]
3083
+ ),
2541
3084
  fleet_service_role="fleetServiceRole",
2542
3085
  fleet_vpc_config=codebuild.CfnFleet.VpcConfigProperty(
2543
3086
  security_group_ids=["securityGroupIds"],
@@ -2547,6 +3090,14 @@ class CfnFleetProps:
2547
3090
  image_id="imageId",
2548
3091
  name="name",
2549
3092
  overflow_behavior="overflowBehavior",
3093
+ scaling_configuration=codebuild.CfnFleet.ScalingConfigurationInputProperty(
3094
+ max_capacity=123,
3095
+ scaling_type="scalingType",
3096
+ target_tracking_scaling_configs=[codebuild.CfnFleet.TargetTrackingScalingConfigurationProperty(
3097
+ metric_type="metricType",
3098
+ target_value=123
3099
+ )]
3100
+ ),
2550
3101
  tags=[CfnTag(
2551
3102
  key="key",
2552
3103
  value="value"
@@ -2556,21 +3107,28 @@ class CfnFleetProps:
2556
3107
  if __debug__:
2557
3108
  type_hints = typing.get_type_hints(_typecheckingstub__0f3b2fbc34cebb084c954d70b833a508d545b12a4280ff0f8020065e729f8b06)
2558
3109
  check_type(argname="argument base_capacity", value=base_capacity, expected_type=type_hints["base_capacity"])
3110
+ check_type(argname="argument compute_configuration", value=compute_configuration, expected_type=type_hints["compute_configuration"])
2559
3111
  check_type(argname="argument compute_type", value=compute_type, expected_type=type_hints["compute_type"])
2560
3112
  check_type(argname="argument environment_type", value=environment_type, expected_type=type_hints["environment_type"])
3113
+ check_type(argname="argument fleet_proxy_configuration", value=fleet_proxy_configuration, expected_type=type_hints["fleet_proxy_configuration"])
2561
3114
  check_type(argname="argument fleet_service_role", value=fleet_service_role, expected_type=type_hints["fleet_service_role"])
2562
3115
  check_type(argname="argument fleet_vpc_config", value=fleet_vpc_config, expected_type=type_hints["fleet_vpc_config"])
2563
3116
  check_type(argname="argument image_id", value=image_id, expected_type=type_hints["image_id"])
2564
3117
  check_type(argname="argument name", value=name, expected_type=type_hints["name"])
2565
3118
  check_type(argname="argument overflow_behavior", value=overflow_behavior, expected_type=type_hints["overflow_behavior"])
3119
+ check_type(argname="argument scaling_configuration", value=scaling_configuration, expected_type=type_hints["scaling_configuration"])
2566
3120
  check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
2567
3121
  self._values: typing.Dict[builtins.str, typing.Any] = {}
2568
3122
  if base_capacity is not None:
2569
3123
  self._values["base_capacity"] = base_capacity
3124
+ if compute_configuration is not None:
3125
+ self._values["compute_configuration"] = compute_configuration
2570
3126
  if compute_type is not None:
2571
3127
  self._values["compute_type"] = compute_type
2572
3128
  if environment_type is not None:
2573
3129
  self._values["environment_type"] = environment_type
3130
+ if fleet_proxy_configuration is not None:
3131
+ self._values["fleet_proxy_configuration"] = fleet_proxy_configuration
2574
3132
  if fleet_service_role is not None:
2575
3133
  self._values["fleet_service_role"] = fleet_service_role
2576
3134
  if fleet_vpc_config is not None:
@@ -2581,6 +3139,8 @@ class CfnFleetProps:
2581
3139
  self._values["name"] = name
2582
3140
  if overflow_behavior is not None:
2583
3141
  self._values["overflow_behavior"] = overflow_behavior
3142
+ if scaling_configuration is not None:
3143
+ self._values["scaling_configuration"] = scaling_configuration
2584
3144
  if tags is not None:
2585
3145
  self._values["tags"] = tags
2586
3146
 
@@ -2593,6 +3153,19 @@ class CfnFleetProps:
2593
3153
  result = self._values.get("base_capacity")
2594
3154
  return typing.cast(typing.Optional[jsii.Number], result)
2595
3155
 
3156
+ @builtins.property
3157
+ def compute_configuration(
3158
+ self,
3159
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnFleet.ComputeConfigurationProperty]]:
3160
+ '''The compute configuration of the compute fleet.
3161
+
3162
+ This is only required if ``computeType`` is set to ``ATTRIBUTE_BASED_COMPUTE`` .
3163
+
3164
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-fleet.html#cfn-codebuild-fleet-computeconfiguration
3165
+ '''
3166
+ result = self._values.get("compute_configuration")
3167
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnFleet.ComputeConfigurationProperty]], result)
3168
+
2596
3169
  @builtins.property
2597
3170
  def compute_type(self) -> typing.Optional[builtins.str]:
2598
3171
  '''Information about the compute resources the compute fleet uses. Available values include:.
@@ -2638,9 +3211,12 @@ class CfnFleetProps:
2638
3211
  '''The environment type of the compute fleet.
2639
3212
 
2640
3213
  - The environment type ``ARM_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), EU (Frankfurt), and South America (São Paulo).
3214
+ - The environment type ``ARM_EC2`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), South America (São Paulo), and Asia Pacific (Mumbai).
2641
3215
  - The environment type ``LINUX_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), South America (São Paulo), and Asia Pacific (Mumbai).
3216
+ - The environment type ``LINUX_EC2`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), South America (São Paulo), and Asia Pacific (Mumbai).
2642
3217
  - The environment type ``LINUX_GPU_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), and Asia Pacific (Sydney).
2643
3218
  - The environment type ``MAC_ARM`` is available only in regions US East (Ohio), US East (N. Virginia), US West (Oregon), Europe (Frankfurt), and Asia Pacific (Sydney).
3219
+ - The environment type ``WINDOWS_EC2`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), South America (São Paulo), and Asia Pacific (Mumbai).
2644
3220
  - The environment type ``WINDOWS_SERVER_2019_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), Asia Pacific (Sydney), Asia Pacific (Tokyo), Asia Pacific (Mumbai) and EU (Ireland).
2645
3221
  - The environment type ``WINDOWS_SERVER_2022_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Sydney), Asia Pacific (Singapore), Asia Pacific (Tokyo), South America (São Paulo) and Asia Pacific (Mumbai).
2646
3222
 
@@ -2651,6 +3227,17 @@ class CfnFleetProps:
2651
3227
  result = self._values.get("environment_type")
2652
3228
  return typing.cast(typing.Optional[builtins.str], result)
2653
3229
 
3230
+ @builtins.property
3231
+ def fleet_proxy_configuration(
3232
+ self,
3233
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnFleet.ProxyConfigurationProperty]]:
3234
+ '''Information about the proxy configurations that apply network access control to your reserved capacity instances.
3235
+
3236
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-fleet.html#cfn-codebuild-fleet-fleetproxyconfiguration
3237
+ '''
3238
+ result = self._values.get("fleet_proxy_configuration")
3239
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnFleet.ProxyConfigurationProperty]], result)
3240
+
2654
3241
  @builtins.property
2655
3242
  def fleet_service_role(self) -> typing.Optional[builtins.str]:
2656
3243
  '''The service role associated with the compute fleet.
@@ -2707,6 +3294,17 @@ class CfnFleetProps:
2707
3294
  result = self._values.get("overflow_behavior")
2708
3295
  return typing.cast(typing.Optional[builtins.str], result)
2709
3296
 
3297
+ @builtins.property
3298
+ def scaling_configuration(
3299
+ self,
3300
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnFleet.ScalingConfigurationInputProperty]]:
3301
+ '''The scaling configuration of the compute fleet.
3302
+
3303
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-fleet.html#cfn-codebuild-fleet-scalingconfiguration
3304
+ '''
3305
+ result = self._values.get("scaling_configuration")
3306
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnFleet.ScalingConfigurationInputProperty]], result)
3307
+
2710
3308
  @builtins.property
2711
3309
  def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
2712
3310
  '''A list of tag key and value pairs associated with this compute fleet.
@@ -17589,13 +18187,16 @@ def _typecheckingstub__081dd1a893dcfd34d3fe760e75a2377d2c6fbce3f4d815a8e141bcdc0
17589
18187
  id: builtins.str,
17590
18188
  *,
17591
18189
  base_capacity: typing.Optional[jsii.Number] = None,
18190
+ compute_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFleet.ComputeConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
17592
18191
  compute_type: typing.Optional[builtins.str] = None,
17593
18192
  environment_type: typing.Optional[builtins.str] = None,
18193
+ fleet_proxy_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFleet.ProxyConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
17594
18194
  fleet_service_role: typing.Optional[builtins.str] = None,
17595
18195
  fleet_vpc_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFleet.VpcConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
17596
18196
  image_id: typing.Optional[builtins.str] = None,
17597
18197
  name: typing.Optional[builtins.str] = None,
17598
18198
  overflow_behavior: typing.Optional[builtins.str] = None,
18199
+ scaling_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFleet.ScalingConfigurationInputProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
17599
18200
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
17600
18201
  ) -> None:
17601
18202
  """Type checking stubs"""
@@ -17619,6 +18220,12 @@ def _typecheckingstub__7df4adf6dedb39ee1c452caee6956a364bc077851ebb9eb888e240674
17619
18220
  """Type checking stubs"""
17620
18221
  pass
17621
18222
 
18223
+ def _typecheckingstub__13d34cf9cb6e1b9e4c774366b62cbdd66383fb9bd63bb3d15a8f1d07cc9939a9(
18224
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnFleet.ComputeConfigurationProperty]],
18225
+ ) -> None:
18226
+ """Type checking stubs"""
18227
+ pass
18228
+
17622
18229
  def _typecheckingstub__e7b3d268b941417efe9e6f203250e8e05a249e1933ac9362c654f59afc665b1c(
17623
18230
  value: typing.Optional[builtins.str],
17624
18231
  ) -> None:
@@ -17631,6 +18238,12 @@ def _typecheckingstub__4d5a42169d2cc02d25a87396b652a3dc9007739395cd74f9639d93a05
17631
18238
  """Type checking stubs"""
17632
18239
  pass
17633
18240
 
18241
+ def _typecheckingstub__72aded04e24b44469c7c8f36cc8bc07ac855e30f085353ae7b830c505400b9a9(
18242
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnFleet.ProxyConfigurationProperty]],
18243
+ ) -> None:
18244
+ """Type checking stubs"""
18245
+ pass
18246
+
17634
18247
  def _typecheckingstub__0b52d1cb270ba8d5003bf566dbe54e74e91dc4a1bb45f3b32037d9188035304a(
17635
18248
  value: typing.Optional[builtins.str],
17636
18249
  ) -> None:
@@ -17661,12 +18274,62 @@ def _typecheckingstub__bf36f41fa1ee306ba1e159a2bd108d828ec990d8ed85038c3b823cc85
17661
18274
  """Type checking stubs"""
17662
18275
  pass
17663
18276
 
18277
+ def _typecheckingstub__55a0a09b39fb06cb983cdd0c788b002ef6b06d779cf4e8f6c9dfd6d833171db2(
18278
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnFleet.ScalingConfigurationInputProperty]],
18279
+ ) -> None:
18280
+ """Type checking stubs"""
18281
+ pass
18282
+
17664
18283
  def _typecheckingstub__dd8d232a7a18b97fcd2d21d60ea770b5fdd85dd8808e961cb9b071d34e6af4ee(
17665
18284
  value: typing.Optional[typing.List[_CfnTag_f6864754]],
17666
18285
  ) -> None:
17667
18286
  """Type checking stubs"""
17668
18287
  pass
17669
18288
 
18289
+ def _typecheckingstub__83eb701fe90c557bf4af205ee34cfc7a5be2354e8e7cbd789a682e59834fb69b(
18290
+ *,
18291
+ disk: typing.Optional[jsii.Number] = None,
18292
+ machine_type: typing.Optional[builtins.str] = None,
18293
+ memory: typing.Optional[jsii.Number] = None,
18294
+ v_cpu: typing.Optional[jsii.Number] = None,
18295
+ ) -> None:
18296
+ """Type checking stubs"""
18297
+ pass
18298
+
18299
+ def _typecheckingstub__294ea4b2aa110b80612f54914152258045b6089d5ddf85fedac5468f75d17ca5(
18300
+ *,
18301
+ effect: typing.Optional[builtins.str] = None,
18302
+ entities: typing.Optional[typing.Sequence[builtins.str]] = None,
18303
+ type: typing.Optional[builtins.str] = None,
18304
+ ) -> None:
18305
+ """Type checking stubs"""
18306
+ pass
18307
+
18308
+ def _typecheckingstub__7956029753ce224cc7bbcd21623a513c0ff82c2959581e55b8fbc37fdf11c6c6(
18309
+ *,
18310
+ default_behavior: typing.Optional[builtins.str] = None,
18311
+ ordered_proxy_rules: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFleet.FleetProxyRuleProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
18312
+ ) -> None:
18313
+ """Type checking stubs"""
18314
+ pass
18315
+
18316
+ def _typecheckingstub__be5330c8761fd16816c5752df5892ad4b06ffc89b7bea0473d5fa36cb3a808c8(
18317
+ *,
18318
+ max_capacity: typing.Optional[jsii.Number] = None,
18319
+ scaling_type: typing.Optional[builtins.str] = None,
18320
+ target_tracking_scaling_configs: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFleet.TargetTrackingScalingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
18321
+ ) -> None:
18322
+ """Type checking stubs"""
18323
+ pass
18324
+
18325
+ def _typecheckingstub__a7e4e473358323d624eb6523668259844e8264cd2262e75b0f49ca6c6ab48c15(
18326
+ *,
18327
+ metric_type: typing.Optional[builtins.str] = None,
18328
+ target_value: typing.Optional[jsii.Number] = None,
18329
+ ) -> None:
18330
+ """Type checking stubs"""
18331
+ pass
18332
+
17670
18333
  def _typecheckingstub__6ba59299fe003e8819b5e5009d9de74accb150da03c0400a31b1d1f07a39fef1(
17671
18334
  *,
17672
18335
  security_group_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -17679,13 +18342,16 @@ def _typecheckingstub__6ba59299fe003e8819b5e5009d9de74accb150da03c0400a31b1d1f07
17679
18342
  def _typecheckingstub__0f3b2fbc34cebb084c954d70b833a508d545b12a4280ff0f8020065e729f8b06(
17680
18343
  *,
17681
18344
  base_capacity: typing.Optional[jsii.Number] = None,
18345
+ compute_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFleet.ComputeConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
17682
18346
  compute_type: typing.Optional[builtins.str] = None,
17683
18347
  environment_type: typing.Optional[builtins.str] = None,
18348
+ fleet_proxy_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFleet.ProxyConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
17684
18349
  fleet_service_role: typing.Optional[builtins.str] = None,
17685
18350
  fleet_vpc_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFleet.VpcConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
17686
18351
  image_id: typing.Optional[builtins.str] = None,
17687
18352
  name: typing.Optional[builtins.str] = None,
17688
18353
  overflow_behavior: typing.Optional[builtins.str] = None,
18354
+ scaling_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFleet.ScalingConfigurationInputProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
17689
18355
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
17690
18356
  ) -> None:
17691
18357
  """Type checking stubs"""