Class CfnClusterPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnClusterPropsMixin>
- Enclosing class:
CfnClusterPropsMixin
CfnClusterPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionConfiguration for cluster auto-scaling.autoScaling(IResolvable 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 CfnClusterPropsMixin.Buildercreate()static CfnClusterPropsMixin.Buildercreate(CfnPropertyMixinOptions options) instanceGroups(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(CfnClusterPropsMixin.OrchestratorProperty orchestrator) The orchestrator type for the SageMaker HyperPod cluster.orchestrator(IResolvable 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(CfnClusterPropsMixin.TieredStorageConfigProperty tieredStorageConfig) Configuration for tiered storage in the SageMaker HyperPod cluster.tieredStorageConfig(IResolvable tieredStorageConfig) Configuration for tiered storage in the SageMaker HyperPod cluster.vpcConfig(CfnClusterPropsMixin.VpcConfigProperty vpcConfig) Specifies an Amazon Virtual Private Cloud (VPC) that your SageMaker jobs, hosted models, and compute resources have access to.vpcConfig(IResolvable 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 CfnClusterPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnClusterPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnClusterPropsMixin.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 CfnClusterPropsMixin.Builder autoScaling(CfnClusterPropsMixin.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
@Stability(Stable) public CfnClusterPropsMixin.Builder instanceGroups(List<? extends Object> 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
@Stability(Stable) public CfnClusterPropsMixin.Builder nodeProvisioningMode(String 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 CfnClusterPropsMixin.Builder orchestrator(CfnClusterPropsMixin.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 CfnClusterPropsMixin.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 CfnClusterPropsMixin.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
@Stability(Stable) public CfnClusterPropsMixin.Builder tieredStorageConfig(IResolvable 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 CfnClusterPropsMixin.Builder tieredStorageConfig(CfnClusterPropsMixin.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
@Stability(Stable) public CfnClusterPropsMixin.Builder vpcConfig(CfnClusterPropsMixin.VpcConfigProperty 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<CfnClusterPropsMixin>- Returns:
- a newly built instance of
CfnClusterPropsMixin.
-