Skip to content
v2.278.0

RtmpOutputSettingsProperty Struct ​

The settings for one RTMP output.

The parent of this entity is OutputSettings.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_medialive as medialive } from 'aws-cdk-lib';
const rtmpOutputSettingsProperty: medialive.CfnChannel.RtmpOutputSettingsProperty = {
  certificateMode: 'certificateMode',
  connectionRetryInterval: 123,
  destination: {
    destinationRefId: 'destinationRefId',
  },
  numRetries: 123,
};
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_medialive as medialive

rtmp_output_settings_property = medialive.CfnChannel.RtmpOutputSettingsProperty(
    certificate_mode="certificateMode",
    connection_retry_interval=123,
    destination=medialive.CfnChannel.OutputLocationRefProperty(
        destination_ref_id="destinationRefId"
    ),
    num_retries=123
)
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.medialive.*;

RtmpOutputSettingsProperty rtmpOutputSettingsProperty = RtmpOutputSettingsProperty.builder()
        .certificateMode("certificateMode")
        .connectionRetryInterval(123)
        .destination(OutputLocationRefProperty.builder()
                .destinationRefId("destinationRefId")
                .build())
        .numRetries(123)
        .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.MediaLive;

var rtmpOutputSettingsProperty = new RtmpOutputSettingsProperty {
    CertificateMode = "certificateMode",
    ConnectionRetryInterval = 123,
    Destination = new OutputLocationRefProperty {
        DestinationRefId = "destinationRefId"
    },
    NumRetries = 123
};
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"

rtmpOutputSettingsProperty := &RtmpOutputSettingsProperty{
	CertificateMode: jsii.String("certificateMode"),
	ConnectionRetryInterval: jsii.Number(123),
	Destination: &OutputLocationRefProperty{
		DestinationRefId: jsii.String("destinationRefId"),
	},
	NumRetries: jsii.Number(123),
}

Properties ​

certificateModeoptionalstringcertificate_modeoptionalstrcertificateModeoptionalStringCertificateModeoptionalstringCertificateModeoptional*string #
If set to verifyAuthenticity, verifies the TLS certificate chain to a trusted certificate authority (CA).

This causes RTMPS outputs with self-signed certificates to fail.

connectionRetryIntervaloptionalnumberconnection_retry_intervaloptionalint | floatconnectionRetryIntervaloptionalNumberConnectionRetryIntervaloptionaldoubleConnectionRetryIntervaloptional*float64 #
The number of seconds to wait before retrying a connection to the Flash Media server if the connection is lost.
destinationoptionalIResolvable | CfnChannel.OutputLocationRefPropertydestinationoptionaltyping.Union[IResolvable, OutputLocationRefProperty]destinationoptionalIResolvableDestinationoptionalIResolvableDestinationoptionalinterface{} #
The RTMP endpoint excluding the stream name (for example, rtmp://host/appname).
numRetriesoptionalnumbernum_retriesoptionalint | floatnumRetriesoptionalNumberNumRetriesoptionaldoubleNumRetriesoptional*float64 #
The number of retry attempts.