Skip to content
v2.278.0

VpcRouterNetworkInterfaceConfigurationProperty Struct ​

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

Example ​

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
# 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
// 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();
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"
};
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 ​

securityGroupIdsstring[]security_group_idstyping.List[str]securityGroupIdsList<String>SecurityGroupIdsstring[]SecurityGroupIds*[]*string required #
The IDs of the security groups to associate with the router network interface within the VPC.
subnetIdstringsubnet_idstrsubnetIdStringSubnetIdstringSubnetId*string required #
The ID of the subnet within the VPC to associate the router network interface with.