enum EnvironmentType
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.CodeBuild.EnvironmentType |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awscodebuild#EnvironmentType |
Java | software.amazon.awscdk.services.codebuild.EnvironmentType |
Python | aws_cdk.aws_codebuild.EnvironmentType |
TypeScript (source) | aws-cdk-lib » aws_codebuild » EnvironmentType |
Build environment type.
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 |
---|---|
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. |
MAC_ARM | MacOS ARM container. |
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.
MAC_ARM
MacOS ARM container.