Class: Aws::CloudFront::Types::StreamingDistributionConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudFront::Types::StreamingDistributionConfig
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-cloudfront/types.rb
Overview
When making an API call, you may pass StreamingDistributionConfig data as a 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.
Instance Attribute Summary collapse
-
#aliases ⇒ Types::Aliases
A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.
-
#caller_reference ⇒ String
A unique value (for example, a date-time stamp) that ensures that the request can’t be replayed.
-
#comment ⇒ String
Any comments you want to include about the streaming distribution.
-
#enabled ⇒ Boolean
Whether the streaming distribution is enabled to accept user requests for content.
-
#logging ⇒ Types::StreamingLoggingConfig
A complex type that controls whether access logs are written for the streaming distribution.
-
#price_class ⇒ String
A complex type that contains information about price class for this streaming distribution.
-
#s3_origin ⇒ 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_signers ⇒ Types::TrustedSigners
A complex type that specifies any AWS accounts that you want to permit to create signed URLs for private content.
Instance Attribute Details
#aliases ⇒ Types::Aliases
A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.
6476 6477 6478 6479 6480 6481 6482 6483 6484 6485 6486 |
# File 'lib/aws-sdk-cloudfront/types.rb', line 6476 class StreamingDistributionConfig < Struct.new( :caller_reference, :s3_origin, :aliases, :comment, :logging, :trusted_signers, :price_class, :enabled) include Aws::Structure end |
#caller_reference ⇒ String
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.
6476 6477 6478 6479 6480 6481 6482 6483 6484 6485 6486 |
# File 'lib/aws-sdk-cloudfront/types.rb', line 6476 class StreamingDistributionConfig < Struct.new( :caller_reference, :s3_origin, :aliases, :comment, :logging, :trusted_signers, :price_class, :enabled) include Aws::Structure end |
#comment ⇒ String
Any comments you want to include about the streaming distribution.
6476 6477 6478 6479 6480 6481 6482 6483 6484 6485 6486 |
# File 'lib/aws-sdk-cloudfront/types.rb', line 6476 class StreamingDistributionConfig < Struct.new( :caller_reference, :s3_origin, :aliases, :comment, :logging, :trusted_signers, :price_class, :enabled) include Aws::Structure end |
#enabled ⇒ Boolean
Whether the streaming distribution is enabled to accept user requests for content.
6476 6477 6478 6479 6480 6481 6482 6483 6484 6485 6486 |
# File 'lib/aws-sdk-cloudfront/types.rb', line 6476 class StreamingDistributionConfig < Struct.new( :caller_reference, :s3_origin, :aliases, :comment, :logging, :trusted_signers, :price_class, :enabled) include Aws::Structure end |
#logging ⇒ Types::StreamingLoggingConfig
A complex type that controls whether access logs are written for the streaming distribution.
6476 6477 6478 6479 6480 6481 6482 6483 6484 6485 6486 |
# File 'lib/aws-sdk-cloudfront/types.rb', line 6476 class StreamingDistributionConfig < Struct.new( :caller_reference, :s3_origin, :aliases, :comment, :logging, :trusted_signers, :price_class, :enabled) include Aws::Structure end |
#price_class ⇒ String
A complex type that contains information about price class for this streaming distribution.
6476 6477 6478 6479 6480 6481 6482 6483 6484 6485 6486 |
# File 'lib/aws-sdk-cloudfront/types.rb', line 6476 class StreamingDistributionConfig < Struct.new( :caller_reference, :s3_origin, :aliases, :comment, :logging, :trusted_signers, :price_class, :enabled) include Aws::Structure end |
#s3_origin ⇒ 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.
6476 6477 6478 6479 6480 6481 6482 6483 6484 6485 6486 |
# File 'lib/aws-sdk-cloudfront/types.rb', line 6476 class StreamingDistributionConfig < Struct.new( :caller_reference, :s3_origin, :aliases, :comment, :logging, :trusted_signers, :price_class, :enabled) include Aws::Structure end |
#trusted_signers ⇒ Types::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*.
[1]: docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html
6476 6477 6478 6479 6480 6481 6482 6483 6484 6485 6486 |
# File 'lib/aws-sdk-cloudfront/types.rb', line 6476 class StreamingDistributionConfig < Struct.new( :caller_reference, :s3_origin, :aliases, :comment, :logging, :trusted_signers, :price_class, :enabled) include Aws::Structure end |