VpcInterfaceFromNetworkInterfacesProps

class aws_cdk.aws_mediaconnect_alpha.VpcInterfaceFromNetworkInterfacesProps(*, network_interface_ids, role, security_groups, subnet, vpc_interface_name)

Bases: object

(experimental) Properties for creating a VPC Interface from existing network interfaces.

Parameters:
  • network_interface_ids (Sequence[str]) – (experimental) IDs of the pre-created network interfaces to reuse.

  • role (IRole) – (experimental) IAM role that MediaConnect assumes to access the ENIs.

  • security_groups (Sequence[ISecurityGroup]) – (experimental) Security groups applied to the existing ENIs.

  • subnet (ISubnet) – (experimental) Subnet where the existing ENIs live. Must be in the same Availability Zone as the flow.

  • vpc_interface_name (str) – (experimental) Unique name for this VPC interface within the flow. Cannot be changed after creation.

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# 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
from aws_cdk import aws_ec2 as ec2
from aws_cdk import aws_iam as iam

# role: iam.Role
# security_group: ec2.SecurityGroup
# subnet: ec2.Subnet

vpc_interface_from_network_interfaces_props = mediaconnect_alpha.VpcInterfaceFromNetworkInterfacesProps(
    network_interface_ids=["networkInterfaceIds"],
    role=role,
    security_groups=[security_group],
    subnet=subnet,
    vpc_interface_name="vpcInterfaceName"
)

Attributes

network_interface_ids

(experimental) IDs of the pre-created network interfaces to reuse.

Stability:

experimental

role

(experimental) IAM role that MediaConnect assumes to access the ENIs.

Stability:

experimental

security_groups

(experimental) Security groups applied to the existing ENIs.

Stability:

experimental

subnet

(experimental) Subnet where the existing ENIs live.

Must be in the same Availability Zone as the flow.

Stability:

experimental

vpc_interface_name

(experimental) Unique name for this VPC interface within the flow.

Cannot be changed after creation.

Stability:

experimental