MachineType Enum
The compute type of the fleet.
Example
ts
import { Size } from 'aws-cdk-lib';
const fleet = new codebuild.Fleet(this, 'MyFleet', {
baseCapacity: 1,
computeType: codebuild.FleetComputeType.ATTRIBUTE_BASED,
environmentType: codebuild.EnvironmentType.LINUX_CONTAINER,
computeConfiguration: {
vCpu: 2,
memory: Size.gibibytes(4),
disk: Size.gibibytes(10),
machineType: codebuild.MachineType.GENERAL,
},
});
Members
| Member | Description |
|---|---|
GENERAL | General purpose compute type. |
NVME | Non-Volatile Memory Express (NVMe) storage optimized compute type. |
Referenced by
ComputeConfiguration.machineTypemachine_typemachineTypeMachineTypeMachineType