interface VpcInterfaceFromNetworkInterfacesProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MediaConnect.Alpha.VpcInterfaceFromNetworkInterfacesProps |
Go | github.com/aws/aws-cdk-go/awsmediaconnectalpha/v2#VpcInterfaceFromNetworkInterfacesProps |
Java | software.amazon.awscdk.services.mediaconnect.alpha.VpcInterfaceFromNetworkInterfacesProps |
Python | aws_cdk.aws_mediaconnect_alpha.VpcInterfaceFromNetworkInterfacesProps |
TypeScript (source) | @aws-cdk/aws-mediaconnect-alpha ยป VpcInterfaceFromNetworkInterfacesProps |
Properties for creating a VPC Interface from existing network interfaces.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as mediaconnect_alpha from '@aws-cdk/aws-mediaconnect-alpha';
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
import { aws_iam as iam } from 'aws-cdk-lib';
declare const role: iam.Role;
declare const securityGroup: ec2.SecurityGroup;
declare const subnet: ec2.Subnet;
const vpcInterfaceFromNetworkInterfacesProps: mediaconnect_alpha.VpcInterfaceFromNetworkInterfacesProps = {
networkInterfaceIds: ['networkInterfaceIds'],
role: role,
securityGroups: [securityGroup],
subnet: subnet,
vpcInterfaceName: 'vpcInterfaceName',
};
Properties
| Name | Type | Description |
|---|---|---|
| network | string[] | IDs of the pre-created network interfaces to reuse. |
| role | IRole | IAM role that MediaConnect assumes to access the ENIs. |
| security | ISecurity[] | Security groups applied to the existing ENIs. |
| subnet | ISubnet | Subnet where the existing ENIs live. |
| vpc | string | Unique name for this VPC interface within the flow. |
networkInterfaceIds
Type:
string[]
IDs of the pre-created network interfaces to reuse.
role
Type:
IRole
IAM role that MediaConnect assumes to access the ENIs.
securityGroups
Type:
ISecurity[]
Security groups applied to the existing ENIs.
subnet
Type:
ISubnet
Subnet where the existing ENIs live.
Must be in the same Availability Zone as the flow.
vpcInterfaceName
Type:
string
Unique name for this VPC interface within the flow.
Cannot be changed after creation.

.NET
Go
Java
Python
TypeScript (