Interface IFlow
- All Superinterfaces:
software.constructs.IConstruct,software.constructs.IDependable,IEnvironmentAware,IFlowRef,IResource,software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
IFlow.Jsii$Default
- All Known Implementing Classes:
Flow,IFlow.Jsii$Proxy
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceInternal default implementation forIFlow.static final classA proxy class which represents a concrete javascript instance of this type. -
Method Summary
Modifier and TypeMethodDescriptionaddOutput(String id, OutputConfiguration outputConfig) (experimental) Add an output to this flow.(experimental) The IP address that the flow uses to send outbound content.(experimental) The Amazon Resource Name (ARN) of the flow.default String(experimental) The Availability Zone that the flow was created in.(experimental) Collection of grant methods for this flow.default Boolean(experimental) Failover Configuration for flow.(experimental) The Amazon Resource Name (ARN) of the source defined on the flow.(experimental) The IP address that the flow listens on for incoming content.(experimental) The port that the flow listens on for incoming content.(experimental) The full ingest URL for the flow source, combining protocol, IP, and port.(experimental) Create a CloudWatch metric for this flow.metric(String metricName, MetricOptions props) (experimental) Create a CloudWatch metric for this flow.(experimental) Metric for the bitrate of content ingested into the flow.metricSourceBitrate(MetricOptions props) (experimental) Metric for the bitrate of content ingested into the flow.(experimental) Metric indicating the connection state of the source (1 connected, 0 disconnected).(experimental) Metric indicating the connection state of the source (1 connected, 0 disconnected).(experimental) Metric for the number of times the source transitioned from connected to disconnected.(experimental) Metric for the number of times the source transitioned from connected to disconnected.(experimental) Metric for the number of packets lost during transit, measured before any error correction.(experimental) Metric for the number of packets lost during transit, measured before any error correction.(experimental) Metric for the current network jitter of the source, measured in milliseconds.metricSourceJitter(MetricOptions props) (experimental) Metric for the current network jitter of the source, measured in milliseconds.(experimental) Metric for packets that were not recovered by the flow source.(experimental) Metric for packets that were not recovered by the flow source.(experimental) Metric for the percentage of packets lost during transit, even if they were recovered.(experimental) Metric for the percentage of packets lost during transit, even if they were recovered.(experimental) Metric for the round-trip time between the source and MediaConnect.(experimental) Metric for the round-trip time between the source and MediaConnect.(experimental) Metric indicating which source is selected for ingest when usingFailoverfailover mode.(experimental) Metric indicating which source is selected for ingest when usingFailoverfailover mode.(experimental) Metric for the total number of packets received by the flow source.(experimental) Metric for the total number of packets received by the flow source.Methods inherited from interface software.constructs.IConstruct
getNode, withMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.awscdk.interfaces.mediaconnect.IFlowRef
getFlowRefMethods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEgressIp
(experimental) The IP address that the flow uses to send outbound content. -
getFlowArn
(experimental) The Amazon Resource Name (ARN) of the flow. -
getGrants
(experimental) Collection of grant methods for this flow. -
getSourceArn
(experimental) The Amazon Resource Name (ARN) of the source defined on the flow. -
getSourceIngestIp
(experimental) The IP address that the flow listens on for incoming content.Available for listener-style source protocols (RTP, RTP-FEC, RIST, SRT listener, Zixi push). Accessing this on SRT caller, entitlement, gateway bridge, router, CDI, JPEG XS, or imported flows throws — those sources don't expose a listening IP address.
-
getSourceIngestPort
(experimental) The port that the flow listens on for incoming content.Available for the same listener-style source protocols as
sourceIngestIp. Accessing this on SRT caller, entitlement, gateway bridge, router, CDI, JPEG XS, or imported flows throws. -
getSourceIngestUrl
(experimental) The full ingest URL for the flow source, combining protocol, IP, and port. For example:srt://203.0.113.10:5000.Available for listener-style source protocols (RTP, RTP-FEC, RIST, SRT listener, Zixi push) where the flow listens for an upstream sender. Accessing this on SRT caller, entitlement, gateway bridge, router, CDI, JPEG XS, or imported flows throws — those sources don't expose a single host:port ingest URL.
-
getFlowAvailabilityZone
(experimental) The Availability Zone that the flow was created in. -
getIsFailoverEnabled
(experimental) Failover Configuration for flow. -
addOutput
@Stability(Experimental) @NotNull IFlowOutput addOutput(@NotNull String id, @NotNull OutputConfiguration outputConfig) (experimental) Add an output to this flow.- Parameters:
id- This parameter is required.outputConfig- This parameter is required.
-
metric
@Stability(Experimental) @NotNull Metric metric(@NotNull String metricName, @Nullable MetricOptions props) (experimental) Create a CloudWatch metric for this flow.- Parameters:
metricName- This parameter is required.props-
-
metric
(experimental) Create a CloudWatch metric for this flow.- Parameters:
metricName- This parameter is required.
-
metricSourceBitrate
(experimental) Metric for the bitrate of content ingested into the flow.Default: - average over 60 seconds
- Parameters:
props-
-
metricSourceBitrate
(experimental) Metric for the bitrate of content ingested into the flow.Default: - average over 60 seconds
-
metricSourceConnected
(experimental) Metric indicating the connection state of the source (1 connected, 0 disconnected).Applies only to Zixi, SRT, and RIST sources.
Default: - minimum over 60 seconds
- Parameters:
props-
-
metricSourceConnected
(experimental) Metric indicating the connection state of the source (1 connected, 0 disconnected).Applies only to Zixi, SRT, and RIST sources.
Default: - minimum over 60 seconds
-
metricSourceDisconnections
(experimental) Metric for the number of times the source transitioned from connected to disconnected.Default: - sum over 60 seconds
- Parameters:
props-
-
metricSourceDisconnections
(experimental) Metric for the number of times the source transitioned from connected to disconnected.Default: - sum over 60 seconds
-
metricSourceDroppedPackets
(experimental) Metric for the number of packets lost during transit, measured before any error correction.Default: - sum over 60 seconds
- Parameters:
props-
-
metricSourceDroppedPackets
(experimental) Metric for the number of packets lost during transit, measured before any error correction.Default: - sum over 60 seconds
-
metricSourceJitter
(experimental) Metric for the current network jitter of the source, measured in milliseconds.Default: - average over 60 seconds
- Parameters:
props-
-
metricSourceJitter
(experimental) Metric for the current network jitter of the source, measured in milliseconds.Default: - average over 60 seconds
-
metricSourceNotRecoveredPackets
@Stability(Experimental) @NotNull Metric metricSourceNotRecoveredPackets(@Nullable MetricOptions props) (experimental) Metric for packets that were not recovered by the flow source.Default: - sum over 60 seconds
- Parameters:
props-
-
metricSourceNotRecoveredPackets
(experimental) Metric for packets that were not recovered by the flow source.Default: - sum over 60 seconds
-
metricSourcePacketLossPercent
@Stability(Experimental) @NotNull Metric metricSourcePacketLossPercent(@Nullable MetricOptions props) (experimental) Metric for the percentage of packets lost during transit, even if they were recovered.Default: - average over 60 seconds
- Parameters:
props-
-
metricSourcePacketLossPercent
(experimental) Metric for the percentage of packets lost during transit, even if they were recovered.Default: - average over 60 seconds
-
metricSourceRoundTripTime
(experimental) Metric for the round-trip time between the source and MediaConnect.Applies only to RIST, Zixi, and SRT sources.
Default: - average over 60 seconds
- Parameters:
props-
-
metricSourceRoundTripTime
(experimental) Metric for the round-trip time between the source and MediaConnect.Applies only to RIST, Zixi, and SRT sources.
Default: - average over 60 seconds
-
metricSourceSelected
(experimental) Metric indicating which source is selected for ingest when usingFailoverfailover mode.Default: - maximum over 60 seconds
- Parameters:
props-
-
metricSourceSelected
(experimental) Metric indicating which source is selected for ingest when usingFailoverfailover mode.Default: - maximum over 60 seconds
-
metricSourceTotalPackets
(experimental) Metric for the total number of packets received by the flow source.Default: - sum over 60 seconds
- Parameters:
props-
-
metricSourceTotalPackets
(experimental) Metric for the total number of packets received by the flow source.Default: - sum over 60 seconds
-