Class RouterOutput
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.mediaconnect.alpha.RouterOutput
- All Implemented Interfaces:
IEnvironmentAware,IRouterOutputRef,IResource,IRouterOutput,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.138.0 (build 0ca7ee8)",
date="2026-07-31T10:49:55.217Z")
@Stability(Experimental)
public class RouterOutput
extends Resource
implements IRouterOutput
(experimental) Defines an AWS Elemental MediaConnect Router Output.
Example:
Stack stack;
RouterNetworkInterface networkInterface;
RouterOutput output = RouterOutput.Builder.create(stack, "SrtOutput")
.routerOutputName("srt-output")
.maximumBitrate(Bitrate.mbps(10))
.routingScope(RoutingScope.REGIONAL)
// tier defaults to RouterOutputTier.OUTPUT_20 (lowest cost)
.configuration(RouterOutputConfiguration.standard(StandardOutputConfigurationProps.builder()
.protocol(RouterOutputProtocol.srtListener(SrtListenerOutputProtocolProps.builder()
.port(9001)
.minimumLatency(Duration.millis(200))
.build()))
.networkInterface(networkInterface)
.build()))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class(experimental) A fluent builder forRouterOutput.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.services.mediaconnect.alpha.IRouterOutput
IRouterOutput.Jsii$Default, IRouterOutput.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String(experimental) Uniquely identifies this class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedRouterOutput(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedRouterOutput(software.amazon.jsii.JsiiObjectRef objRef) RouterOutput(software.constructs.Construct scope, String id, RouterOutputProps props) -
Method Summary
Modifier and TypeMethodDescriptionstatic IRouterOutputfromRouterOutputArn(software.constructs.Construct scope, String id, String routerOutputArn) (experimental) Import an existing Router Output from its ARN.static IRouterOutputfromRouterOutputAttributes(software.constructs.Construct scope, String id, RouterOutputAttributes attrs) (experimental) Import an existing Router Output from attributes.(experimental) The timestamp when the router output was created.(experimental) The IP address of the router output.(experimental) The Amazon Resource Name (ARN) of the router output.(experimental) The unique identifier of the router output.(experimental) The name of the router output.(experimental) A reference to this Router Output resource.(experimental) The timestamp when the router output was last updated.(experimental) Create a CloudWatch metric for this router output.metric(String metricName, MetricOptions props) (experimental) Create a CloudWatch metric for this router output.(experimental) Metric for the number of retransmitted packets requested through ARQ.metricArqRequests(MetricOptions props) (experimental) Metric for the number of retransmitted packets requested through ARQ.(experimental) Metric for the bitrate of the router output's payload.metricBitrate(MetricOptions props) (experimental) Metric for the bitrate of the router output's payload.(experimental) Metric for the router output connection state (1 connected, 0 disconnected).metricConnected(MetricOptions props) (experimental) Metric for the router output connection state (1 connected, 0 disconnected).(experimental) Metric for the total number of packets sent by the router output.metricTotalPackets(MetricOptions props) (experimental) Metric for the total number of packets sent by the router output.Methods inherited from class software.amazon.awscdk.Resource
applyCrossStackReferenceStrength, applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResource, withMethods inherited from class software.constructs.Construct
getNode, isConstruct, toStringMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
PROPERTY_INJECTION_ID
(experimental) Uniquely identifies this class.
-
-
Constructor Details
-
RouterOutput
protected RouterOutput(software.amazon.jsii.JsiiObjectRef objRef) -
RouterOutput
protected RouterOutput(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
RouterOutput
@Stability(Experimental) public RouterOutput(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull RouterOutputProps props) - Parameters:
scope- This parameter is required.id- This parameter is required.props- This parameter is required.
-
-
Method Details
-
fromRouterOutputArn
@Stability(Experimental) @NotNull public static IRouterOutput fromRouterOutputArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String routerOutputArn) (experimental) Import an existing Router Output from its ARN.The ARN only contains the service-generated ID (not the router output name). Accessing
routerOutputNameon an ARN import throws — usefromRouterOutputAttributes()to provide the name explicitly.- Parameters:
scope- The parent construct. This parameter is required.id- The construct id. This parameter is required.routerOutputArn- The ARN of the Router Output. This parameter is required.- Returns:
- A Router Output construct
-
fromRouterOutputAttributes
@Stability(Experimental) @NotNull public static IRouterOutput fromRouterOutputAttributes(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull RouterOutputAttributes attrs) (experimental) Import an existing Router Output from attributes.Use this when you need to reference a router output by name.
- Parameters:
scope- The parent construct. This parameter is required.id- The construct id. This parameter is required.attrs- The Router Output attributes. This parameter is required.- Returns:
- A Router Output construct
-
metric
@Stability(Experimental) @NotNull public Metric metric(@NotNull String metricName, @Nullable MetricOptions props) (experimental) Create a CloudWatch metric for this router output.- Specified by:
metricin interfaceIRouterOutput- Parameters:
metricName- This parameter is required.props-
-
metric
(experimental) Create a CloudWatch metric for this router output.- Specified by:
metricin interfaceIRouterOutput- Parameters:
metricName- This parameter is required.
-
metricArqRequests
(experimental) Metric for the number of retransmitted packets requested through ARQ.Applies to RIST and SRT outputs.
- Specified by:
metricArqRequestsin interfaceIRouterOutput- Parameters:
props-
-
metricArqRequests
(experimental) Metric for the number of retransmitted packets requested through ARQ.Applies to RIST and SRT outputs.
- Specified by:
metricArqRequestsin interfaceIRouterOutput
-
metricBitrate
(experimental) Metric for the bitrate of the router output's payload.- Specified by:
metricBitratein interfaceIRouterOutput- Parameters:
props-
-
metricBitrate
(experimental) Metric for the bitrate of the router output's payload.- Specified by:
metricBitratein interfaceIRouterOutput
-
metricConnected
(experimental) Metric for the router output connection state (1 connected, 0 disconnected).Applies to SRT outputs only.
- Specified by:
metricConnectedin interfaceIRouterOutput- Parameters:
props-
-
metricConnected
(experimental) Metric for the router output connection state (1 connected, 0 disconnected).Applies to SRT outputs only.
- Specified by:
metricConnectedin interfaceIRouterOutput
-
metricTotalPackets
(experimental) Metric for the total number of packets sent by the router output.- Specified by:
metricTotalPacketsin interfaceIRouterOutput- Parameters:
props-
-
metricTotalPackets
(experimental) Metric for the total number of packets sent by the router output.- Specified by:
metricTotalPacketsin interfaceIRouterOutput
-
getIpAddress
(experimental) The IP address of the router output.- Specified by:
getIpAddressin interfaceIRouterOutput
-
getRouterOutputArn
(experimental) The Amazon Resource Name (ARN) of the router output.- Specified by:
getRouterOutputArnin interfaceIRouterOutput
-
getRouterOutputId
(experimental) The unique identifier of the router output.- Specified by:
getRouterOutputIdin interfaceIRouterOutput
-
getRouterOutputName
(experimental) The name of the router output.- Specified by:
getRouterOutputNamein interfaceIRouterOutput
-
getRouterOutputRef
(experimental) A reference to this Router Output resource.Required by the auto-generated IRouterOutputRef interface.
- Specified by:
getRouterOutputRefin interfaceIRouterOutputRef
-
getCreatedAt
(experimental) The timestamp when the router output was created.- Specified by:
getCreatedAtin interfaceIRouterOutput
-
getUpdatedAt
(experimental) The timestamp when the router output was last updated.- Specified by:
getUpdatedAtin interfaceIRouterOutput
-