ProjectEnvironment

data class ProjectEnvironment(val certificate: String? = null, val computeType: String, val environmentVariables: List<ProjectEnvironmentEnvironmentVariable>? = null, val image: String, val imagePullCredentialsType: String? = null, val privilegedMode: Boolean? = null, val registryCredential: ProjectEnvironmentRegistryCredential? = null, val type: String)

Constructors

Link copied to clipboard
constructor(certificate: String? = null, computeType: String, environmentVariables: List<ProjectEnvironmentEnvironmentVariable>? = null, image: String, imagePullCredentialsType: String? = null, privilegedMode: Boolean? = null, registryCredential: ProjectEnvironmentRegistryCredential? = null, type: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val certificate: String? = null

ARN of the S3 bucket, path prefix and object key that contains the PEM-encoded certificate.

Link copied to clipboard

Information about the compute resources the build project will use. Valid values: BUILD_GENERAL1_SMALL, BUILD_GENERAL1_MEDIUM, BUILD_GENERAL1_LARGE, BUILD_GENERAL1_2XLARGE. BUILD_GENERAL1_SMALL is only valid if type is set to LINUX_CONTAINER. When type is set to LINUX_GPU_CONTAINER, compute_type must be BUILD_GENERAL1_LARGE.

Link copied to clipboard

Configuration block. Detailed below.

Link copied to clipboard

Docker image to use for this build project. Valid values include Docker images provided by CodeBuild (e.g aws/codebuild/standard:2&#46;0), Docker Hub images (e.g., nginx/nginx:latest), and full Docker repository URIs such as those for ECR (e.g., 137112412989.dkr.ecr.us-west-2.amazonaws.com/amazonlinux:latest).

Link copied to clipboard

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.

Link copied to clipboard
val privilegedMode: Boolean? = null

Whether to enable running the Docker daemon inside a Docker container. Defaults to false.

Link copied to clipboard

Configuration block. Detailed below.

Link copied to clipboard

Type of environment variable. Valid values: PARAMETER_STORE, PLAINTEXT, SECRETS_MANAGER.