We recommend new projects start with resources from the AWS provider.
aws-native.sagemaker.Cluster
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource Type definition for AWS::SageMaker::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,
            instance_groups: Optional[Sequence[ClusterInstanceGroupArgs]] = None,
            cluster_name: Optional[str] = None,
            node_recovery: Optional[ClusterNodeRecovery] = None,
            orchestrator: Optional[ClusterOrchestratorArgs] = None,
            tags: Optional[Sequence[_root_inputs.TagArgs]] = None,
            vpc_config: Optional[ClusterVpcConfigArgs] = 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:sagemaker: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:
- InstanceGroups List<Pulumi.Aws Native. Sage Maker. Inputs. Cluster Instance Group> 
- The instance groups of the SageMaker HyperPod cluster. To delete an instance group, remove it from the array.
- ClusterName string
- The name of the HyperPod Cluster.
- NodeRecovery Pulumi.Aws Native. Sage Maker. Cluster Node Recovery 
- If node auto-recovery is set to true, faulty nodes will be replaced or rebooted when a failure is detected. If set to false, nodes will be labelled when a fault is detected.
- Orchestrator
Pulumi.Aws Native. Sage Maker. Inputs. Cluster Orchestrator 
- The orchestrator type for the SageMaker HyperPod cluster. Currently, 'eks'is the only available option.
- 
List<Pulumi.Aws Native. Inputs. Tag> 
- Custom tags for managing the SageMaker HyperPod cluster as an AWS resource. You can add tags to your cluster in the same way you add them in other AWS services that support tagging.
- VpcConfig Pulumi.Aws Native. Sage Maker. Inputs. Cluster Vpc Config 
- Specifies an Amazon Virtual Private Cloud (VPC) that your SageMaker jobs, hosted models, and compute resources have access to. You can control access to and from your resources by configuring a VPC. For more information, see Give SageMaker Access to Resources in your Amazon VPC .
- InstanceGroups []ClusterInstance Group Args 
- The instance groups of the SageMaker HyperPod cluster. To delete an instance group, remove it from the array.
- ClusterName string
- The name of the HyperPod Cluster.
- NodeRecovery ClusterNode Recovery 
- If node auto-recovery is set to true, faulty nodes will be replaced or rebooted when a failure is detected. If set to false, nodes will be labelled when a fault is detected.
- Orchestrator
ClusterOrchestrator Args 
- The orchestrator type for the SageMaker HyperPod cluster. Currently, 'eks'is the only available option.
- 
TagArgs 
- Custom tags for managing the SageMaker HyperPod cluster as an AWS resource. You can add tags to your cluster in the same way you add them in other AWS services that support tagging.
- VpcConfig ClusterVpc Config Args 
- Specifies an Amazon Virtual Private Cloud (VPC) that your SageMaker jobs, hosted models, and compute resources have access to. You can control access to and from your resources by configuring a VPC. For more information, see Give SageMaker Access to Resources in your Amazon VPC .
- instanceGroups List<ClusterInstance Group> 
- The instance groups of the SageMaker HyperPod cluster. To delete an instance group, remove it from the array.
- clusterName String
- The name of the HyperPod Cluster.
- nodeRecovery ClusterNode Recovery 
- If node auto-recovery is set to true, faulty nodes will be replaced or rebooted when a failure is detected. If set to false, nodes will be labelled when a fault is detected.
- orchestrator
ClusterOrchestrator 
- The orchestrator type for the SageMaker HyperPod cluster. Currently, 'eks'is the only available option.
- List<Tag>
- Custom tags for managing the SageMaker HyperPod cluster as an AWS resource. You can add tags to your cluster in the same way you add them in other AWS services that support tagging.
- vpcConfig ClusterVpc Config 
- Specifies an Amazon Virtual Private Cloud (VPC) that your SageMaker jobs, hosted models, and compute resources have access to. You can control access to and from your resources by configuring a VPC. For more information, see Give SageMaker Access to Resources in your Amazon VPC .
- instanceGroups ClusterInstance Group[] 
- The instance groups of the SageMaker HyperPod cluster. To delete an instance group, remove it from the array.
- clusterName string
- The name of the HyperPod Cluster.
- nodeRecovery ClusterNode Recovery 
- If node auto-recovery is set to true, faulty nodes will be replaced or rebooted when a failure is detected. If set to false, nodes will be labelled when a fault is detected.
- orchestrator
ClusterOrchestrator 
- The orchestrator type for the SageMaker HyperPod cluster. Currently, 'eks'is the only available option.
- Tag[]
- Custom tags for managing the SageMaker HyperPod cluster as an AWS resource. You can add tags to your cluster in the same way you add them in other AWS services that support tagging.
- vpcConfig ClusterVpc Config 
- Specifies an Amazon Virtual Private Cloud (VPC) that your SageMaker jobs, hosted models, and compute resources have access to. You can control access to and from your resources by configuring a VPC. For more information, see Give SageMaker Access to Resources in your Amazon VPC .
- instance_groups Sequence[ClusterInstance Group Args] 
- The instance groups of the SageMaker HyperPod cluster. To delete an instance group, remove it from the array.
- cluster_name str
- The name of the HyperPod Cluster.
- node_recovery ClusterNode Recovery 
- If node auto-recovery is set to true, faulty nodes will be replaced or rebooted when a failure is detected. If set to false, nodes will be labelled when a fault is detected.
- orchestrator
ClusterOrchestrator Args 
- The orchestrator type for the SageMaker HyperPod cluster. Currently, 'eks'is the only available option.
- 
Sequence[TagArgs] 
- Custom tags for managing the SageMaker HyperPod cluster as an AWS resource. You can add tags to your cluster in the same way you add them in other AWS services that support tagging.
- vpc_config ClusterVpc Config Args 
- Specifies an Amazon Virtual Private Cloud (VPC) that your SageMaker jobs, hosted models, and compute resources have access to. You can control access to and from your resources by configuring a VPC. For more information, see Give SageMaker Access to Resources in your Amazon VPC .
- instanceGroups List<Property Map>
- The instance groups of the SageMaker HyperPod cluster. To delete an instance group, remove it from the array.
- clusterName String
- The name of the HyperPod Cluster.
- nodeRecovery "Automatic" | "None"
- If node auto-recovery is set to true, faulty nodes will be replaced or rebooted when a failure is detected. If set to false, nodes will be labelled when a fault is detected.
- orchestrator Property Map
- The orchestrator type for the SageMaker HyperPod cluster. Currently, 'eks'is the only available option.
- List<Property Map>
- Custom tags for managing the SageMaker HyperPod cluster as an AWS resource. You can add tags to your cluster in the same way you add them in other AWS services that support tagging.
- vpcConfig Property Map
- Specifies an Amazon Virtual Private Cloud (VPC) that your SageMaker jobs, hosted models, and compute resources have access to. You can control access to and from your resources by configuring a VPC. For more information, see Give SageMaker Access to Resources in your Amazon VPC .
Outputs
All input properties are implicitly available as output properties. Additionally, the Cluster resource produces the following output properties:
- ClusterArn string
- The Amazon Resource Name (ARN) of the HyperPod Cluster.
- ClusterStatus Pulumi.Aws Native. Sage Maker. Cluster Status 
- The status of the HyperPod Cluster.
- CreationTime string
- The time at which the HyperPod cluster was created.
- FailureMessage string
- The failure message of the HyperPod Cluster.
- Id string
- The provider-assigned unique ID for this managed resource.
- ClusterArn string
- The Amazon Resource Name (ARN) of the HyperPod Cluster.
- ClusterStatus ClusterStatus 
- The status of the HyperPod Cluster.
- CreationTime string
- The time at which the HyperPod cluster was created.
- FailureMessage string
- The failure message of the HyperPod Cluster.
- Id string
- The provider-assigned unique ID for this managed resource.
- clusterArn String
- The Amazon Resource Name (ARN) of the HyperPod Cluster.
- clusterStatus ClusterStatus 
- The status of the HyperPod Cluster.
- creationTime String
- The time at which the HyperPod cluster was created.
- failureMessage String
- The failure message of the HyperPod Cluster.
- id String
- The provider-assigned unique ID for this managed resource.
- clusterArn string
- The Amazon Resource Name (ARN) of the HyperPod Cluster.
- clusterStatus ClusterStatus 
- The status of the HyperPod Cluster.
- creationTime string
- The time at which the HyperPod cluster was created.
- failureMessage string
- The failure message of the HyperPod Cluster.
- id string
- The provider-assigned unique ID for this managed resource.
- cluster_arn str
- The Amazon Resource Name (ARN) of the HyperPod Cluster.
- cluster_status ClusterStatus 
- The status of the HyperPod Cluster.
- creation_time str
- The time at which the HyperPod cluster was created.
- failure_message str
- The failure message of the HyperPod Cluster.
- id str
- The provider-assigned unique ID for this managed resource.
- clusterArn String
- The Amazon Resource Name (ARN) of the HyperPod Cluster.
- clusterStatus "Creating" | "Deleting" | "Failed" | "InService" | "Rolling Back" | "System Updating" | "Updating" 
- The status of the HyperPod Cluster.
- creationTime String
- The time at which the HyperPod cluster was created.
- failureMessage String
- The failure message of the HyperPod Cluster.
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
ClusterDeepHealthCheckType, ClusterDeepHealthCheckTypeArgs          
- InstanceStress 
- InstanceStress
- InstanceConnectivity 
- InstanceConnectivity
- ClusterDeep Health Check Type Instance Stress 
- InstanceStress
- ClusterDeep Health Check Type Instance Connectivity 
- InstanceConnectivity
- InstanceStress 
- InstanceStress
- InstanceConnectivity 
- InstanceConnectivity
- InstanceStress 
- InstanceStress
- InstanceConnectivity 
- InstanceConnectivity
- INSTANCE_STRESS
- InstanceStress
- INSTANCE_CONNECTIVITY
- InstanceConnectivity
- "InstanceStress" 
- InstanceStress
- "InstanceConnectivity" 
- InstanceConnectivity
ClusterInstanceGroup, ClusterInstanceGroupArgs      
- ExecutionRole string
- InstanceCount int
- The number of instances you specified to add to the instance group of a SageMaker HyperPod cluster.
- InstanceGroup stringName 
- InstanceType string
- LifeCycle Pulumi.Config Aws Native. Sage Maker. Inputs. Cluster Life Cycle Config 
- CurrentCount int
- The number of instances that are currently in the instance group of a SageMaker HyperPod cluster.
- InstanceStorage List<Pulumi.Configs Aws Native. Sage Maker. Inputs. Cluster Instance Storage Config> 
- OnStart List<Pulumi.Deep Health Checks Aws Native. Sage Maker. Cluster Deep Health Check Type> 
- OverrideVpc Pulumi.Config Aws Native. Sage Maker. Inputs. Cluster Vpc Config 
- ThreadsPer intCore 
- The number you specified to TreadsPerCore in CreateCluster for enabling or disabling multithreading. For instance types that support multithreading, you can specify 1 for disabling multithreading and 2 for enabling multithreading.
- ExecutionRole string
- InstanceCount int
- The number of instances you specified to add to the instance group of a SageMaker HyperPod cluster.
- InstanceGroup stringName 
- InstanceType string
- LifeCycle ClusterConfig Life Cycle Config 
- CurrentCount int
- The number of instances that are currently in the instance group of a SageMaker HyperPod cluster.
- InstanceStorage []ClusterConfigs Instance Storage Config 
- OnStart []ClusterDeep Health Checks Deep Health Check Type 
- OverrideVpc ClusterConfig Vpc Config 
- ThreadsPer intCore 
- The number you specified to TreadsPerCore in CreateCluster for enabling or disabling multithreading. For instance types that support multithreading, you can specify 1 for disabling multithreading and 2 for enabling multithreading.
- executionRole String
- instanceCount Integer
- The number of instances you specified to add to the instance group of a SageMaker HyperPod cluster.
- instanceGroup StringName 
- instanceType String
- lifeCycle ClusterConfig Life Cycle Config 
- currentCount Integer
- The number of instances that are currently in the instance group of a SageMaker HyperPod cluster.
- instanceStorage List<ClusterConfigs Instance Storage Config> 
- onStart List<ClusterDeep Health Checks Deep Health Check Type> 
- overrideVpc ClusterConfig Vpc Config 
- threadsPer IntegerCore 
- The number you specified to TreadsPerCore in CreateCluster for enabling or disabling multithreading. For instance types that support multithreading, you can specify 1 for disabling multithreading and 2 for enabling multithreading.
- executionRole string
- instanceCount number
- The number of instances you specified to add to the instance group of a SageMaker HyperPod cluster.
- instanceGroup stringName 
- instanceType string
- lifeCycle ClusterConfig Life Cycle Config 
- currentCount number
- The number of instances that are currently in the instance group of a SageMaker HyperPod cluster.
- instanceStorage ClusterConfigs Instance Storage Config[] 
- onStart ClusterDeep Health Checks Deep Health Check Type[] 
- overrideVpc ClusterConfig Vpc Config 
- threadsPer numberCore 
- The number you specified to TreadsPerCore in CreateCluster for enabling or disabling multithreading. For instance types that support multithreading, you can specify 1 for disabling multithreading and 2 for enabling multithreading.
- execution_role str
- instance_count int
- The number of instances you specified to add to the instance group of a SageMaker HyperPod cluster.
- instance_group_ strname 
- instance_type str
- life_cycle_ Clusterconfig Life Cycle Config 
- current_count int
- The number of instances that are currently in the instance group of a SageMaker HyperPod cluster.
- instance_storage_ Sequence[Clusterconfigs Instance Storage Config] 
- on_start_ Sequence[Clusterdeep_ health_ checks Deep Health Check Type] 
- override_vpc_ Clusterconfig Vpc Config 
- threads_per_ intcore 
- The number you specified to TreadsPerCore in CreateCluster for enabling or disabling multithreading. For instance types that support multithreading, you can specify 1 for disabling multithreading and 2 for enabling multithreading.
- executionRole String
- instanceCount Number
- The number of instances you specified to add to the instance group of a SageMaker HyperPod cluster.
- instanceGroup StringName 
- instanceType String
- lifeCycle Property MapConfig 
- currentCount Number
- The number of instances that are currently in the instance group of a SageMaker HyperPod cluster.
- instanceStorage List<Property Map>Configs 
- onStart List<"InstanceDeep Health Checks Stress" | "Instance Connectivity"> 
- overrideVpc Property MapConfig 
- threadsPer NumberCore 
- The number you specified to TreadsPerCore in CreateCluster for enabling or disabling multithreading. For instance types that support multithreading, you can specify 1 for disabling multithreading and 2 for enabling multithreading.
ClusterLifeCycleConfig, ClusterLifeCycleConfigArgs        
- OnCreate string
- The file name of the entrypoint script of lifecycle scripts under SourceS3Uri. This entrypoint script runs during cluster creation.
- SourceS3Uri string
- An Amazon S3 bucket path where your lifecycle scripts are stored.
- OnCreate string
- The file name of the entrypoint script of lifecycle scripts under SourceS3Uri. This entrypoint script runs during cluster creation.
- SourceS3Uri string
- An Amazon S3 bucket path where your lifecycle scripts are stored.
- onCreate String
- The file name of the entrypoint script of lifecycle scripts under SourceS3Uri. This entrypoint script runs during cluster creation.
- sourceS3Uri String
- An Amazon S3 bucket path where your lifecycle scripts are stored.
- onCreate string
- The file name of the entrypoint script of lifecycle scripts under SourceS3Uri. This entrypoint script runs during cluster creation.
- sourceS3Uri string
- An Amazon S3 bucket path where your lifecycle scripts are stored.
- on_create str
- The file name of the entrypoint script of lifecycle scripts under SourceS3Uri. This entrypoint script runs during cluster creation.
- source_s3_ struri 
- An Amazon S3 bucket path where your lifecycle scripts are stored.
- onCreate String
- The file name of the entrypoint script of lifecycle scripts under SourceS3Uri. This entrypoint script runs during cluster creation.
- sourceS3Uri String
- An Amazon S3 bucket path where your lifecycle scripts are stored.
ClusterNodeRecovery, ClusterNodeRecoveryArgs      
- Automatic
- Automatic
- None
- None
- ClusterNode Recovery Automatic 
- Automatic
- ClusterNode Recovery None 
- None
- Automatic
- Automatic
- None
- None
- Automatic
- Automatic
- None
- None
- AUTOMATIC
- Automatic
- NONE
- None
- "Automatic"
- Automatic
- "None"
- None
ClusterOrchestrator, ClusterOrchestratorArgs    
- Eks
Pulumi.Aws Native. Sage Maker. Inputs. Cluster Orchestrator Eks Config 
- The configuration of the Amazon EKS orchestrator cluster for the SageMaker HyperPod cluster.
- Eks
ClusterOrchestrator Eks Config 
- The configuration of the Amazon EKS orchestrator cluster for the SageMaker HyperPod cluster.
- eks
ClusterOrchestrator Eks Config 
- The configuration of the Amazon EKS orchestrator cluster for the SageMaker HyperPod cluster.
- eks
ClusterOrchestrator Eks Config 
- The configuration of the Amazon EKS orchestrator cluster for the SageMaker HyperPod cluster.
- eks
ClusterOrchestrator Eks Config 
- The configuration of the Amazon EKS orchestrator cluster for the SageMaker HyperPod cluster.
- eks Property Map
- The configuration of the Amazon EKS orchestrator cluster for the SageMaker HyperPod cluster.
ClusterOrchestratorEksConfig, ClusterOrchestratorEksConfigArgs        
- ClusterArn string
- The ARN of the EKS cluster, such as arn:aws:eks:us-west-2:123456789012:cluster/my-eks-cluster
- ClusterArn string
- The ARN of the EKS cluster, such as arn:aws:eks:us-west-2:123456789012:cluster/my-eks-cluster
- clusterArn String
- The ARN of the EKS cluster, such as arn:aws:eks:us-west-2:123456789012:cluster/my-eks-cluster
- clusterArn string
- The ARN of the EKS cluster, such as arn:aws:eks:us-west-2:123456789012:cluster/my-eks-cluster
- cluster_arn str
- The ARN of the EKS cluster, such as arn:aws:eks:us-west-2:123456789012:cluster/my-eks-cluster
- clusterArn String
- The ARN of the EKS cluster, such as arn:aws:eks:us-west-2:123456789012:cluster/my-eks-cluster
ClusterStatus, ClusterStatusArgs    
- Creating
- Creating
- Deleting
- Deleting
- Failed
- Failed
- InService 
- InService
- RollingBack 
- RollingBack
- SystemUpdating 
- SystemUpdating
- Updating
- Updating
- ClusterStatus Creating 
- Creating
- ClusterStatus Deleting 
- Deleting
- ClusterStatus Failed 
- Failed
- ClusterStatus In Service 
- InService
- ClusterStatus Rolling Back 
- RollingBack
- ClusterStatus System Updating 
- SystemUpdating
- ClusterStatus Updating 
- Updating
- Creating
- Creating
- Deleting
- Deleting
- Failed
- Failed
- InService 
- InService
- RollingBack 
- RollingBack
- SystemUpdating 
- SystemUpdating
- Updating
- Updating
- Creating
- Creating
- Deleting
- Deleting
- Failed
- Failed
- InService 
- InService
- RollingBack 
- RollingBack
- SystemUpdating 
- SystemUpdating
- Updating
- Updating
- CREATING
- Creating
- DELETING
- Deleting
- FAILED
- Failed
- IN_SERVICE
- InService
- ROLLING_BACK
- RollingBack
- SYSTEM_UPDATING
- SystemUpdating
- UPDATING
- Updating
- "Creating"
- Creating
- "Deleting"
- Deleting
- "Failed"
- Failed
- "InService" 
- InService
- "RollingBack" 
- RollingBack
- "SystemUpdating" 
- SystemUpdating
- "Updating"
- Updating
ClusterVpcConfig, ClusterVpcConfigArgs      
- SecurityGroup List<string>Ids 
- The VPC security group IDs, in the form sg-xxxxxxxx. Specify the security groups for the VPC that is specified in the Subnets field.
- Subnets List<string>
- The ID of the subnets in the VPC to which you want to connect your training job or model.
- SecurityGroup []stringIds 
- The VPC security group IDs, in the form sg-xxxxxxxx. Specify the security groups for the VPC that is specified in the Subnets field.
- Subnets []string
- The ID of the subnets in the VPC to which you want to connect your training job or model.
- securityGroup List<String>Ids 
- The VPC security group IDs, in the form sg-xxxxxxxx. Specify the security groups for the VPC that is specified in the Subnets field.
- subnets List<String>
- The ID of the subnets in the VPC to which you want to connect your training job or model.
- securityGroup string[]Ids 
- The VPC security group IDs, in the form sg-xxxxxxxx. Specify the security groups for the VPC that is specified in the Subnets field.
- subnets string[]
- The ID of the subnets in the VPC to which you want to connect your training job or model.
- security_group_ Sequence[str]ids 
- The VPC security group IDs, in the form sg-xxxxxxxx. Specify the security groups for the VPC that is specified in the Subnets field.
- subnets Sequence[str]
- The ID of the subnets in the VPC to which you want to connect your training job or model.
- securityGroup List<String>Ids 
- The VPC security group IDs, in the form sg-xxxxxxxx. Specify the security groups for the VPC that is specified in the Subnets field.
- subnets List<String>
- The ID of the subnets in the VPC to which you want to connect your training job or model.
Tag, TagArgs  
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.