Class BuildEnvironment.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.codebuild.BuildEnvironment.Jsii$Proxy
All Implemented Interfaces:
BuildEnvironment, software.amazon.jsii.JsiiSerializable
Enclosing interface:
BuildEnvironment

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

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      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 software.amazon.jsii.JsiiSerializable
    • equals

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

      public final int hashCode()
      Overrides:
      hashCode in class Object