Skip to content
v2.277.0

TeletextSourceSettingsProperty Struct ​

Information about the Teletext captions to extract from the input.

The parent of this entity is CaptionSelectorSettings.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_medialive as medialive } from 'aws-cdk-lib';
const teletextSourceSettingsProperty: medialive.CfnChannel.TeletextSourceSettingsProperty = {
  outputRectangle: {
    height: 123,
    leftOffset: 123,
    topOffset: 123,
    width: 123,
  },
  pageNumber: 'pageNumber',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_medialive as medialive

teletext_source_settings_property = medialive.CfnChannel.TeletextSourceSettingsProperty(
    output_rectangle=medialive.CfnChannel.CaptionRectangleProperty(
        height=123,
        left_offset=123,
        top_offset=123,
        width=123
    ),
    page_number="pageNumber"
)
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.*;

TeletextSourceSettingsProperty teletextSourceSettingsProperty = TeletextSourceSettingsProperty.builder()
        .outputRectangle(CaptionRectangleProperty.builder()
                .height(123)
                .leftOffset(123)
                .topOffset(123)
                .width(123)
                .build())
        .pageNumber("pageNumber")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaLive;

var teletextSourceSettingsProperty = new TeletextSourceSettingsProperty {
    OutputRectangle = new CaptionRectangleProperty {
        Height = 123,
        LeftOffset = 123,
        TopOffset = 123,
        Width = 123
    },
    PageNumber = "pageNumber"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

teletextSourceSettingsProperty := &TeletextSourceSettingsProperty{
	OutputRectangle: &CaptionRectangleProperty{
		Height: jsii.Number(123),
		LeftOffset: jsii.Number(123),
		TopOffset: jsii.Number(123),
		Width: jsii.Number(123),
	},
	PageNumber: jsii.String("pageNumber"),
}

Properties ​

outputRectangleoptionalIResolvable | CfnChannel.CaptionRectanglePropertyoutput_rectangleoptionaltyping.Union[IResolvable, CaptionRectangleProperty]outputRectangleoptionalIResolvableOutputRectangleoptionalIResolvableOutputRectangleoptionalinterface{}#
Settings to configure the caption rectangle for an output captions that will be created using this Teletext source captions.
pageNumberoptionalstringpage_numberoptionalstrpageNumberoptionalStringPageNumberoptionalstringPageNumberoptional*string#
Specifies the Teletext page number within the data stream from which to extract captions.

The range is 0x100 (256) to 0x8FF (2303). This is unused for passthrough. It should be specified as a hexadecimal string with no "0x" prefix.