Skip to content
v2.278.0

RestrictedInstanceGroupsConfigProperty Struct ​

The cluster-level configuration for restricted instance groups, including shared environment settings for inter-RIG communication and FSx Lustre sharing.

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 restrictedInstanceGroupsConfigProperty: sagemaker.CfnCluster.RestrictedInstanceGroupsConfigProperty = {
  sharedEnvironmentConfig: {
    fSxLustreDeletionPolicy: 'fSxLustreDeletionPolicy',

    // the properties below are optional
    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

restricted_instance_groups_config_property = sagemaker.CfnCluster.RestrictedInstanceGroupsConfigProperty(
    shared_environment_config=sagemaker.CfnCluster.SharedEnvironmentConfigProperty(
        f_sx_lustre_deletion_policy="fSxLustreDeletionPolicy",

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

RestrictedInstanceGroupsConfigProperty restrictedInstanceGroupsConfigProperty = RestrictedInstanceGroupsConfigProperty.builder()
        .sharedEnvironmentConfig(SharedEnvironmentConfigProperty.builder()
                .fSxLustreDeletionPolicy("fSxLustreDeletionPolicy")

                // the properties below are optional
                .fSxLustreConfig(FSxLustreConfigProperty.builder()
                        .perUnitStorageThroughput(123)
                        .sizeInGiB(123)
                        .build())
                .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 restrictedInstanceGroupsConfigProperty = new RestrictedInstanceGroupsConfigProperty {
    SharedEnvironmentConfig = new SharedEnvironmentConfigProperty {
        FSxLustreDeletionPolicy = "fSxLustreDeletionPolicy",

        // the properties below are optional
        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"

restrictedInstanceGroupsConfigProperty := &RestrictedInstanceGroupsConfigProperty{
	SharedEnvironmentConfig: &SharedEnvironmentConfigProperty{
		FSxLustreDeletionPolicy: jsii.String("fSxLustreDeletionPolicy"),

		// the properties below are optional
		FSxLustreConfig: &FSxLustreConfigProperty{
			PerUnitStorageThroughput: jsii.Number(123),
			SizeInGiB: jsii.Number(123),
		},
	},
}

Properties ​

sharedEnvironmentConfigIResolvable | CfnCluster.SharedEnvironmentConfigPropertyshared_environment_configtyping.Union[IResolvable, SharedEnvironmentConfigProperty]sharedEnvironmentConfigIResolvableSharedEnvironmentConfigIResolvableSharedEnvironmentConfiginterface{} required #
The shared environment configuration for restricted instance groups that use cluster-level shared FSx Lustre storage.