Skip to content
v2.277.0

Experimental

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

TimecodeBurninSettings Struct ​

Settings for burning a timecode overlay into the video 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 timecodeBurninFontSize: medialive_alpha.TimecodeBurninFontSize;
declare const timecodeBurninPosition: medialive_alpha.TimecodeBurninPosition;
const timecodeBurninSettings: medialive_alpha.TimecodeBurninSettings = {
  fontSize: timecodeBurninFontSize,
  position: timecodeBurninPosition,
  prefix: 'prefix',
};
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

# timecode_burnin_font_size: medialive_alpha.TimecodeBurninFontSize
# timecode_burnin_position: medialive_alpha.TimecodeBurninPosition

timecode_burnin_settings = medialive_alpha.TimecodeBurninSettings(
    font_size=timecode_burnin_font_size,
    position=timecode_burnin_position,
    prefix="prefix"
)
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.*;

TimecodeBurninFontSize timecodeBurninFontSize;
TimecodeBurninPosition timecodeBurninPosition;

TimecodeBurninSettings timecodeBurninSettings = TimecodeBurninSettings.builder()
        .fontSize(timecodeBurninFontSize)
        .position(timecodeBurninPosition)
        .prefix("prefix")
        .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;

TimecodeBurninFontSize timecodeBurninFontSize;
TimecodeBurninPosition timecodeBurninPosition;

var timecodeBurninSettings = new TimecodeBurninSettings {
    FontSize = timecodeBurninFontSize,
    Position = timecodeBurninPosition,
    Prefix = "prefix"
};
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 timecodeBurninFontSize TimecodeBurninFontSize
var timecodeBurninPosition TimecodeBurninPosition

timecodeBurninSettings := &TimecodeBurninSettings{
	FontSize: timecodeBurninFontSize,
	Position: timecodeBurninPosition,
	Prefix: jsii.String("prefix"),
}

Properties ​

fontSizeoptionalTimecodeBurninFontSizefont_sizeoptionalTimecodeBurninFontSizefontSizeoptionalTimecodeBurninFontSizeFontSizeoptionalTimecodeBurninFontSizeFontSizeoptionalTimecodeBurninFontSize#
The font size of the timecode overlay.

Default: service default

positionoptionalTimecodeBurninPositionpositionoptionalTimecodeBurninPositionpositionoptionalTimecodeBurninPositionPositionoptionalTimecodeBurninPositionPositionoptionalTimecodeBurninPosition#
The position of the timecode overlay on the video.

Default: service default

prefixoptionalstringprefixoptionalstrprefixoptionalStringPrefixoptionalstringPrefixoptional*string#
A string prepended to the timecode (e.g. a channel name).

Default: no prefix