Skip to content
v2.273.0

TransitionProperty Struct Added in v2.273.0 ​

Program transition configuration.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_mediatailor as mediatailor } from 'aws-cdk-lib';
const transitionProperty: mediatailor.CfnProgram.TransitionProperty = {
  relativePosition: 'relativePosition',
  type: 'type',

  // the properties below are optional
  durationMillis: 123,
  relativeProgram: 'relativeProgram',
  scheduledStartTimeMillis: 123,
};

Properties ​

durationMillisnumberduration_millisint | floatdurationMillisNumberDurationMillisdoubleDurationMillis*float64#
The duration of the live program in seconds.
relativePositionstringrelative_positionstrrelativePositionStringRelativePositionstringRelativePosition*stringrequired#
The position where this program will be inserted relative to the RelativePosition.
relativeProgramstringrelative_programstrrelativeProgramStringRelativeProgramstringRelativeProgram*string#
The name of the program that this program will be inserted next to.
scheduledStartTimeMillisnumberscheduled_start_time_millisint | floatscheduledStartTimeMillisNumberScheduledStartTimeMillisdoubleScheduledStartTimeMillis*float64#
The date and time that the program is scheduled to start, in epoch milliseconds.
typestringtypestrtypeStringTypestringType*stringrequired#
Defines when the program plays in the schedule.

You can set the value to ABSOLUTE or RELATIVE.