Interface VpcInterfaceFromNetworkInterfacesProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
VpcInterfaceFromNetworkInterfacesProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.138.0 (build 0ca7ee8)", date="2026-07-31T10:49:55.238Z") @Stability(Experimental) public interface VpcInterfaceFromNetworkInterfacesProps extends software.amazon.jsii.JsiiSerializable
(experimental) 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 software.amazon.awscdk.services.mediaconnect.alpha.*;
 import software.amazon.awscdk.services.ec2.*;
 import software.amazon.awscdk.services.iam.*;
 Role role;
 SecurityGroup securityGroup;
 Subnet subnet;
 VpcInterfaceFromNetworkInterfacesProps vpcInterfaceFromNetworkInterfacesProps = VpcInterfaceFromNetworkInterfacesProps.builder()
         .networkInterfaceIds(List.of("networkInterfaceIds"))
         .role(role)
         .securityGroups(List.of(securityGroup))
         .subnet(subnet)
         .vpcInterfaceName("vpcInterfaceName")
         .build();
 
  • Method Details

    • getNetworkInterfaceIds

      @Stability(Experimental) @NotNull List<String> getNetworkInterfaceIds()
      (experimental) IDs of the pre-created network interfaces to reuse.
    • getRole

      @Stability(Experimental) @NotNull IRole getRole()
      (experimental) IAM role that MediaConnect assumes to access the ENIs.
    • getSecurityGroups

      @Stability(Experimental) @NotNull List<ISecurityGroup> getSecurityGroups()
      (experimental) Security groups applied to the existing ENIs.
    • getSubnet

      @Stability(Experimental) @NotNull ISubnet getSubnet()
      (experimental) Subnet where the existing ENIs live.

      Must be in the same Availability Zone as the flow.

    • getVpcInterfaceName

      @Stability(Experimental) @NotNull String getVpcInterfaceName()
      (experimental) Unique name for this VPC interface within the flow.

      Cannot be changed after creation.

    • builder

      @Stability(Experimental) static VpcInterfaceFromNetworkInterfacesProps.Builder builder()
      Returns:
      a VpcInterfaceFromNetworkInterfacesProps.Builder of VpcInterfaceFromNetworkInterfacesProps