# VpcRouterNetworkInterfaceConfigurationProperty

The configuration settings for a router network interface within a VPC, including the security group IDs and subnet ID.

- Source: Generated at build time
- Type last changed: v2.225.0 · 17 Nov 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_mediaconnect as mediaconnect } from 'aws-cdk-lib';
const vpcRouterNetworkInterfaceConfigurationProperty: mediaconnect.CfnRouterNetworkInterface.VpcRouterNetworkInterfaceConfigurationProperty = {
  securityGroupIds: ['securityGroupIds'],
  subnetId: 'subnetId',
};
```

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_mediaconnect as mediaconnect

vpc_router_network_interface_configuration_property = mediaconnect.CfnRouterNetworkInterface.VpcRouterNetworkInterfaceConfigurationProperty(
    security_group_ids=["securityGroupIds"],
    subnet_id="subnetId"
)
```

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

VpcRouterNetworkInterfaceConfigurationProperty vpcRouterNetworkInterfaceConfigurationProperty = VpcRouterNetworkInterfaceConfigurationProperty.builder()
        .securityGroupIds(List.of("securityGroupIds"))
        .subnetId("subnetId")
        .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.MediaConnect;

var vpcRouterNetworkInterfaceConfigurationProperty = new VpcRouterNetworkInterfaceConfigurationProperty {
    SecurityGroupIds = new [] { "securityGroupIds" },
    SubnetId = "subnetId"
};
```

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"

vpcRouterNetworkInterfaceConfigurationProperty := &VpcRouterNetworkInterfaceConfigurationProperty{
	SecurityGroupIds: []*string{
		jsii.String("securityGroupIds"),
	},
	SubnetId: jsii.String("subnetId"),
}
```

## Properties

- `securityGroupIds`: string[] (required) — The IDs of the security groups to associate with the router network interface within the VPC.

- `subnetId`: string (required) — The ID of the subnet within the VPC to associate the router network interface with.
