# RtmpPushSettingsProperty

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.

- Source: Generated at build time
- Type last changed: v2.278.0 · 20 Nov 2026

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
    }
};
```

Golang:

```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

- `applicationName`: 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.

- `streamName`: 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.

- `tlsEncryption`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnFlowOutput.TlsEncryptionProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediaconnect.CfnFlowOutput.TlsEncryptionProperty.html) — The Transport Layer Security (TLS) encryption settings used to establish a secure connection to a destination.
