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

Class: Aws::CloudFront::Types::StreamingDistributionConfig

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

Overview

Note:

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

{
  caller_reference: "string", # required
  s3_origin: { # required
    domain_name: "string", # required
    origin_access_identity: "string", # required
  },
  aliases: {
    quantity: 1, # required
    items: ["string"],
  },
  comment: "string", # required
  logging: {
    enabled: false, # required
    bucket: "string", # required
    prefix: "string", # required
  },
  trusted_signers: { # required
    enabled: false, # required
    quantity: 1, # required
    items: ["string"],
  },
  price_class: "PriceClass_100", # accepts PriceClass_100, PriceClass_200, PriceClass_All
  enabled: false, # required
}

The RTMP distribution's configuration information.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#aliasesTypes::Aliases

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

Returns:

  • (Types::Aliases)

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

#caller_referenceString

A unique number that ensures that the request can\'t be replayed. If the CallerReference is new (no matter the content of the StreamingDistributionConfig object), a new streaming distribution is created. If the CallerReference is a value that you already sent in a previous request to create a streaming distribution, and the content of the StreamingDistributionConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value that you already sent in a previous request to create a streaming distribution but the content of the StreamingDistributionConfig is different from the original request, CloudFront returns a DistributionAlreadyExists error.

Returns:

  • (String)

    A unique number that ensures that the request can\'t be replayed.

#commentString

Any comments you want to include about the streaming distribution.

Returns:

  • (String)

    Any comments you want to include about the streaming distribution.

#enabledBoolean

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

Returns:

  • (Boolean)

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

#loggingTypes::StreamingLoggingConfig

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

Returns:

#price_classString

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

Possible values:

  • PriceClass_100
  • PriceClass_200
  • PriceClass_All

Returns:

  • (String)

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

#s3_originTypes::S3Origin

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

Returns:

  • (Types::S3Origin)

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

#trusted_signersTypes::TrustedSigners

A complex type that specifies any AWS 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.

Returns:

  • (Types::TrustedSigners)

    A complex type that specifies any AWS accounts that you want to permit to create signed URLs for private content.