Class CfnCluster.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCluster>
- Enclosing class:
CfnCluster
CfnCluster.-
Method Summary
Modifier and TypeMethodDescriptionautoScaling(IResolvable autoScaling) Configuration for cluster auto-scaling.autoScaling(CfnCluster.ClusterAutoScalingConfigProperty autoScaling) Configuration for cluster auto-scaling.build()clusterName(String clusterName) The name of the SageMaker HyperPod cluster.clusterRole(String clusterRole) The cluster role for the autoscaler to assume.static CfnCluster.BuilderinstanceGroups(List<? extends Object> instanceGroups) The instance groups of the SageMaker HyperPod cluster.instanceGroups(IResolvable instanceGroups) The instance groups of the SageMaker HyperPod cluster.nodeProvisioningMode(String nodeProvisioningMode) Determines the scaling strategy for the SageMaker HyperPod cluster.nodeRecovery(String nodeRecovery) Specifies whether to enable or disable the automatic node recovery feature of SageMaker HyperPod.orchestrator(IResolvable orchestrator) The orchestrator type for the SageMaker HyperPod cluster.orchestrator(CfnCluster.OrchestratorProperty orchestrator) The orchestrator type for the SageMaker HyperPod cluster.restrictedInstanceGroups(List<? extends Object> restrictedInstanceGroups) The restricted instance groups of the SageMaker HyperPod cluster.restrictedInstanceGroups(IResolvable restrictedInstanceGroups) The restricted instance groups of the SageMaker HyperPod cluster.A tag object that consists of a key and an optional value, used to manage metadata for SageMaker AWS resources.tieredStorageConfig(IResolvable tieredStorageConfig) Configuration for tiered storage in the SageMaker HyperPod cluster.tieredStorageConfig(CfnCluster.TieredStorageConfigProperty tieredStorageConfig) Configuration for tiered storage in the SageMaker HyperPod cluster.vpcConfig(IResolvable vpcConfig) Specifies an Amazon Virtual Private Cloud (VPC) that your SageMaker jobs, hosted models, and compute resources have access to.vpcConfig(CfnCluster.VpcConfigProperty vpcConfig) Specifies an Amazon Virtual Private Cloud (VPC) that your SageMaker jobs, hosted models, and compute resources have access to.
-
Method Details
-
create
@Stability(Stable) public static CfnCluster.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnCluster.Builder.
-
autoScaling
Configuration for cluster auto-scaling.- Parameters:
autoScaling- Configuration for cluster auto-scaling. This parameter is required.- Returns:
this- See Also:
-
autoScaling
@Stability(Stable) public CfnCluster.Builder autoScaling(CfnCluster.ClusterAutoScalingConfigProperty autoScaling) Configuration for cluster auto-scaling.- Parameters:
autoScaling- Configuration for cluster auto-scaling. This parameter is required.- Returns:
this- See Also:
-
clusterName
The name of the SageMaker HyperPod cluster.- Parameters:
clusterName- The name of the SageMaker HyperPod cluster. This parameter is required.- Returns:
this- See Also:
-
clusterRole
The cluster role for the autoscaler to assume.- Parameters:
clusterRole- The cluster role for the autoscaler to assume. This parameter is required.- Returns:
this- See Also:
-
instanceGroups
The instance groups of the SageMaker HyperPod cluster.To delete an instance group, remove it from the array.
- Parameters:
instanceGroups- The instance groups of the SageMaker HyperPod cluster. This parameter is required.- Returns:
this- See Also:
-
instanceGroups
The instance groups of the SageMaker HyperPod cluster.To delete an instance group, remove it from the array.
- Parameters:
instanceGroups- The instance groups of the SageMaker HyperPod cluster. This parameter is required.- Returns:
this- See Also:
-
nodeProvisioningMode
Determines the scaling strategy for the SageMaker HyperPod cluster.When set to 'Continuous', enables continuous scaling which dynamically manages node provisioning. If the parameter is omitted, uses the standard scaling approach in previous release.
- Parameters:
nodeProvisioningMode- Determines the scaling strategy for the SageMaker HyperPod cluster. This parameter is required.- Returns:
this- See Also:
-
nodeRecovery
Specifies whether to enable or disable the automatic node recovery feature of SageMaker HyperPod.Available values are
Automaticfor enabling andNonefor disabling.- Parameters:
nodeRecovery- Specifies whether to enable or disable the automatic node recovery feature of SageMaker HyperPod. This parameter is required.- Returns:
this- See Also:
-
orchestrator
The orchestrator type for the SageMaker HyperPod cluster.Currently,
'eks'is the only available option.- Parameters:
orchestrator- The orchestrator type for the SageMaker HyperPod cluster. This parameter is required.- Returns:
this- See Also:
-
orchestrator
@Stability(Stable) public CfnCluster.Builder orchestrator(CfnCluster.OrchestratorProperty orchestrator) The orchestrator type for the SageMaker HyperPod cluster.Currently,
'eks'is the only available option.- Parameters:
orchestrator- The orchestrator type for the SageMaker HyperPod cluster. This parameter is required.- Returns:
this- See Also:
-
restrictedInstanceGroups
@Stability(Stable) public CfnCluster.Builder restrictedInstanceGroups(IResolvable restrictedInstanceGroups) The restricted instance groups of the SageMaker HyperPod cluster.- Parameters:
restrictedInstanceGroups- The restricted instance groups of the SageMaker HyperPod cluster. This parameter is required.- Returns:
this- See Also:
-
restrictedInstanceGroups
@Stability(Stable) public CfnCluster.Builder restrictedInstanceGroups(List<? extends Object> restrictedInstanceGroups) The restricted instance groups of the SageMaker HyperPod cluster.- Parameters:
restrictedInstanceGroups- The restricted instance groups of the SageMaker HyperPod cluster. This parameter is required.- Returns:
this- See Also:
-
tags
A tag object that consists of a key and an optional value, used to manage metadata for SageMaker AWS resources.You can add tags to notebook instances, training jobs, hyperparameter tuning jobs, batch transform jobs, models, labeling jobs, work teams, endpoint configurations, and endpoints. For more information on adding tags to SageMaker resources, see AddTags .
For more information on adding metadata to your AWS resources with tagging, see Tagging AWS resources . For advice on best practices for managing AWS resources with tagging, see Tagging Best Practices: Implement an Effective AWS Resource Tagging Strategy .
- Parameters:
tags- A tag object that consists of a key and an optional value, used to manage metadata for SageMaker AWS resources. This parameter is required.- Returns:
this- See Also:
-
tieredStorageConfig
Configuration for tiered storage in the SageMaker HyperPod cluster.- Parameters:
tieredStorageConfig- Configuration for tiered storage in the SageMaker HyperPod cluster. This parameter is required.- Returns:
this- See Also:
-
tieredStorageConfig
@Stability(Stable) public CfnCluster.Builder tieredStorageConfig(CfnCluster.TieredStorageConfigProperty tieredStorageConfig) Configuration for tiered storage in the SageMaker HyperPod cluster.- Parameters:
tieredStorageConfig- Configuration for tiered storage in the SageMaker HyperPod cluster. This parameter is required.- Returns:
this- See Also:
-
vpcConfig
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 .
- Parameters:
vpcConfig- Specifies an Amazon Virtual Private Cloud (VPC) that your SageMaker jobs, hosted models, and compute resources have access to. This parameter is required.- Returns:
this- See Also:
-
vpcConfig
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 .
- Parameters:
vpcConfig- Specifies an Amazon Virtual Private Cloud (VPC) that your SageMaker jobs, hosted models, and compute resources have access to. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCluster>- Returns:
- a newly built instance of
CfnCluster.
-