Skip to content
v2.278.0

Experimental

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

WebvttDestinationProps Struct ​

Properties for WebVTT caption output.

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';

declare const webvttStyleControl: medialive_alpha.WebvttStyleControl;
const webvttDestinationProps: medialive_alpha.WebvttDestinationProps = {
  styleControl: webvttStyleControl,
};
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

# webvtt_style_control: medialive_alpha.WebvttStyleControl

webvtt_destination_props = medialive_alpha.WebvttDestinationProps(
    style_control=webvtt_style_control
)
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.*;

WebvttStyleControl webvttStyleControl;

WebvttDestinationProps webvttDestinationProps = WebvttDestinationProps.builder()
        .styleControl(webvttStyleControl)
        .build();
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;

WebvttStyleControl webvttStyleControl;

var webvttDestinationProps = new WebvttDestinationProps {
    StyleControl = webvttStyleControl
};
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"

var webvttStyleControl WebvttStyleControl

webvttDestinationProps := &WebvttDestinationProps{
	StyleControl: webvttStyleControl,
}

Properties ​

styleControloptionalWebvttStyleControlstyle_controloptionalWebvttStyleControlstyleControloptionalWebvttStyleControlStyleControloptionalWebvttStyleControlStyleControloptionalWebvttStyleControl = WebvttStyleControl.NO_STYLE_DATA #
Whether to pass through source color and position to the WebVTT output.

PASSTHROUGH is only valid for EMBEDDED or TELETEXT sources.