Interface CfnClusterProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnClusterProps.Jsii$Proxy
CfnCluster
.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.sagemaker.*; CfnClusterProps cfnClusterProps = CfnClusterProps.builder() .instanceGroups(List.of(ClusterInstanceGroupProperty.builder() .executionRole("executionRole") .instanceCount(123) .instanceGroupName("instanceGroupName") .instanceType("instanceType") .lifeCycleConfig(ClusterLifeCycleConfigProperty.builder() .onCreate("onCreate") .sourceS3Uri("sourceS3Uri") .build()) // the properties below are optional .currentCount(123) .instanceStorageConfigs(List.of(ClusterInstanceStorageConfigProperty.builder() .ebsVolumeConfig(ClusterEbsVolumeConfigProperty.builder() .volumeSizeInGb(123) .build()) .build())) .onStartDeepHealthChecks(List.of("onStartDeepHealthChecks")) .threadsPerCore(123) .build())) // the properties below are optional .clusterName("clusterName") .nodeRecovery("nodeRecovery") .orchestrator(OrchestratorProperty.builder() .eks(ClusterOrchestratorEksConfigProperty.builder() .clusterArn("clusterArn") .build()) .build()) .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .vpcConfig(VpcConfigProperty.builder() .securityGroupIds(List.of("securityGroupIds")) .subnets(List.of("subnets")) .build()) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnClusterProps
static final class
An implementation forCfnClusterProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnClusterProps.Builder
builder()
default String
The name of the SageMaker HyperPod cluster.The instance groups of the SageMaker HyperPod cluster.default String
Specifies whether to enable or disable the automatic node recovery feature of SageMaker HyperPod.default Object
The orchestrator type for the SageMaker HyperPod cluster.getTags()
A tag object that consists of a key and an optional value, used to manage metadata for SageMaker AWS resources.default Object
Specifies an Amazon Virtual Private Cloud (VPC) that your SageMaker jobs, hosted models, and compute resources have access to.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getInstanceGroups
The instance groups of the SageMaker HyperPod cluster.- See Also:
-
getClusterName
The name of the SageMaker HyperPod cluster.- See Also:
-
getNodeRecovery
Specifies whether to enable or disable the automatic node recovery feature of SageMaker HyperPod.Available values are
Automatic
for enabling andNone
for disabling.- See Also:
-
getOrchestrator
The orchestrator type for the SageMaker HyperPod cluster.Currently,
'eks'
is the only available option.- See Also:
-
getTags
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 .
- See Also:
-
getVpcConfig
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 .
- See Also:
-
builder
- Returns:
- a
CfnClusterProps.Builder
ofCfnClusterProps
-