Class ComputeEnvironmentProps.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class ComputeEnvironmentProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ComputeEnvironmentProps
An implementation for ComputeEnvironmentProps
  • 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(ComputeEnvironmentProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the ComputeEnvironmentProps.Builder.
  • Method Details

    • getComputeEnvironmentName

      public final String getComputeEnvironmentName()
      Description copied from interface: ComputeEnvironmentProps
      The name of the ComputeEnvironment.

      Default: - generated by CloudFormation

      Specified by:
      getComputeEnvironmentName in interface ComputeEnvironmentProps
    • getEnabled

      public final Boolean getEnabled()
      Description copied from interface: ComputeEnvironmentProps
      Whether or not this ComputeEnvironment can accept jobs from a Queue.

      Enabled ComputeEnvironments can accept jobs from a Queue and can scale instances up or down. Disabled ComputeEnvironments cannot accept jobs from a Queue or scale instances up or down.

      If you change a ComputeEnvironment from enabled to disabled while it is executing jobs, Jobs in the STARTED or RUNNING states will not be interrupted. As jobs complete, the ComputeEnvironment will scale instances down to minvCpus.

      To ensure you aren't billed for unused capacity, set minvCpus to 0.

      Default: true

      Specified by:
      getEnabled in interface ComputeEnvironmentProps
    • getServiceRole

      public final IRole getServiceRole()
      Description copied from interface: ComputeEnvironmentProps
      The role Batch uses to perform actions on your behalf in your account, such as provision instances to run your jobs.

      Default: - a serviceRole will be created for managed CEs, none for unmanaged CEs

      Specified by:
      getServiceRole in interface ComputeEnvironmentProps
    • $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