enum FleetComputeType
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.CodeBuild.FleetComputeType |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awscodebuild#FleetComputeType |
Java | software.amazon.awscdk.services.codebuild.FleetComputeType |
Python | aws_cdk.aws_codebuild.FleetComputeType |
TypeScript (source) | aws-cdk-lib » aws_codebuild » FleetComputeType |
Fleet build machine compute type. Subset of Fleet compatible {@link ComputeType} values.
The allocated memory, vCPU count and disk space of the build machine for a given compute type are dependent on the environment type. Some compute types may also not be available for all environment types.
Example
const fleet = new codebuild.Fleet(this, 'Fleet', {
computeType: codebuild.FleetComputeType.MEDIUM,
environmentType: codebuild.EnvironmentType.LINUX_CONTAINER,
baseCapacity: 1,
});
new codebuild.Project(this, 'Project', {
environment: {
fleet,
buildImage: codebuild.LinuxBuildImage.STANDARD_7_0,
},
// ...
})
Members
Name | Description |
---|---|
SMALL | Small compute type. |
MEDIUM | Medium compute type. |
LARGE | Large compute type. |
X_LARGE | Extra Large compute type. |
X2_LARGE | Extra, Extra Large compute type. |
SMALL
Small compute type.
May not be available for all environment types, see {@link https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html#environment.types docs} for more information.
MEDIUM
Medium compute type.
May not be available for all environment types, see {@link https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html#environment.types docs} for more information.
LARGE
Large compute type.
X_LARGE
Extra Large compute type.
May not be available for all environment types, see {@link https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html#environment.types docs} for more information.
X2_LARGE
Extra, Extra Large compute type.
May not be available for all environment types, see {@link https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html#environment.types docs} for more information.