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.
- Slurm
Configuration 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
Networking
Properties Args - The networking configuration for the cluster's control plane.
- Scheduler
Scheduler
Properties Args - The cluster management and job scheduling software associated with the cluster.
- Size
Cluster
Size - The size of the cluster.
- Name string
- The name that identifies the cluster.
- Slurm
Configuration 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
Networking
Properties - The networking configuration for the cluster's control plane.
- scheduler
Scheduler
Properties - The cluster management and job scheduling software associated with the cluster.
- size
Cluster
Size - The size of the cluster.
- name String
- The name that identifies the cluster.
- slurm
Configuration 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
Networking
Properties - The networking configuration for the cluster's control plane.
- scheduler
Scheduler
Properties - The cluster management and job scheduling software associated with the cluster.
- size
Cluster
Size - The size of the cluster.
- name string
- The name that identifies the cluster.
- slurm
Configuration 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
Networking
Properties Args - The networking configuration for the cluster's control plane.
- scheduler
Scheduler
Properties Args - The cluster management and job scheduling software associated with the cluster.
- size
Cluster
Size - 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.
- slurm
Configuration 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.
- Aws
Id 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.
- Error
Info 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.
- Aws
Id string - The generated unique ID of the cluster.
- Endpoints
[]Cluster
Endpoint - The list of endpoints available for interaction with the scheduler.
- Error
Info []ClusterError Info - The list of errors that occurred during cluster provisioning.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status
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.
- aws
Id String - The generated unique ID of the cluster.
- endpoints
List<Cluster
Endpoint> - The list of endpoints available for interaction with the scheduler.
- error
Info List<ClusterError Info> - The list of errors that occurred during cluster provisioning.
- id String
- The provider-assigned unique ID for this managed resource.
- status
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.
- aws
Id string - The generated unique ID of the cluster.
- endpoints
Cluster
Endpoint[] - The list of endpoints available for interaction with the scheduler.
- error
Info ClusterError Info[] - The list of errors that occurred during cluster provisioning.
- id string
- The provider-assigned unique ID for this managed resource.
- status
Cluster
Status - 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[Cluster
Endpoint] - 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
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.
- aws
Id String - The generated unique ID of the cluster.
- endpoints List<Property Map>
- The list of endpoints available for interaction with the scheduler.
- error
Info 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.
- Private
Ip 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.
- Public
Ip stringAddress - The endpoint's public IP address.
- Port string
- The endpoint's connection port number.
- Private
Ip stringAddress - The endpoint's private IP address.
- Type
Cluster
Endpoint Type - Indicates the type of endpoint running at the specific IP address.
- Public
Ip stringAddress - The endpoint's public IP address.
- port String
- The endpoint's connection port number.
- private
Ip StringAddress - The endpoint's private IP address.
- type
Cluster
Endpoint Type - Indicates the type of endpoint running at the specific IP address.
- public
Ip StringAddress - The endpoint's public IP address.
- port string
- The endpoint's connection port number.
- private
Ip stringAddress - The endpoint's private IP address.
- type
Cluster
Endpoint Type - Indicates the type of endpoint running at the specific IP address.
- public
Ip 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
Cluster
Endpoint 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.
- private
Ip StringAddress - The endpoint's private IP address.
- type "SLURMCTLD" | "SLURMDBD"
- Indicates the type of endpoint running at the specific IP address.
- public
Ip StringAddress - The endpoint's public IP address.
ClusterEndpointType, ClusterEndpointTypeArgs
- Slurmctld
- SLURMCTLD
- Slurmdbd
- SLURMDBD
- Cluster
Endpoint Type Slurmctld - SLURMCTLD
- Cluster
Endpoint 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
- Cluster
Scheduler Properties Type Slurm - SLURM
- Slurm
- SLURM
- Slurm
- SLURM
- SLURM
- SLURM
- "SLURM"
- SLURM
ClusterSize, ClusterSizeArgs
- Small
- SMALL
- Medium
- MEDIUM
- Large
- LARGE
- Cluster
Size Small - SMALL
- Cluster
Size Medium - MEDIUM
- Cluster
Size 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
- Create
Failed - CREATE_FAILED
- Delete
Failed - DELETE_FAILED
- Update
Failed - UPDATE_FAILED
- Cluster
Status Creating - CREATING
- Cluster
Status Active - ACTIVE
- Cluster
Status Updating - UPDATING
- Cluster
Status Deleting - DELETING
- Cluster
Status Create Failed - CREATE_FAILED
- Cluster
Status Delete Failed - DELETE_FAILED
- Cluster
Status Update Failed - 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
- 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
- Parameter
Name string - AWS PCS supports configuration of the following Slurm parameters for compute node groups: Weight and RealMemory.
- Parameter
Value string - The value for the configured Slurm setting.
- Parameter
Name string - AWS PCS supports configuration of the following Slurm parameters for compute node groups: Weight and RealMemory.
- Parameter
Value string - The value for the configured Slurm setting.
- parameter
Name String - AWS PCS supports configuration of the following Slurm parameters for compute node groups: Weight and RealMemory.
- parameter
Value String - The value for the configured Slurm setting.
- parameter
Name string - AWS PCS supports configuration of the following Slurm parameters for compute node groups: Weight and RealMemory.
- parameter
Value 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.
- parameter
Name String - AWS PCS supports configuration of the following Slurm parameters for compute node groups: Weight and RealMemory.
- parameter
Value String - The value for the configured Slurm setting.
NetworkingProperties, NetworkingPropertiesArgs
- Security
Group List<string>Ids - The list of security group IDs associated with the Elastic Network Interface (ENI) created in subnets.
- Subnet
Ids 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.
- Security
Group []stringIds - The list of security group IDs associated with the Elastic Network Interface (ENI) created in subnets.
- Subnet
Ids []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 List<String>Ids - The list of security group IDs associated with the Elastic Network Interface (ENI) created in subnets.
- subnet
Ids 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.
- security
Group string[]Ids - The list of security group IDs associated with the Elastic Network Interface (ENI) created in subnets.
- subnet
Ids 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.
- security
Group List<String>Ids - The list of security group IDs associated with the Elastic Network Interface (ENI) created in subnets.
- subnet
Ids 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
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
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
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
Cluster
Scheduler 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
- Slurm
Custom List<Pulumi.Settings Aws Native. Pcs. Inputs. Compute Node Group Slurm Custom Setting> - Additional Slurm-specific configuration that directly maps to Slurm settings.
- Slurm
Custom []ComputeSettings Node Group Slurm Custom Setting - Additional Slurm-specific configuration that directly maps to Slurm settings.
- slurm
Custom List<ComputeSettings Node Group Slurm Custom Setting> - Additional Slurm-specific configuration that directly maps to Slurm settings.
- slurm
Custom 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.
- slurm
Custom 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.