libZSservicesZSamazonka-mediatailorZSamazonka-mediatailor
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.MediaTailor.Types.CdnConfiguration

Description

 
Synopsis

Documentation

data CdnConfiguration Source #

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

See: newCdnConfiguration smart constructor.

Constructors

CdnConfiguration' 

Fields

  • adSegmentUrlPrefix :: Maybe Text

    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.&lt;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.

  • contentSegmentUrlPrefix :: Maybe Text

    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.

Instances

Instances details
Eq CdnConfiguration Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.CdnConfiguration

Read CdnConfiguration Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.CdnConfiguration

Show CdnConfiguration Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.CdnConfiguration

Generic CdnConfiguration Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.CdnConfiguration

Associated Types

type Rep CdnConfiguration :: Type -> Type #

NFData CdnConfiguration Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.CdnConfiguration

Methods

rnf :: CdnConfiguration -> () #

Hashable CdnConfiguration Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.CdnConfiguration

ToJSON CdnConfiguration Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.CdnConfiguration

FromJSON CdnConfiguration Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.CdnConfiguration

type Rep CdnConfiguration Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.CdnConfiguration

type Rep CdnConfiguration = D1 ('MetaData "CdnConfiguration" "Amazonka.MediaTailor.Types.CdnConfiguration" "libZSservicesZSamazonka-mediatailorZSamazonka-mediatailor" 'False) (C1 ('MetaCons "CdnConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "adSegmentUrlPrefix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "contentSegmentUrlPrefix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newCdnConfiguration :: CdnConfiguration Source #

Create a value of CdnConfiguration with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:adSegmentUrlPrefix:CdnConfiguration', cdnConfiguration_adSegmentUrlPrefix - 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.&lt;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.

$sel:contentSegmentUrlPrefix:CdnConfiguration', cdnConfiguration_contentSegmentUrlPrefix - 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.

cdnConfiguration_adSegmentUrlPrefix :: Lens' CdnConfiguration (Maybe Text) Source #

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.&lt;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.

cdnConfiguration_contentSegmentUrlPrefix :: Lens' CdnConfiguration (Maybe Text) Source #

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.