ScheduleConfigurationProperty Struct
Schedule configuration parameters.
| 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 scheduleConfigurationProperty: mediatailor.CfnProgram.ScheduleConfigurationProperty = {
transition: {
relativePosition: 'relativePosition',
type: 'type',
// the properties below are optional
durationMillis: 123,
relativeProgram: 'relativeProgram',
scheduledStartTimeMillis: 123,
},
// the properties below are optional
clipRange: {
endOffsetMillis: 123,
startOffsetMillis: 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
schedule_configuration_property = mediatailor.CfnProgram.ScheduleConfigurationProperty(
transition=mediatailor.CfnProgram.TransitionProperty(
relative_position="relativePosition",
type="type",
# the properties below are optional
duration_millis=123,
relative_program="relativeProgram",
scheduled_start_time_millis=123
),
# the properties below are optional
clip_range=mediatailor.CfnProgram.ClipRangeProperty(
end_offset_millis=123,
start_offset_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.*;
ScheduleConfigurationProperty scheduleConfigurationProperty = ScheduleConfigurationProperty.builder()
.transition(TransitionProperty.builder()
.relativePosition("relativePosition")
.type("type")
// the properties below are optional
.durationMillis(123)
.relativeProgram("relativeProgram")
.scheduledStartTimeMillis(123)
.build())
// the properties below are optional
.clipRange(ClipRangeProperty.builder()
.endOffsetMillis(123)
.startOffsetMillis(123)
.build())
.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 scheduleConfigurationProperty = new ScheduleConfigurationProperty {
Transition = new TransitionProperty {
RelativePosition = "relativePosition",
Type = "type",
// the properties below are optional
DurationMillis = 123,
RelativeProgram = "relativeProgram",
ScheduledStartTimeMillis = 123
},
// the properties below are optional
ClipRange = new ClipRangeProperty {
EndOffsetMillis = 123,
StartOffsetMillis = 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"
scheduleConfigurationProperty := &ScheduleConfigurationProperty{
Transition: &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),
},
// the properties below are optional
ClipRange: &ClipRangeProperty{
EndOffsetMillis: jsii.Number(123),
StartOffsetMillis: jsii.Number(123),
},
}
Properties
clipRangeoptionalIResolvable | CfnProgram.ClipRangePropertyclip_rangeoptionaltyping.Union[IResolvable, ClipRangeProperty]clipRangeoptionalIResolvableClipRangeoptionalIResolvableClipRangeoptionalinterface{} #Clip range configuration for the VOD source associated with the program.
transitionIResolvable | CfnProgram.TransitionPropertytransitiontyping.Union[IResolvable, TransitionProperty]transitionIResolvableTransitionIResolvableTransitioninterface{} required #Program transition configuration.