VpcInterfaceConfig
- class aws_cdk.aws_mediaconnect_alpha.VpcInterfaceConfig(*, name, role, security_groups, subnet, network_interface_ids=None, network_interface_type=None)
Bases:
object(experimental) VPC Interface configuration.
- Parameters:
name (
str) – (experimental) Unique name for this VPC interface within the flow. Cannot be changed after creation.role (
IRole) – (experimental) IAM role that MediaConnect assumes to create ENIs in your account.security_groups (
Sequence[ISecurityGroup]) – (experimental) Security groups to apply to the ENI.subnet (
ISubnet) – (experimental) Subnet where the ENI is created. Must be in the same Availability Zone as the flow.network_interface_ids (
Optional[Sequence[str]]) – (experimental) IDs of the network interfaces. Set this when importing existing ENIs viaVpcInterface.fromNetworkInterfaces(); leave unset to have MediaConnect create them. Default: - MediaConnect creates network interfaces automaticallynetwork_interface_type (
Optional[NetworkInterface]) – (experimental) The type of network interface. UseEFAfor CDI workflows. Default: - undefined; when omitted, MediaConnect applies NetworkInterface.ENA at deploy time
- Stability:
experimental
- ExampleMetadata:
infused
Example:
from aws_cdk.aws_mediaconnect_alpha import BridgeFlowInput, BridgeFlowSource, BridgeNetworkOutput # stack: Stack # gateway: Gateway # flow: Flow # vpc_interface: VpcInterfaceConfig # production_network: GatewayNetwork egress_bridge = Bridge(stack, "MyEgressBridge", bridge_name="my-egress-bridge", config=BridgeConfiguration.egress( max_bitrate=Bitrate.mbps(10), flow_sources=[BridgeFlowInput( name="cloud-source", source=BridgeFlowSource( flow=flow, vpc_interface=vpc_interface ) )], network_outputs=[BridgeNetworkOutput( name="on-prem-output", output=BridgeOutputConfiguration.network( ip_address="192.168.1.200", port=5001, network=production_network, protocol=BridgeProtocol.RTP, ttl=50 ) )] ), gateway=gateway )
Attributes
- name
(experimental) Unique name for this VPC interface within the flow.
Cannot be changed after creation.
- Stability:
experimental
- network_interface_ids
(experimental) IDs of the network interfaces.
Set this when importing existing ENIs via
VpcInterface.fromNetworkInterfaces(); leave unset to have MediaConnect create them.- Default:
MediaConnect creates network interfaces automatically
- Stability:
experimental
- network_interface_type
(experimental) The type of network interface.
Use
EFAfor CDI workflows.- Default:
undefined; when omitted, MediaConnect applies NetworkInterface.ENA at deploy time
- Stability:
experimental
- role
(experimental) IAM role that MediaConnect assumes to create ENIs in your account.
- Stability:
experimental
- security_groups
(experimental) Security groups to apply to the ENI.
- Stability:
experimental
- subnet
(experimental) Subnet where the ENI is created.
Must be in the same Availability Zone as the flow.
- Stability:
experimental