# ClusterNetworkInterfaceProperty

Specifies the network interface configuration for the instance group.

- Source: Generated at build time
- Type last changed: v2.253.0 · 6 May 2026

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
};
```

Golang:

```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

- `interfaceType`: string (required) — The type of network interface.
