Experimental
@aws-cdk/aws-medialive-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
TtmlStyleControl Class
Whether TTML passes through source style/position.
| Stability | Experimental |
|---|---|
| Source | lib/caption-settings.ts |
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 ttmlStyleControl = medialive_alpha.TtmlStyleControl.of('value');
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_medialive_alpha as medialive_alpha
ttml_style_control = medialive_alpha.TtmlStyleControl.of("value")
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.medialive.alpha.*;
TtmlStyleControl ttmlStyleControl = TtmlStyleControl.of("value");
csharp
// Install: dotnet add package Amazon.CDK.AWS.MediaLive.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaLive.Alpha;
var ttmlStyleControl = TtmlStyleControl.Of("value");
go
// Install: go get github.com/aws/aws-cdk-go/awsmedialivealpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import medialive_alpha "github.com/aws/aws-cdk-go/awsmedialivealpha"
ttmlStyleControl := medialive_alpha.TtmlStyleControl_Of(jsii.String("value"))
Properties
PASSTHROUGHTtmlStyleControlPASSTHROUGHTtmlStyleControlPASSTHROUGHTtmlStyleControlPASSTHROUGHTtmlStyleControlPASSTHROUGHTtmlStyleControl static #Pass through style and position from a TTML-like source.
USE_CONFIGUREDTtmlStyleControlUSE_CONFIGUREDTtmlStyleControlUSE_CONFIGUREDTtmlStyleControlUSE_CONFIGUREDTtmlStyleControlUSE_CONFIGUREDTtmlStyleControl static #Use the configured style.
The underlying string value passed to CloudFormation.
Methods
of(value: string): TtmlStyleControl // chainable@staticmethod def of(value: str) -> TtmlStyleControlpublic static TtmlStyleControl of(String value)public static TtmlStyleControl Of(string value)func Of(Value *string) TtmlStyleControl static #A value not yet modelled by AWS CDK.