Aws/batch
@swamp/aws/batchv2026.10.06.1
01README
AWS BATCH infrastructure models
02Models
@swamp/aws/batch/compute-environmentv2026.09.29.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 | |
| EcsSettings? | 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
fn list(maxPages?: number, resourceModel?: string)
List Batch ComputeEnvironment resources
| Argument | Type | Description |
|---|---|---|
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
| resourceModel? | string | JSON resource model for parent-scoped listing (e.g. parent identifier) |
Resources
state(infinite)— Batch ComputeEnvironment resource state
@swamp/aws/batch/consumable-resourcev2026.08.17.2consumable_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
fn list(maxPages?: number, resourceModel?: string)
List Batch ConsumableResource resources
| Argument | Type | Description |
|---|---|---|
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
| resourceModel? | string | JSON resource model for parent-scoped listing (e.g. parent identifier) |
Resources
state(infinite)— Batch ConsumableResource resource state
@swamp/aws/batch/job-definitionv2026.08.17.2job_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
fn list(maxPages?: number, resourceModel?: string)
List Batch JobDefinition resources
| Argument | Type | Description |
|---|---|---|
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
| resourceModel? | string | JSON resource model for parent-scoped listing (e.g. parent identifier) |
Resources
state(infinite)— Batch JobDefinition resource state
@swamp/aws/batch/job-queuev2026.08.17.2job_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
fn list(maxPages?: number, resourceModel?: string)
List Batch JobQueue resources
| Argument | Type | Description |
|---|---|---|
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
| resourceModel? | string | JSON resource model for parent-scoped listing (e.g. parent identifier) |
Resources
state(infinite)— Batch JobQueue resource state
@swamp/aws/batch/quota-sharev2026.08.17.2quota_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
fn list(maxPages?: number, resourceModel?: string)
List Batch QuotaShare resources
| Argument | Type | Description |
|---|---|---|
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
| resourceModel? | string | JSON resource model for parent-scoped listing (e.g. parent identifier) |
Resources
state(infinite)— Batch QuotaShare resource state
@swamp/aws/batch/scheduling-policyv2026.08.17.2scheduling_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
fn list(maxPages?: number, resourceModel?: string)
List Batch SchedulingPolicy resources
| Argument | Type | Description |
|---|---|---|
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
| resourceModel? | string | JSON resource model for parent-scoped listing (e.g. parent identifier) |
Resources
state(infinite)— Batch SchedulingPolicy resource state
@swamp/aws/batch/service-environmentv2026.08.17.2service_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
fn list(maxPages?: number, resourceModel?: string)
List Batch ServiceEnvironment resources
| Argument | Type | Description |
|---|---|---|
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
| resourceModel? | string | JSON resource model for parent-scoped listing (e.g. parent identifier) |
Resources
state(infinite)— Batch ServiceEnvironment resource state
03Previous Versions
2026.10.04.1
2026.10.03.1
2026.10.02.1
2026.10.01.1
2026.09.30.1
2026.09.29.1
- Updated: compute_environment
2026.09.28.1
2026.09.27.1
2026.09.26.1
2026.09.25.1
2026.09.24.1
2026.09.23.1
2026.09.22.1
2026.09.21.1
2026.09.20.1
2026.09.19.1
2026.09.18.1
2026.09.17.1
2026.09.16.1
- Updated: compute_environment
04Stats
A
100 / 100
Downloads
14
Archive size
1.4 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