ComputeEnvironmentArgs constructor

const ComputeEnvironmentArgs({
  1. Input<ComputeEnvironmentComputeResources?>? computeResources,
  2. Input<ComputeEnvironmentEksConfiguration?>? eksConfiguration,
  3. Input<String?>? name,
  4. Input<String?>? namePrefix,
  5. Input<String?>? region,
  6. Input<String?>? serviceRole,
  7. Input<String?>? state,
  8. Input<Map<String, String>?>? tags,
  9. required Input<String> type,
  10. Input<ComputeEnvironmentUpdatePolicy?>? updatePolicy,
})

Creates a new ComputeEnvironmentArgs. computeResources Details of the compute resources managed by the compute environment. This parameter is required for managed compute environments. See details below. eksConfiguration Details for the Amazon EKS cluster that supports the compute environment. See details below. name The name for your compute environment. Up to 128 letters (uppercase and lowercase), numbers, and underscores are allowed. If omitted, the provider will assign a random, unique name. namePrefix Creates a unique compute environment name beginning with the specified prefix. Conflicts with name. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. serviceRole Full ARN of the IAM role that allows AWS Batch to make calls to other AWS services on your behalf. state The state of the compute environment. If the state is ENABLED, then the compute environment accepts jobs from a queue and can scale out automatically based on queues. Valid items are ENABLED or DISABLED. Defaults to ENABLED. tags Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level. type The type of the compute environment. Valid items are MANAGED or UNMANAGED. updatePolicy Specifies the infrastructure update policy for the compute environment. See details below.

Implementation

const ComputeEnvironmentArgs({
  this.computeResources,
  this.eksConfiguration,
  this.name,
  this.namePrefix,
  this.region,
  this.serviceRole,
  this.state,
  this.tags,
  required this.type,
  this.updatePolicy,
});