Class CfnFlowVpcInterface
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.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.MediaConnect
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnFlowVpcInterface : CfnResource, IInspectable
Syntax (vb)
Public Class CfnFlowVpcInterface
Inherits CfnResource
Implements IInspectable
Remarks
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:
CloudformationResource: AWS::MediaConnect::FlowVpcInterface
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaConnect;
var cfnFlowVpcInterface = new CfnFlowVpcInterface(this, "MyCfnFlowVpcInterface", new CfnFlowVpcInterfaceProps {
FlowArn = "flowArn",
Name = "name",
RoleArn = "roleArn",
SecurityGroupIds = new [] { "securityGroupIds" },
SubnetId = "subnetId"
});
Synopsis
Constructors
CfnFlowVpcInterface(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnFlowVpcInterface(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnFlowVpcInterface(Construct, String, ICfnFlowVpcInterfaceProps) |
Properties
AttrNetworkInterfaceIds | The IDs of the network interfaces that MediaConnect created in your account. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
FlowArn | The Amazon Resource Name (ARN) of the flow. |
Name | The name of the VPC Interface. |
RoleArn | The Amazon Resource Name (ARN) of the role that you created when you set up MediaConnect as a trusted service. |
SecurityGroupIds | The VPC security groups that you want MediaConnect to use for your VPC configuration. |
SubnetId | The subnet IDs that you want to use for your VPC interface. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnFlowVpcInterface(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnFlowVpcInterface(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnFlowVpcInterface(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnFlowVpcInterface(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnFlowVpcInterface(Construct, String, ICfnFlowVpcInterfaceProps)
public CfnFlowVpcInterface(Construct scope, string id, ICfnFlowVpcInterfaceProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnFlowVpcInterfaceProps
Resource properties.
Properties
AttrNetworkInterfaceIds
The IDs of the network interfaces that MediaConnect created in your account.
public virtual string[] AttrNetworkInterfaceIds { get; }
Property Value
System.String[]
Remarks
CloudformationAttribute: NetworkInterfaceIds
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
FlowArn
The Amazon Resource Name (ARN) of the flow.
public virtual string FlowArn { get; set; }
Property Value
System.String
Name
The name of the VPC Interface.
public virtual string Name { get; set; }
Property Value
System.String
RoleArn
The Amazon Resource Name (ARN) of the role that you created when you set up MediaConnect as a trusted service.
public virtual string RoleArn { get; set; }
Property Value
System.String
SecurityGroupIds
The VPC security groups that you want MediaConnect to use for your VPC configuration.
public virtual string[] SecurityGroupIds { get; set; }
Property Value
System.String[]
SubnetId
The subnet IDs that you want to use for your VPC interface.
public virtual string SubnetId { get; set; }
Property Value
System.String
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>