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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/types.rb

Overview

Note:

When making an API call, you may pass CdnConfiguration data as a 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.

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)


57
58
59
60
61
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/types.rb', line 57

class CdnConfiguration < Struct.new(
  :ad_segment_url_prefix,
  :content_segment_url_prefix)
  include Aws::Structure
end

#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)


57
58
59
60
61
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/types.rb', line 57

class CdnConfiguration < Struct.new(
  :ad_segment_url_prefix,
  :content_segment_url_prefix)
  include Aws::Structure
end