The compute type of the fleet.
Namespace: Amazon.CDK.AWS.CodeBuild
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
Syntax (vb)
Examples
using Amazon.CDK;
var fleet = new Fleet(this, "MyFleet", new FleetProps {
BaseCapacity = 1,
ComputeType = FleetComputeType.ATTRIBUTE_BASED,
EnvironmentType = EnvironmentType.LINUX_CONTAINER,
ComputeConfiguration = new ComputeConfiguration {
VCpu = 2,
Memory = Size.Gibibytes(4),
Disk = Size.Gibibytes(10),
MachineType = MachineType.GENERAL
}
});
Synopsis
Fields
| GENERAL | General purpose compute type. |
| NVME | Non-Volatile Memory Express (NVMe) storage optimized compute type. |
Fields
| Name | Description |
|---|---|
| GENERAL | General purpose compute type. |
| NVME | Non-Volatile Memory Express (NVMe) storage optimized compute type. |