Skip to main content

Aws/batch

@swamp/aws/batchv2026.08.01.1· 1d agoMODELS
01README

AWS BATCH infrastructure models

02Models7
@swamp/aws/batch/compute-environmentv2026.06.15.1compute_environment.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
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
fn create()
Create a Batch ComputeEnvironment
fn get(identifier: string)
Get a Batch ComputeEnvironment
ArgumentTypeDescription
identifierstringThe primary identifier of the Batch ComputeEnvironment
fn update()
Update a Batch ComputeEnvironment
fn delete(identifier: string)
Delete a Batch ComputeEnvironment
ArgumentTypeDescription
identifierstringThe primary identifier of the Batch ComputeEnvironment
fn sync()
Sync Batch ComputeEnvironment state from AWS

Resources

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

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
ConsumableResourceName?stringName of ConsumableResource.
TotalQuantitynumberTotal Quantity of ConsumableResource.
ResourceTypeenumType of Consumable Resource.
Tags?recordA key-value pair to associate with a resource.
fn create()
Create a Batch ConsumableResource
fn get(identifier: string)
Get a Batch ConsumableResource
ArgumentTypeDescription
identifierstringThe primary identifier of the Batch ConsumableResource
fn update()
Update a Batch ConsumableResource
fn delete(identifier: string)
Delete a Batch ConsumableResource
ArgumentTypeDescription
identifierstringThe primary identifier of the Batch ConsumableResource
fn sync()
Sync Batch ConsumableResource state from AWS

Resources

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

Global Arguments

ArgumentTypeDescription
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
ContainerProperties?object
EcsProperties?object
NodeProperties?object
JobDefinitionName?string
SchedulingPriority?number
Parameters?record
PlatformCapabilities?array
PropagateTags?boolean
RetryStrategy?object
ResourceRetentionPolicy?object
Timeout?object
Typestring
Tags?recordA key-value pair to associate with a resource.
EksProperties?object
ConsumableResourceProperties?object
fn create()
Create a Batch JobDefinition
fn get(identifier: string)
Get a Batch JobDefinition
ArgumentTypeDescription
identifierstringThe primary identifier of the Batch JobDefinition
fn update()
Update a Batch JobDefinition
fn delete(identifier: string)
Delete a Batch JobDefinition
ArgumentTypeDescription
identifierstringThe primary identifier of the Batch JobDefinition
fn sync()
Sync Batch JobDefinition state from AWS

Resources

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

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
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.
fn create()
Create a Batch JobQueue
fn get(identifier: string)
Get a Batch JobQueue
ArgumentTypeDescription
identifierstringThe primary identifier of the Batch JobQueue
fn update()
Update a Batch JobQueue
fn delete(identifier: string)
Delete a Batch JobQueue
ArgumentTypeDescription
identifierstringThe primary identifier of the Batch JobQueue
fn sync()
Sync Batch JobQueue state from AWS

Resources

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

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
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.
fn create()
Create a Batch QuotaShare
fn get(identifier: string)
Get a Batch QuotaShare
ArgumentTypeDescription
identifierstringThe primary identifier of the Batch QuotaShare
fn update()
Update a Batch QuotaShare
fn delete(identifier: string)
Delete a Batch QuotaShare
ArgumentTypeDescription
identifierstringThe primary identifier of the Batch QuotaShare
fn sync()
Sync Batch QuotaShare state from AWS

Resources

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

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
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.
fn create()
Create a Batch SchedulingPolicy
fn get(identifier: string)
Get a Batch SchedulingPolicy
ArgumentTypeDescription
identifierstringThe primary identifier of the Batch SchedulingPolicy
fn update()
Update a Batch SchedulingPolicy
fn delete(identifier: string)
Delete a Batch SchedulingPolicy
ArgumentTypeDescription
identifierstringThe primary identifier of the Batch SchedulingPolicy
fn sync()
Sync Batch SchedulingPolicy state from AWS

Resources

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

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
ServiceEnvironmentName?string
State?string
ServiceEnvironmentTypestring
CapacityLimitsarray
Tags?recordA key-value pair to associate with a resource.
fn create()
Create a Batch ServiceEnvironment
fn get(identifier: string)
Get a Batch ServiceEnvironment
ArgumentTypeDescription
identifierstringThe primary identifier of the Batch ServiceEnvironment
fn update()
Update a Batch ServiceEnvironment
fn delete(identifier: string)
Delete a Batch ServiceEnvironment
ArgumentTypeDescription
identifierstringThe primary identifier of the Batch ServiceEnvironment
fn sync()
Sync Batch ServiceEnvironment state from AWS

Resources

state(infinite)— Batch ServiceEnvironment resource state
03Previous Versions19
2026.07.31.1
2026.07.30.1
2026.07.29.1
2026.07.28.1
2026.07.27.1
2026.07.26.1
2026.07.25.1
2026.07.24.1
2026.07.20.1
2026.07.18.3
2026.07.18.2

Added 7, removed 1 models

2026.06.15.1
  • Updated: compute_environment, consumable_resource, job_definition, job_queue, quota_share, scheduling_policy, service_environment
2026.06.08.2
  • Updated: compute_environment, consumable_resource, job_definition, job_queue, quota_share, scheduling_policy, service_environment
2026.06.06.1
  • Updated: compute_environment, consumable_resource, job_definition, job_queue, quota_share, scheduling_policy, service_environment
2026.05.19.1
  • Updated: consumable_resource, job_queue, scheduling_policy
2026.05.18.1
2026.05.01.1
  • Updated: job_definition
2026.04.23.3
2026.04.23.2
  • Updated: compute_environment, consumable_resource, job_definition, job_queue, quota_share, scheduling_policy, service_environment
04Stats
A
100 / 100
Downloads
0
Archive size
1.6 MB
Verified by Swamp
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License declared1/1earned
  • Verified public repository2/2earned
05Platforms
06Labels