Class CfnRouterInput

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, IEnvironmentAware, IRouterInputRef, ITaggableV2, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)", date="2025-11-20T23:37:25.032Z") @Stability(Stable) public class CfnRouterInput extends CfnResource implements IInspectable, IRouterInputRef, ITaggableV2
Represents a router input in AWS Elemental MediaConnect that is used to ingest content to be transmitted to router outputs.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.mediaconnect.*;
 Object automatic;
 Object default_;
 CfnRouterInput cfnRouterInput = CfnRouterInput.Builder.create(this, "MyCfnRouterInput")
         .configuration(RouterInputConfigurationProperty.builder()
                 .failover(FailoverRouterInputConfigurationProperty.builder()
                         .networkInterfaceArn("networkInterfaceArn")
                         .protocolConfigurations(List.of(FailoverRouterInputProtocolConfigurationProperty.builder()
                                 .rist(RistRouterInputConfigurationProperty.builder()
                                         .port(123)
                                         .recoveryLatencyMilliseconds(123)
                                         .build())
                                 .rtp(RtpRouterInputConfigurationProperty.builder()
                                         .port(123)
                                         // the properties below are optional
                                         .forwardErrorCorrection("forwardErrorCorrection")
                                         .build())
                                 .srtCaller(SrtCallerRouterInputConfigurationProperty.builder()
                                         .minimumLatencyMilliseconds(123)
                                         .sourceAddress("sourceAddress")
                                         .sourcePort(123)
                                         // the properties below are optional
                                         .decryptionConfiguration(SrtDecryptionConfigurationProperty.builder()
                                                 .encryptionKey(SecretsManagerEncryptionKeyConfigurationProperty.builder()
                                                         .roleArn("roleArn")
                                                         .secretArn("secretArn")
                                                         .build())
                                                 .build())
                                         .streamId("streamId")
                                         .build())
                                 .srtListener(SrtListenerRouterInputConfigurationProperty.builder()
                                         .minimumLatencyMilliseconds(123)
                                         .port(123)
                                         // the properties below are optional
                                         .decryptionConfiguration(SrtDecryptionConfigurationProperty.builder()
                                                 .encryptionKey(SecretsManagerEncryptionKeyConfigurationProperty.builder()
                                                         .roleArn("roleArn")
                                                         .secretArn("secretArn")
                                                         .build())
                                                 .build())
                                         .build())
                                 .build()))
                         .sourcePriorityMode("sourcePriorityMode")
                         // the properties below are optional
                         .primarySourceIndex(123)
                         .build())
                 .mediaConnectFlow(MediaConnectFlowRouterInputConfigurationProperty.builder()
                         .sourceTransitDecryption(FlowTransitEncryptionProperty.builder()
                                 .encryptionKeyConfiguration(FlowTransitEncryptionKeyConfigurationProperty.builder()
                                         .automatic(automatic)
                                         .secretsManager(SecretsManagerEncryptionKeyConfigurationProperty.builder()
                                                 .roleArn("roleArn")
                                                 .secretArn("secretArn")
                                                 .build())
                                         .build())
                                 // the properties below are optional
                                 .encryptionKeyType("encryptionKeyType")
                                 .build())
                         // the properties below are optional
                         .flowArn("flowArn")
                         .flowOutputArn("flowOutputArn")
                         .build())
                 .merge(MergeRouterInputConfigurationProperty.builder()
                         .mergeRecoveryWindowMilliseconds(123)
                         .networkInterfaceArn("networkInterfaceArn")
                         .protocolConfigurations(List.of(MergeRouterInputProtocolConfigurationProperty.builder()
                                 .rist(RistRouterInputConfigurationProperty.builder()
                                         .port(123)
                                         .recoveryLatencyMilliseconds(123)
                                         .build())
                                 .rtp(RtpRouterInputConfigurationProperty.builder()
                                         .port(123)
                                         // the properties below are optional
                                         .forwardErrorCorrection("forwardErrorCorrection")
                                         .build())
                                 .build()))
                         .build())
                 .standard(StandardRouterInputConfigurationProperty.builder()
                         .networkInterfaceArn("networkInterfaceArn")
                         .protocolConfiguration(RouterInputProtocolConfigurationProperty.builder()
                                 .rist(RistRouterInputConfigurationProperty.builder()
                                         .port(123)
                                         .recoveryLatencyMilliseconds(123)
                                         .build())
                                 .rtp(RtpRouterInputConfigurationProperty.builder()
                                         .port(123)
                                         // the properties below are optional
                                         .forwardErrorCorrection("forwardErrorCorrection")
                                         .build())
                                 .srtCaller(SrtCallerRouterInputConfigurationProperty.builder()
                                         .minimumLatencyMilliseconds(123)
                                         .sourceAddress("sourceAddress")
                                         .sourcePort(123)
                                         // the properties below are optional
                                         .decryptionConfiguration(SrtDecryptionConfigurationProperty.builder()
                                                 .encryptionKey(SecretsManagerEncryptionKeyConfigurationProperty.builder()
                                                         .roleArn("roleArn")
                                                         .secretArn("secretArn")
                                                         .build())
                                                 .build())
                                         .streamId("streamId")
                                         .build())
                                 .srtListener(SrtListenerRouterInputConfigurationProperty.builder()
                                         .minimumLatencyMilliseconds(123)
                                         .port(123)
                                         // the properties below are optional
                                         .decryptionConfiguration(SrtDecryptionConfigurationProperty.builder()
                                                 .encryptionKey(SecretsManagerEncryptionKeyConfigurationProperty.builder()
                                                         .roleArn("roleArn")
                                                         .secretArn("secretArn")
                                                         .build())
                                                 .build())
                                         .build())
                                 .build())
                         // the properties below are optional
                         .protocol("protocol")
                         .build())
                 .build())
         .maximumBitrate(123)
         .name("name")
         .routingScope("routingScope")
         .tier("tier")
         // the properties below are optional
         .availabilityZone("availabilityZone")
         .maintenanceConfiguration(MaintenanceConfigurationProperty.builder()
                 .default(default_)
                 .preferredDayTime(PreferredDayTimeMaintenanceConfigurationProperty.builder()
                         .day("day")
                         .time("time")
                         .build())
                 .build())
         .regionName("regionName")
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .transitEncryption(RouterInputTransitEncryptionProperty.builder()
                 .encryptionKeyConfiguration(RouterInputTransitEncryptionKeyConfigurationProperty.builder()
                         .automatic(automatic)
                         .secretsManager(SecretsManagerEncryptionKeyConfigurationProperty.builder()
                                 .roleArn("roleArn")
                                 .secretArn("secretArn")
                                 .build())
                         .build())
                 // the properties below are optional
                 .encryptionKeyType("encryptionKeyType")
                 .build())
         .build();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnRouterInput

      protected CfnRouterInput(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnRouterInput

      protected CfnRouterInput(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnRouterInput

      @Stability(Stable) public CfnRouterInput(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnRouterInputProps props)
      Create a new AWS::MediaConnect::RouterInput.

      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties. This parameter is required.
  • Method Details

    • arnForRouterInput

      @Stability(Stable) @NotNull public static String arnForRouterInput(@NotNull IRouterInputRef resource)
      Parameters:
      resource - This parameter is required.
    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrArn

      @Stability(Stable) @NotNull public String getAttrArn()
    • getAttrCreatedAt

      @Stability(Stable) @NotNull public String getAttrCreatedAt()
      The timestamp when the router input was created.
    • getAttrId

      @Stability(Stable) @NotNull public String getAttrId()
      The unique identifier of the router input.
    • getAttrInputType

      @Stability(Stable) @NotNull public String getAttrInputType()
    • getAttrIpAddress

      @Stability(Stable) @NotNull public String getAttrIpAddress()
      The IP address of the router input.
    • getAttrMaintenanceType

      @Stability(Stable) @NotNull public String getAttrMaintenanceType()
    • getAttrRoutedOutputs

      @Stability(Stable) @NotNull public Number getAttrRoutedOutputs()
      The number of router outputs associated with the router input.
    • getAttrState

      @Stability(Stable) @NotNull public String getAttrState()
    • getAttrUpdatedAt

      @Stability(Stable) @NotNull public String getAttrUpdatedAt()
      The timestamp when the router input was last updated.
    • getCdkTagManager

      @Stability(Stable) @NotNull public TagManager getCdkTagManager()
      Tag Manager which manages the tags for this resource.
      Specified by:
      getCdkTagManager in interface ITaggableV2
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getRouterInputRef

      @Stability(Stable) @NotNull public RouterInputReference getRouterInputRef()
      A reference to a RouterInput resource.
      Specified by:
      getRouterInputRef in interface IRouterInputRef
    • getConfiguration

      @Stability(Stable) @NotNull public Object getConfiguration()
      The configuration settings for a router input.

      Returns union: either IResolvable or CfnRouterInput.RouterInputConfigurationProperty

    • setConfiguration

      @Stability(Stable) public void setConfiguration(@NotNull IResolvable value)
      The configuration settings for a router input.
    • setConfiguration

      @Stability(Stable) public void setConfiguration(@NotNull CfnRouterInput.RouterInputConfigurationProperty value)
      The configuration settings for a router input.
    • getMaximumBitrate

      @Stability(Stable) @NotNull public Number getMaximumBitrate()
      The maximum bitrate for the router input.
    • setMaximumBitrate

      @Stability(Stable) public void setMaximumBitrate(@NotNull Number value)
      The maximum bitrate for the router input.
    • getName

      @Stability(Stable) @NotNull public String getName()
      The name of the router input.
    • setName

      @Stability(Stable) public void setName(@NotNull String value)
      The name of the router input.
    • getRoutingScope

      @Stability(Stable) @NotNull public String getRoutingScope()
    • setRoutingScope

      @Stability(Stable) public void setRoutingScope(@NotNull String value)
    • getTier

      @Stability(Stable) @NotNull public String getTier()
    • setTier

      @Stability(Stable) public void setTier(@NotNull String value)
    • getAvailabilityZone

      @Stability(Stable) @Nullable public String getAvailabilityZone()
      The Availability Zone where you want to create the router input.
    • setAvailabilityZone

      @Stability(Stable) public void setAvailabilityZone(@Nullable String value)
      The Availability Zone where you want to create the router input.
    • getMaintenanceConfiguration

      @Stability(Stable) @Nullable public Object getMaintenanceConfiguration()
      The configuration settings for maintenance operations, including preferred maintenance windows and schedules.

      Returns union: either IResolvable or CfnRouterInput.MaintenanceConfigurationProperty

    • setMaintenanceConfiguration

      @Stability(Stable) public void setMaintenanceConfiguration(@Nullable IResolvable value)
      The configuration settings for maintenance operations, including preferred maintenance windows and schedules.
    • setMaintenanceConfiguration

      @Stability(Stable) public void setMaintenanceConfiguration(@Nullable CfnRouterInput.MaintenanceConfigurationProperty value)
      The configuration settings for maintenance operations, including preferred maintenance windows and schedules.
    • getRegionName

      @Stability(Stable) @Nullable public String getRegionName()
      The AWS Region for the router input.
    • setRegionName

      @Stability(Stable) public void setRegionName(@Nullable String value)
      The AWS Region for the router input.
    • getTags

      @Stability(Stable) @Nullable public List<CfnTag> getTags()
      Key-value pairs that can be used to tag and organize this router input.
    • setTags

      @Stability(Stable) public void setTags(@Nullable List<CfnTag> value)
      Key-value pairs that can be used to tag and organize this router input.
    • getTransitEncryption

      @Stability(Stable) @Nullable public Object getTransitEncryption()
      Information about the encryption of the flow.

      Returns union: either IResolvable or CfnRouterInput.RouterInputTransitEncryptionProperty

    • setTransitEncryption

      @Stability(Stable) public void setTransitEncryption(@Nullable IResolvable value)
      Information about the encryption of the flow.
    • setTransitEncryption

      @Stability(Stable) public void setTransitEncryption(@Nullable CfnRouterInput.RouterInputTransitEncryptionProperty value)
      Information about the encryption of the flow.