We recommend new projects start with resources from the AWS provider.
aws-native.pcs.Cluster
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS::PCS::Cluster resource creates an AWS PCS cluster.
Create Cluster Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Cluster(name: string, args: ClusterArgs, opts?: CustomResourceOptions);@overload
def Cluster(resource_name: str,
            args: ClusterArgs,
            opts: Optional[ResourceOptions] = None)
@overload
def Cluster(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            networking: Optional[NetworkingPropertiesArgs] = None,
            scheduler: Optional[SchedulerPropertiesArgs] = None,
            size: Optional[ClusterSize] = None,
            name: Optional[str] = None,
            slurm_configuration: Optional[SlurmConfigurationPropertiesArgs] = None,
            tags: Optional[Mapping[str, str]] = None)func NewCluster(ctx *Context, name string, args ClusterArgs, opts ...ResourceOption) (*Cluster, error)public Cluster(string name, ClusterArgs args, CustomResourceOptions? opts = null)
public Cluster(String name, ClusterArgs args)
public Cluster(String name, ClusterArgs args, CustomResourceOptions options)
type: aws-native:pcs:Cluster
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ClusterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ClusterArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ClusterArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ClusterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ClusterArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Cluster Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Cluster resource accepts the following input properties:
- Networking
Pulumi.Aws Native. Pcs. Inputs. Networking Properties 
- The networking configuration for the cluster's control plane.
- Scheduler
Pulumi.Aws Native. Pcs. Inputs. Scheduler Properties 
- The cluster management and job scheduling software associated with the cluster.
- Size
Pulumi.Aws Native. Pcs. Cluster Size 
- The size of the cluster.
- Name string
- The name that identifies the cluster.
- SlurmConfiguration Pulumi.Aws Native. Pcs. Inputs. Slurm Configuration Properties 
- Additional options related to the Slurm scheduler.
- Dictionary<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.
- Networking
NetworkingProperties Args 
- The networking configuration for the cluster's control plane.
- Scheduler
SchedulerProperties Args 
- The cluster management and job scheduling software associated with the cluster.
- Size
ClusterSize 
- The size of the cluster.
- Name string
- The name that identifies the cluster.
- SlurmConfiguration SlurmConfiguration Properties Args 
- Additional options related to the Slurm scheduler.
- map[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.
- networking
NetworkingProperties 
- The networking configuration for the cluster's control plane.
- scheduler
SchedulerProperties 
- The cluster management and job scheduling software associated with the cluster.
- size
ClusterSize 
- The size of the cluster.
- name String
- The name that identifies the cluster.
- slurmConfiguration SlurmConfiguration Properties 
- Additional options related to the Slurm scheduler.
- Map<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.
- networking
NetworkingProperties 
- The networking configuration for the cluster's control plane.
- scheduler
SchedulerProperties 
- The cluster management and job scheduling software associated with the cluster.
- size
ClusterSize 
- The size of the cluster.
- name string
- The name that identifies the cluster.
- slurmConfiguration SlurmConfiguration Properties 
- Additional options related to the Slurm scheduler.
- {[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.
- networking
NetworkingProperties Args 
- The networking configuration for the cluster's control plane.
- scheduler
SchedulerProperties Args 
- The cluster management and job scheduling software associated with the cluster.
- size
ClusterSize 
- The size of the cluster.
- name str
- The name that identifies the cluster.
- slurm_configuration SlurmConfiguration Properties Args 
- Additional options related to the Slurm scheduler.
- Mapping[str, str]
- 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.
- networking Property Map
- The networking configuration for the cluster's control plane.
- scheduler Property Map
- The cluster management and job scheduling software associated with the cluster.
- size "SMALL" | "MEDIUM" | "LARGE"
- The size of the cluster.
- name String
- The name that identifies the cluster.
- slurmConfiguration Property Map
- Additional options related to the Slurm scheduler.
- Map<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.
Outputs
All input properties are implicitly available as output properties. Additionally, the Cluster resource produces the following output properties:
- Arn string
- The unique Amazon Resource Name (ARN) of the cluster.
- AwsId string
- The generated unique ID of the cluster.
- Endpoints
List<Pulumi.Aws Native. Pcs. Outputs. Cluster Endpoint> 
- The list of endpoints available for interaction with the scheduler.
- ErrorInfo List<Pulumi.Aws Native. Pcs. Outputs. Cluster Error Info> 
- The list of errors that occurred during cluster provisioning.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status
Pulumi.Aws Native. Pcs. Cluster Status 
- The provisioning status of the cluster. The provisioning status doesn't indicate the overall health of the cluster.
- Arn string
- The unique Amazon Resource Name (ARN) of the cluster.
- AwsId string
- The generated unique ID of the cluster.
- Endpoints
[]ClusterEndpoint 
- The list of endpoints available for interaction with the scheduler.
- ErrorInfo []ClusterError Info 
- The list of errors that occurred during cluster provisioning.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status
ClusterStatus 
- The provisioning status of the cluster. The provisioning status doesn't indicate the overall health of the cluster.
- arn String
- The unique Amazon Resource Name (ARN) of the cluster.
- awsId String
- The generated unique ID of the cluster.
- endpoints
List<ClusterEndpoint> 
- The list of endpoints available for interaction with the scheduler.
- errorInfo List<ClusterError Info> 
- The list of errors that occurred during cluster provisioning.
- id String
- The provider-assigned unique ID for this managed resource.
- status
ClusterStatus 
- The provisioning status of the cluster. The provisioning status doesn't indicate the overall health of the cluster.
- arn string
- The unique Amazon Resource Name (ARN) of the cluster.
- awsId string
- The generated unique ID of the cluster.
- endpoints
ClusterEndpoint[] 
- The list of endpoints available for interaction with the scheduler.
- errorInfo ClusterError Info[] 
- The list of errors that occurred during cluster provisioning.
- id string
- The provider-assigned unique ID for this managed resource.
- status
ClusterStatus 
- The provisioning status of the cluster. The provisioning status doesn't indicate the overall health of the cluster.
- arn str
- The unique Amazon Resource Name (ARN) of the cluster.
- aws_id str
- The generated unique ID of the cluster.
- endpoints
Sequence[ClusterEndpoint] 
- The list of endpoints available for interaction with the scheduler.
- error_info Sequence[ClusterError Info] 
- The list of errors that occurred during cluster provisioning.
- id str
- The provider-assigned unique ID for this managed resource.
- status
ClusterStatus 
- The provisioning status of the cluster. The provisioning status doesn't indicate the overall health of the cluster.
- arn String
- The unique Amazon Resource Name (ARN) of the cluster.
- awsId String
- The generated unique ID of the cluster.
- endpoints List<Property Map>
- The list of endpoints available for interaction with the scheduler.
- errorInfo List<Property Map>
- The list of errors that occurred during cluster provisioning.
- id String
- The provider-assigned unique ID for this managed resource.
- status "CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "CREATE_FAILED" | "DELETE_FAILED" | "UPDATE_FAILED"
- The provisioning status of the cluster. The provisioning status doesn't indicate the overall health of the cluster.
Supporting Types
ClusterEndpoint, ClusterEndpointArgs    
- Port string
- The endpoint's connection port number.
- PrivateIp stringAddress 
- The endpoint's private IP address.
- Type
Pulumi.Aws Native. Pcs. Cluster Endpoint Type 
- Indicates the type of endpoint running at the specific IP address.
- PublicIp stringAddress 
- The endpoint's public IP address.
- Port string
- The endpoint's connection port number.
- PrivateIp stringAddress 
- The endpoint's private IP address.
- Type
ClusterEndpoint Type 
- Indicates the type of endpoint running at the specific IP address.
- PublicIp stringAddress 
- The endpoint's public IP address.
- port String
- The endpoint's connection port number.
- privateIp StringAddress 
- The endpoint's private IP address.
- type
ClusterEndpoint Type 
- Indicates the type of endpoint running at the specific IP address.
- publicIp StringAddress 
- The endpoint's public IP address.
- port string
- The endpoint's connection port number.
- privateIp stringAddress 
- The endpoint's private IP address.
- type
ClusterEndpoint Type 
- Indicates the type of endpoint running at the specific IP address.
- publicIp stringAddress 
- The endpoint's public IP address.
- port str
- The endpoint's connection port number.
- private_ip_ straddress 
- The endpoint's private IP address.
- type
ClusterEndpoint Type 
- Indicates the type of endpoint running at the specific IP address.
- public_ip_ straddress 
- The endpoint's public IP address.
- port String
- The endpoint's connection port number.
- privateIp StringAddress 
- The endpoint's private IP address.
- type "SLURMCTLD" | "SLURMDBD"
- Indicates the type of endpoint running at the specific IP address.
- publicIp StringAddress 
- The endpoint's public IP address.
ClusterEndpointType, ClusterEndpointTypeArgs      
- Slurmctld
- SLURMCTLD
- Slurmdbd
- SLURMDBD
- ClusterEndpoint Type Slurmctld 
- SLURMCTLD
- ClusterEndpoint Type Slurmdbd 
- SLURMDBD
- Slurmctld
- SLURMCTLD
- Slurmdbd
- SLURMDBD
- Slurmctld
- SLURMCTLD
- Slurmdbd
- SLURMDBD
- SLURMCTLD
- SLURMCTLD
- SLURMDBD
- SLURMDBD
- "SLURMCTLD"
- SLURMCTLD
- "SLURMDBD"
- SLURMDBD
ClusterErrorInfo, ClusterErrorInfoArgs      
ClusterSchedulerPropertiesType, ClusterSchedulerPropertiesTypeArgs        
- Slurm
- SLURM
- ClusterScheduler Properties Type Slurm 
- SLURM
- Slurm
- SLURM
- Slurm
- SLURM
- SLURM
- SLURM
- "SLURM"
- SLURM
ClusterSize, ClusterSizeArgs    
- Small
- SMALL
- Medium
- MEDIUM
- Large
- LARGE
- ClusterSize Small 
- SMALL
- ClusterSize Medium 
- MEDIUM
- ClusterSize Large 
- LARGE
- Small
- SMALL
- Medium
- MEDIUM
- Large
- LARGE
- Small
- SMALL
- Medium
- MEDIUM
- Large
- LARGE
- SMALL
- SMALL
- MEDIUM
- MEDIUM
- LARGE
- LARGE
- "SMALL"
- SMALL
- "MEDIUM"
- MEDIUM
- "LARGE"
- LARGE
ClusterStatus, ClusterStatusArgs    
- Creating
- CREATING
- Active
- ACTIVE
- Updating
- UPDATING
- Deleting
- DELETING
- CreateFailed 
- CREATE_FAILED
- DeleteFailed 
- DELETE_FAILED
- UpdateFailed 
- UPDATE_FAILED
- ClusterStatus Creating 
- CREATING
- ClusterStatus Active 
- ACTIVE
- ClusterStatus Updating 
- UPDATING
- ClusterStatus Deleting 
- DELETING
- ClusterStatus Create Failed 
- CREATE_FAILED
- ClusterStatus Delete Failed 
- DELETE_FAILED
- ClusterStatus Update Failed 
- UPDATE_FAILED
- Creating
- CREATING
- Active
- ACTIVE
- Updating
- UPDATING
- Deleting
- DELETING
- CreateFailed 
- CREATE_FAILED
- DeleteFailed 
- DELETE_FAILED
- UpdateFailed 
- UPDATE_FAILED
- Creating
- CREATING
- Active
- ACTIVE
- Updating
- UPDATING
- Deleting
- DELETING
- CreateFailed 
- CREATE_FAILED
- DeleteFailed 
- DELETE_FAILED
- UpdateFailed 
- UPDATE_FAILED
- CREATING
- CREATING
- ACTIVE
- ACTIVE
- UPDATING
- UPDATING
- DELETING
- DELETING
- CREATE_FAILED
- CREATE_FAILED
- DELETE_FAILED
- DELETE_FAILED
- UPDATE_FAILED
- UPDATE_FAILED
- "CREATING"
- CREATING
- "ACTIVE"
- ACTIVE
- "UPDATING"
- UPDATING
- "DELETING"
- DELETING
- "CREATE_FAILED"
- CREATE_FAILED
- "DELETE_FAILED"
- DELETE_FAILED
- "UPDATE_FAILED"
- UPDATE_FAILED
ComputeNodeGroupSlurmCustomSetting, ComputeNodeGroupSlurmCustomSettingArgs            
- ParameterName string
- AWS PCS supports configuration of the following Slurm parameters for compute node groups: Weight and RealMemory.
- ParameterValue string
- The value for the configured Slurm setting.
- ParameterName string
- AWS PCS supports configuration of the following Slurm parameters for compute node groups: Weight and RealMemory.
- ParameterValue string
- The value for the configured Slurm setting.
- parameterName String
- AWS PCS supports configuration of the following Slurm parameters for compute node groups: Weight and RealMemory.
- parameterValue String
- The value for the configured Slurm setting.
- parameterName string
- AWS PCS supports configuration of the following Slurm parameters for compute node groups: Weight and RealMemory.
- parameterValue string
- The value for the configured Slurm setting.
- parameter_name str
- AWS PCS supports configuration of the following Slurm parameters for compute node groups: Weight and RealMemory.
- parameter_value str
- The value for the configured Slurm setting.
- parameterName String
- AWS PCS supports configuration of the following Slurm parameters for compute node groups: Weight and RealMemory.
- parameterValue String
- The value for the configured Slurm setting.
NetworkingProperties, NetworkingPropertiesArgs    
- SecurityGroup List<string>Ids 
- The list of security group IDs associated with the Elastic Network Interface (ENI) created in subnets.
- SubnetIds List<string>
- The list of subnet IDs where AWS PCS creates an Elastic Network Interface (ENI) to enable communication between managed controllers and AWS PCS resources. The subnet must have an available IP address, cannot reside in AWS Outposts, AWS Wavelength, or an AWS Local Zone. AWS PCS currently supports only 1 subnet in this list.
- SecurityGroup []stringIds 
- The list of security group IDs associated with the Elastic Network Interface (ENI) created in subnets.
- SubnetIds []string
- The list of subnet IDs where AWS PCS creates an Elastic Network Interface (ENI) to enable communication between managed controllers and AWS PCS resources. The subnet must have an available IP address, cannot reside in AWS Outposts, AWS Wavelength, or an AWS Local Zone. AWS PCS currently supports only 1 subnet in this list.
- securityGroup List<String>Ids 
- The list of security group IDs associated with the Elastic Network Interface (ENI) created in subnets.
- subnetIds List<String>
- The list of subnet IDs where AWS PCS creates an Elastic Network Interface (ENI) to enable communication between managed controllers and AWS PCS resources. The subnet must have an available IP address, cannot reside in AWS Outposts, AWS Wavelength, or an AWS Local Zone. AWS PCS currently supports only 1 subnet in this list.
- securityGroup string[]Ids 
- The list of security group IDs associated with the Elastic Network Interface (ENI) created in subnets.
- subnetIds string[]
- The list of subnet IDs where AWS PCS creates an Elastic Network Interface (ENI) to enable communication between managed controllers and AWS PCS resources. The subnet must have an available IP address, cannot reside in AWS Outposts, AWS Wavelength, or an AWS Local Zone. AWS PCS currently supports only 1 subnet in this list.
- security_group_ Sequence[str]ids 
- The list of security group IDs associated with the Elastic Network Interface (ENI) created in subnets.
- subnet_ids Sequence[str]
- The list of subnet IDs where AWS PCS creates an Elastic Network Interface (ENI) to enable communication between managed controllers and AWS PCS resources. The subnet must have an available IP address, cannot reside in AWS Outposts, AWS Wavelength, or an AWS Local Zone. AWS PCS currently supports only 1 subnet in this list.
- securityGroup List<String>Ids 
- The list of security group IDs associated with the Elastic Network Interface (ENI) created in subnets.
- subnetIds List<String>
- The list of subnet IDs where AWS PCS creates an Elastic Network Interface (ENI) to enable communication between managed controllers and AWS PCS resources. The subnet must have an available IP address, cannot reside in AWS Outposts, AWS Wavelength, or an AWS Local Zone. AWS PCS currently supports only 1 subnet in this list.
SchedulerProperties, SchedulerPropertiesArgs    
- Type
Pulumi.Aws Native. Pcs. Cluster Scheduler Properties Type 
- The software AWS PCS uses to manage cluster scaling and job scheduling.
- Version string
- The version of the specified scheduling software that AWS PCS uses to manage cluster scaling and job scheduling.
- Type
ClusterScheduler Properties Type 
- The software AWS PCS uses to manage cluster scaling and job scheduling.
- Version string
- The version of the specified scheduling software that AWS PCS uses to manage cluster scaling and job scheduling.
- type
ClusterScheduler Properties Type 
- The software AWS PCS uses to manage cluster scaling and job scheduling.
- version String
- The version of the specified scheduling software that AWS PCS uses to manage cluster scaling and job scheduling.
- type
ClusterScheduler Properties Type 
- The software AWS PCS uses to manage cluster scaling and job scheduling.
- version string
- The version of the specified scheduling software that AWS PCS uses to manage cluster scaling and job scheduling.
- type
ClusterScheduler Properties Type 
- The software AWS PCS uses to manage cluster scaling and job scheduling.
- version str
- The version of the specified scheduling software that AWS PCS uses to manage cluster scaling and job scheduling.
SlurmConfigurationProperties, SlurmConfigurationPropertiesArgs      
- SlurmCustom List<Pulumi.Settings Aws Native. Pcs. Inputs. Compute Node Group Slurm Custom Setting> 
- Additional Slurm-specific configuration that directly maps to Slurm settings.
- SlurmCustom []ComputeSettings Node Group Slurm Custom Setting 
- Additional Slurm-specific configuration that directly maps to Slurm settings.
- slurmCustom List<ComputeSettings Node Group Slurm Custom Setting> 
- Additional Slurm-specific configuration that directly maps to Slurm settings.
- slurmCustom ComputeSettings Node Group Slurm Custom Setting[] 
- Additional Slurm-specific configuration that directly maps to Slurm settings.
- slurm_custom_ Sequence[Computesettings Node Group Slurm Custom Setting] 
- Additional Slurm-specific configuration that directly maps to Slurm settings.
- slurmCustom List<Property Map>Settings 
- Additional Slurm-specific configuration that directly maps to Slurm settings.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.