Skip to content
v2.278.0

TieredStorageConfigProperty Struct ​

Configuration for tiered storage in the SageMaker HyperPod cluster.

Example ​

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 tieredStorageConfigProperty: sagemaker.CfnCluster.TieredStorageConfigProperty = {
  mode: 'mode',

  // the properties below are optional
  instanceMemoryAllocationPercentage: 123,
};
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

tiered_storage_config_property = sagemaker.CfnCluster.TieredStorageConfigProperty(
    mode="mode",

    # the properties below are optional
    instance_memory_allocation_percentage=123
)
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.*;

TieredStorageConfigProperty tieredStorageConfigProperty = TieredStorageConfigProperty.builder()
        .mode("mode")

        // the properties below are optional
        .instanceMemoryAllocationPercentage(123)
        .build();
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 tieredStorageConfigProperty = new TieredStorageConfigProperty {
    Mode = "mode",

    // the properties below are optional
    InstanceMemoryAllocationPercentage = 123
};
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"

tieredStorageConfigProperty := &TieredStorageConfigProperty{
	Mode: jsii.String("mode"),

	// the properties below are optional
	InstanceMemoryAllocationPercentage: jsii.Number(123),
}

Properties ​

instanceMemoryAllocationPercentageoptionalnumberinstance_memory_allocation_percentageoptionalint | floatinstanceMemoryAllocationPercentageoptionalNumberInstanceMemoryAllocationPercentageoptionaldoubleInstanceMemoryAllocationPercentageoptional*float64 #
The percentage of instance memory to allocate for tiered storage.
modestringmodestrmodeStringModestringMode*string required #
The mode of tiered storage.