Class CfnRouterOutput

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, IEnvironmentAware, IRouterOutputRef, 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.049Z") @Stability(Stable) public class CfnRouterOutput extends CfnResource implements IInspectable, IRouterOutputRef, ITaggableV2
Represents a router input in AWS Elemental MediaConnect that can be used to egress content transmitted from router inputs.

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_;
 CfnRouterOutput cfnRouterOutput = CfnRouterOutput.Builder.create(this, "MyCfnRouterOutput")
         .configuration(RouterOutputConfigurationProperty.builder()
                 .mediaConnectFlow(MediaConnectFlowRouterOutputConfigurationProperty.builder()
                         .destinationTransitEncryption(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")
                         .flowSourceArn("flowSourceArn")
                         .build())
                 .mediaLiveInput(MediaLiveInputRouterOutputConfigurationProperty.builder()
                         .destinationTransitEncryption(MediaLiveTransitEncryptionProperty.builder()
                                 .encryptionKeyConfiguration(MediaLiveTransitEncryptionKeyConfigurationProperty.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
                         .mediaLiveInputArn("mediaLiveInputArn")
                         .mediaLivePipelineId("mediaLivePipelineId")
                         .build())
                 .standard(StandardRouterOutputConfigurationProperty.builder()
                         .networkInterfaceArn("networkInterfaceArn")
                         .protocolConfiguration(RouterOutputProtocolConfigurationProperty.builder()
                                 .rist(RistRouterOutputConfigurationProperty.builder()
                                         .destinationAddress("destinationAddress")
                                         .destinationPort(123)
                                         .build())
                                 .rtp(RtpRouterOutputConfigurationProperty.builder()
                                         .destinationAddress("destinationAddress")
                                         .destinationPort(123)
                                         // the properties below are optional
                                         .forwardErrorCorrection("forwardErrorCorrection")
                                         .build())
                                 .srtCaller(SrtCallerRouterOutputConfigurationProperty.builder()
                                         .destinationAddress("destinationAddress")
                                         .destinationPort(123)
                                         .minimumLatencyMilliseconds(123)
                                         // the properties below are optional
                                         .encryptionConfiguration(SrtEncryptionConfigurationProperty.builder()
                                                 .encryptionKey(SecretsManagerEncryptionKeyConfigurationProperty.builder()
                                                         .roleArn("roleArn")
                                                         .secretArn("secretArn")
                                                         .build())
                                                 .build())
                                         .streamId("streamId")
                                         .build())
                                 .srtListener(SrtListenerRouterOutputConfigurationProperty.builder()
                                         .minimumLatencyMilliseconds(123)
                                         .port(123)
                                         // the properties below are optional
                                         .encryptionConfiguration(SrtEncryptionConfigurationProperty.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()))
         .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

    • CfnRouterOutput

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

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

      @Stability(Stable) public CfnRouterOutput(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnRouterOutputProps props)
      Create a new AWS::MediaConnect::RouterOutput.

      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

    • arnForRouterOutput

      @Stability(Stable) @NotNull public static String arnForRouterOutput(@NotNull IRouterOutputRef 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 output was created.
    • getAttrId

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

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

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

      @Stability(Stable) @NotNull public String getAttrOutputType()
    • getAttrRoutedState

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

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

      @Stability(Stable) @NotNull public String getAttrUpdatedAt()
      The timestamp when the router output 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
    • getRouterOutputRef

      @Stability(Stable) @NotNull public RouterOutputReference getRouterOutputRef()
      A reference to a RouterOutput resource.
      Specified by:
      getRouterOutputRef in interface IRouterOutputRef
    • getConfiguration

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

      Returns union: either IResolvable or CfnRouterOutput.RouterOutputConfigurationProperty

    • setConfiguration

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

      @Stability(Stable) public void setConfiguration(@NotNull CfnRouterOutput.RouterOutputConfigurationProperty value)
      The configuration settings for a router output.
    • getMaximumBitrate

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

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

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

      @Stability(Stable) public void setName(@NotNull String value)
      The name of the router output.
    • 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 output.
    • setAvailabilityZone

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

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

      Returns union: either IResolvable or CfnRouterOutput.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 CfnRouterOutput.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 output.
    • setRegionName

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

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

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