Skip to main content

@swamp/aws/batch

v2026.04.23.3

AWS BATCH infrastructure models

Repository

https://github.com/systeminit/swamp-extensions

Labels

awsbatchcloudinfrastructure

Contents

Quality score

Verified by Swamp

How well-documented and verifiable this extension is.

100%

Grade A

  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types1/1earned
  • Has description1/1earned
  • At least one platform tag (or universal)1/1earned
  • Two or more platform tags (or universal)1/1earned
  • License declared1/1earned
  • Verified public repository2/2earned

Install

$ swamp extension pull @swamp/aws/batch

@swamp/aws/batch/compute-environmentv2026.04.23.2compute_environment.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
ComputeEnvironmentName?string
ComputeResources?object
ReplaceComputeEnvironment?boolean
ServiceRole?string
State?string
Tags?recordA key-value pair to associate with a resource.
Typestring
UpdatePolicy?object
UnmanagedvCpus?number
EksConfiguration?object
Context?string
createCreate a Batch ComputeEnvironment
getGet a Batch ComputeEnvironment
ArgumentTypeDescription
identifierstringThe primary identifier of the Batch ComputeEnvironment
updateUpdate a Batch ComputeEnvironment
deleteDelete a Batch ComputeEnvironment
ArgumentTypeDescription
identifierstringThe primary identifier of the Batch ComputeEnvironment
syncSync Batch ComputeEnvironment state from AWS

Resources

state(infinite)— Batch ComputeEnvironment resource state
@swamp/aws/batch/consumable-resourcev2026.04.23.2consumable_resource.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
ConsumableResourceName?stringName of ConsumableResource.
TotalQuantitynumberTotal Quantity of ConsumableResource.
ResourceTypeenumType of Consumable Resource.
Tags?recordA key-value pair to associate with a resource.
createCreate a Batch ConsumableResource
getGet a Batch ConsumableResource
ArgumentTypeDescription
identifierstringThe primary identifier of the Batch ConsumableResource
updateUpdate a Batch ConsumableResource
deleteDelete a Batch ConsumableResource
ArgumentTypeDescription
identifierstringThe primary identifier of the Batch ConsumableResource
syncSync Batch ConsumableResource state from AWS

Resources

state(infinite)— Batch ConsumableResource resource state
@swamp/aws/batch/job-definitionv2026.04.23.2job_definition.ts

Global Arguments

ArgumentTypeDescription
Parameters?record
Timeout?object
JobDefinitionName?string
PropagateTags?boolean
PlatformCapabilities?array
EksProperties?object
ConsumableResourceProperties?object
Typestring
NodeProperties?object
SchedulingPriority?number
ContainerProperties?object
EcsProperties?object
ResourceRetentionPolicy?object
RetryStrategy?object
Tags?recordA key-value pair to associate with a resource.
createCreate a Batch JobDefinition
getGet a Batch JobDefinition
ArgumentTypeDescription
identifierstringThe primary identifier of the Batch JobDefinition
updateUpdate a Batch JobDefinition
deleteDelete a Batch JobDefinition
ArgumentTypeDescription
identifierstringThe primary identifier of the Batch JobDefinition
syncSync Batch JobDefinition state from AWS

Resources

state(infinite)— Batch JobDefinition resource state
@swamp/aws/batch/job-queuev2026.04.23.2job_queue.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
JobQueueName?string
JobQueueType?string
ComputeEnvironmentOrder?array
ServiceEnvironmentOrder?array
JobStateTimeLimitActions?array
Prioritynumber
State?enum
SchedulingPolicyArn?string
Tags?recordA key-value pair to associate with a resource.
createCreate a Batch JobQueue
getGet a Batch JobQueue
ArgumentTypeDescription
identifierstringThe primary identifier of the Batch JobQueue
updateUpdate a Batch JobQueue
deleteDelete a Batch JobQueue
ArgumentTypeDescription
identifierstringThe primary identifier of the Batch JobQueue
syncSync Batch JobQueue state from AWS

Resources

state(infinite)— Batch JobQueue resource state
@swamp/aws/batch/quota-sharev2026.04.23.2quota_share.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
QuotaShareNamestringThe name of the quota share. It can be up to 128 characters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
JobQueuestringThe AWS Batch job queue associated with the quota share. This can be the job queue name or ARN. A job queue must be in the `VALID` state before you can associate it with a quota share.
CapacityLimitsarrayA list that specifies the quantity and type of compute capacity allocated to the quota share.
ResourceSharingConfigurationobjectSpecifies whether a quota share reserves, lends, or both lends and borrows idle compute capacity.
PreemptionConfigurationobjectSpecifies the preemption behavior for jobs in a quota share.
State?enumThe state of the quota share. If the quota share is `ENABLED`, it is able to accept jobs. If the quota share is `DISABLED`, new jobs won't be accepted but jobs already submitted can finish. The default state is `ENABLED`.
Tags?recordThe tags that you apply to the quota share to help you categorize and organize your resources. Each tag consists of a key and an optional value.
createCreate a Batch QuotaShare
getGet a Batch QuotaShare
ArgumentTypeDescription
identifierstringThe primary identifier of the Batch QuotaShare
updateUpdate a Batch QuotaShare
deleteDelete a Batch QuotaShare
ArgumentTypeDescription
identifierstringThe primary identifier of the Batch QuotaShare
syncSync Batch QuotaShare state from AWS

Resources

state(infinite)— Batch QuotaShare resource state
@swamp/aws/batch/scheduling-policyv2026.04.23.2scheduling_policy.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
Name?stringName of Scheduling Policy.
FairsharePolicy?objectFair Share Policy for the Job Queue.
QuotaSharePolicy?objectQuota Share Policy for the Job Queue.
Tags?recordA key-value pair to associate with a resource.
createCreate a Batch SchedulingPolicy
getGet a Batch SchedulingPolicy
ArgumentTypeDescription
identifierstringThe primary identifier of the Batch SchedulingPolicy
updateUpdate a Batch SchedulingPolicy
deleteDelete a Batch SchedulingPolicy
ArgumentTypeDescription
identifierstringThe primary identifier of the Batch SchedulingPolicy
syncSync Batch SchedulingPolicy state from AWS

Resources

state(infinite)— Batch SchedulingPolicy resource state
@swamp/aws/batch/service-environmentv2026.04.23.2service_environment.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
ServiceEnvironmentName?string
State?string
ServiceEnvironmentTypestring
CapacityLimitsarray
Tags?recordA key-value pair to associate with a resource.
createCreate a Batch ServiceEnvironment
getGet a Batch ServiceEnvironment
ArgumentTypeDescription
identifierstringThe primary identifier of the Batch ServiceEnvironment
updateUpdate a Batch ServiceEnvironment
deleteDelete a Batch ServiceEnvironment
ArgumentTypeDescription
identifierstringThe primary identifier of the Batch ServiceEnvironment
syncSync Batch ServiceEnvironment state from AWS

Resources

state(infinite)— Batch ServiceEnvironment resource state