interface MediaStreamSourceConfigurationJpegXs
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MediaConnect.Alpha.MediaStreamSourceConfigurationJpegXs |
Go | github.com/aws/aws-cdk-go/awsmediaconnectalpha/v2#MediaStreamSourceConfigurationJpegXs |
Java | software.amazon.awscdk.services.mediaconnect.alpha.MediaStreamSourceConfigurationJpegXs |
Python | aws_cdk.aws_mediaconnect_alpha.MediaStreamSourceConfigurationJpegXs |
TypeScript (source) | @aws-cdk/aws-mediaconnect-alpha ยป MediaStreamSourceConfigurationJpegXs |
Options for Media Stream Source Configuration.
Example
// 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
| Name | Type | Description |
|---|---|---|
| encoding | Encoding | The format that was used to encode the data. |
| input | Vpc[] | The VPC interfaces where the media stream comes in from. |
| media | Media | The name of the media stream. |
| port | number | The port that the flow listens on for this incoming media stream. |
encoding
Type:
Encoding
The format that was used to encode the data.
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.
inputInterface
Type:
Vpc[]
The VPC interfaces where the media stream comes in from.
mediaStream
Type:
Media
The name of the media stream.
port
Type:
number
The port that the flow listens on for this incoming media stream.

.NET
Go
Java
Python
TypeScript (