Skip to content
v2.278.0

RtmpPushSettingsProperty Struct Added in v2.278.0 ​

The settings for an 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 application and stream names, and optional TLS encryption configuration.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_mediaconnect as mediaconnect } from 'aws-cdk-lib';

declare const public_: any;
const rtmpPushSettingsProperty: mediaconnect.CfnFlowOutput.RtmpPushSettingsProperty = {
  applicationName: 'applicationName',
  streamName: 'streamName',

  // the properties below are optional
  tlsEncryption: {
    encryptionConfiguration: {
      public: public_,
    },

    // the properties below are optional
    encryptionType: 'encryptionType',
  },
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_mediaconnect as mediaconnect

# public_: Any

rtmp_push_settings_property = mediaconnect.CfnFlowOutput.RtmpPushSettingsProperty(
    application_name="applicationName",
    stream_name="streamName",

    # the properties below are optional
    tls_encryption=mediaconnect.CfnFlowOutput.TlsEncryptionProperty(
        encryption_configuration=mediaconnect.CfnFlowOutput.TlsEncryptionConfigurationProperty(
            public=public_
        ),

        # the properties below are optional
        encryption_type="encryptionType"
    )
)
java
// 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_;

RtmpPushSettingsProperty rtmpPushSettingsProperty = RtmpPushSettingsProperty.builder()
        .applicationName("applicationName")
        .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();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaConnect;

var public_;

var rtmpPushSettingsProperty = new RtmpPushSettingsProperty {
    ApplicationName = "applicationName",
    StreamName = "streamName",

    // the properties below are optional
    TlsEncryption = new TlsEncryptionProperty {
        EncryptionConfiguration = new TlsEncryptionConfigurationProperty {
            Public = public_
        },

        // the properties below are optional
        EncryptionType = "encryptionType"
    }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

var public_ interface{}

rtmpPushSettingsProperty := &RtmpPushSettingsProperty{
	ApplicationName: jsii.String("applicationName"),
	StreamName: jsii.String("streamName"),

	// the properties below are optional
	TlsEncryption: &TlsEncryptionProperty{
		EncryptionConfiguration: &TlsEncryptionConfigurationProperty{
			Public: public_,
		},

		// the properties below are optional
		EncryptionType: jsii.String("encryptionType"),
	},
}

Properties ​

applicationNamestringapplication_namestrapplicationNameStringApplicationNamestringApplicationName*string required #
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.

streamNamestringstream_namestrstreamNameStringStreamNamestringStreamName*string required #
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.

tlsEncryptionoptionalIResolvable | CfnFlowOutput.TlsEncryptionPropertytls_encryptionoptionaltyping.Union[IResolvable, TlsEncryptionProperty]tlsEncryptionoptionalIResolvableTlsEncryptionoptionalIResolvableTlsEncryptionoptionalinterface{} #
The Transport Layer Security (TLS) encryption settings used to establish a secure connection to a destination.