# AWS::MediaTailor Construct Library

This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.

TypeScript:

```ts
import * as mediatailor from 'aws-cdk-lib/aws-mediatailor';
```

Python:

```python
import aws_cdk.aws_mediatailor as mediatailor
```

Java:

```java
import software.amazon.awscdk.services.mediatailor.*;
```

C# / .NET:

```csharp
using Amazon.CDK.AWS.MediaTailor;
```

Golang:

```go
import mediatailor "github.com/aws/aws-cdk-go/awscdk"
```

There are no official hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet. Here are some suggestions on how to proceed:

- Search [Construct Hub for MediaTailor construct libraries](https://constructs.dev/search?q=mediatailor)
- Use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, in the same way you would use [the CloudFormation AWS::MediaTailor resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_MediaTailor.html) directly.

There are no hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet.
However, you can still use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, and use this service exactly as you would using CloudFormation directly.

For more information on the resources and properties available for this service, see the [CloudFormation documentation for AWS::MediaTailor](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_MediaTailor.html).

(Read the [CDK Contributing Guide](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and submit an RFC if you are interested in contributing to this construct library.)

## Types

### Constructs (L1)

- [`CfnChannel`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnChannel.html) Construct (L1) The configuration parameters for a channel.
- [`CfnChannelPolicy`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnChannelPolicy.html) Construct (L1) Specifies an IAM policy for the channel.
- [`CfnFunction`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnFunction.html) Construct (L1) Resource Type definition for AWS::MediaTailor::Function.
- [`CfnLiveSource`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnLiveSource.html) Construct (L1) Live source configuration parameters.
- [`CfnPlaybackConfiguration`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnPlaybackConfiguration.html) Construct (L1) Adds a new playback configuration to AWS Elemental MediaTailor .
- [`CfnPrefetchSchedule`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnPrefetchSchedule.html) Construct (L1) Definition of AWS::MediaTailor::PrefetchSchedule Resource Type.
- [`CfnProgram`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnProgram.html) Construct (L1) Resource schema for AWS::MediaTailor::Program.
- [`CfnSourceLocation`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnSourceLocation.html) Construct (L1) A source location is a container for sources.
- [`CfnVodSource`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnVodSource.html) Construct (L1) The VOD source configuration parameters.

### Structs

- [`CfnChannel.DashPlaylistSettingsProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnChannel.DashPlaylistSettingsProperty.html) Struct Dash manifest configuration parameters.
- [`CfnChannel.HlsPlaylistSettingsProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnChannel.HlsPlaylistSettingsProperty.html) Struct HLS playlist configuration parameters.
- [`CfnChannel.LogConfigurationForChannelProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnChannel.LogConfigurationForChannelProperty.html) Struct The log configuration for the channel.
- [`CfnChannel.RequestOutputItemProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnChannel.RequestOutputItemProperty.html) Struct The output configuration for this channel.
- [`CfnChannel.SlateSourceProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnChannel.SlateSourceProperty.html) Struct Slate VOD source configuration.
- [`CfnChannel.TimeShiftConfigurationProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnChannel.TimeShiftConfigurationProperty.html) Struct The configuration for time-shifted viewing.
- [`CfnChannelPolicyProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnChannelPolicyProps.html) Struct Properties for defining a `CfnChannelPolicy`.
- [`CfnChannelProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnChannelProps.html) Struct Properties for defining a `CfnChannel`.
- [`CfnFunction.AwsServiceRequestConfigurationProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnFunction.AwsServiceRequestConfigurationProperty.html) Struct The configuration for an AWS_SERVICE_REQUEST function.
- [`CfnFunction.ConcurrentExecutorConfigurationProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnFunction.ConcurrentExecutorConfigurationProperty.html) Struct The configuration for a CONCURRENT_EXECUTOR function.
- [`CfnFunction.CustomOutputConfigurationProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnFunction.CustomOutputConfigurationProperty.html) Struct Configuration for custom output functions.
- [`CfnFunction.FunctionRefProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnFunction.FunctionRefProperty.html) Struct A reference to a child function within an executor function.
- [`CfnFunction.HttpRequestCacheConfigurationProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnFunction.HttpRequestCacheConfigurationProperty.html) Struct The optional response-caching configuration shared by the HTTP-based function types (HTTP_REQUEST, AWS_SERVICE_REQUEST, and VAST_REQUEST).
- [`CfnFunction.HttpRequestConfigurationProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnFunction.HttpRequestConfigurationProperty.html) Struct Configuration for HTTP request functions.
- [`CfnFunction.SequentialExecutorConfigurationProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnFunction.SequentialExecutorConfigurationProperty.html) Struct The configuration for a SEQUENTIAL_EXECUTOR function.
- [`CfnFunction.VastRequestConfigurationProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnFunction.VastRequestConfigurationProperty.html) Struct The configuration for a VAST_REQUEST function.
- [`CfnFunctionProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnFunctionProps.html) Struct Properties for defining a `CfnFunction`.
- [`CfnLiveSource.HttpPackageConfigurationProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnLiveSource.HttpPackageConfigurationProperty.html) Struct The HTTP package configuration properties for the requested VOD source.
- [`CfnLiveSourceProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnLiveSourceProps.html) Struct Properties for defining a `CfnLiveSource`.
- [`CfnPlaybackConfiguration.AdConditioningConfigurationProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnPlaybackConfiguration.AdConditioningConfigurationProperty.html) Struct The setting that indicates what conditioning MediaTailor will perform on ads that the ad decision server (ADS) returns.
- [`CfnPlaybackConfiguration.AdDecisionServerConfigurationProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnPlaybackConfiguration.AdDecisionServerConfigurationProperty.html) Struct The configuration for the request to the specified Ad Decision Server URL.
- [`CfnPlaybackConfiguration.AdMarkerPassthroughProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnPlaybackConfiguration.AdMarkerPassthroughProperty.html) Struct For HLS, when set to `true` , MediaTailor passes through `EXT-X-CUE-IN` , `EXT-X-CUE-OUT` , and `EXT-X-SPLICEPOINT-SCTE35` ad markers from the origin manifest to the MediaTailor personalized manifest.
- [`CfnPlaybackConfiguration.AdsInteractionLogProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnPlaybackConfiguration.AdsInteractionLogProperty.html) Struct Settings for customizing what events are included in logs for interactions with the ad decision server (ADS).
- [`CfnPlaybackConfiguration.AdsPersonalizationConcurrencyProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnPlaybackConfiguration.AdsPersonalizationConcurrencyProperty.html) Struct The settings that control how many concurrent requests MediaTailor makes to the ad decision server (ADS).
- [`CfnPlaybackConfiguration.AdsPersonalizationTimeoutsProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnPlaybackConfiguration.AdsPersonalizationTimeoutsProperty.html) Struct The ad decision server (ADS) request timeouts and personalization time budgets for live, VOD, and prefetch workflows.
- [`CfnPlaybackConfiguration.AvailSuppressionProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnPlaybackConfiguration.AvailSuppressionProperty.html) Struct The configuration for avail suppression, also known as ad suppression.
- [`CfnPlaybackConfiguration.BeaconingConfigurationProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnPlaybackConfiguration.BeaconingConfigurationProperty.html) Struct The beaconing configuration for a playback configuration.
- [`CfnPlaybackConfiguration.BumperProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnPlaybackConfiguration.BumperProperty.html) Struct The configuration for bumpers.
- [`CfnPlaybackConfiguration.CdnConfigurationProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnPlaybackConfiguration.CdnConfigurationProperty.html) Struct The configuration for using a content delivery network (CDN), like Amazon CloudFront, for content and ad segment management.
- [`CfnPlaybackConfiguration.ClientSideBeaconingConfigurationProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnPlaybackConfiguration.ClientSideBeaconingConfigurationProperty.html) Struct The beaconing settings that apply to client-side reporting sessions: whether AWS Elemental MediaTailor includes its beacons in the ad tracking response, and which player operation events it reports on.
- [`CfnPlaybackConfiguration.DashConfigurationProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnPlaybackConfiguration.DashConfigurationProperty.html) Struct The configuration for DASH content.
- [`CfnPlaybackConfiguration.HlsConfigurationProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnPlaybackConfiguration.HlsConfigurationProperty.html) Struct The configuration for HLS content.
- [`CfnPlaybackConfiguration.HttpRequestProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnPlaybackConfiguration.HttpRequestProperty.html) Struct The configuration for the request to the Ad Decision Server URL.
- [`CfnPlaybackConfiguration.LivePreRollConfigurationProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnPlaybackConfiguration.LivePreRollConfigurationProperty.html) Struct The configuration for pre-roll ad insertion.
- [`CfnPlaybackConfiguration.LogConfigurationProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnPlaybackConfiguration.LogConfigurationProperty.html) Struct Defines where AWS Elemental MediaTailor sends logs for the playback configuration.
- [`CfnPlaybackConfiguration.ManifestProcessingRulesProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnPlaybackConfiguration.ManifestProcessingRulesProperty.html) Struct The configuration for manifest processing rules.
- [`CfnPlaybackConfiguration.ManifestServiceInteractionLogProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnPlaybackConfiguration.ManifestServiceInteractionLogProperty.html) Struct Settings for customizing what events are included in logs for interactions with the origin server.
- [`CfnPlaybackConfiguration.PreRollAdDecisionServerConfigurationProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnPlaybackConfiguration.PreRollAdDecisionServerConfigurationProperty.html) Struct The configuration for the request to the pre-roll Ad Decision Server.
- [`CfnPlaybackConfiguration.PreRollVastResponseProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnPlaybackConfiguration.PreRollVastResponseProperty.html) Struct The configuration for how MediaTailor processes the VAST response returned by the pre-roll Ad Decision Server.
- [`CfnPlaybackConfiguration.VastResponseProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnPlaybackConfiguration.VastResponseProperty.html) Struct The configuration for how MediaTailor processes the VAST response returned by the Ad Decision Server.
- [`CfnPlaybackConfigurationProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnPlaybackConfigurationProps.html) Struct Properties for defining a `CfnPlaybackConfiguration`.
- [`CfnPrefetchSchedule.AvailMatchingCriteriaProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnPrefetchSchedule.AvailMatchingCriteriaProperty.html) Struct
- [`CfnPrefetchSchedule.PrefetchConsumptionProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnPrefetchSchedule.PrefetchConsumptionProperty.html) Struct
- [`CfnPrefetchSchedule.PrefetchRetrievalProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnPrefetchSchedule.PrefetchRetrievalProperty.html) Struct
- [`CfnPrefetchSchedule.RecurringConsumptionProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnPrefetchSchedule.RecurringConsumptionProperty.html) Struct
- [`CfnPrefetchSchedule.RecurringPrefetchConfigurationProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnPrefetchSchedule.RecurringPrefetchConfigurationProperty.html) Struct
- [`CfnPrefetchSchedule.RecurringRetrievalProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnPrefetchSchedule.RecurringRetrievalProperty.html) Struct
- [`CfnPrefetchSchedule.TrafficShapingRetrievalWindowProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnPrefetchSchedule.TrafficShapingRetrievalWindowProperty.html) Struct
- [`CfnPrefetchSchedule.TrafficShapingTpsConfigurationProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnPrefetchSchedule.TrafficShapingTpsConfigurationProperty.html) Struct
- [`CfnPrefetchScheduleProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnPrefetchScheduleProps.html) Struct Properties for defining a `CfnPrefetchSchedule`.
- [`CfnProgram.AdBreakProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnProgram.AdBreakProperty.html) Struct Ad break configuration parameters.
- [`CfnProgram.AlternateMediaProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnProgram.AlternateMediaProperty.html) Struct A playlist of media to be played instead of the default media on a particular program.
- [`CfnProgram.AudienceMediaProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnProgram.AudienceMediaProperty.html) Struct An AudienceMedia object contains an Audience and a list of AlternateMedia.
- [`CfnProgram.ClipRangeProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnProgram.ClipRangeProperty.html) Struct Clip range configuration for the VOD source associated with the program.
- [`CfnProgram.KeyValuePairProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnProgram.KeyValuePairProperty.html) Struct For SCTE35_ENHANCED output, defines a key and corresponding value.
- [`CfnProgram.ScheduleConfigurationProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnProgram.ScheduleConfigurationProperty.html) Struct Schedule configuration parameters.
- [`CfnProgram.SegmentationDescriptorProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnProgram.SegmentationDescriptorProperty.html) Struct The segmentation_descriptor message configuration.
- [`CfnProgram.SlateSourceProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnProgram.SlateSourceProperty.html) Struct Slate VOD source configuration.
- [`CfnProgram.SpliceInsertMessageProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnProgram.SpliceInsertMessageProperty.html) Struct Splice insert message configuration.
- [`CfnProgram.TimeSignalMessageProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnProgram.TimeSignalMessageProperty.html) Struct The SCTE-35 time_signal message configuration.
- [`CfnProgram.TransitionProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnProgram.TransitionProperty.html) Struct Program transition configuration.
- [`CfnProgramProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnProgramProps.html) Struct Properties for defining a `CfnProgram`.
- [`CfnSourceLocation.AccessConfigurationProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnSourceLocation.AccessConfigurationProperty.html) Struct Access configuration parameters.
- [`CfnSourceLocation.DefaultSegmentDeliveryConfigurationProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnSourceLocation.DefaultSegmentDeliveryConfigurationProperty.html) Struct The optional configuration for a server that serves segments.
- [`CfnSourceLocation.HttpConfigurationProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnSourceLocation.HttpConfigurationProperty.html) Struct The HTTP configuration for the source location.
- [`CfnSourceLocation.SecretsManagerAccessTokenConfigurationProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnSourceLocation.SecretsManagerAccessTokenConfigurationProperty.html) Struct AWS Secrets Manager access token configuration parameters.
- [`CfnSourceLocation.SegmentDeliveryConfigurationProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnSourceLocation.SegmentDeliveryConfigurationProperty.html) Struct The segment delivery configuration settings.
- [`CfnSourceLocationProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnSourceLocationProps.html) Struct Properties for defining a `CfnSourceLocation`.
- [`CfnVodSource.HttpPackageConfigurationProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnVodSource.HttpPackageConfigurationProperty.html) Struct The HTTP package configuration properties for the requested VOD source.
- [`CfnVodSourceProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediatailor.CfnVodSourceProps.html) Struct Properties for defining a `CfnVodSource`.
