@Stability(value=Stable)
public static interface CfnPlaybackConfiguration.CdnConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
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.*;
CdnConfigurationProperty cdnConfigurationProperty = CdnConfigurationProperty.builder()
.adSegmentUrlPrefix("adSegmentUrlPrefix")
.contentSegmentUrlPrefix("contentSegmentUrlPrefix")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnPlaybackConfiguration.CdnConfigurationProperty.Builder
A builder for
CfnPlaybackConfiguration.CdnConfigurationProperty |
static class |
CfnPlaybackConfiguration.CdnConfigurationProperty.Jsii$Proxy
An implementation for
CfnPlaybackConfiguration.CdnConfigurationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnPlaybackConfiguration.CdnConfigurationProperty.Builder |
builder() |
default String |
getAdSegmentUrlPrefix()
A non-default content delivery network (CDN) to serve ad segments.
|
default String |
getContentSegmentUrlPrefix()
A content delivery network (CDN) to cache content segments, so that content requests don’t always have to go to the origin server.
|
@Stability(value=Stable) @Nullable default String getAdSegmentUrlPrefix()
By default, MediaTailor uses Amazon CloudFront with default cache settings as its CDN for ad segments. To set up an alternate CDN, create a rule in your CDN for the origin ads.mediatailor.
@Stability(value=Stable) @Nullable default String getContentSegmentUrlPrefix()
First, create a rule in your CDN for the content segment origin server. Then specify the rule's name in this ContentSegmentUrlPrefix. When MediaTailor serves a manifest, it reports your CDN as the source for content segments.
@Stability(value=Stable) static CfnPlaybackConfiguration.CdnConfigurationProperty.Builder builder()
Copyright © 2022. All rights reserved.