Interface CfnRouterOutput.RtmpPushRouterOutputConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRouterOutput.RtmpPushRouterOutputConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnRouterOutput
@Stability(Stable)
public static interface CfnRouterOutput.RtmpPushRouterOutputConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
The configuration settings for a router output that pushes a stream to a destination using the RTMP (Real-Time Messaging Protocol) protocol, or RTMPS (RTMP over TLS) when TLS encryption is specified.
These settings include the destination address and port, the application and stream names, and optional TLS encryption configuration.
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 public_;
RtmpPushRouterOutputConfigurationProperty rtmpPushRouterOutputConfigurationProperty = RtmpPushRouterOutputConfigurationProperty.builder()
.applicationName("applicationName")
.destinationAddress("destinationAddress")
.destinationPort(123)
.streamName("streamName")
// the properties below are optional
.tlsEncryption(TlsEncryptionProperty.builder()
.encryptionConfiguration(TlsEncryptionConfigurationProperty.builder()
.public(public_)
.build())
// the properties below are optional
.encryptionType("encryptionType")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnRouterOutput.RtmpPushRouterOutputConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The name of the RTMP application on the destination server.The IP address or hostname of the destination RTMP server that the router output pushes the stream to.The TCP port on the destination RTMP server.The name of the RTMP stream that the output publishes to the destination application.default ObjectThe Transport Layer Security (TLS) encryption settings used to establish a secure connection to a destination.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getApplicationName
The name of the RTMP application on the destination server.Together with the stream name, the application name forms the RTMP URL path, in the pattern rtmp://destinationAddress/applicationName/streamName.
- See Also:
-
getDestinationAddress
The IP address or hostname of the destination RTMP server that the router output pushes the stream to.Provide only the server address; specify the application and stream names separately.
- See Also:
-
getDestinationPort
The TCP port on the destination RTMP server.For RTMP, valid values range from 1024 to 65535. For RTMPS (RTMP over TLS), valid values are 443 or 1024 to 65535. RTMP typically uses port 1935, and RTMPS typically uses port 443.
- See Also:
-
getStreamName
The name of the RTMP stream that the output publishes to the destination application.The stream name forms the final segment of the RTMP URL path.
- See Also:
-
getTlsEncryption
The Transport Layer Security (TLS) encryption settings used to establish a secure connection to a destination.Returns union: either
IResolvableorCfnRouterOutput.TlsEncryptionProperty- See Also:
-
builder
@Stability(Stable) static CfnRouterOutput.RtmpPushRouterOutputConfigurationProperty.Builder builder()
-