Interface IRouterInput
- All Superinterfaces:
software.constructs.IConstruct,software.constructs.IDependable,IEnvironmentAware,IResource,IRouterInputRef,software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
IRouterInput.Jsii$Default
- All Known Implementing Classes:
IRouterInput.Jsii$Proxy,RouterInput
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceInternal default implementation forIRouterInput.static final classA proxy class which represents a concrete javascript instance of this type. -
Method Summary
Modifier and TypeMethodDescriptiondefault String(experimental) The timestamp when the router input was created.(experimental) The ingest endpoints (URL + port) where the router input listens.(experimental) Collection of grant methods for this router input.(experimental) The IP address of the router input.(experimental) The Amazon Resource Name (ARN) of the router input.(experimental) The unique identifier of the router input.default ISecret(experimental) The Secrets Manager secret containing the transit encryption passphrase.default String(experimental) The timestamp when the router input was last updated.(experimental) Create a CloudWatch metric for this router input.metric(String metricName, MetricOptions props) (experimental) Create a CloudWatch metric for this router input.(experimental) Metric for the bitrate of the router input's payload.metricBitrate(MetricOptions props) (experimental) Metric for the bitrate of the router input's payload.(experimental) Metric for the router input connection state (1 connected, 0 disconnected).metricConnected(MetricOptions props) (experimental) Metric for the router input connection state (1 connected, 0 disconnected).(experimental) Metric for continuity counter errors in the transport stream.(experimental) Metric for continuity counter errors in the transport stream.(experimental) Metric for the number of times the router input has switched sources in Failover mode.(experimental) Metric for the number of times the router input has switched sources in Failover mode.(experimental) Metric for the recovery latency of the input stream.metricLatency(MetricOptions props) (experimental) Metric for the recovery latency of the input stream.(experimental) Metric for packets lost in transit that were not recovered by error correction.(experimental) Metric for packets lost in transit that were not recovered by error correction.(experimental) Metric for the total number of packets received by the router input.metricTotalPackets(MetricOptions props) (experimental) Metric for the total number of packets received by the router input.Methods inherited from interface software.constructs.IConstruct
getNode, withMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getStackMethods inherited from interface software.amazon.awscdk.interfaces.mediaconnect.IRouterInputRef
getRouterInputRefMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEndpoints
(experimental) The ingest endpoints (URL + port) where the router input listens.Returns one entry for standard protocol-based variants (RTP, RIST, SRT listener), and one entry per source for failover and merge configurations built from those protocols. For example a failover RTP input will return:
[ { url: 'rtp://203.0.113.10:5000', port: 5000 }, { url: 'rtp://203.0.113.10:5001', port: 5001 }, ]Accessing this on SRT caller (where the router input dials out to a remote source), MediaConnect Flow, MediaLive Channel, or imported inputs throws — those variants do not expose host:port pairs the input listens on.
-
getGrants
(experimental) Collection of grant methods for this router input. -
getIpAddress
(experimental) The IP address of the router input. -
getRouterInputArn
(experimental) The Amazon Resource Name (ARN) of the router input. -
getRouterInputId
(experimental) The unique identifier of the router input. -
getCreatedAt
(experimental) The timestamp when the router input was created. -
getTransitEncryptionSecret
(experimental) The Secrets Manager secret containing the transit encryption passphrase.Only available when the Router Input was created with explicit
transitEncryptionconfiguration. Not available for automatic encryption or imported inputs. -
getUpdatedAt
(experimental) The timestamp when the router input was last updated. -
metric
@Stability(Experimental) @NotNull Metric metric(@NotNull String metricName, @Nullable MetricOptions props) (experimental) Create a CloudWatch metric for this router input.Router input metrics are dimensioned by
RouterInputARN. See the MediaConnect documentation for available metric names (e.g.RouterInputBitRate,RouterInputNotRecoveredPackets).- Parameters:
metricName- This parameter is required.props-
-
metric
(experimental) Create a CloudWatch metric for this router input.Router input metrics are dimensioned by
RouterInputARN. See the MediaConnect documentation for available metric names (e.g.RouterInputBitRate,RouterInputNotRecoveredPackets).- Parameters:
metricName- This parameter is required.
-
metricBitrate
(experimental) Metric for the bitrate of the router input's payload.Default: - average over 60 seconds
- Parameters:
props-
-
metricBitrate
(experimental) Metric for the bitrate of the router input's payload.Default: - average over 60 seconds
-
metricConnected
(experimental) Metric for the router input connection state (1 connected, 0 disconnected).Applies to SRT sources only.
Default: - minimum over 60 seconds
- Parameters:
props-
-
metricConnected
(experimental) Metric for the router input connection state (1 connected, 0 disconnected).Applies to SRT sources only.
Default: - minimum over 60 seconds
-
metricContinuityCounterErrors
@Stability(Experimental) @NotNull Metric metricContinuityCounterErrors(@Nullable MetricOptions props) (experimental) Metric for continuity counter errors in the transport stream.Default: - sum over 60 seconds
- Parameters:
props-
-
metricContinuityCounterErrors
(experimental) Metric for continuity counter errors in the transport stream.Default: - sum over 60 seconds
-
metricFailoverSwitches
(experimental) Metric for the number of times the router input has switched sources in Failover mode.Default: - sum over 60 seconds
- Parameters:
props-
-
metricFailoverSwitches
(experimental) Metric for the number of times the router input has switched sources in Failover mode.Default: - sum over 60 seconds
-
metricLatency
(experimental) Metric for the recovery latency of the input stream.Applies to RIST, SRT, and RTP-FEC.
Default: - average over 60 seconds
- Parameters:
props-
-
metricLatency
(experimental) Metric for the recovery latency of the input stream.Applies to RIST, SRT, and RTP-FEC.
Default: - average over 60 seconds
-
metricNotRecoveredPackets
(experimental) Metric for packets lost in transit that were not recovered by error correction.Default: - sum over 60 seconds
- Parameters:
props-
-
metricNotRecoveredPackets
(experimental) Metric for packets lost in transit that were not recovered by error correction.Default: - sum over 60 seconds
-
metricTotalPackets
(experimental) Metric for the total number of packets received by the router input.Default: - sum over 60 seconds
- Parameters:
props-
-
metricTotalPackets
(experimental) Metric for the total number of packets received by the router input.Default: - sum over 60 seconds
-