@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T17:53:15.613Z") @Stability(value=Experimental) public interface ComputeEnvironmentProps extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
ComputeEnvironmentProps.Builder
A builder for
ComputeEnvironmentProps |
static class |
ComputeEnvironmentProps.Jsii$Proxy
An implementation for
ComputeEnvironmentProps |
| Modifier and Type | Method and Description |
|---|---|
static ComputeEnvironmentProps.Builder |
builder() |
default String |
getComputeEnvironmentName()
(experimental) A name for the compute environment.
|
default ComputeResources |
getComputeResources()
(experimental) The details of the required compute resources for the managed compute environment.
|
default Boolean |
getEnabled()
(experimental) The state of the compute environment.
|
default Boolean |
getManaged()
(experimental) Determines if AWS should manage the allocation of compute resources for processing jobs.
|
default 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.
|
@Stability(value=Experimental) @Nullable default String getComputeEnvironmentName()
Up to 128 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed.
Default: - CloudFormation-generated name
@Stability(value=Experimental) @Nullable default ComputeResources getComputeResources()
If 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
@Stability(value=Experimental) @Nullable default Boolean getEnabled()
If 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
@Stability(value=Experimental) @Nullable default Boolean getManaged()
If set to false, then you are in charge of providing the compute resource details.
Default: true
@Stability(value=Experimental) @Nullable default IRole getServiceRole()
By default, this role is created for you using the AWS managed service policy for Batch.
Default: - Role using the 'service-role/AWSBatchServiceRole' policy.
@Stability(value=Experimental) static ComputeEnvironmentProps.Builder builder()
ComputeEnvironmentProps.Builder of ComputeEnvironmentPropsCopyright © 2021. All rights reserved.