TransitionProperty Struct
Program transition configuration.
| Source | |
|---|---|
| Type last changed |
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,
};
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_mediatailor as mediatailor
transition_property = mediatailor.CfnProgram.TransitionProperty(
relative_position="relativePosition",
type="type",
# the properties below are optional
duration_millis=123,
relative_program="relativeProgram",
scheduled_start_time_millis=123
)
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.mediatailor.*;
TransitionProperty transitionProperty = TransitionProperty.builder()
.relativePosition("relativePosition")
.type("type")
// the properties below are optional
.durationMillis(123)
.relativeProgram("relativeProgram")
.scheduledStartTimeMillis(123)
.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.MediaTailor;
var transitionProperty = new TransitionProperty {
RelativePosition = "relativePosition",
Type = "type",
// the properties below are optional
DurationMillis = 123,
RelativeProgram = "relativeProgram",
ScheduledStartTimeMillis = 123
};
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"
transitionProperty := &TransitionProperty{
RelativePosition: jsii.String("relativePosition"),
Type: jsii.String("type"),
// the properties below are optional
DurationMillis: jsii.Number(123),
RelativeProgram: jsii.String("relativeProgram"),
ScheduledStartTimeMillis: jsii.Number(123),
}
Properties
durationMillisoptionalnumberduration_millisoptionalint | floatdurationMillisoptionalNumberDurationMillisoptionaldoubleDurationMillisoptional*float64 #The duration of the live program in seconds.
relativePositionstringrelative_positionstrrelativePositionStringRelativePositionstringRelativePosition*string required #The position where this program will be inserted relative to the RelativePosition.
relativeProgramoptionalstringrelative_programoptionalstrrelativeProgramoptionalStringRelativeProgramoptionalstringRelativeProgramoptional*string #The name of the program that this program will be inserted next to.
scheduledStartTimeMillisoptionalnumberscheduled_start_time_millisoptionalint | floatscheduledStartTimeMillisoptionalNumberScheduledStartTimeMillisoptionaldoubleScheduledStartTimeMillisoptional*float64 #The date and time that the program is scheduled to start, in epoch milliseconds.
Defines when the program plays in the schedule.
You can set the value to ABSOLUTE or RELATIVE.