Class UnmanagedComputeEnvironmentProps.Jsii$Proxy
- All Implemented Interfaces:
ComputeEnvironmentProps
,UnmanagedComputeEnvironmentProps
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
UnmanagedComputeEnvironmentProps
UnmanagedComputeEnvironmentProps
-
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.UnmanagedComputeEnvironmentProps
UnmanagedComputeEnvironmentProps.Builder, UnmanagedComputeEnvironmentProps.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theUnmanagedComputeEnvironmentProps.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 Number
The vCPUs this Compute Environment provides.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 theUnmanagedComputeEnvironmentProps.Builder
.
-
-
Method Details
-
getUnmanagedvCpus
Description copied from interface:UnmanagedComputeEnvironmentProps
The vCPUs this Compute Environment provides. Used only by the scheduler to schedule jobs inQueue
s that useFairshareSchedulingPolicy
s.If this parameter is not provided on a fairshare queue, no capacity is reserved; that is, the
FairshareSchedulingPolicy
is ignored.Default: 0
- Specified by:
getUnmanagedvCpus
in interfaceUnmanagedComputeEnvironmentProps
-
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()
-