Skip to content
v2.275.0

Experimental

@aws-cdk/aws-mediaconnect-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

RoutingScope Class ​

Routing scope for the Router Input.

Example ​

ts
declare const stack: Stack;
declare const mediaLiveChannel: medialive.IChannel;

const input = new RouterInput(stack, 'ChannelInput', {
  routerInputName: 'channel-input',
  maximumBitrate: Bitrate.mbps(20),
  routingScope: RoutingScope.REGIONAL,
  tier: RouterInputTier.INPUT_20,
  configuration: RouterInputConfiguration.mediaLiveChannel({
    channel: mediaLiveChannel,
    outputName: 'router-ts',
    pipeline: MediaLivePipeline.PIPELINE_0,
  }),
});

Properties ​

Route traffic globally across AWS regions.
REGIONALRoutingScoperegionalRoutingScopeREGIONALRoutingScopeREGIONALRoutingScopeREGIONALRoutingScopestatic#
Route traffic within the same AWS region.
valuestringvaluestrvalueStringValuestringValue*string#
The routing scope string value.

Methods ​

of(value: string): RoutingScope // chainable@staticmethod def of(value: str) -> RoutingScopepublic static RoutingScope of(String value)public static RoutingScope Of(string value)func Of(Value *string) RoutingScopestatic#
Use a custom routing scope value.
1 parameter

Parameters

  • valuevaluevaluevalueValue — The routing scope string value.
toString(): stringdef to_string(self, ) -> strpublic String toString()public string ToString()func ToString() *string#
Returns the string value.