ProjectEnvironment class

Constructors

ProjectEnvironment({Input<String?>? certificate, required Input<String> computeType, Input<ProjectEnvironmentDockerServer?>? dockerServer, Input<List<ProjectEnvironmentEnvironmentVariable>?>? environmentVariables, Input<ProjectEnvironmentFleet?>? fleet, Input<String?>? hostKernel, required Input<String> image, Input<String?>? imagePullCredentialsType, Input<bool?>? privilegedMode, Input<ProjectEnvironmentRegistryCredential?>? registryCredential, required Input<String> type})
Creates a new ProjectEnvironment. certificate ARN of the S3 bucket, path prefix and object key that contains the PEM-encoded certificate. computeType Information about the compute resources the build project will use. Valid values: dockerServer Configuration block. Detailed below. environmentVariables Configuration block. Detailed below. fleet Configuration block. Detailed below. hostKernel Host operating system kernel used for on-demand builds in the build project. This setting image Docker image to use for this build project. Valid values imagePullCredentialsType Type of credentials AWS CodeBuild uses to pull images in your build. Valid privilegedMode Whether to enable running the Docker daemon inside a Docker container. Defaults to registryCredential Configuration block. Detailed below. type Type of build environment to use for related builds. Valid values: WINDOWS_CONTAINER (deprecated), LINUX_CONTAINER,
const
ProjectEnvironment.fromMap(Map<String, dynamic> map)
factory

Properties

certificate → Input<String?>?
ARN of the S3 bucket, path prefix and object key that contains the PEM-encoded certificate.
final
computeType → Input<String>
Information about the compute resources the build project will use. Valid values: BUILD_GENERAL1_SMALL, BUILD_GENERAL1_MEDIUM, BUILD_GENERAL1_LARGE, BUILD_GENERAL1_XLARGE, BUILD_GENERAL1_2XLARGE, BUILD_LAMBDA_1GB, BUILD_LAMBDA_2GB, BUILD_LAMBDA_4GB, BUILD_LAMBDA_8GB, BUILD_LAMBDA_10GB. For additional information, see the CodeBuild User Guide.
final
dockerServer → Input<ProjectEnvironmentDockerServer?>?
Configuration block. Detailed below.
final
environmentVariables → Input<List<ProjectEnvironmentEnvironmentVariable>?>?
Configuration block. Detailed below.
final
fleet → Input<ProjectEnvironmentFleet?>?
Configuration block. Detailed below.
final
hashCode int
The hash code for this object.
no setterinherited
hostKernel → Input<String?>?
Host operating system kernel used for on-demand builds in the build project. This setting controls the kernel of the underlying build host. It does not change the build environment operating system, which is determined by the image you specify. Valid values: LINUX_KERNEL_4 (runs on an Amazon Linux 2 host, kernel 4.x), LINUX_KERNEL_6 (runs on an Amazon Linux 2023 host, kernel 6.x), LINUX_KERNEL_LATEST (runs on the latest supported host kernel). Applies to the LINUX_CONTAINER, ARM_CONTAINER, LINUX_EC2, and ARM_EC2 environment types; not applicable to Windows, Lambda, or Mac environment types. If not specified, CodeBuild selects a default.
final
image → Input<String>
Docker image to use for this build project. Valid values include Docker images provided by CodeBuild ( e.g aws/codebuild/amazonlinux2-x86_64-standard:4.0), Docker Hub images (e.g., pulumi/pulumi:latest), and full Docker repository URIs such as those for ECR (e.g., 137112412989.dkr.ecr.us-west-2.amazonaws.com/amazonlinux:latest).
final
imagePullCredentialsType → Input<String?>?
Type of credentials AWS CodeBuild uses to pull images in your build. Valid values: CODEBUILD, SERVICE_ROLE. When you use a cross-account or private registry image, you must use SERVICE_ROLE credentials. When you use an AWS CodeBuild curated image, you must use CodeBuild credentials. Defaults to CODEBUILD.
final
privilegedMode → Input<bool?>?
Whether to enable running the Docker daemon inside a Docker container. Defaults to false.
final
registryCredential → Input<ProjectEnvironmentRegistryCredential?>?
Configuration block. Detailed below.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type → Input<String>
Type of build environment to use for related builds. Valid values: WINDOWS_CONTAINER (deprecated), LINUX_CONTAINER, LINUX_GPU_CONTAINER, ARM_CONTAINER, WINDOWS_SERVER_2019_CONTAINER, WINDOWS_SERVER_2022_CONTAINER, LINUX_LAMBDA_CONTAINER, ARM_LAMBDA_CONTAINER, LINUX_EC2, ARM_EC2, WINDOWS_EC2, MAC_ARM. For additional information, see the CodeBuild User Guide.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited