Experimental
@aws-cdk/aws-mediaconnect-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
VpcInterface Class
Factory class for creating VPC Interface configurations.
Example
ts
// 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';
const vpcInterface = new mediaconnect_alpha.VpcInterface();
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_mediaconnect_alpha as mediaconnect_alpha
vpc_interface = mediaconnect_alpha.VpcInterface()
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.alpha.*;
VpcInterface vpcInterface = new VpcInterface();
csharp
// Install: dotnet add package Amazon.CDK.AWS.MediaConnect.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaConnect.Alpha;
var vpcInterface = new VpcInterface();
go
// Install: go get github.com/aws/aws-cdk-go/awsmediaconnectalpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import mediaconnect_alpha "github.com/aws/aws-cdk-go/awsmediaconnectalpha"
vpcInterface := mediaconnect_alpha.NewVpcInterface()
Initializer
ts
new VpcInterface()
python
VpcInterface()
java
new VpcInterface()
csharp
new VpcInterface()
go
NewVpcInterface()
Methods
define(props: VpcInterfaceDefineProps): VpcInterfaceConfig@staticmethod def define(props: VpcInterfaceDefineProps) -> VpcInterfaceConfigpublic static VpcInterfaceConfig define(VpcInterfaceDefineProps props)public static VpcInterfaceConfig Define(VpcInterfaceDefineProps props)func Define(Props VpcInterfaceDefineProps) VpcInterfaceConfigstatic#Define a new VPC Interface configuration.
MediaConnect will create network interfaces automatically.
1 parameter · returns
Parameters
propspropspropspropsProps— VPC Interface properties.
Returns: VpcInterfaceConfig configuration object
fromNetworkInterfaces(props: VpcInterfaceFromNetworkInterfacesProps): VpcInterfaceConfig@staticmethod def from_network_interfaces(props: VpcInterfaceFromNetworkInterfacesProps) -> VpcInterfaceConfigpublic static VpcInterfaceConfig fromNetworkInterfaces(VpcInterfaceFromNetworkInterfacesProps props)public static VpcInterfaceConfig FromNetworkInterfaces(VpcInterfaceFromNetworkInterfacesProps props)func FromNetworkInterfaces(Props VpcInterfaceFromNetworkInterfacesProps) VpcInterfaceConfigstatic#Create a VPC Interface configuration using existing network interfaces.
1 parameter · returns
Parameters
propspropspropspropsProps— VPC Interface properties with existing network interface IDs.
Returns: VpcInterfaceConfig configuration object