Interface FlowProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
FlowProps.Jsii$Proxy
Example:
Stack stack;
ISecurityGroup securityGroup;
ISubnet subnet;
IRole role;
VpcInterfaceConfig vpcInterface = VpcInterface.define(VpcInterfaceDefineProps.builder()
.vpcInterfaceName("my-vpc-interface")
.role(role)
.securityGroups(List.of(securityGroup))
.subnet(subnet)
.build());
Flow flow = Flow.Builder.create(stack, "MyFlow")
.source(SourceConfiguration.rist(SourceRist.builder()
.flowSourceName("vpc-source")
.description("VPC-based source")
.port(5000)
.maxLatency(Duration.millis(2000))
.network(NetworkConfiguration.vpc(vpcInterface))
.build()))
.vpcInterfaces(List.of(vpcInterface))
.build();
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic FlowProps.Builderbuilder()default String(experimental) The Availability Zone that you want to create the flow in.default EncodingConfig(experimental) Encoding configuration applied to the NDI source when transcoding it to a transport stream for downstream distribution.default String(experimental) The name of the flow.default FlowSize(experimental) Determines the processing capacity and feature set of the flow.default MaintenanceWindow(experimental) The maintenance window for the flow.default List<MediaStream> (experimental) The media streams that are associated with the flow.default NdiConfig(experimental) Specifies the configuration settings for a flow's NDI source or output.(experimental) The settings for the source that you want to use for the new flow.default FailoverConfig(experimental) The settings for source failover.default SourceMonitoringConfig(experimental) The settings for source monitoring.default List<VpcInterfaceConfig> (experimental) The VPC Interfaces for this flow.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getSource
(experimental) The settings for the source that you want to use for the new flow. -
getAvailabilityZone
(experimental) The Availability Zone that you want to create the flow in.These options are limited to the Availability Zones within the current AWS Region.
Default: - chosen by MediaConnect
-
getEncodingConfig
(experimental) Encoding configuration applied to the NDI source when transcoding it to a transport stream for downstream distribution.Required when the flow source uses the NDI SpeedHQ protocol (see
).invalid reference
SourceConfiguration.ndiDefault: - no encoding config; required for NDI sources
-
getFlowName
(experimental) The name of the flow.Default: - autogenerated
-
getFlowSize
(experimental) Determines the processing capacity and feature set of the flow.Set this optional parameter to LARGE if you want to enable NDI outputs on the flow.
Default: - undefined; when omitted, MediaConnect applies FlowSize.MEDIUM at deploy time
-
getMaintenance
(experimental) The maintenance window for the flow.Default: - chosen by MediaConnect
-
getMediaStreams
(experimental) The media streams that are associated with the flow.After you associate a media stream with a source, you can also associate it with outputs on the flow.
Default: No Media Streams
-
getNdiConfig
(experimental) Specifies the configuration settings for a flow's NDI source or output.Required when the flow includes an NDI source or output.
Default: No NDI Configuration applied
-
getSourceFailoverConfig
(experimental) The settings for source failover.Default: No source failover configuration applied
-
getSourceMonitoringConfig
(experimental) The settings for source monitoring.Default: No source monitoring configuration applied
-
getVpcInterfaces
(experimental) The VPC Interfaces for this flow.Use this instead of the FlowVpcInterface construct.
Default: No VPC Interface configuration applied
-
builder
- Returns:
- a
FlowProps.BuilderofFlowProps
-