Class CfnFlowVpcInterfacePropsMixin

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.Mixin
software.amazon.awscdk.cfnpropertymixins.services.mediaconnect.CfnFlowVpcInterfacePropsMixin
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable, software.constructs.IMixin

@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)", date="2026-03-11T13:20:01.323Z") @Stability(Stable) public class CfnFlowVpcInterfacePropsMixin extends Mixin implements software.constructs.IMixin
The AWS::MediaConnect::FlowVpcInterface resource is a connection between your AWS Elemental MediaConnect flow and a virtual private cloud (VPC) that you created using the Amazon Virtual Private Cloud service.

To avoid streaming your content over the public internet, you can add up to two VPC interfaces to your flow and use those connections to transfer content between your VPC and MediaConnect.

You can update an existing flow to add a VPC interface. If you haven’t created the flow yet, you must create the flow with a temporary standard source by doing the following:

  • Use CloudFormation to create a flow with a standard source that uses to the flow’s public IP address.
  • Use CloudFormation to create a VPC interface to add to this flow. This can also be done as part of the previous step.
  • After CloudFormation has created the flow and the VPC interface, update the source to point to the VPC interface that you created.

The previous steps must be undone before the CloudFormation stack can be deleted. Because the source is manually updated in step 3, CloudFormation is not aware of this change. The source must be returned to a standard source before CloudFormation stack deletion. > When configuring NDI outputs for your flow, define the VPC interface as a nested attribute within the AWS::MediaConnect::Flow resource. Do not use the top-level AWS::MediaConnect::FlowVpcInterface resource type to specify NDI configurations.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.cfnpropertymixins.services.mediaconnect.*;
 import software.amazon.awscdk.*;
 IMergeStrategy mergeStrategy;
 CfnFlowVpcInterfacePropsMixin cfnFlowVpcInterfacePropsMixin = CfnFlowVpcInterfacePropsMixin.Builder.create(CfnFlowVpcInterfaceMixinProps.builder()
         .flowArn("flowArn")
         .name("name")
         .roleArn("roleArn")
         .securityGroupIds(List.of("securityGroupIds"))
         .subnetId("subnetId")
         .build())
 .strategy(mergeStrategy)
 .build();
 

See Also:
  • Field Details

    • CFN_PROPERTY_KEYS

      @Stability(Stable) protected static final List<String> CFN_PROPERTY_KEYS
  • Constructor Details

    • CfnFlowVpcInterfacePropsMixin

      protected CfnFlowVpcInterfacePropsMixin(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnFlowVpcInterfacePropsMixin

      protected CfnFlowVpcInterfacePropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnFlowVpcInterfacePropsMixin

      @Stability(Stable) public CfnFlowVpcInterfacePropsMixin(@NotNull CfnFlowVpcInterfaceMixinProps props, @Nullable CfnPropertyMixinOptions options)
      Create a mixin to apply properties to AWS::MediaConnect::FlowVpcInterface.

      Parameters:
      props - L1 properties to apply. This parameter is required.
      options - Mixin options.
    • CfnFlowVpcInterfacePropsMixin

      @Stability(Stable) public CfnFlowVpcInterfacePropsMixin(@NotNull CfnFlowVpcInterfaceMixinProps props)
      Create a mixin to apply properties to AWS::MediaConnect::FlowVpcInterface.

      Parameters:
      props - L1 properties to apply. This parameter is required.
  • Method Details

    • applyTo

      @Stability(Stable) public void applyTo(@NotNull software.constructs.IConstruct construct)
      Apply the mixin properties to the construct.

      Specified by:
      applyTo in interface software.constructs.IMixin
      Specified by:
      applyTo in class Mixin
      Parameters:
      construct - This parameter is required.
    • supports

      @Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct)
      Check if this mixin supports the given construct.

      Specified by:
      supports in interface software.constructs.IMixin
      Overrides:
      supports in class Mixin
      Parameters:
      construct - This parameter is required.
    • getProps

      @Stability(Stable) @NotNull protected CfnFlowVpcInterfaceMixinProps getProps()
    • getStrategy

      @Stability(Stable) @NotNull protected IMergeStrategy getStrategy()