Skip to content
v2.273.0

Experimental

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

WebvttStyleControl Class ​

Whether WebVTT passes through source style/position.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as medialive_alpha from '@aws-cdk/aws-medialive-alpha';
const webvttStyleControl = medialive_alpha.WebvttStyleControl.of('value');

Properties ​

NO_STYLE_DATAWebvttStyleControlno_style_dataWebvttStyleControlNO_STYLE_DATAWebvttStyleControlNO_STYLE_DATAWebvttStyleControlNO_STYLE_DATAWebvttStyleControlrequiredstatic#
Do not pass through style;

output contains no font styling.

PASSTHROUGHWebvttStyleControlpassthroughWebvttStyleControlPASSTHROUGHWebvttStyleControlPASSTHROUGHWebvttStyleControlPASSTHROUGHWebvttStyleControlrequiredstatic#
Pass through style (valid only for EMBEDDED or TELETEXT sources).
valuestringvaluestrvalueStringValuestringValue*stringrequired#
The underlying string value passed to CloudFormation.

Methods ​

of(value: string): WebvttStyleControl // chainable@staticmethod def of(value: str) -> WebvttStyleControlpublic static WebvttStyleControl of(String value)public static WebvttStyleControl Of(string value)func Of(Value *string) WebvttStyleControlstatic#
A value not yet modelled by AWS CDK.