AWS::PCS Construct Library
All classes with the
Cfnprefix 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:
- Search Construct Hub for PCS construct libraries
- Use the automatically generated L1 constructs, in the same way you would use the CloudFormation AWS::PCS resources directly.
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
Constructs (L1)
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.
Structs
CfnCluster.AccountingPropertyStruct
The accounting configuration includes configurable settings for Slurm accounting.CfnCluster.AuthKeyPropertyStruct
The shared Slurm key for authentication, also known as the cluster secret .CfnCluster.StructCgroupCustomSettingProperty
Additional cgroup configuration settings.CfnCluster.EndpointPropertyStruct
An endpoint available for interaction with the scheduler.CfnCluster.ErrorInfoPropertyStruct
An error that occurred during resource creation.CfnCluster.JwtAuthPropertyStruct
The JWT authentication configuration for Slurm REST API access.CfnCluster.JwtKeyPropertyStruct
The JWT key stored in AWS Secrets Manager for Slurm REST API authentication.CfnCluster.NetworkingPropertyStruct
The networking configuration for the cluster's control plane.CfnCluster.SchedulerPropertyStruct
The cluster management and job scheduling software associated with the cluster.CfnCluster.StructSlurmConfigurationProperty
Additional options related to the Slurm scheduler.CfnCluster.StructSlurmCustomSettingProperty
Additional settings that directly map to Slurm settings.CfnCluster.StructSlurmdbdCustomSettingProperty
Additional slurmdbd configuration settings.CfnCluster.SlurmRestPropertyStruct
The Slurm REST API configuration includes settings for enabling and configuring the Slurm REST API.CfnClusterPropsStruct
Properties for defining aCfnCluster.CfnComputeNodeGroup.StructCustomLaunchTemplateProperty
An Amazon EC2 launch template AWS PCS uses to launch compute nodes.CfnComputeNodeGroup.StructErrorInfoProperty
An error that occurred during resource creation.CfnComputeNodeGroup.StructInstanceConfigProperty
An EC2 instance configuration AWS PCS uses to launch compute nodes.CfnComputeNodeGroup.StructNodeLifecycleActionsProperty
Custom scripts that run at defined points in a compute node's lifecycle.CfnComputeNodeGroup.StructNodeLifecycleScriptProperty
A single lifecycle script with its source, arguments, and error behavior.CfnComputeNodeGroup.StructNodeLifecycleStagesProperty
The ordered scripts to run at each compute node lifecycle stage.CfnComputeNodeGroup.StructScalingConfigurationProperty
Specifies the boundaries of the compute node group auto scaling.CfnComputeNodeGroup.StructScriptSourceProperty
The external location of a lifecycle script.CfnComputeNodeGroup.StructSlurmConfigurationProperty
Additional options related to the Slurm scheduler.CfnComputeNodeGroup.StructSlurmCustomSettingProperty
Additional settings that directly map to Slurm settings.CfnComputeNodeGroup.StructSpotOptionsProperty
Additional configuration when you specifySPOTas thepurchaseOptionfor theCreateComputeNodeGroupAPI action.CfnComputeNodeGroupPropsStruct
Properties for defining aCfnComputeNodeGroup.CfnQueue.StructCompute Node Group Configuration Property
The compute node group configuration for a queue.CfnQueue.ErrorInfoPropertyStruct
An error that occurred during resource creation.CfnQueue.StructSlurmConfigurationProperty
The Slurm configuration for the queue.CfnQueue.StructSlurmCustomSettingProperty
Additional settings that directly map to Slurm settings.CfnQueuePropsStruct
Properties for defining aCfnQueue.