AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::MediaTailor::Types::CdnConfiguration

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CdnConfiguration as input to an Aws::Client method, you can use a vanilla Hash:

{
  ad_segment_url_prefix: "__string",
  content_segment_url_prefix: "__string",
}

The configuration for using a content delivery network (CDN), like Amazon CloudFront, for content and ad segment management.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#ad_segment_url_prefixString

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 following origin: ads.mediatailor.<region>.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.

Returns:

  • (String)

    A non-default content delivery network (CDN) to serve ad segments.

#content_segment_url_prefixString

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.

Returns:

  • (String)

    A content delivery network (CDN) to cache content segments, so that content requests don’t always have to go to the origin server.