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.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.batch.ComputeEnvironmentProps
ComputeEnvironmentProps.Builder, ComputeEnvironmentProps.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theComputeEnvironmentProps.Builder
.protected
Jsii$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.JsonNode
final boolean
final String
The name of the ComputeEnvironment.final Boolean
Whether or not this ComputeEnvironment can accept jobs from a Queue.final IRole
The role Batch uses to perform actions on your behalf in your account, such as provision instances to run your jobs.final int
hashCode()
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:ComputeEnvironmentProps
The name of the ComputeEnvironment.Default: - generated by CloudFormation
- Specified by:
getComputeEnvironmentName
in interfaceComputeEnvironmentProps
-
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
orRUNNING
states will not be interrupted. As jobs complete, the ComputeEnvironment will scale instances down tominvCpus
.To ensure you aren't billed for unused capacity, set
minvCpus
to0
.Default: true
- Specified by:
getEnabled
in interfaceComputeEnvironmentProps
-
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 interfaceComputeEnvironmentProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-