Skip to content
v2.278.0

DefaultSpaceStorageSettingsProperty Struct ​

The default storage settings for a space.

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 defaultSpaceStorageSettingsProperty: sagemaker.CfnUserProfile.DefaultSpaceStorageSettingsProperty = {
  defaultEbsStorageSettings: {
    defaultEbsVolumeSizeInGb: 123,
    maximumEbsVolumeSizeInGb: 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

default_space_storage_settings_property = sagemaker.CfnUserProfile.DefaultSpaceStorageSettingsProperty(
    default_ebs_storage_settings=sagemaker.CfnUserProfile.DefaultEbsStorageSettingsProperty(
        default_ebs_volume_size_in_gb=123,
        maximum_ebs_volume_size_in_gb=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.*;

DefaultSpaceStorageSettingsProperty defaultSpaceStorageSettingsProperty = DefaultSpaceStorageSettingsProperty.builder()
        .defaultEbsStorageSettings(DefaultEbsStorageSettingsProperty.builder()
                .defaultEbsVolumeSizeInGb(123)
                .maximumEbsVolumeSizeInGb(123)
                .build())
        .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 defaultSpaceStorageSettingsProperty = new DefaultSpaceStorageSettingsProperty {
    DefaultEbsStorageSettings = new DefaultEbsStorageSettingsProperty {
        DefaultEbsVolumeSizeInGb = 123,
        MaximumEbsVolumeSizeInGb = 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"

defaultSpaceStorageSettingsProperty := &DefaultSpaceStorageSettingsProperty{
	DefaultEbsStorageSettings: &DefaultEbsStorageSettingsProperty{
		DefaultEbsVolumeSizeInGb: jsii.Number(123),
		MaximumEbsVolumeSizeInGb: jsii.Number(123),
	},
}

Properties ​

defaultEbsStorageSettingsoptionalIResolvable | CfnUserProfile.DefaultEbsStorageSettingsPropertydefault_ebs_storage_settingsoptionaltyping.Union[IResolvable, DefaultEbsStorageSettingsProperty]defaultEbsStorageSettingsoptionalIResolvableDefaultEbsStorageSettingsoptionalIResolvableDefaultEbsStorageSettingsoptionalinterface{} #
The default EBS storage settings for a space.