# ClusterInstanceStorageConfigProperty

Defines the configuration for attaching additional storage to the instances in the SageMaker HyperPod cluster instance group.

To learn more, see [SageMaker HyperPod release notes: June 20, 2024](https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-hyperpod-release-notes.html#sagemaker-hyperpod-release-notes-20240620) .

- Source: Generated at build time
- Type last changed: v2.239.0 · 19 Feb 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sagemaker as sagemaker } from 'aws-cdk-lib';
const clusterInstanceStorageConfigProperty: sagemaker.CfnCluster.ClusterInstanceStorageConfigProperty = {
  ebsVolumeConfig: {
    rootVolume: false,
    volumeKmsKeyId: 'volumeKmsKeyId',
    volumeSizeInGb: 123,
  },
  fsxLustreConfig: {
    dnsName: 'dnsName',
    mountName: 'mountName',

    // the properties below are optional
    mountPath: 'mountPath',
  },
  fsxOpenZfsConfig: {
    dnsName: 'dnsName',

    // the properties below are optional
    mountPath: 'mountPath',
  },
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_sagemaker as sagemaker

cluster_instance_storage_config_property = sagemaker.CfnCluster.ClusterInstanceStorageConfigProperty(
    ebs_volume_config=sagemaker.CfnCluster.ClusterEbsVolumeConfigProperty(
        root_volume=False,
        volume_kms_key_id="volumeKmsKeyId",
        volume_size_in_gb=123
    ),
    fsx_lustre_config=sagemaker.CfnCluster.ClusterFsxLustreConfigProperty(
        dns_name="dnsName",
        mount_name="mountName",

        # the properties below are optional
        mount_path="mountPath"
    ),
    fsx_open_zfs_config=sagemaker.CfnCluster.ClusterFsxOpenZfsConfigProperty(
        dns_name="dnsName",

        # the properties below are optional
        mount_path="mountPath"
    )
)
```

Java:

```java
// 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.*;

ClusterInstanceStorageConfigProperty clusterInstanceStorageConfigProperty = ClusterInstanceStorageConfigProperty.builder()
        .ebsVolumeConfig(ClusterEbsVolumeConfigProperty.builder()
                .rootVolume(false)
                .volumeKmsKeyId("volumeKmsKeyId")
                .volumeSizeInGb(123)
                .build())
        .fsxLustreConfig(ClusterFsxLustreConfigProperty.builder()
                .dnsName("dnsName")
                .mountName("mountName")

                // the properties below are optional
                .mountPath("mountPath")
                .build())
        .fsxOpenZfsConfig(ClusterFsxOpenZfsConfigProperty.builder()
                .dnsName("dnsName")

                // the properties below are optional
                .mountPath("mountPath")
                .build())
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Sagemaker;

var clusterInstanceStorageConfigProperty = new ClusterInstanceStorageConfigProperty {
    EbsVolumeConfig = new ClusterEbsVolumeConfigProperty {
        RootVolume = false,
        VolumeKmsKeyId = "volumeKmsKeyId",
        VolumeSizeInGb = 123
    },
    FsxLustreConfig = new ClusterFsxLustreConfigProperty {
        DnsName = "dnsName",
        MountName = "mountName",

        // the properties below are optional
        MountPath = "mountPath"
    },
    FsxOpenZfsConfig = new ClusterFsxOpenZfsConfigProperty {
        DnsName = "dnsName",

        // the properties below are optional
        MountPath = "mountPath"
    }
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

clusterInstanceStorageConfigProperty := &ClusterInstanceStorageConfigProperty{
	EbsVolumeConfig: &ClusterEbsVolumeConfigProperty{
		RootVolume: jsii.Boolean(false),
		VolumeKmsKeyId: jsii.String("volumeKmsKeyId"),
		VolumeSizeInGb: jsii.Number(123),
	},
	FsxLustreConfig: &ClusterFsxLustreConfigProperty{
		DnsName: jsii.String("dnsName"),
		MountName: jsii.String("mountName"),

		// the properties below are optional
		MountPath: jsii.String("mountPath"),
	},
	FsxOpenZfsConfig: &ClusterFsxOpenZfsConfigProperty{
		DnsName: jsii.String("dnsName"),

		// the properties below are optional
		MountPath: jsii.String("mountPath"),
	},
}
```

## Properties

- `ebsVolumeConfig`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnCluster.ClusterEbsVolumeConfigProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_sagemaker.CfnCluster.ClusterEbsVolumeConfigProperty.html) — Defines the configuration for attaching additional Amazon Elastic Block Store (EBS) volumes to the instances in the SageMaker HyperPod cluster instance group.

  The additional EBS volume is attached to each instance within the SageMaker HyperPod cluster instance group and mounted to `/opt/sagemaker` .

- `fsxLustreConfig`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnCluster.ClusterFsxLustreConfigProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_sagemaker.CfnCluster.ClusterFsxLustreConfigProperty.html) — Configuration for mounting an Amazon FSx Lustre file system to the instances in the SageMaker HyperPod cluster instance group.

- `fsxOpenZfsConfig`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnCluster.ClusterFsxOpenZfsConfigProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_sagemaker.CfnCluster.ClusterFsxOpenZfsConfigProperty.html) — Configuration for mounting an Amazon FSx OpenZFS file system to the instances in the SageMaker HyperPod cluster instance group.
