libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront
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.CloudFront.Types.StreamingDistributionConfig

Description

 
Synopsis

Documentation

data StreamingDistributionConfig Source #

The RTMP distribution's configuration information.

See: newStreamingDistributionConfig smart constructor.

Constructors

StreamingDistributionConfig' 

Fields

  • aliases :: Maybe Aliases

    A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.

  • priceClass :: Maybe PriceClass

    A complex type that contains information about price class for this streaming distribution.

  • logging :: Maybe StreamingLoggingConfig

    A complex type that controls whether access logs are written for the streaming distribution.

  • callerReference :: Text

    A unique value (for example, a date-time stamp) that ensures that the request can't be replayed.

    If the value of CallerReference is new (regardless of the content of the StreamingDistributionConfig object), CloudFront creates a new distribution.

    If CallerReference is a value that you already sent in a previous request to create a distribution, CloudFront returns a DistributionAlreadyExists error.

  • s3Origin :: S3Origin

    A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.

  • comment :: Text

    Any comments you want to include about the streaming distribution.

  • trustedSigners :: TrustedSigners

    A complex type that specifies any accounts that you want to permit to create signed URLs for private content. If you want the distribution to use signed URLs, include this element; if you want the distribution to use public URLs, remove this element. For more information, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide.

  • enabled :: Bool

    Whether the streaming distribution is enabled to accept user requests for content.

Instances

Instances details
Eq StreamingDistributionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionConfig

Read StreamingDistributionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionConfig

Show StreamingDistributionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionConfig

Generic StreamingDistributionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionConfig

Associated Types

type Rep StreamingDistributionConfig :: Type -> Type #

NFData StreamingDistributionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionConfig

Hashable StreamingDistributionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionConfig

FromXML StreamingDistributionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionConfig

ToXML StreamingDistributionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionConfig

type Rep StreamingDistributionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionConfig

type Rep StreamingDistributionConfig = D1 ('MetaData "StreamingDistributionConfig" "Amazonka.CloudFront.Types.StreamingDistributionConfig" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "StreamingDistributionConfig'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "aliases") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Aliases)) :*: S1 ('MetaSel ('Just "priceClass") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PriceClass))) :*: (S1 ('MetaSel ('Just "logging") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StreamingLoggingConfig)) :*: S1 ('MetaSel ('Just "callerReference") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just "s3Origin") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 S3Origin) :*: S1 ('MetaSel ('Just "comment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "trustedSigners") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TrustedSigners) :*: S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))))

newStreamingDistributionConfig Source #

Create a value of StreamingDistributionConfig 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:aliases:StreamingDistributionConfig', streamingDistributionConfig_aliases - A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.

$sel:priceClass:StreamingDistributionConfig', streamingDistributionConfig_priceClass - A complex type that contains information about price class for this streaming distribution.

$sel:logging:StreamingDistributionConfig', streamingDistributionConfig_logging - A complex type that controls whether access logs are written for the streaming distribution.

$sel:callerReference:StreamingDistributionConfig', streamingDistributionConfig_callerReference - A unique value (for example, a date-time stamp) that ensures that the request can't be replayed.

If the value of CallerReference is new (regardless of the content of the StreamingDistributionConfig object), CloudFront creates a new distribution.

If CallerReference is a value that you already sent in a previous request to create a distribution, CloudFront returns a DistributionAlreadyExists error.

$sel:s3Origin:StreamingDistributionConfig', streamingDistributionConfig_s3Origin - A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.

$sel:comment:StreamingDistributionConfig', streamingDistributionConfig_comment - Any comments you want to include about the streaming distribution.

$sel:trustedSigners:StreamingDistributionConfig', streamingDistributionConfig_trustedSigners - A complex type that specifies any accounts that you want to permit to create signed URLs for private content. If you want the distribution to use signed URLs, include this element; if you want the distribution to use public URLs, remove this element. For more information, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide.

$sel:enabled:StreamingDistributionConfig', streamingDistributionConfig_enabled - Whether the streaming distribution is enabled to accept user requests for content.

streamingDistributionConfig_aliases :: Lens' StreamingDistributionConfig (Maybe Aliases) Source #

A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.

streamingDistributionConfig_priceClass :: Lens' StreamingDistributionConfig (Maybe PriceClass) Source #

A complex type that contains information about price class for this streaming distribution.

streamingDistributionConfig_logging :: Lens' StreamingDistributionConfig (Maybe StreamingLoggingConfig) Source #

A complex type that controls whether access logs are written for the streaming distribution.

streamingDistributionConfig_callerReference :: Lens' StreamingDistributionConfig Text Source #

A unique value (for example, a date-time stamp) that ensures that the request can't be replayed.

If the value of CallerReference is new (regardless of the content of the StreamingDistributionConfig object), CloudFront creates a new distribution.

If CallerReference is a value that you already sent in a previous request to create a distribution, CloudFront returns a DistributionAlreadyExists error.

streamingDistributionConfig_s3Origin :: Lens' StreamingDistributionConfig S3Origin Source #

A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.

streamingDistributionConfig_comment :: Lens' StreamingDistributionConfig Text Source #

Any comments you want to include about the streaming distribution.

streamingDistributionConfig_trustedSigners :: Lens' StreamingDistributionConfig TrustedSigners Source #

A complex type that specifies any accounts that you want to permit to create signed URLs for private content. If you want the distribution to use signed URLs, include this element; if you want the distribution to use public URLs, remove this element. For more information, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide.

streamingDistributionConfig_enabled :: Lens' StreamingDistributionConfig Bool Source #

Whether the streaming distribution is enabled to accept user requests for content.