Skip to content
v2.278.0

ClusterNetworkInterfaceProperty Struct ​

Specifies the network interface configuration for the instance group.

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 clusterNetworkInterfaceProperty: sagemaker.CfnCluster.ClusterNetworkInterfaceProperty = {
  interfaceType: 'interfaceType',
};
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

cluster_network_interface_property = sagemaker.CfnCluster.ClusterNetworkInterfaceProperty(
    interface_type="interfaceType"
)
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.*;

ClusterNetworkInterfaceProperty clusterNetworkInterfaceProperty = ClusterNetworkInterfaceProperty.builder()
        .interfaceType("interfaceType")
        .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 clusterNetworkInterfaceProperty = new ClusterNetworkInterfaceProperty {
    InterfaceType = "interfaceType"
};
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"

clusterNetworkInterfaceProperty := &ClusterNetworkInterfaceProperty{
	InterfaceType: jsii.String("interfaceType"),
}

Properties ​

interfaceTypestringinterface_typestrinterfaceTypeStringInterfaceTypestringInterfaceType*string required #
The type of network interface.