Skip to content
v2.277.0

Experimental

@aws-cdk/aws-mediaconnect-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

MediaStreamSourceConfigurationCdi Struct ​

Options for Media Stream Source Configuration.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as mediaconnect_alpha from '@aws-cdk/aws-mediaconnect-alpha';

declare const encoding: mediaconnect_alpha.Encoding;
declare const mediaStream: mediaconnect_alpha.MediaStream;
const mediaStreamSourceConfigurationCdi: mediaconnect_alpha.MediaStreamSourceConfigurationCdi = {
  encoding: encoding,
  mediaStream: mediaStream,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_mediaconnect_alpha as mediaconnect_alpha

# encoding: mediaconnect_alpha.Encoding
# media_stream: mediaconnect_alpha.MediaStream

media_stream_source_configuration_cdi = mediaconnect_alpha.MediaStreamSourceConfigurationCdi(
    encoding=encoding,
    media_stream=media_stream
)
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.alpha.*;

Encoding encoding;
MediaStream mediaStream;

MediaStreamSourceConfigurationCdi mediaStreamSourceConfigurationCdi = MediaStreamSourceConfigurationCdi.builder()
        .encoding(encoding)
        .mediaStream(mediaStream)
        .build();
csharp
// Install: dotnet add package Amazon.CDK.AWS.MediaConnect.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaConnect.Alpha;

Encoding encoding;
MediaStream mediaStream;

var mediaStreamSourceConfigurationCdi = new MediaStreamSourceConfigurationCdi {
    Encoding = encoding,
    MediaStream = mediaStream
};
go
// Install: go get github.com/aws/aws-cdk-go/awsmediaconnectalpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import mediaconnect_alpha "github.com/aws/aws-cdk-go/awsmediaconnectalpha"

var encoding Encoding
var mediaStream MediaStream

mediaStreamSourceConfigurationCdi := &MediaStreamSourceConfigurationCdi{
	Encoding: encoding,
	MediaStream: mediaStream,
}

Properties ​

encodingEncodingencodingEncodingencodingEncodingEncodingEncodingEncodingEncodingrequired#
The format that was used to encode the data.
notes

For ancillary data streams, set the encoding name to smpte291. If the encoding name is smpte291, set the color space to one of the following: BT601, BT709, BT2020, or BT2100. For all other ancillary data streams, set the color space to SDR-NOCOLOR.

mediaStreamMediaStreammedia_streamMediaStreammediaStreamMediaStreamMediaStreamMediaStreamMediaStreamMediaStreamrequired#
The name of the media stream.