class Tcs
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MediaConnect.Alpha.Tcs |
Go | github.com/aws/aws-cdk-go/awsmediaconnectalpha/v2#Tcs |
Java | software.amazon.awscdk.services.mediaconnect.alpha.Tcs |
Python | aws_cdk.aws_mediaconnect_alpha.Tcs |
TypeScript (source) | @aws-cdk/aws-mediaconnect-alpha ยป Tcs |
Options for Tcs.
Example
declare const stack: Stack;
declare const role: iam.IRole;
declare const sg1: ec2.ISecurityGroup;
declare const sg2: ec2.ISecurityGroup;
declare const subnet: ec2.ISubnet;
const efaInterface = VpcInterface.define({
vpcInterfaceName: 'efa-interface',
role: role,
securityGroups: [sg1],
subnet: subnet,
networkInterfaceType: NetworkInterface.EFA,
});
const enaInterface = VpcInterface.define({
vpcInterfaceName: 'ena-interface',
role: role,
securityGroups: [sg2],
subnet: subnet,
networkInterfaceType: NetworkInterface.ENA,
});
const videoStream = MediaStream.video({
mediaStreamId: 1,
mediaStreamName: 'video',
videoFormat: MediaVideoFormat.UHD_2160P,
fmtp: {
exactFramerate: Framerate.FPS_59_94,
par: PixelAspectRatio.SQUARE,
colorimetry: Colorimetry.BT2020,
videoRange: VideoRange.FULL,
scanMode: ScanMode.PROGRESSIVE,
tcs: Tcs.PQ,
},
});
const flow = new Flow(stack, 'MyJpegXsFlow', {
flowSize: FlowSize.LARGE_4X, // Required for JPEG XS
vpcInterfaces: [efaInterface, enaInterface],
mediaStreams: [videoStream],
source: SourceConfiguration.jpegXs({
flowSourceName: 'jpegxs-source',
maxSyncBuffer: 100,
mediaStreamSourceConfigurations: [{
encoding: Encoding.JXSV,
port: 5000,
inputInterface: [efaInterface, enaInterface], // 2 interfaces for redundancy
mediaStream: videoStream,
}],
}),
});
Properties
| Name | Type | Description |
|---|---|---|
| value | string | The TCS string value. |
| static BT2100 | Tcs | Option for BT2100LINHLG. |
| static BT2100 | Tcs | Option for BT2100LINPQ. |
| static DENSITY | Tcs | Option for Density. |
| static HLG | Tcs | Option for HLG. |
| static LINEAR | Tcs | Option for Linear. |
| static PQ | Tcs | Option for PQ. |
| static SDR | Tcs | Option for SDR. |
| static ST2065_1 | Tcs | Option for ST2065-1. |
| static ST428_1 | Tcs | Option for ST428-1. |
value
Type:
string
The TCS string value.
static BT2100LINHLG
Type:
Tcs
Option for BT2100LINHLG.
static BT2100LINPQ
Type:
Tcs
Option for BT2100LINPQ.
static DENSITY
Type:
Tcs
Option for Density.
static HLG
Type:
Tcs
Option for HLG.
static LINEAR
Type:
Tcs
Option for Linear.
static PQ
Type:
Tcs
Option for PQ.
static SDR
Type:
Tcs
Option for SDR.
static ST2065_1
Type:
Tcs
Option for ST2065-1.
static ST428_1
Type:
Tcs
Option for ST428-1.
Methods
| Name | Description |
|---|---|
| to | Returns the string value. |
| static of(value) | Use a custom TCS value. |
toString()
public toString(): string
Returns
string
Returns the string value.
static of(value)
public static of(value: string): Tcs
Parameters
- value
string
Returns
Use a custom TCS value.

.NET
Go
Java
Python
TypeScript (