Skip to content
v2.273.0

AWS::PCS Construct Library ​


cfn-resources: Stable

All classes with the Cfn prefix in this module (CFN Resources) are always stable and safe to use.


This module is part of the AWS Cloud Development Kit project.

ts
import * as pcs from 'aws-cdk-lib/aws-pcs';
python
import aws_cdk.aws_pcs as pcs
java
import software.amazon.awscdk.services.pcs.*;
csharp
using Amazon.CDK.AWS.PCS;
go
import pcs "github.com/aws/aws-cdk-go/awscdk"

There are no official hand-written (L2) constructs for this service yet. Here are some suggestions on how to proceed:

There are no hand-written (L2) constructs for this service yet. However, you can still use the automatically generated L1 constructs, and use this service exactly as you would using CloudFormation directly.

For more information on the resources and properties available for this service, see the CloudFormation documentation for AWS::PCS.

(Read the CDK Contributing Guide and submit an RFC if you are interested in contributing to this construct library.)

Types ​

NameKindSummary
CfnClusterConstruct (L1)Creates an AWS PCS cluster resource.
CfnComputeNodeGroupConstruct (L1)Creates an AWS PCS compute node group resource.
CfnQueueConstruct (L1)Creates an AWS PCS queue resource.
CfnCluster.AccountingPropertyStructThe accounting configuration includes configurable settings for Slurm accounting.
CfnCluster.AuthKeyPropertyStructThe shared Slurm key for authentication, also known as the cluster secret .
CfnCluster.CgroupCustomSettingPropertyStructAdditional cgroup configuration settings.
CfnCluster.EndpointPropertyStructAn endpoint available for interaction with the scheduler.
CfnCluster.ErrorInfoPropertyStructAn error that occurred during resource creation.
CfnCluster.JwtAuthPropertyStructThe JWT authentication configuration for Slurm REST API access.
CfnCluster.JwtKeyPropertyStructThe JWT key stored in AWS Secrets Manager for Slurm REST API authentication.
CfnCluster.NetworkingPropertyStructThe networking configuration for the cluster's control plane.
CfnCluster.SchedulerPropertyStructThe cluster management and job scheduling software associated with the cluster.
CfnCluster.SlurmConfigurationPropertyStructAdditional options related to the Slurm scheduler.
CfnCluster.SlurmCustomSettingPropertyStructAdditional settings that directly map to Slurm settings.
CfnCluster.SlurmdbdCustomSettingPropertyStructAdditional slurmdbd configuration settings.
CfnCluster.SlurmRestPropertyStructThe Slurm REST API configuration includes settings for enabling and configuring the Slurm REST API.
CfnClusterPropsStructProperties for defining a CfnCluster.
CfnComputeNodeGroup.CustomLaunchTemplatePropertyStructAn Amazon EC2 launch template AWS PCS uses to launch compute nodes.
CfnComputeNodeGroup.ErrorInfoPropertyStructAn error that occurred during resource creation.
CfnComputeNodeGroup.InstanceConfigPropertyStructAn EC2 instance configuration AWS PCS uses to launch compute nodes.
CfnComputeNodeGroup.NodeLifecycleActionsPropertyStructCustom scripts that run at defined points in a compute node's lifecycle.
CfnComputeNodeGroup.NodeLifecycleScriptPropertyStructA single lifecycle script with its source, arguments, and error behavior.
CfnComputeNodeGroup.NodeLifecycleStagesPropertyStructThe ordered scripts to run at each compute node lifecycle stage.
CfnComputeNodeGroup.ScalingConfigurationPropertyStructSpecifies the boundaries of the compute node group auto scaling.
CfnComputeNodeGroup.ScriptSourcePropertyStructThe external location of a lifecycle script.
CfnComputeNodeGroup.SlurmConfigurationPropertyStructAdditional options related to the Slurm scheduler.
CfnComputeNodeGroup.SlurmCustomSettingPropertyStructAdditional settings that directly map to Slurm settings.
CfnComputeNodeGroup.SpotOptionsPropertyStructAdditional configuration when you specify SPOT as the purchaseOption for the CreateComputeNodeGroup API action.
CfnComputeNodeGroupPropsStructProperties for defining a CfnComputeNodeGroup.
CfnQueue.ComputeNodeGroupConfigurationPropertyStructThe compute node group configuration for a queue.
CfnQueue.ErrorInfoPropertyStructAn error that occurred during resource creation.
CfnQueue.SlurmConfigurationPropertyStructThe Slurm configuration for the queue.
CfnQueue.SlurmCustomSettingPropertyStructAdditional settings that directly map to Slurm settings.
CfnQueuePropsStructProperties for defining a CfnQueue.