We recommend new projects start with resources from the AWS provider.
AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi
aws-native.sagemaker.getCluster
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi
Resource Type definition for AWS::SageMaker::Cluster
Using getCluster
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getCluster(args: GetClusterArgs, opts?: InvokeOptions): Promise<GetClusterResult>
function getClusterOutput(args: GetClusterOutputArgs, opts?: InvokeOptions): Output<GetClusterResult>
def get_cluster(cluster_arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetClusterResult
def get_cluster_output(cluster_arn: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetClusterResult]
func LookupCluster(ctx *Context, args *LookupClusterArgs, opts ...InvokeOption) (*LookupClusterResult, error)
func LookupClusterOutput(ctx *Context, args *LookupClusterOutputArgs, opts ...InvokeOption) LookupClusterResultOutput
> Note: This function is named LookupCluster
in the Go SDK.
public static class GetCluster
{
public static Task<GetClusterResult> InvokeAsync(GetClusterArgs args, InvokeOptions? opts = null)
public static Output<GetClusterResult> Invoke(GetClusterInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetClusterResult> getCluster(GetClusterArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:sagemaker:getCluster
arguments:
# arguments dictionary
The following arguments are supported:
- Cluster
Arn string - The Amazon Resource Name (ARN) of the HyperPod Cluster.
- Cluster
Arn string - The Amazon Resource Name (ARN) of the HyperPod Cluster.
- cluster
Arn String - The Amazon Resource Name (ARN) of the HyperPod Cluster.
- cluster
Arn string - The Amazon Resource Name (ARN) of the HyperPod Cluster.
- cluster_
arn str - The Amazon Resource Name (ARN) of the HyperPod Cluster.
- cluster
Arn String - The Amazon Resource Name (ARN) of the HyperPod Cluster.
getCluster Result
The following output properties are available:
- 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.
- Instance
Groups List<Pulumi.Aws Native. Sage Maker. Outputs. Cluster Instance Group> - The instance groups of the SageMaker 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.
- List<Pulumi.
Aws Native. Outputs. 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.
- 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.
- Instance
Groups []ClusterInstance Group - The instance groups of the SageMaker 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.
- 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.
- 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.
- instance
Groups List<ClusterInstance Group> - The instance groups of the SageMaker 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.
- 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.
- 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.
- instance
Groups ClusterInstance Group[] - The instance groups of the SageMaker 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.
- 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.
- 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.
- instance_
groups Sequence[ClusterInstance Group] - The instance groups of the SageMaker 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.
- Sequence[root_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.
- 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.
- instance
Groups List<Property Map> - The instance groups of the SageMaker 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.
- 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.
Supporting Types
ClusterDeepHealthCheckType
ClusterInstanceGroup
- 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> - 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 - 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> - 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[] - 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] - 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"> - 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
- 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
ClusterStatus
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi