ProjectEnvironmentArgs

data class ProjectEnvironmentArgs(val certificate: Output<String>? = null, val computeType: Output<String>, val environmentVariables: Output<List<ProjectEnvironmentEnvironmentVariableArgs>>? = null, val image: Output<String>, val imagePullCredentialsType: Output<String>? = null, val privilegedMode: Output<Boolean>? = null, val registryCredential: Output<ProjectEnvironmentRegistryCredentialArgs>? = null, val type: Output<String>) : ConvertibleToJava<ProjectEnvironmentArgs>

Constructors

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

Properties

Link copied to clipboard
val certificate: Output<String>? = null

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

Link copied to clipboard
val computeType: Output<String>

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
val image: Output<String>

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
val imagePullCredentialsType: Output<String>? = null

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: Output<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
val type: Output<String>

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

Functions

Link copied to clipboard
open override fun toJava(): ProjectEnvironmentArgs