CfnPrefetchScheduleMixinProps

class aws_cdk.cfn_property_mixins.aws_mediatailor.CfnPrefetchScheduleMixinProps(*, consumption=None, name=None, playback_configuration_name=None, recurring_prefetch_configuration=None, retrieval=None, schedule_type=None, stream_id=None, tags=None)

Bases: object

Properties for CfnPrefetchSchedulePropsMixin.

Parameters:
  • consumption (Union[IResolvable, PrefetchConsumptionProperty, Dict[str, Any], None])

  • name (Optional[str]) – The name to assign to the prefetch schedule.

  • playback_configuration_name (Optional[str]) – The name of the playback configuration.

  • recurring_prefetch_configuration (Union[IResolvable, RecurringPrefetchConfigurationProperty, Dict[str, Any], None])

  • retrieval (Union[IResolvable, PrefetchRetrievalProperty, Dict[str, Any], None])

  • schedule_type (Optional[str]) – The frequency that MediaTailor creates prefetch schedules.

  • stream_id (Optional[str]) – An optional stream identifier that MediaTailor uses to prefetch ads for multiple streams that use the same playback configuration.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – The tags assigned to the prefetch schedule.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediatailor-prefetchschedule.html

ExampleMetadata:

fixture=_generated

Example:

from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.cfn_property_mixins import aws_mediatailor as mediatailor

cfn_prefetch_schedule_mixin_props = mediatailor.CfnPrefetchScheduleMixinProps(
    consumption=mediatailor.CfnPrefetchSchedulePropsMixin.PrefetchConsumptionProperty(
        avail_matching_criteria=[mediatailor.CfnPrefetchSchedulePropsMixin.AvailMatchingCriteriaProperty(
            dynamic_variable="dynamicVariable",
            operator="operator"
        )],
        end_time="endTime",
        start_time="startTime"
    ),
    name="name",
    playback_configuration_name="playbackConfigurationName",
    recurring_prefetch_configuration=mediatailor.CfnPrefetchSchedulePropsMixin.RecurringPrefetchConfigurationProperty(
        end_time="endTime",
        recurring_consumption=mediatailor.CfnPrefetchSchedulePropsMixin.RecurringConsumptionProperty(
            avail_matching_criteria=[mediatailor.CfnPrefetchSchedulePropsMixin.AvailMatchingCriteriaProperty(
                dynamic_variable="dynamicVariable",
                operator="operator"
            )],
            retrieved_ad_expiration_seconds=123
        ),
        recurring_retrieval=mediatailor.CfnPrefetchSchedulePropsMixin.RecurringRetrievalProperty(
            delay_after_avail_end_seconds=123,
            dynamic_variables={
                "dynamic_variables_key": "dynamicVariables"
            },
            traffic_shaping_retrieval_window=mediatailor.CfnPrefetchSchedulePropsMixin.TrafficShapingRetrievalWindowProperty(
                retrieval_window_duration_seconds=123
            ),
            traffic_shaping_tps_configuration=mediatailor.CfnPrefetchSchedulePropsMixin.TrafficShapingTpsConfigurationProperty(
                peak_concurrent_users=123,
                peak_tps=123
            ),
            traffic_shaping_type="trafficShapingType"
        ),
        start_time="startTime"
    ),
    retrieval=mediatailor.CfnPrefetchSchedulePropsMixin.PrefetchRetrievalProperty(
        dynamic_variables={
            "dynamic_variables_key": "dynamicVariables"
        },
        end_time="endTime",
        start_time="startTime",
        traffic_shaping_retrieval_window=mediatailor.CfnPrefetchSchedulePropsMixin.TrafficShapingRetrievalWindowProperty(
            retrieval_window_duration_seconds=123
        ),
        traffic_shaping_tps_configuration=mediatailor.CfnPrefetchSchedulePropsMixin.TrafficShapingTpsConfigurationProperty(
            peak_concurrent_users=123,
            peak_tps=123
        ),
        traffic_shaping_type="trafficShapingType"
    ),
    schedule_type="scheduleType",
    stream_id="streamId",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

consumption

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediatailor-prefetchschedule.html#cfn-mediatailor-prefetchschedule-consumption

Type:

see

name

The name to assign to the prefetch schedule.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediatailor-prefetchschedule.html#cfn-mediatailor-prefetchschedule-name

playback_configuration_name

The name of the playback configuration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediatailor-prefetchschedule.html#cfn-mediatailor-prefetchschedule-playbackconfigurationname

recurring_prefetch_configuration

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediatailor-prefetchschedule.html#cfn-mediatailor-prefetchschedule-recurringprefetchconfiguration

Type:

see

retrieval

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediatailor-prefetchschedule.html#cfn-mediatailor-prefetchschedule-retrieval

Type:

see

schedule_type

The frequency that MediaTailor creates prefetch schedules.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediatailor-prefetchschedule.html#cfn-mediatailor-prefetchschedule-scheduletype

stream_id

An optional stream identifier that MediaTailor uses to prefetch ads for multiple streams that use the same playback configuration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediatailor-prefetchschedule.html#cfn-mediatailor-prefetchschedule-streamid

tags

The tags assigned to the prefetch schedule.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediatailor-prefetchschedule.html#cfn-mediatailor-prefetchschedule-tags