Enum FleetComputeType

java.lang.Object
java.lang.Enum<FleetComputeType>
software.amazon.awscdk.services.codebuild.FleetComputeType
All Implemented Interfaces:
Serializable, Comparable<FleetComputeType>, java.lang.constant.Constable

@Generated(value="jsii-pacmak/1.126.0 (build 206d44b)", date="2026-02-09T14:39:07.414Z") @Stability(Stable) public enum FleetComputeType extends Enum<FleetComputeType>
Fleet build machine compute type. Subset of Fleet compatible ComputeType values.

The allocated memory, vCPU count and disk space of the build machine for a given compute type are dependent on the environment type. Some compute types may also not be available for all environment types.

Example:

 import software.amazon.awscdk.Size;
 Fleet fleet = Fleet.Builder.create(this, "MyFleet")
         .baseCapacity(1)
         .computeType(FleetComputeType.CUSTOM_INSTANCE_TYPE)
         .environmentType(EnvironmentType.LINUX_CONTAINER)
         .computeConfiguration(ComputeConfiguration.builder()
                 .instanceType(InstanceType.of(InstanceClass.T3, InstanceSize.MEDIUM))
                 // By default, 64 GiB of disk space is included. Any value optionally
                 // specified here is _incremental_ on top of the included disk space.
                 .disk(Size.gibibytes(10))
                 .build())
         .build();
 

See Also: