# ComputeConfigurationProperty

Contains compute attributes.

These attributes only need be specified when your project's or fleet's `computeType` is set to `ATTRIBUTE_BASED_COMPUTE` or `CUSTOM_INSTANCE_TYPE` .

- Source: Generated code
- Type last changed: v2.197.0 · 21 May 2025

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_codebuild as codebuild } from 'aws-cdk-lib';
const computeConfigurationProperty: codebuild.CfnFleet.ComputeConfigurationProperty = {
  disk: 123,
  instanceType: 'instanceType',
  machineType: 'machineType',
  memory: 123,
  vCpu: 123,
};
```

## Properties

- `disk`: number — The amount of disk space of the instance type included in your fleet.

- `instanceType`: string — The EC2 instance type to be launched in your fleet.

- `machineType`: string — The machine type of the instance type included in your fleet.

- `memory`: number — The amount of memory of the instance type included in your fleet.

- `vCpu`: number — The number of vCPUs of the instance type included in your fleet.
