Experimental
@aws-cdk/aws-mediaconnect-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
IRouterInput Interface
Interface for Router Input.
Properties
createdAtmay be undefinedstringcreated_atmay be undefinedstrcreatedAtmay be undefinedStringCreatedAtmay be undefinedstringCreatedAtmay be undefined*string#endpointsRouterInputEndpoint[]endpointstyping.List[RouterInputEndpoint]endpointsList<RouterInputEndpoint>EndpointsRouterInputEndpoint[]Endpoints*[]RouterInputEndpointrequired#notes
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.
envResourceEnvironmentenvResourceEnvironmentenvResourceEnvironmentEnvResourceEnvironmentEnvResourceEnvironmentrequired#notes
For resources that are created and managed in a Stack (those created by creating new class instances like new Role(), new Bucket(), etc.), this is always the same as the environment of the stack they belong to.
For referenced resources (those obtained from referencing methods like Role.fromRoleArn(), Bucket.fromBucketName(), etc.), they might be different than the stack they were imported into.
grantsRouterInputGrantsgrantsRouterInputGrantsgrantsRouterInputGrantsGrantsRouterInputGrantsGrantsRouterInputGrantsrequired#routerInputArnstringrouter_input_arnstrrouterInputArnStringRouterInputArnstringRouterInputArn*stringrequired#routerInputIdstringrouter_input_idstrrouterInputIdStringRouterInputIdstringRouterInputId*stringrequired#routerInputRefRouterInputReferencerouter_input_refRouterInputReferencerouterInputRefRouterInputReferenceRouterInputRefRouterInputReferenceRouterInputRefRouterInputReferencerequired#transitEncryptionSecretmay be undefinedISecrettransit_encryption_secretmay be undefinedISecrettransitEncryptionSecretmay be undefinedISecretTransitEncryptionSecretmay be undefinedISecretTransitEncryptionSecretmay be undefinedISecret#Only available when the Router Input was created with explicit transitEncryption configuration. Not available for automatic encryption or imported inputs.
updatedAtmay be undefinedstringupdated_atmay be undefinedstrupdatedAtmay be undefinedStringUpdatedAtmay be undefinedstringUpdatedAtmay be undefined*string#Methods
applyRemovalPolicy(policy: RemovalPolicy): voiddef apply_removal_policy(self, policy: RemovalPolicy) -> Nonepublic void applyRemovalPolicy(RemovalPolicy policy)public void ApplyRemovalPolicy(RemovalPolicy policy)func ApplyRemovalPolicy(Policy RemovalPolicy)#notes
The Removal Policy controls what happens to this resource when it stops being managed by CloudFormation, either because you've removed it from the CDK application or because you've made a change that requires the resource to be replaced.
The resource can be deleted (RemovalPolicy.DESTROY), or left in your AWS account for data recovery and cleanup later (RemovalPolicy.RETAIN).
metric(metricName: string, props?: MetricOptions): Metricdef metric(self, metric_name: str, props: typing.Optional[MetricOptions] = None) -> Metricpublic Metric metric(String metricName, MetricOptions props)public Metric Metric(string metricName, MetricOptions? props = null)func Metric(MetricName *string, Props MetricOptions) Metric#Router input metrics are dimensioned by RouterInputARN. See the MediaConnect documentation for available metric names (e.g. RouterInputBitRate, RouterInputNotRecoveredPackets).
metricBitrate(props?: MetricOptions): Metricdef metric_bitrate(self, props: typing.Optional[MetricOptions] = None) -> Metricpublic Metric metricBitrate(MetricOptions props)public Metric MetricBitrate(MetricOptions? props = null)func MetricBitrate(Props MetricOptions) Metric#metricConnected(props?: MetricOptions): Metricdef metric_connected(self, props: typing.Optional[MetricOptions] = None) -> Metricpublic Metric metricConnected(MetricOptions props)public Metric MetricConnected(MetricOptions? props = null)func MetricConnected(Props MetricOptions) Metric#Applies to SRT sources only.
metricContinuityCounterErrors(props?: MetricOptions): Metricdef metric_continuity_counter_errors(self, props: typing.Optional[MetricOptions] = None) -> Metricpublic Metric metricContinuityCounterErrors(MetricOptions props)public Metric MetricContinuityCounterErrors(MetricOptions? props = null)func MetricContinuityCounterErrors(Props MetricOptions) Metric#metricFailoverSwitches(props?: MetricOptions): Metricdef metric_failover_switches(self, props: typing.Optional[MetricOptions] = None) -> Metricpublic Metric metricFailoverSwitches(MetricOptions props)public Metric MetricFailoverSwitches(MetricOptions? props = null)func MetricFailoverSwitches(Props MetricOptions) Metric#metricLatency(props?: MetricOptions): Metricdef metric_latency(self, props: typing.Optional[MetricOptions] = None) -> Metricpublic Metric metricLatency(MetricOptions props)public Metric MetricLatency(MetricOptions? props = null)func MetricLatency(Props MetricOptions) Metric#Applies to RIST, SRT, and RTP-FEC.
metricNotRecoveredPackets(props?: MetricOptions): Metricdef metric_not_recovered_packets(self, props: typing.Optional[MetricOptions] = None) -> Metricpublic Metric metricNotRecoveredPackets(MetricOptions props)public Metric MetricNotRecoveredPackets(MetricOptions? props = null)func MetricNotRecoveredPackets(Props MetricOptions) Metric#metricTotalPackets(props?: MetricOptions): Metricdef metric_total_packets(self, props: typing.Optional[MetricOptions] = None) -> Metricpublic Metric metricTotalPackets(MetricOptions props)public Metric MetricTotalPackets(MetricOptions? props = null)func MetricTotalPackets(Props MetricOptions) Metric#with(...mixins: IMixin[]): IConstructdef with(self, mixins: IMixin) -> IConstructpublic IConstruct with(IMixin mixins)public IConstruct With(IMixin mixins)func With(Mixins IMixin) IConstruct#Mixins are applied in order. The list of constructs is captured at the start of the call, so constructs added by a mixin will not be visited.
1 parameter · returns
Parameters
mixinsmixinsmixinsmixinsMixins— The mixins to apply.
Returns: This construct for chaining