Skip to content
v2.278.0

SpaceStorageSettingsProperty Struct ​

The 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 spaceStorageSettingsProperty: sagemaker.CfnSpace.SpaceStorageSettingsProperty = {
  ebsStorageSettings: {
    ebsVolumeSizeInGb: 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

space_storage_settings_property = sagemaker.CfnSpace.SpaceStorageSettingsProperty(
    ebs_storage_settings=sagemaker.CfnSpace.EbsStorageSettingsProperty(
        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.*;

SpaceStorageSettingsProperty spaceStorageSettingsProperty = SpaceStorageSettingsProperty.builder()
        .ebsStorageSettings(EbsStorageSettingsProperty.builder()
                .ebsVolumeSizeInGb(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 spaceStorageSettingsProperty = new SpaceStorageSettingsProperty {
    EbsStorageSettings = new EbsStorageSettingsProperty {
        EbsVolumeSizeInGb = 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"

spaceStorageSettingsProperty := &SpaceStorageSettingsProperty{
	EbsStorageSettings: &EbsStorageSettingsProperty{
		EbsVolumeSizeInGb: jsii.Number(123),
	},
}

Properties ​

ebsStorageSettingsoptionalIResolvable | CfnSpace.EbsStorageSettingsPropertyebs_storage_settingsoptionaltyping.Union[IResolvable, EbsStorageSettingsProperty]ebsStorageSettingsoptionalIResolvableEbsStorageSettingsoptionalIResolvableEbsStorageSettingsoptionalinterface{} #
A collection of EBS storage settings for a space.