AWS::CodeBuild::Fleet ComputeConfiguration - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.

AWS::CodeBuild::Fleet 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.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "disk" : Integer, "instanceType" : String, "machineType" : String, "memory" : Integer, "vCpu" : Integer }

YAML

disk: Integer instanceType: String machineType: String memory: Integer vCpu: Integer

Properties

disk

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

Required: No

Type: Integer

Update requires: No interruption

instanceType

The EC2 instance type to be launched in your fleet.

Required: No

Type: String

Minimum: 1

Update requires: No interruption

machineType

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

Required: No

Type: String

Allowed values: GENERAL | NVME

Update requires: No interruption

memory

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

Required: No

Type: Integer

Update requires: No interruption

vCpu

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

Required: No

Type: Integer

Update requires: No interruption