Aws/batch
@swamp/aws/batchv2026.08.01.1
01README
AWS BATCH infrastructure models
02Models
@swamp/aws/batch/compute-environmentv2026.06.15.1compute_environment.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| accessKeyId? | string | AWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| secretAccessKey? | string | AWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| sessionToken? | string | AWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| region? | string | AWS 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? | record | A key-value pair to associate with a resource. |
| Type | string | |
| UpdatePolicy? | object | |
| UnmanagedvCpus? | number | |
| EksConfiguration? | object | |
| Context? | string |
fn create()
Create a Batch ComputeEnvironment
fn get(identifier: string)
Get a Batch ComputeEnvironment
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the Batch ComputeEnvironment |
fn update()
Update a Batch ComputeEnvironment
fn delete(identifier: string)
Delete a Batch ComputeEnvironment
| Argument | Type | Description |
|---|---|---|
| identifier | string | The 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
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| accessKeyId? | string | AWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| secretAccessKey? | string | AWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| sessionToken? | string | AWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| region? | string | AWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1. |
| ConsumableResourceName? | string | Name of ConsumableResource. |
| TotalQuantity | number | Total Quantity of ConsumableResource. |
| ResourceType | enum | Type of Consumable Resource. |
| Tags? | record | A key-value pair to associate with a resource. |
fn create()
Create a Batch ConsumableResource
fn get(identifier: string)
Get a Batch ConsumableResource
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the Batch ConsumableResource |
fn update()
Update a Batch ConsumableResource
fn delete(identifier: string)
Delete a Batch ConsumableResource
| Argument | Type | Description |
|---|---|---|
| identifier | string | The 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
| Argument | Type | Description |
|---|---|---|
| accessKeyId? | string | AWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| secretAccessKey? | string | AWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| sessionToken? | string | AWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| region? | string | AWS 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 | |
| Type | string | |
| Tags? | record | A 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
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the Batch JobDefinition |
fn update()
Update a Batch JobDefinition
fn delete(identifier: string)
Delete a Batch JobDefinition
| Argument | Type | Description |
|---|---|---|
| identifier | string | The 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
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| accessKeyId? | string | AWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| secretAccessKey? | string | AWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| sessionToken? | string | AWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| region? | string | AWS 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 | |
| Priority | number | |
| State? | enum | |
| SchedulingPolicyArn? | string | |
| Tags? | record | A key-value pair to associate with a resource. |
fn create()
Create a Batch JobQueue
fn get(identifier: string)
Get a Batch JobQueue
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the Batch JobQueue |
fn update()
Update a Batch JobQueue
fn delete(identifier: string)
Delete a Batch JobQueue
| Argument | Type | Description |
|---|---|---|
| identifier | string | The 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
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| accessKeyId? | string | AWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| secretAccessKey? | string | AWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| sessionToken? | string | AWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| region? | string | AWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1. |
| QuotaShareName | string | The name of the quota share. It can be up to 128 characters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). |
| JobQueue | string | The 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. |
| CapacityLimits | array | A list that specifies the quantity and type of compute capacity allocated to the quota share. |
| ResourceSharingConfiguration | object | Specifies whether a quota share reserves, lends, or both lends and borrows idle compute capacity. |
| PreemptionConfiguration | object | Specifies the preemption behavior for jobs in a quota share. |
| State? | enum | The 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? | record | The 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
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the Batch QuotaShare |
fn update()
Update a Batch QuotaShare
fn delete(identifier: string)
Delete a Batch QuotaShare
| Argument | Type | Description |
|---|---|---|
| identifier | string | The 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
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| accessKeyId? | string | AWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| secretAccessKey? | string | AWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| sessionToken? | string | AWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| region? | string | AWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1. |
| Name? | string | Name of Scheduling Policy. |
| FairsharePolicy? | object | Fair Share Policy for the Job Queue. |
| QuotaSharePolicy? | object | Quota Share Policy for the Job Queue. |
| Tags? | record | A key-value pair to associate with a resource. |
fn create()
Create a Batch SchedulingPolicy
fn get(identifier: string)
Get a Batch SchedulingPolicy
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the Batch SchedulingPolicy |
fn update()
Update a Batch SchedulingPolicy
fn delete(identifier: string)
Delete a Batch SchedulingPolicy
| Argument | Type | Description |
|---|---|---|
| identifier | string | The 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
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| accessKeyId? | string | AWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| secretAccessKey? | string | AWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| sessionToken? | string | AWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| region? | string | AWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1. |
| ServiceEnvironmentName? | string | |
| State? | string | |
| ServiceEnvironmentType | string | |
| CapacityLimits | array | |
| Tags? | record | A key-value pair to associate with a resource. |
fn create()
Create a Batch ServiceEnvironment
fn get(identifier: string)
Get a Batch ServiceEnvironment
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the Batch ServiceEnvironment |
fn update()
Update a Batch ServiceEnvironment
fn delete(identifier: string)
Delete a Batch ServiceEnvironment
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the Batch ServiceEnvironment |
fn sync()
Sync Batch ServiceEnvironment state from AWS
Resources
state(infinite)— Batch ServiceEnvironment resource state
03Previous Versions
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