class CfnFlowVpcInterfacePropsMixin
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.MediaConnect.Mixins.CfnFlowVpcInterfacePropsMixin |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsmediaconnect/mixins#CfnFlowVpcInterfacePropsMixin |
Java | software.amazon.awscdk.mixins.preview.services.mediaconnect.mixins.CfnFlowVpcInterfacePropsMixin |
Python | aws_cdk.mixins_preview.aws_mediaconnect.mixins.CfnFlowVpcInterfacePropsMixin |
TypeScript | @aws-cdk/mixins-preview » aws_mediaconnect » mixins » CfnFlowVpcInterfacePropsMixin |
Implements
IMixin
Extends
Mixin
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::Flowresource. Do not use the top-levelAWS::MediaConnect::FlowVpcInterfaceresource 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 { mixins } from '@aws-cdk/mixins-preview';
import { mixins as mediaconnect_mixins } from '@aws-cdk/mixins-preview/aws-mediaconnect';
const cfnFlowVpcInterfacePropsMixin = new mediaconnect_mixins.CfnFlowVpcInterfacePropsMixin({
flowArn: 'flowArn',
name: 'name',
roleArn: 'roleArn',
securityGroupIds: ['securityGroupIds'],
subnetId: 'subnetId',
}, /* all optional props */ {
strategy: mixins.PropertyMergeStrategy.OVERRIDE,
});
Initializer
new CfnFlowVpcInterfacePropsMixin(props: CfnFlowVpcInterfaceMixinProps, options?: CfnPropertyMixinOptions)
Parameters
- props
Cfn— L1 properties to apply.Flow Vpc Interface Mixin Props - options
Cfn— Mixin options.Property Mixin Options
Create a mixin to apply properties to AWS::MediaConnect::FlowVpcInterface.
Properties
| Name | Type | Description |
|---|---|---|
| props | Cfn | |
| strategy | Property | |
| static CFN_PROPERTY_KEYS | string[] |
props
Type:
Cfn
strategy
Type:
Property
static CFN_PROPERTY_KEYS
Type:
string[]
Methods
| Name | Description |
|---|---|
| apply | Apply the mixin properties to the construct. |
| supports(construct) | Check if this mixin supports the given construct. |
applyTo(construct)
public applyTo(construct: IConstruct): IConstruct
Parameters
- construct
IConstruct
Returns
Apply the mixin properties to the construct.
supports(construct)
public supports(construct: IConstruct): boolean
Parameters
- construct
IConstruct
Returns
boolean
Check if this mixin supports the given construct.

.NET
Go
Java
Python
TypeScript