Interface IComputeEnvironment.Jsii$Default
- All Superinterfaces:
IComputeEnvironment,IComputeEnvironmentRef,IComputeEnvironmentRef.Jsii$Default,software.constructs.IConstruct,software.constructs.IConstruct.Jsii$Default,software.constructs.IDependable,software.constructs.IDependable.Jsii$Default,IEnvironmentAware,IEnvironmentAware.Jsii$Default,IResource,IResource.Jsii$Default,software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
IFargateComputeEnvironment.Jsii$Default,IManagedComputeEnvironment.Jsii$Default,IManagedEc2EcsComputeEnvironment.Jsii$Default,IUnmanagedComputeEnvironment.Jsii$Default
- All Known Implementing Classes:
IComputeEnvironment.Jsii$Proxy,IFargateComputeEnvironment.Jsii$Proxy,IManagedComputeEnvironment.Jsii$Proxy,IManagedEc2EcsComputeEnvironment.Jsii$Proxy,IUnmanagedComputeEnvironment.Jsii$Proxy
- Enclosing interface:
IComputeEnvironment
@Internal
public static interface IComputeEnvironment.Jsii$Default
extends IComputeEnvironment, IResource.Jsii$Default, IComputeEnvironmentRef.Jsii$Default
Internal default implementation for
IComputeEnvironment.-
Nested Class Summary
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.batch.IComputeEnvironment
IComputeEnvironment.Jsii$Default, IComputeEnvironment.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.batch.IComputeEnvironmentRef
IComputeEnvironmentRef.Jsii$Default, IComputeEnvironmentRef.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IDependable
software.constructs.IDependable.Jsii$Default, software.constructs.IDependable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
IEnvironmentAware.Jsii$Default, IEnvironmentAware.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default, IResource.Jsii$Proxy -
Method Summary
Modifier and TypeMethodDescriptiondefault StringThe ARN of this compute environment.default StringThe name of the ComputeEnvironment.default BooleanWhether or not this ComputeEnvironment can accept jobs from a Queue.default IRoleThe role Batch uses to perform actions on your behalf in your account, such as provision instances to run your jobs.Methods inherited from interface software.amazon.awscdk.interfaces.batch.IComputeEnvironmentRef.Jsii$Default
getComputeEnvironmentRefMethods inherited from interface software.constructs.IConstruct.Jsii$Default
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware.Jsii$Default
getEnvMethods inherited from interface software.amazon.awscdk.IResource.Jsii$Default
applyRemovalPolicy, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getComputeEnvironmentArn
The ARN of this compute environment.- Specified by:
getComputeEnvironmentArnin interfaceIComputeEnvironment
-
getComputeEnvironmentName
The name of the ComputeEnvironment.- Specified by:
getComputeEnvironmentNamein interfaceIComputeEnvironment
-
getEnabled
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
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.- Specified by:
getEnabledin interfaceIComputeEnvironment
-
getServiceRole
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:
getServiceRolein interfaceIComputeEnvironment
-