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:
- Instance
Groups List<Pulumi.Aws Native. Sage Maker. Inputs. Cluster Instance Group> - The instance groups of the SageMaker HyperPod cluster.
- Cluster
Name string - The name of the HyperPod Cluster.
- Node
Recovery 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.
- Vpc
Config 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 .
- Instance
Groups []ClusterInstance Group Args - The instance groups of the SageMaker HyperPod cluster.
- Cluster
Name string - 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
Cluster
Orchestrator Args - The orchestrator type for the SageMaker HyperPod cluster. Currently,
'eks'
is the only available option. - Tag
Args - 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 .
- instance
Groups List<ClusterInstance Group> - The instance groups of the SageMaker HyperPod cluster.
- cluster
Name String - 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
Cluster
Orchestrator - 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.
- vpc
Config 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 ClusterInstance Group[] - The instance groups of the SageMaker HyperPod cluster.
- cluster
Name string - 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
Cluster
Orchestrator - 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.
- vpc
Config 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.
- 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
Cluster
Orchestrator Args - The orchestrator type for the SageMaker HyperPod cluster. Currently,
'eks'
is the only available option. - Sequence[Tag
Args] - 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 .
- instance
Groups List<Property Map> - The instance groups of the SageMaker HyperPod cluster.
- cluster
Name String - The name of the HyperPod Cluster.
- node
Recovery "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.
- vpc
Config 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:
- Cluster
Arn string - The Amazon Resource Name (ARN) of the HyperPod Cluster.
- Cluster
Status Pulumi.Aws Native. Sage Maker. Cluster Status - The status of the HyperPod Cluster.
- Creation
Time string - The time at which the HyperPod cluster was created.
- Failure
Message string - The failure message of the HyperPod Cluster.
- Id string
- The provider-assigned unique ID for this managed resource.
- Cluster
Arn string - The Amazon Resource Name (ARN) of the HyperPod Cluster.
- Cluster
Status ClusterStatus - The status of the HyperPod Cluster.
- Creation
Time string - The time at which the HyperPod cluster was created.
- Failure
Message string - The failure message of the HyperPod Cluster.
- Id string
- The provider-assigned unique ID for this managed resource.
- cluster
Arn String - The Amazon Resource Name (ARN) of the HyperPod Cluster.
- cluster
Status ClusterStatus - The status of the HyperPod Cluster.
- creation
Time String - The time at which the HyperPod cluster was created.
- failure
Message String - The failure message of the HyperPod Cluster.
- id String
- The provider-assigned unique ID for this managed resource.
- cluster
Arn string - The Amazon Resource Name (ARN) of the HyperPod Cluster.
- cluster
Status ClusterStatus - The status of the HyperPod Cluster.
- creation
Time string - The time at which the HyperPod cluster was created.
- failure
Message 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.
- cluster
Arn String - The Amazon Resource Name (ARN) of the HyperPod Cluster.
- cluster
Status "Creating" | "Deleting" | "Failed" | "InService" | "Rolling Back" | "System Updating" | "Updating" - The status of the HyperPod Cluster.
- creation
Time String - The time at which the HyperPod cluster was created.
- failure
Message String - The failure message of the HyperPod Cluster.
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
ClusterDeepHealthCheckType, ClusterDeepHealthCheckTypeArgs
- Instance
Stress - InstanceStress
- Instance
Connectivity - InstanceConnectivity
- Cluster
Deep Health Check Type Instance Stress - InstanceStress
- Cluster
Deep Health Check Type Instance Connectivity - InstanceConnectivity
- Instance
Stress - InstanceStress
- Instance
Connectivity - InstanceConnectivity
- Instance
Stress - InstanceStress
- Instance
Connectivity - InstanceConnectivity
- INSTANCE_STRESS
- InstanceStress
- INSTANCE_CONNECTIVITY
- InstanceConnectivity
- "Instance
Stress" - InstanceStress
- "Instance
Connectivity" - InstanceConnectivity
ClusterInstanceGroup, ClusterInstanceGroupArgs
- Execution
Role string - Instance
Count int - The number of instances you specified to add to the instance group of a SageMaker HyperPod cluster.
- Instance
Group stringName - Instance
Type string - Life
Cycle Pulumi.Config Aws Native. Sage Maker. Inputs. Cluster Life Cycle Config - Current
Count int - The number of instances that are currently in the instance group of a SageMaker HyperPod cluster.
- Instance
Storage List<Pulumi.Configs Aws Native. Sage Maker. Inputs. Cluster Instance Storage Config> - On
Start List<Pulumi.Deep Health Checks Aws Native. Sage Maker. Cluster Deep Health Check Type> - Override
Vpc Pulumi.Config Aws Native. Sage Maker. Inputs. Cluster 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.
- Execution
Role string - Instance
Count int - The number of instances you specified to add to the instance group of a SageMaker HyperPod cluster.
- Instance
Group stringName - Instance
Type string - 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 []ClusterConfigs Instance Storage Config - On
Start []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.
- execution
Role String - instance
Count Integer - The number of instances you specified to add to the instance group of a SageMaker HyperPod cluster.
- instance
Group StringName - instance
Type String - life
Cycle ClusterConfig Life Cycle Config - current
Count Integer - The number of instances that are currently in the instance group of a SageMaker HyperPod cluster.
- instance
Storage List<ClusterConfigs Instance Storage Config> - on
Start List<ClusterDeep Health Checks Deep Health Check Type> - override
Vpc ClusterConfig Vpc Config - threads
Per 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.
- execution
Role string - instance
Count number - The number of instances you specified to add to the instance group of a SageMaker HyperPod cluster.
- instance
Group stringName - instance
Type string - life
Cycle ClusterConfig Life Cycle Config - current
Count number - The number of instances that are currently in the instance group of a SageMaker HyperPod cluster.
- instance
Storage ClusterConfigs Instance Storage Config[] - on
Start ClusterDeep Health Checks Deep Health Check Type[] - override
Vpc ClusterConfig Vpc Config - threads
Per 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.
- execution
Role String - instance
Count Number - The number of instances you specified to add to the instance group of a SageMaker HyperPod cluster.
- instance
Group StringName - instance
Type String - life
Cycle Property MapConfig - current
Count Number - The number of instances that are currently in the instance group of a SageMaker HyperPod cluster.
- instance
Storage List<Property Map>Configs - on
Start List<"InstanceDeep Health Checks Stress" | "Instance Connectivity"> - override
Vpc Property MapConfig - threads
Per 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
- On
Create string - The file name of the entrypoint script of lifecycle scripts under SourceS3Uri. This entrypoint script runs during cluster creation.
- Source
S3Uri string - An Amazon S3 bucket path where your lifecycle scripts are stored.
- On
Create string - The file name of the entrypoint script of lifecycle scripts under SourceS3Uri. This entrypoint script runs during cluster creation.
- Source
S3Uri string - An Amazon S3 bucket path where your lifecycle scripts are stored.
- on
Create String - The file name of the entrypoint script of lifecycle scripts under SourceS3Uri. This entrypoint script runs during cluster creation.
- source
S3Uri String - An Amazon S3 bucket path where your lifecycle scripts are stored.
- on
Create string - The file name of the entrypoint script of lifecycle scripts under SourceS3Uri. This entrypoint script runs during cluster creation.
- source
S3Uri 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.
- on
Create String - The file name of the entrypoint script of lifecycle scripts under SourceS3Uri. This entrypoint script runs during cluster creation.
- source
S3Uri String - An Amazon S3 bucket path where your lifecycle scripts are stored.
ClusterNodeRecovery, ClusterNodeRecoveryArgs
- Automatic
- Automatic
- None
- None
- Cluster
Node Recovery Automatic - Automatic
- Cluster
Node 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
Cluster
Orchestrator Eks Config - The configuration of the Amazon EKS orchestrator cluster for the SageMaker HyperPod cluster.
- eks
Cluster
Orchestrator Eks Config - The configuration of the Amazon EKS orchestrator cluster for the SageMaker HyperPod cluster.
- eks
Cluster
Orchestrator Eks Config - The configuration of the Amazon EKS orchestrator cluster for the SageMaker HyperPod cluster.
- eks
Cluster
Orchestrator 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
- Cluster
Arn string - The ARN of the EKS cluster, such as arn:aws:eks:us-west-2:123456789012:cluster/my-eks-cluster
- Cluster
Arn string - The ARN of the EKS cluster, such as arn:aws:eks:us-west-2:123456789012:cluster/my-eks-cluster
- cluster
Arn String - The ARN of the EKS cluster, such as arn:aws:eks:us-west-2:123456789012:cluster/my-eks-cluster
- cluster
Arn 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
- cluster
Arn 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
- In
Service - InService
- Rolling
Back - RollingBack
- System
Updating - SystemUpdating
- Updating
- Updating
- Cluster
Status Creating - Creating
- Cluster
Status Deleting - Deleting
- Cluster
Status Failed - Failed
- Cluster
Status In Service - InService
- Cluster
Status Rolling Back - RollingBack
- Cluster
Status System Updating - SystemUpdating
- Cluster
Status 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
- In
Service - InService
- Rolling
Back - RollingBack
- System
Updating - 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
- "In
Service" - InService
- "Rolling
Back" - RollingBack
- "System
Updating" - SystemUpdating
- "Updating"
- Updating
ClusterVpcConfig, ClusterVpcConfigArgs
- Security
Group 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.
- Security
Group []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.
- security
Group 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.
- security
Group 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.
- security
Group 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.