pub struct StreamingDistributionConfig {
pub aliases: Option<Aliases>,
pub caller_reference: String,
pub comment: String,
pub enabled: bool,
pub logging: Option<StreamingLoggingConfig>,
pub price_class: Option<String>,
pub s3_origin: S3Origin,
pub trusted_signers: TrustedSigners,
}
Expand description
The RTMP distribution's configuration information.
Fields§
§aliases: Option<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.
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.
comment: String
Any comments you want to include about the streaming distribution.
enabled: bool
Whether the streaming distribution is enabled to accept user requests for content.
logging: Option<StreamingLoggingConfig>
A complex type that controls whether access logs are written for the streaming distribution.
price_class: Option<String>
A complex type that contains information about price class for this streaming distribution.
s3_origin: 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: 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.
Trait Implementations§
Source§impl Clone for StreamingDistributionConfig
impl Clone for StreamingDistributionConfig
Source§fn clone(&self) -> StreamingDistributionConfig
fn clone(&self) -> StreamingDistributionConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more