Class BuildEnvironment.Jsii$Proxy

All Implemented Interfaces:
Enclosing interface:

@Stability(Stable) @Internal public static final class BuildEnvironment.Jsii$Proxy extends implements BuildEnvironment
An implementation for BuildEnvironment
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy( objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(BuildEnvironment.Builder builder)
      Constructor that initializes the object based on literal property values passed by the BuildEnvironment.Builder.
  • Method Details

    • getBuildImage

      public final IBuildImage getBuildImage()
      Description copied from interface: BuildEnvironment
      The image used for the builds.

      Default: LinuxBuildImage.STANDARD_1_0

      Specified by:
      getBuildImage in interface BuildEnvironment
    • getCertificate

      public final BuildEnvironmentCertificate getCertificate()
      Description copied from interface: BuildEnvironment
      The location of the PEM-encoded certificate for the build project.

      Default: - No external certificate is added to the project

      Specified by:
      getCertificate in interface BuildEnvironment
    • getComputeType

      public final ComputeType getComputeType()
      Description copied from interface: BuildEnvironment
      The type of compute to use for this build.

      See the ComputeType enum for the possible values.

      Default: taken from `#buildImage#defaultComputeType`

      Specified by:
      getComputeType in interface BuildEnvironment
    • getEnvironmentVariables

      public final Map<String,BuildEnvironmentVariable> getEnvironmentVariables()
      Description copied from interface: BuildEnvironment
      The environment variables that your builds can use.
      Specified by:
      getEnvironmentVariables in interface BuildEnvironment
    • getFleet

      public final IFleet getFleet()
      Description copied from interface: BuildEnvironment
      Fleet resource for a reserved capacity CodeBuild project.

      Fleets allow for process builds or tests to run immediately and reduces build durations, by reserving compute resources for your projects.

      You will be charged for the resources in the fleet, even if they are idle.

      Default: - No fleet will be attached to the project, which will remain on-demand.

      Specified by:
      getFleet in interface BuildEnvironment
      See Also:
    • getPrivileged

      public final Boolean getPrivileged()
      Description copied from interface: BuildEnvironment
      Indicates how the project builds Docker images.

      Specify true to enable running the Docker daemon inside a Docker container. This value must be set to true only if this build project will be used to build Docker images, and the specified build environment image is not one provided by AWS CodeBuild with Docker support. Otherwise, all associated builds that attempt to interact with the Docker daemon will fail.

      Default: false

      Specified by:
      getPrivileged in interface BuildEnvironment
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface
    • equals

      public final boolean equals(Object o)
      equals in class Object
    • hashCode

      public final int hashCode()
      hashCode in class Object