Experimental
@aws-cdk/aws-mediaconnect-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
MediaStreamSourceConfigurationJpegXs 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';
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
import { aws_iam as iam } from 'aws-cdk-lib';
declare const encoding: mediaconnect_alpha.Encoding;
declare const mediaStream: mediaconnect_alpha.MediaStream;
declare const networkInterface: mediaconnect_alpha.NetworkInterface;
declare const role: iam.Role;
declare const securityGroup: ec2.SecurityGroup;
declare const subnet: ec2.Subnet;
const mediaStreamSourceConfigurationJpegXs: mediaconnect_alpha.MediaStreamSourceConfigurationJpegXs = {
encoding: encoding,
inputInterface: [{
name: 'name',
role: role,
securityGroups: [securityGroup],
subnet: subnet,
// the properties below are optional
networkInterfaceIds: ['networkInterfaceIds'],
networkInterfaceType: networkInterface,
}],
mediaStream: mediaStream,
port: 123,
};
Properties
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.
inputInterfaceVpcInterfaceConfig[]input_interfacetyping.List[VpcInterfaceConfig]inputInterfaceList<VpcInterfaceConfig>InputInterfaceVpcInterfaceConfig[]InputInterface*[]VpcInterfaceConfigrequired#The VPC interfaces where the media stream comes in from.
mediaStreamMediaStreammedia_streamMediaStreammediaStreamMediaStreamMediaStreamMediaStreamMediaStreamMediaStreamrequired#The name of the media stream.
The port that the flow listens on for this incoming media stream.