Aws/pcs
@swamp/aws/pcsv2026.05.27.1
01README
AWS PCS infrastructure models
02Release Notes
- Updated: compute_node_group
03Models
@swamp/aws/pcs/clusterv2026.04.23.2cluster.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| Name? | string | The name that identifies the cluster. |
| Networking | object | The networking configuration for the cluster's control plane. |
| Scheduler | object | The cluster management and job scheduling software associated with the cluster. |
| Size | enum | The size of the cluster. |
| SlurmConfiguration? | object | Additional options related to the Slurm scheduler. |
fn create()
Create a PCS Cluster
fn get(identifier: string)
Get a PCS Cluster
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the PCS Cluster |
fn update()
Update a PCS Cluster
fn delete(identifier: string)
Delete a PCS Cluster
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the PCS Cluster |
fn sync()
Sync PCS Cluster state from AWS
Resources
state(infinite)— PCS Cluster resource state
@swamp/aws/pcs/compute-node-groupv2026.05.27.1compute_node_group.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| ClusterId | string | The ID of the cluster of the compute node group. |
| SpotOptions? | object | Additional configuration when you specify SPOT as the purchase option. |
| SlurmConfiguration? | object | Additional options related to the Slurm scheduler. |
| SubnetIds | array | The list of subnet IDs where instances are provisioned by the compute node group. The subnets must be in the same VPC as the cluster. |
| Name? | string | The name that identifies the compute node group. |
| ScalingConfiguration | object | Specifies the boundaries of the compute node group auto scaling. |
| InstanceConfigs | array | A list of EC2 instance configurations that AWS PCS can provision in the compute node group. |
| PurchaseOption? | enum | Specifies how EC2 instances are purchased on your behalf. AWS PCS supports On-Demand, Spot, Capacity Block, and Interruptible Capacity Reservation instances. For more information, see Instance purchasing options in the Amazon Elastic Compute Cloud User Guide. If you don't provide this option, it defaults to On-Demand. |
| CustomLaunchTemplate | object | An Amazon EC2 launch template AWS PCS uses to launch compute nodes. |
| AmiId? | string | The ID of the Amazon Machine Image (AMI) that AWS PCS uses to launch instances. If not provided, AWS PCS uses the AMI ID specified in the custom launch template. |
| IamInstanceProfileArn | string | The Amazon Resource Name (ARN) of the IAM instance profile used to pass an IAM role when launching EC2 instances. The role contained in your instance profile must have pcs:RegisterComputeNodeGroupInstance permissions attached to provision instances correctly. |
fn create()
Create a PCS ComputeNodeGroup
fn get(identifier: string)
Get a PCS ComputeNodeGroup
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the PCS ComputeNodeGroup |
fn update()
Update a PCS ComputeNodeGroup
fn delete(identifier: string)
Delete a PCS ComputeNodeGroup
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the PCS ComputeNodeGroup |
fn sync()
Sync PCS ComputeNodeGroup state from AWS
Resources
state(infinite)— PCS ComputeNodeGroup resource state
@swamp/aws/pcs/queuev2026.04.23.2queue.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| ClusterId | string | The ID of the cluster of the queue. |
| ComputeNodeGroupConfigurations? | array | The list of compute node group configurations associated with the queue. Queues assign jobs to associated compute node groups. |
| Name? | string | The name that identifies the queue. |
| SlurmConfiguration? | object | The Slurm configuration for the queue. |
| Tags? | record | 1 or more tags added to the resource. Each tag consists of a tag key and tag value. The tag value is optional and can be an empty string. |
fn create()
Create a PCS Queue
fn get(identifier: string)
Get a PCS Queue
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the PCS Queue |
fn update()
Update a PCS Queue
fn delete(identifier: string)
Delete a PCS Queue
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the PCS Queue |
fn sync()
Sync PCS Queue state from AWS
Resources
state(infinite)— PCS Queue resource state
04Previous Versions
2026.05.15.1May 15, 2026
- Updated: compute_node_group
2026.04.23.3Apr 23, 2026
2026.04.23.2Apr 23, 2026
- Updated: cluster, compute_node_group, queue
2026.04.03.2Apr 3, 2026
- Updated: cluster, compute_node_group, queue
2026.03.25.1Mar 25, 2026
- Updated: cluster
2026.03.19.1Mar 19, 2026
- Updated: cluster, compute_node_group, queue
2026.03.18.1Mar 18, 2026
- Updated: cluster
2026.03.16.1Mar 16, 2026
- Updated: cluster, compute_node_group, queue
2026.03.10.5Mar 10, 2026
05Stats
B
85 / 100
Downloads
0
Archive size
737.1 KB
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 types1/1earned
- Dependencies pass trust audit0/2missing
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License declared1/1earned
- Verified public repository2/2earned
06Platforms
07Labels