FleetComputeType

class aws_cdk.aws_codebuild.FleetComputeType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: Enum

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.

See:

https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html#environment.types

ExampleMetadata:

infused

Example:

fleet = codebuild.Fleet(self, "Fleet",
    compute_type=codebuild.FleetComputeType.MEDIUM,
    environment_type=codebuild.EnvironmentType.LINUX_CONTAINER,
    base_capacity=1
)

codebuild.Project(self, "Project",
    environment=codebuild.BuildEnvironment(
        fleet=fleet,
        build_image=codebuild.LinuxBuildImage.STANDARD_7_0
    )
)

Attributes

LARGE

Large compute type.

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.

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.

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.

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.