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-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.batch.ComputeEnvironmentProps
ComputeEnvironmentProps.Builder, ComputeEnvironmentProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theComputeEnvironmentProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal StringThe name of the ComputeEnvironment.final BooleanWhether or not this ComputeEnvironment can accept jobs from a Queue.final IRoleThe role Batch uses to perform actions on your behalf in your account, such as provision instances to run your jobs.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
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
Constructor that initializes the object based on literal property values passed by theComputeEnvironmentProps.Builder.
-
-
Method Details
-
getComputeEnvironmentName
Description copied from interface:ComputeEnvironmentPropsThe name of the ComputeEnvironment.Default: - generated by CloudFormation
- Specified by:
getComputeEnvironmentNamein interfaceComputeEnvironmentProps
-
getEnabled
Description copied from interface:ComputeEnvironmentPropsWhether 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
STARTEDorRUNNINGstates will not be interrupted. As jobs complete, the ComputeEnvironment will scale instances down tominvCpus.To ensure you aren't billed for unused capacity, set
minvCpusto0.Default: true
- Specified by:
getEnabledin interfaceComputeEnvironmentProps
-
getServiceRole
Description copied from interface:ComputeEnvironmentPropsThe 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:
getServiceRolein interfaceComputeEnvironmentProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-