Skip to content
v2.278.0

EnvironmentConfigProperty Struct ​

The configuration for the restricted instance groups (RIG) environment.

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 environmentConfigProperty: sagemaker.CfnCluster.EnvironmentConfigProperty = {
  fSxLustreConfig: {
    perUnitStorageThroughput: 123,
    sizeInGiB: 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

environment_config_property = sagemaker.CfnCluster.EnvironmentConfigProperty(
    f_sx_lustre_config=sagemaker.CfnCluster.FSxLustreConfigProperty(
        per_unit_storage_throughput=123,
        size_in_gi_b=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.*;

EnvironmentConfigProperty environmentConfigProperty = EnvironmentConfigProperty.builder()
        .fSxLustreConfig(FSxLustreConfigProperty.builder()
                .perUnitStorageThroughput(123)
                .sizeInGiB(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 environmentConfigProperty = new EnvironmentConfigProperty {
    FSxLustreConfig = new FSxLustreConfigProperty {
        PerUnitStorageThroughput = 123,
        SizeInGiB = 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"

environmentConfigProperty := &EnvironmentConfigProperty{
	FSxLustreConfig: &FSxLustreConfigProperty{
		PerUnitStorageThroughput: jsii.Number(123),
		SizeInGiB: jsii.Number(123),
	},
}

Properties ​

fSxLustreConfigoptionalIResolvable | CfnCluster.FSxLustreConfigPropertyf_sx_lustre_configoptionaltyping.Union[IResolvable, FSxLustreConfigProperty]fSxLustreConfigoptionalIResolvableFSxLustreConfigoptionalIResolvableFSxLustreConfigoptionalinterface{} #
Configuration settings for an Amazon FSx for Lustre file system to be used with the cluster.