@Stability(value=Experimental) @Internal public static final class ComputeEnvironmentProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ComputeEnvironmentProps
ComputeEnvironmentPropssoftware.amazon.jsii.JsiiObject.InitializationModeComputeEnvironmentProps.Builder, ComputeEnvironmentProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(String computeEnvironmentName,
ComputeResources computeResources,
Boolean enabled,
Boolean managed,
IRole serviceRole)
Constructor that initializes the object based on literal property values passed by the
ComputeEnvironmentProps.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getComputeEnvironmentName()
(experimental) A name for the compute environment.
|
ComputeResources |
getComputeResources()
(experimental) The details of the required compute resources for the managed compute environment.
|
Boolean |
getEnabled()
(experimental) The state of the compute environment.
|
Boolean |
getManaged()
(experimental) Determines if AWS should manage the allocation of compute resources for processing jobs.
|
IRole |
getServiceRole()
(experimental) The IAM role used by Batch to make calls to other AWS services on your behalf for managing the resources that you use with the service.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(String computeEnvironmentName, ComputeResources computeResources, Boolean enabled, Boolean managed, IRole serviceRole)
ComputeEnvironmentProps.Builder.public final String getComputeEnvironmentName()
ComputeEnvironmentPropsUp to 128 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed.
Default: - CloudFormation-generated name
getComputeEnvironmentName in interface ComputeEnvironmentPropspublic final ComputeResources getComputeResources()
ComputeEnvironmentPropsIf specified, and this is an unmanaged compute environment, will throw an error.
By default, AWS Batch managed compute environments use a recent, approved version of the Amazon ECS-optimized AMI for compute resources.
Default: - CloudFormation defaults
getComputeResources in interface ComputeEnvironmentPropspublic final Boolean getEnabled()
ComputeEnvironmentPropsIf the state is set to true, then the compute environment accepts jobs from a queue and can scale out automatically based on queues.
Default: true
getEnabled in interface ComputeEnvironmentPropspublic final Boolean getManaged()
ComputeEnvironmentPropsIf set to false, then you are in charge of providing the compute resource details.
Default: true
getManaged in interface ComputeEnvironmentPropspublic final IRole getServiceRole()
ComputeEnvironmentPropsBy default, this role is created for you using the AWS managed service policy for Batch.
Default: - Role using the 'service-role/AWSBatchServiceRole' policy.
getServiceRole in interface ComputeEnvironmentProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.