Class ProjectEnvironmentArgs.Builder

  • Enclosing class:
    ProjectEnvironmentArgs

    public static final class ProjectEnvironmentArgs.Builder
    extends java.lang.Object
    • 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_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`.
        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_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`.
        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/standard:2.0`), [Docker Hub images](https://hub.docker.com/) (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`).
        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/standard:2.0`), [Docker Hub images](https://hub.docker.com/) (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`).
        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
      • type

        public ProjectEnvironmentArgs.Builder type​(com.pulumi.core.Output<java.lang.String> type)
        Parameters:
        type - Type of repository that contains the source code to be built. Valid values: `CODECOMMIT`, `CODEPIPELINE`, `GITHUB`, `GITHUB_ENTERPRISE`, `BITBUCKET`, `S3`, `NO_SOURCE`.
        Returns:
        builder
      • type

        public ProjectEnvironmentArgs.Builder type​(java.lang.String type)
        Parameters:
        type - Type of repository that contains the source code to be built. Valid values: `CODECOMMIT`, `CODEPIPELINE`, `GITHUB`, `GITHUB_ENTERPRISE`, `BITBUCKET`, `S3`, `NO_SOURCE`.
        Returns:
        builder