Skip to content
v2.278.0

MediaStreamOutputConfigurationProperty Struct ​

The media stream that is associated with the output, and the parameters for that association.

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';
const mediaStreamOutputConfigurationProperty: mediaconnect.CfnFlowOutput.MediaStreamOutputConfigurationProperty = {
  encodingName: 'encodingName',
  mediaStreamName: 'mediaStreamName',

  // the properties below are optional
  destinationConfigurations: [{
    destinationIp: 'destinationIp',
    destinationPort: 123,
    interface: {
      name: 'name',
    },
  }],
  encodingParameters: {
    compressionFactor: 123,

    // the properties below are optional
    encoderProfile: 'encoderProfile',
  },
};
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

media_stream_output_configuration_property = mediaconnect.CfnFlowOutput.MediaStreamOutputConfigurationProperty(
    encoding_name="encodingName",
    media_stream_name="mediaStreamName",

    # the properties below are optional
    destination_configurations=[mediaconnect.CfnFlowOutput.DestinationConfigurationProperty(
        destination_ip="destinationIp",
        destination_port=123,
        interface=mediaconnect.CfnFlowOutput.InterfaceProperty(
            name="name"
        )
    )],
    encoding_parameters=mediaconnect.CfnFlowOutput.EncodingParametersProperty(
        compression_factor=123,

        # the properties below are optional
        encoder_profile="encoderProfile"
    )
)
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.*;

MediaStreamOutputConfigurationProperty mediaStreamOutputConfigurationProperty = MediaStreamOutputConfigurationProperty.builder()
        .encodingName("encodingName")
        .mediaStreamName("mediaStreamName")

        // the properties below are optional
        .destinationConfigurations(List.of(DestinationConfigurationProperty.builder()
                .destinationIp("destinationIp")
                .destinationPort(123)
                .interface(InterfaceProperty.builder()
                        .name("name")
                        .build())
                .build()))
        .encodingParameters(EncodingParametersProperty.builder()
                .compressionFactor(123)

                // the properties below are optional
                .encoderProfile("encoderProfile")
                .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 mediaStreamOutputConfigurationProperty = new MediaStreamOutputConfigurationProperty {
    EncodingName = "encodingName",
    MediaStreamName = "mediaStreamName",

    // the properties below are optional
    DestinationConfigurations = new [] { new DestinationConfigurationProperty {
        DestinationIp = "destinationIp",
        DestinationPort = 123,
        Interface = new InterfaceProperty {
            Name = "name"
        }
    } },
    EncodingParameters = new EncodingParametersProperty {
        CompressionFactor = 123,

        // the properties below are optional
        EncoderProfile = "encoderProfile"
    }
};
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"

mediaStreamOutputConfigurationProperty := &MediaStreamOutputConfigurationProperty{
	EncodingName: jsii.String("encodingName"),
	MediaStreamName: jsii.String("mediaStreamName"),

	// the properties below are optional
	DestinationConfigurations: []interface{}{
		&DestinationConfigurationProperty{
			DestinationIp: jsii.String("destinationIp"),
			DestinationPort: jsii.Number(123),
			Interface: &InterfaceProperty{
				Name: jsii.String("name"),
			},
		},
	},
	EncodingParameters: &EncodingParametersProperty{
		CompressionFactor: jsii.Number(123),

		// the properties below are optional
		EncoderProfile: jsii.String("encoderProfile"),
	},
}

Properties ​

destinationConfigurationsoptionalIResolvable | IResolvable | CfnFlowOutput.DestinationConfigurationProperty[]destination_configurationsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, DestinationConfigurationProperty]]]destinationConfigurationsoptionalIResolvableDestinationConfigurationsoptionalIResolvableDestinationConfigurationsoptionalinterface{} #
The transport parameters that are associated with each outbound media stream.
encodingNamestringencoding_namestrencodingNameStringEncodingNamestringEncodingName*string required #
The format that was used to encode the data.

For ancillary data streams, set the encoding name to smpte291. For audio streams, set the encoding name to pcm. For video, 2110 streams, set the encoding name to raw. For video, JPEG XS streams, set the encoding name to jxsv.

encodingParametersoptionalIResolvable | CfnFlowOutput.EncodingParametersPropertyencoding_parametersoptionaltyping.Union[IResolvable, EncodingParametersProperty]encodingParametersoptionalIResolvableEncodingParametersoptionalIResolvableEncodingParametersoptionalinterface{} #
A collection of parameters that determine how MediaConnect will convert the content.

These fields only apply to outputs on flows that have a CDI source.

mediaStreamNamestringmedia_stream_namestrmediaStreamNameStringMediaStreamNamestringMediaStreamName*string required #
The name of the media stream.