MediaConnect / Client / add_flow_vpc_interfaces

add_flow_vpc_interfaces#

MediaConnect.Client.add_flow_vpc_interfaces(**kwargs)#

Adds VPC interfaces to flow

See also: AWS API Documentation

Request Syntax

response = client.add_flow_vpc_interfaces(
    FlowArn='string',
    VpcInterfaces=[
        {
            'Name': 'string',
            'NetworkInterfaceType': 'ena'|'efa',
            'RoleArn': 'string',
            'SecurityGroupIds': [
                'string',
            ],
            'SubnetId': 'string'
        },
    ]
)
Parameters:
  • FlowArn (string) – [REQUIRED] The flow that you want to mutate.

  • VpcInterfaces (list) –

    [REQUIRED] A list of VPC interfaces that you want to add.

    • (dict) – Desired VPC Interface for a Flow

      • Name (string) – [REQUIRED] The name of the VPC Interface. This value must be unique within the current flow.

      • NetworkInterfaceType (string) – The type of network interface. If this value is not included in the request, MediaConnect uses ENA as the networkInterfaceType.

      • RoleArn (string) – [REQUIRED] Role Arn MediaConnect can assumes to create ENIs in customer’s account

      • SecurityGroupIds (list) – [REQUIRED] Security Group IDs to be used on ENI.

        • (string) –

      • SubnetId (string) – [REQUIRED] Subnet must be in the AZ of the Flow

Return type:

dict

Returns:

Response Syntax

{
    'FlowArn': 'string',
    'VpcInterfaces': [
        {
            'Name': 'string',
            'NetworkInterfaceIds': [
                'string',
            ],
            'NetworkInterfaceType': 'ena'|'efa',
            'RoleArn': 'string',
            'SecurityGroupIds': [
                'string',
            ],
            'SubnetId': 'string'
        },
    ]
}

Response Structure

  • (dict) – The following VPC interface was added to the Flow configuration.

    • FlowArn (string) – The ARN of the flow that these VPC interfaces were added to.

    • VpcInterfaces (list) – The details of the newly added VPC interfaces.

      • (dict) – The settings for a VPC Source.

        • Name (string) – Immutable and has to be a unique against other VpcInterfaces in this Flow.

        • NetworkInterfaceIds (list) – IDs of the network interfaces created in customer’s account by MediaConnect.

          • (string) –

        • NetworkInterfaceType (string) – The type of network interface.

        • RoleArn (string) – Role Arn MediaConnect can assumes to create ENIs in customer’s account

        • SecurityGroupIds (list) – Security Group IDs to be used on ENI.

          • (string) –

        • SubnetId (string) – Subnet must be in the AZ of the Flow

Exceptions