AWS Fundamentals Logo
AWS Fundamentals
AWS::PCS::Cluster

PCS Cluster

AWS::PCS::Cluster resource creates an AWS PCS cluster.

Properties

6 configurable properties. 3 required. Click a row to see details.

Filter:
PropertyTypeFlags
Networking
object
RequiredCreate-only
Scheduler
object
RequiredCreate-only
Size
string
RequiredCreate-only
Name
string
Create-only
SlurmConfiguration
object
Tags
Any

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
ArnstringThe unique Amazon Resource Name (ARN) of the cluster.
EndpointsArray<Endpoint>The list of endpoints available for interaction with the scheduler.
ErrorInfoArray<ErrorInfo>The list of errors that occurred during cluster provisioning.
IdstringThe generated unique ID of the cluster.
StatusstringThe provisioning status of the cluster. The provisioning status doesn't indicate the overall health of the cluster.

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::PCS::Cluster

Resources:
  MyResource:
    Type: AWS::PCS::Cluster
    Properties:
      Networking: {}
      Scheduler: {}
      Size: "SMALL"
      Tags:
        - Key: Environment
          Value: Production
      Name: !Ref "AWS::StackName"

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

ec2:CreateNetworkInterfaceec2:DescribeVpcsec2:DescribeSubnetsec2:DescribeSecurityGroupsec2:GetSecurityGroupsForVpciam:CreateServiceLinkedRolesecretsmanager:CreateSecretsecretsmanager:TagResource

read

pcs:GetClusterpcs:ListTagsForResource

update

pcs:GetClusterpcs:UpdateClusterpcs:ListTagsForResourcepcs:TagResourcepcs:UntagResource

delete

pcs:DeleteClusterpcs:GetCluster

list

pcs:ListClusters

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

ServicePCS
Properties11
Required3
TaggingSupported
Primary IDArn

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

NameNetworkingSchedulerSize

Related Resources

External Links