Interface CfnPrefetchScheduleProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPrefetchScheduleProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-02T11:03:14.128Z")
@Stability(Stable)
public interface CfnPrefetchScheduleProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnPrefetchSchedule.
Example:
// 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.*;
CfnPrefetchScheduleProps cfnPrefetchScheduleProps = CfnPrefetchScheduleProps.builder()
.name("name")
.playbackConfigurationName("playbackConfigurationName")
// the properties below are optional
.consumption(PrefetchConsumptionProperty.builder()
.endTime("endTime")
// the properties below are optional
.availMatchingCriteria(List.of(AvailMatchingCriteriaProperty.builder()
.dynamicVariable("dynamicVariable")
.operator("operator")
.build()))
.startTime("startTime")
.build())
.recurringPrefetchConfiguration(RecurringPrefetchConfigurationProperty.builder()
.endTime("endTime")
.recurringConsumption(RecurringConsumptionProperty.builder()
.availMatchingCriteria(List.of(AvailMatchingCriteriaProperty.builder()
.dynamicVariable("dynamicVariable")
.operator("operator")
.build()))
.retrievedAdExpirationSeconds(123)
.build())
.recurringRetrieval(RecurringRetrievalProperty.builder()
.delayAfterAvailEndSeconds(123)
.dynamicVariables(Map.of(
"dynamicVariablesKey", "dynamicVariables"))
.trafficShapingRetrievalWindow(TrafficShapingRetrievalWindowProperty.builder()
.retrievalWindowDurationSeconds(123)
.build())
.trafficShapingTpsConfiguration(TrafficShapingTpsConfigurationProperty.builder()
.peakConcurrentUsers(123)
.peakTps(123)
.build())
.trafficShapingType("trafficShapingType")
.build())
// the properties below are optional
.startTime("startTime")
.build())
.retrieval(PrefetchRetrievalProperty.builder()
.endTime("endTime")
// the properties below are optional
.dynamicVariables(Map.of(
"dynamicVariablesKey", "dynamicVariables"))
.startTime("startTime")
.trafficShapingRetrievalWindow(TrafficShapingRetrievalWindowProperty.builder()
.retrievalWindowDurationSeconds(123)
.build())
.trafficShapingTpsConfiguration(TrafficShapingTpsConfigurationProperty.builder()
.peakConcurrentUsers(123)
.peakTps(123)
.build())
.trafficShapingType("trafficShapingType")
.build())
.scheduleType("scheduleType")
.streamId("streamId")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnPrefetchSchedulePropsstatic final classAn implementation forCfnPrefetchScheduleProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectReturns union: eitherIResolvableorCfnPrefetchSchedule.PrefetchConsumptionPropertygetName()The name to assign to the prefetch schedule.The name of the playback configuration.default ObjectReturns union: eitherIResolvableorCfnPrefetchSchedule.RecurringPrefetchConfigurationPropertydefault ObjectReturns union: eitherIResolvableorCfnPrefetchSchedule.PrefetchRetrievalPropertydefault StringThe frequency that MediaTailor creates prefetch schedules.default StringAn optional stream identifier that MediaTailor uses to prefetch ads for multiple streams that use the same playback configuration.getTags()The tags assigned to the prefetch schedule.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
The name to assign to the prefetch schedule.- See Also:
-
getPlaybackConfigurationName
The name of the playback configuration.- See Also:
-
getConsumption
Returns union: eitherIResolvableorCfnPrefetchSchedule.PrefetchConsumptionProperty- See Also:
-
getRecurringPrefetchConfiguration
Returns union: eitherIResolvableorCfnPrefetchSchedule.RecurringPrefetchConfigurationProperty- See Also:
-
getRetrieval
Returns union: eitherIResolvableorCfnPrefetchSchedule.PrefetchRetrievalProperty- See Also:
-
getScheduleType
The frequency that MediaTailor creates prefetch schedules.- See Also:
-
getStreamId
An optional stream identifier that MediaTailor uses to prefetch ads for multiple streams that use the same playback configuration.- See Also:
-
getTags
The tags assigned to the prefetch schedule.- See Also:
-
builder
- Returns:
- a
CfnPrefetchScheduleProps.BuilderofCfnPrefetchScheduleProps
-