Interface ICfnFlowProps
Properties for defining a CfnFlow
.
Namespace: Amazon.CDK.AWS.MediaConnect
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnFlowProps
Syntax (vb)
Public Interface ICfnFlowProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flow.html
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 cfnFlowProps = new CfnFlowProps {
Name = "name",
Source = new SourceProperty {
Decryption = new EncryptionProperty {
RoleArn = "roleArn",
// the properties below are optional
Algorithm = "algorithm",
ConstantInitializationVector = "constantInitializationVector",
DeviceId = "deviceId",
KeyType = "keyType",
Region = "region",
ResourceId = "resourceId",
SecretArn = "secretArn",
Url = "url"
},
Description = "description",
EntitlementArn = "entitlementArn",
GatewayBridgeSource = new GatewayBridgeSourceProperty {
BridgeArn = "bridgeArn",
// the properties below are optional
VpcInterfaceAttachment = new VpcInterfaceAttachmentProperty {
VpcInterfaceName = "vpcInterfaceName"
}
},
IngestIp = "ingestIp",
IngestPort = 123,
MaxBitrate = 123,
MaxLatency = 123,
MaxSyncBuffer = 123,
MediaStreamSourceConfigurations = new [] { new MediaStreamSourceConfigurationProperty {
EncodingName = "encodingName",
MediaStreamName = "mediaStreamName",
// the properties below are optional
InputConfigurations = new [] { new InputConfigurationProperty {
InputPort = 123,
Interface = new InterfaceProperty {
Name = "name"
}
} }
} },
MinLatency = 123,
Name = "name",
Protocol = "protocol",
SenderControlPort = 123,
SenderIpAddress = "senderIpAddress",
SourceArn = "sourceArn",
SourceIngestPort = "sourceIngestPort",
SourceListenerAddress = "sourceListenerAddress",
SourceListenerPort = 123,
StreamId = "streamId",
VpcInterfaceName = "vpcInterfaceName",
WhitelistCidr = "whitelistCidr"
},
// the properties below are optional
AvailabilityZone = "availabilityZone",
Maintenance = new MaintenanceProperty {
MaintenanceDay = "maintenanceDay",
MaintenanceStartHour = "maintenanceStartHour"
},
MediaStreams = new [] { new MediaStreamProperty {
MediaStreamId = 123,
MediaStreamName = "mediaStreamName",
MediaStreamType = "mediaStreamType",
// the properties below are optional
Attributes = new MediaStreamAttributesProperty {
Fmtp = new FmtpProperty {
ChannelOrder = "channelOrder",
Colorimetry = "colorimetry",
ExactFramerate = "exactFramerate",
Par = "par",
Range = "range",
ScanMode = "scanMode",
Tcs = "tcs"
},
Lang = "lang"
},
ClockRate = 123,
Description = "description",
Fmt = 123,
VideoFormat = "videoFormat"
} },
SourceFailoverConfig = new FailoverConfigProperty {
FailoverMode = "failoverMode",
RecoveryWindow = 123,
SourcePriority = new SourcePriorityProperty {
PrimarySource = "primarySource"
},
State = "state"
},
VpcInterfaces = new [] { new VpcInterfaceProperty {
Name = "name",
RoleArn = "roleArn",
SecurityGroupIds = new [] { "securityGroupIds" },
SubnetId = "subnetId",
// the properties below are optional
NetworkInterfaceIds = new [] { "networkInterfaceIds" },
NetworkInterfaceType = "networkInterfaceType"
} }
};
Synopsis
Properties
AvailabilityZone | The Availability Zone that you want to create the flow in. |
Maintenance | The maintenance settings you want to use for the flow. |
MediaStreams | The media streams associated with the flow. |
Name | The name of the flow. |
Source | The settings for the source that you want to use for the new flow. |
SourceFailoverConfig | The settings for source failover. |
VpcInterfaces | The VPC interfaces that you added to this flow. |
Properties
AvailabilityZone
The Availability Zone that you want to create the flow in.
virtual string AvailabilityZone { get; }
Property Value
System.String
Remarks
These options are limited to the Availability Zones within the current AWS Region.
Maintenance
The maintenance settings you want to use for the flow.
virtual object Maintenance { get; }
Property Value
System.Object
Remarks
MediaStreams
The media streams associated with the flow.
virtual object MediaStreams { get; }
Property Value
System.Object
Remarks
You can associate any of these media streams with sources and outputs on the flow.
Name
The name of the flow.
string Name { get; }
Property Value
System.String
Remarks
Source
The settings for the source that you want to use for the new flow.
object Source { get; }
Property Value
System.Object
Remarks
SourceFailoverConfig
The settings for source failover.
virtual object SourceFailoverConfig { get; }
Property Value
System.Object
Remarks
VpcInterfaces
The VPC interfaces that you added to this flow.
virtual object VpcInterfaces { get; }
Property Value
System.Object