EnvironmentType

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

Bases: Enum

Build environment type.

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

ARM_CONTAINER

ARM container.

LINUX_CONTAINER

Linux container.

LINUX_GPU_CONTAINER

Linux GPU container.

WINDOWS_SERVER_2019_CONTAINER

Windows Server 2019 container.

WINDOWS_SERVER_2022_CONTAINER

Windows Server 2022 container.