# NetworkInterfaceProperty

The container for the network interface.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_s3outposts as s3outposts } from 'aws-cdk-lib';
const networkInterfaceProperty: s3outposts.CfnEndpoint.NetworkInterfaceProperty = {
  networkInterfaceId: 'networkInterfaceId',
};
```

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_s3outposts as s3outposts

network_interface_property = s3outposts.CfnEndpoint.NetworkInterfaceProperty(
    network_interface_id="networkInterfaceId"
)
```

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.s3outposts.*;

NetworkInterfaceProperty networkInterfaceProperty = NetworkInterfaceProperty.builder()
        .networkInterfaceId("networkInterfaceId")
        .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.S3Outposts;

var networkInterfaceProperty = new NetworkInterfaceProperty {
    NetworkInterfaceId = "networkInterfaceId"
};
```

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"

networkInterfaceProperty := &NetworkInterfaceProperty{
	NetworkInterfaceId: jsii.String("networkInterfaceId"),
}
```

## Properties

- `networkInterfaceId`: string (required) — The ID for the network interface.
