Class CfnStreamingDistribution.StreamingDistributionConfigProperty
The RTMP distribution's configuration information.
Inheritance
Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class StreamingDistributionConfigProperty : Object, CfnStreamingDistribution.IStreamingDistributionConfigProperty
Syntax (vb)
Public Class StreamingDistributionConfigProperty
Inherits Object
Implements CfnStreamingDistribution.IStreamingDistributionConfigProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CloudFront;
var streamingDistributionConfigProperty = new StreamingDistributionConfigProperty {
Comment = "comment",
Enabled = false,
S3Origin = new S3OriginProperty {
DomainName = "domainName",
OriginAccessIdentity = "originAccessIdentity"
},
TrustedSigners = new TrustedSignersProperty {
Enabled = false,
// the properties below are optional
AwsAccountNumbers = new [] { "awsAccountNumbers" }
},
// the properties below are optional
Aliases = new [] { "aliases" },
Logging = new LoggingProperty {
Bucket = "bucket",
Enabled = false,
Prefix = "prefix"
},
PriceClass = "priceClass"
};
Synopsis
Constructors
StreamingDistributionConfigProperty() |
Properties
Aliases | A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution. |
Comment | Any comments you want to include about the streaming distribution. |
Enabled | Whether the streaming distribution is enabled to accept user requests for content. |
Logging | A complex type that controls whether access logs are written for the streaming distribution. |
PriceClass | A complex type that contains information about price class for this streaming distribution. |
S3Origin | A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution. |
TrustedSigners | A complex type that specifies any AWS accounts that you want to permit to create signed URLs for private content. |
Constructors
StreamingDistributionConfigProperty()
public StreamingDistributionConfigProperty()
Properties
Aliases
A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.
public string[] Aliases { get; set; }
Property Value
System.String[]
Remarks
Comment
Any comments you want to include about the streaming distribution.
public string Comment { get; set; }
Property Value
System.String
Remarks
Enabled
Whether the streaming distribution is enabled to accept user requests for content.
public object Enabled { get; set; }
Property Value
System.Object
Remarks
Logging
A complex type that controls whether access logs are written for the streaming distribution.
public object Logging { get; set; }
Property Value
System.Object
Remarks
PriceClass
A complex type that contains information about price class for this streaming distribution.
public string PriceClass { get; set; }
Property Value
System.String
Remarks
S3Origin
A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.
public object S3Origin { get; set; }
Property Value
System.Object
Remarks
TrustedSigners
A complex type that specifies any AWS accounts that you want to permit to create signed URLs for private content.
public object TrustedSigners { get; set; }
Property Value
System.Object
Remarks
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 .