Skip to main content

Aws/pcs

@swamp/aws/pcsv2026.04.23.3· 8d agoMODELS
01README

AWS PCS infrastructure models

02Models3
@swamp/aws/pcs/clusterv2026.04.23.2cluster.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
Name?stringThe name that identifies the cluster.
NetworkingobjectThe networking configuration for the cluster's control plane.
SchedulerobjectThe cluster management and job scheduling software associated with the cluster.
SizeenumThe size of the cluster.
SlurmConfiguration?objectAdditional options related to the Slurm scheduler.
fn create()
Create a PCS Cluster
fn get(identifier: string)
Get a PCS Cluster
ArgumentTypeDescription
identifierstringThe primary identifier of the PCS Cluster
fn update()
Update a PCS Cluster
fn delete(identifier: string)
Delete a PCS Cluster
ArgumentTypeDescription
identifierstringThe 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.04.23.2compute_node_group.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
ClusterIdstringThe ID of the cluster of the compute node group.
SpotOptions?objectAdditional configuration when you specify SPOT as the purchase option.
SlurmConfiguration?objectAdditional options related to the Slurm scheduler.
SubnetIdsarrayThe 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?stringThe name that identifies the compute node group.
ScalingConfigurationobjectSpecifies the boundaries of the compute node group auto scaling.
InstanceConfigsarrayA list of EC2 instance configurations that AWS PCS can provision in the compute node group.
PurchaseOption?enumSpecifies how EC2 instances are purchased on your behalf. AWS PCS supports On-Demand, Spot and Capacity Block 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.
CustomLaunchTemplateobjectAn Amazon EC2 launch template AWS PCS uses to launch compute nodes.
AmiId?stringThe 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.
IamInstanceProfileArnstringThe 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
ArgumentTypeDescription
identifierstringThe primary identifier of the PCS ComputeNodeGroup
fn update()
Update a PCS ComputeNodeGroup
fn delete(identifier: string)
Delete a PCS ComputeNodeGroup
ArgumentTypeDescription
identifierstringThe 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

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
ClusterIdstringThe ID of the cluster of the queue.
ComputeNodeGroupConfigurations?arrayThe list of compute node group configurations associated with the queue. Queues assign jobs to associated compute node groups.
Name?stringThe name that identifies the queue.
SlurmConfiguration?objectThe Slurm configuration for the queue.
Tags?record1 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
ArgumentTypeDescription
identifierstringThe primary identifier of the PCS Queue
fn update()
Update a PCS Queue
fn delete(identifier: string)
Delete a PCS Queue
ArgumentTypeDescription
identifierstringThe primary identifier of the PCS Queue
fn sync()
Sync PCS Queue state from AWS

Resources

state(infinite)— PCS Queue resource state
03Previous Versions7
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
04Stats
A
100 / 100
Downloads
0
Archive size
591.7 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
  • 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
05Platforms
06Labels