Interface CfnPlaybackConfiguration.CdnConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPlaybackConfiguration.CdnConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnPlaybackConfiguration
@Stability(Stable)
public static interface CfnPlaybackConfiguration.CdnConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
The configuration for using a content delivery network (CDN), like Amazon CloudFront, for content and ad segment management.
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();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnPlaybackConfiguration.CdnConfigurationProperty
static final class
An implementation forCfnPlaybackConfiguration.CdnConfigurationProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAdSegmentUrlPrefix
A non-default content delivery network (CDN) to serve ad segments.By default, AWS Elemental 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.
.amazonaws.com. Then specify the rule's name in this AdSegmentUrlPrefix
. When AWS Elemental MediaTailor serves a manifest, it reports your CDN as the source for ad segments.- See Also:
-
getContentSegmentUrlPrefix
A content delivery network (CDN) to cache content segments, so that content requests don’t always have to go to the origin server.First, create a rule in your CDN for the content segment origin server. Then specify the rule's name in this
ContentSegmentUrlPrefix
. When AWS Elemental MediaTailor serves a manifest, it reports your CDN as the source for content segments.- See Also:
-
builder
-