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.

RouterInputTier Class ​

Tier for a router input.

The tier determines the capacity limits, performance characteristics, and associated costs. The maximumBitrate must fall within the limits of the selected tier.

Example ​

ts
declare const stack: Stack;
declare const mediaLiveChannel: medialive.IChannel;
declare const transitSecret: Secret; // must hold the same value as the channel's MediaConnectRouterSettings.shared() secret

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,
    sourceTransitDecryption: { secret: transitSecret },
  }),
});

Properties ​

INPUT_100RouterInputTierinput_100RouterInputTierINPUT_100RouterInputTierINPUT_100RouterInputTierINPUT_100RouterInputTierstatic#
Supports a maximum bitrate up to 100 megabits per second.
Supports a maximum bitrate up to 20 megabits per second.
Supports a maximum bitrate up to 50 megabits per second.
valuestringvaluestrvalueStringValuestringValue*string#
The tier string value.

Methods ​

of(value: string): RouterInputTier // chainable@staticmethod def of(value: str) -> RouterInputTierpublic static RouterInputTier of(String value)public static RouterInputTier Of(string value)func Of(Value *string) RouterInputTierstatic#
Use a custom tier value.
1 parameter

Parameters

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