Package com.pulumi.aws.codebuild.inputs
Class ProjectEnvironmentArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.codebuild.inputs.ProjectEnvironmentArgs.Builder
-
- Enclosing class:
- ProjectEnvironmentArgs
public static final class ProjectEnvironmentArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(ProjectEnvironmentArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ProjectEnvironmentArgs defaults)
-
-
Method Detail
-
certificate
public ProjectEnvironmentArgs.Builder certificate(@Nullable com.pulumi.core.Output<java.lang.String> certificate)
- Parameters:
certificate- ARN of the S3 bucket, path prefix and object key that contains the PEM-encoded certificate.- Returns:
- builder
-
certificate
public ProjectEnvironmentArgs.Builder certificate(java.lang.String certificate)
- Parameters:
certificate- ARN of the S3 bucket, path prefix and object key that contains the PEM-encoded certificate.- Returns:
- builder
-
computeType
public ProjectEnvironmentArgs.Builder computeType(com.pulumi.core.Output<java.lang.String> computeType)
- Parameters:
computeType- 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](https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html).- Returns:
- builder
-
computeType
public ProjectEnvironmentArgs.Builder computeType(java.lang.String computeType)
- Parameters:
computeType- 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](https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html).- Returns:
- builder
-
dockerServer
public ProjectEnvironmentArgs.Builder dockerServer(@Nullable com.pulumi.core.Output<ProjectEnvironmentDockerServerArgs> dockerServer)
- Parameters:
dockerServer- Configuration block. Detailed below.- Returns:
- builder
-
dockerServer
public ProjectEnvironmentArgs.Builder dockerServer(ProjectEnvironmentDockerServerArgs dockerServer)
- Parameters:
dockerServer- Configuration block. Detailed below.- Returns:
- builder
-
environmentVariables
public ProjectEnvironmentArgs.Builder environmentVariables(@Nullable com.pulumi.core.Output<java.util.List<ProjectEnvironmentEnvironmentVariableArgs>> environmentVariables)
- Parameters:
environmentVariables- Configuration block. Detailed below.- Returns:
- builder
-
environmentVariables
public ProjectEnvironmentArgs.Builder environmentVariables(java.util.List<ProjectEnvironmentEnvironmentVariableArgs> environmentVariables)
- Parameters:
environmentVariables- Configuration block. Detailed below.- Returns:
- builder
-
environmentVariables
public ProjectEnvironmentArgs.Builder environmentVariables(ProjectEnvironmentEnvironmentVariableArgs... environmentVariables)
- Parameters:
environmentVariables- Configuration block. Detailed below.- Returns:
- builder
-
fleet
public ProjectEnvironmentArgs.Builder fleet(@Nullable com.pulumi.core.Output<ProjectEnvironmentFleetArgs> fleet)
- Parameters:
fleet- Configuration block. Detailed below.- Returns:
- builder
-
fleet
public ProjectEnvironmentArgs.Builder fleet(ProjectEnvironmentFleetArgs fleet)
- Parameters:
fleet- Configuration block. Detailed below.- Returns:
- builder
-
hostKernel
public ProjectEnvironmentArgs.Builder hostKernel(@Nullable com.pulumi.core.Output<java.lang.String> hostKernel)
- Parameters:
hostKernel- 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.- Returns:
- builder
-
hostKernel
public ProjectEnvironmentArgs.Builder hostKernel(java.lang.String hostKernel)
- Parameters:
hostKernel- 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.- Returns:
- builder
-
image
public ProjectEnvironmentArgs.Builder image(com.pulumi.core.Output<java.lang.String> image)
- Parameters:
image- Docker image to use for this build project. Valid values include [Docker images provided by CodeBuild](https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-available.html) ( e.g `aws/codebuild/amazonlinux2-x86_64-standard:4.0`), [Docker Hub images](https://hub.docker.com/) (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`).- Returns:
- builder
-
image
public ProjectEnvironmentArgs.Builder image(java.lang.String image)
- Parameters:
image- Docker image to use for this build project. Valid values include [Docker images provided by CodeBuild](https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-available.html) ( e.g `aws/codebuild/amazonlinux2-x86_64-standard:4.0`), [Docker Hub images](https://hub.docker.com/) (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`).- Returns:
- builder
-
imagePullCredentialsType
public ProjectEnvironmentArgs.Builder imagePullCredentialsType(@Nullable com.pulumi.core.Output<java.lang.String> imagePullCredentialsType)
- Parameters:
imagePullCredentialsType- 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`.- Returns:
- builder
-
imagePullCredentialsType
public ProjectEnvironmentArgs.Builder imagePullCredentialsType(java.lang.String imagePullCredentialsType)
- Parameters:
imagePullCredentialsType- 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`.- Returns:
- builder
-
privilegedMode
public ProjectEnvironmentArgs.Builder privilegedMode(@Nullable com.pulumi.core.Output<java.lang.Boolean> privilegedMode)
- Parameters:
privilegedMode- Whether to enable running the Docker daemon inside a Docker container. Defaults to `false`.- Returns:
- builder
-
privilegedMode
public ProjectEnvironmentArgs.Builder privilegedMode(java.lang.Boolean privilegedMode)
- Parameters:
privilegedMode- Whether to enable running the Docker daemon inside a Docker container. Defaults to `false`.- Returns:
- builder
-
registryCredential
public ProjectEnvironmentArgs.Builder registryCredential(@Nullable com.pulumi.core.Output<ProjectEnvironmentRegistryCredentialArgs> registryCredential)
- Parameters:
registryCredential- Configuration block. Detailed below.- Returns:
- builder
-
registryCredential
public ProjectEnvironmentArgs.Builder registryCredential(ProjectEnvironmentRegistryCredentialArgs registryCredential)
- Parameters:
registryCredential- Configuration block. Detailed below.- Returns:
- builder
-
type
public ProjectEnvironmentArgs.Builder type(com.pulumi.core.Output<java.lang.String> type)
- Parameters:
type- 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](https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html).- Returns:
- builder
-
type
public ProjectEnvironmentArgs.Builder type(java.lang.String type)
- Parameters:
type- 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](https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html).- Returns:
- builder
-
build
public ProjectEnvironmentArgs build()
-
-