ComputeConfiguration - AWS CodeBuild
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

ComputeConfiguration

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.

Contents

Note

In the following list, the required parameters are described first.

disk

The amount of disk space of the instance type included in your fleet.

Type: Long

Required: No

instanceType

The EC2 instance type to be launched in your fleet.

Type: String

Length Constraints: Minimum length of 1.

Required: No

machineType

The machine type of the instance type included in your fleet.

Type: String

Valid Values: GENERAL | NVME

Required: No

memory

The amount of memory of the instance type included in your fleet.

Type: Long

Required: No

vCpu

The number of vCPUs of the instance type included in your fleet.

Type: Long

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: