AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::PCS::Cluster

CfnCluster

Creates an AWS PCS cluster resource. For more information, see [Creating a cluster in Parallel Computing Service](https://docs.aws.amazon.com/pcs/latest/userguide/working-with_clusters_create.html) in the *AWS PCS User Guide* .

Import

import { CfnCluster } from 'aws-cdk-lib/aws-pcs';

Or use the module namespace:

import * as pcs from 'aws-cdk-lib/aws-pcs';
// pcs.CfnCluster

Properties

Configuration passed to the constructor as CfnClusterProps.

networkingRequired
IResolvable | NetworkingProperty

The networking configuration for the cluster's control plane.

schedulerRequired
IResolvable | SchedulerProperty

The cluster management and job scheduling software associated with the cluster.

sizeRequired
string

The size of the cluster. - `SMALL` : 32 compute nodes and 256 jobs - `MEDIUM` : 512 compute nodes and 8192 jobs - `LARGE` : 2048 compute nodes and 16,384 jobs

nameOptional
string

The name that identifies the cluster.

slurmConfigurationOptional
IResolvable | SlurmConfigurationProperty

Additional options related to the Slurm scheduler.

tagsOptional
{ [key: string]: string }

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.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

LevelL1 (CloudFormation)
Moduleaws-pcs
CFN TypeAWS::PCS::Cluster
Properties6

Related Constructs

External Links