Class CfnStreamingDistribution
This resource is deprecated.
Inherited Members
Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnStreamingDistribution : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnStreamingDistribution
Inherits CfnResource
Implements IInspectable, ITaggable
Remarks
Amazon CloudFront is deprecating real-time messaging protocol (RTMP) distributions on December 31, 2020. For more information, read the announcement on the Amazon CloudFront discussion forum.
CloudformationResource: AWS::CloudFront::StreamingDistribution
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 cfnStreamingDistribution = new CfnStreamingDistribution(this, "MyCfnStreamingDistribution", new CfnStreamingDistributionProps {
StreamingDistributionConfig = 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"
},
// the properties below are optional
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
CfnStreamingDistribution(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnStreamingDistribution(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnStreamingDistribution(Construct, String, ICfnStreamingDistributionProps) |
Properties
AttrDomainName | The domain name of the resource, such as |
AttrId | |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
StreamingDistributionConfig | The current configuration information for the RTMP distribution. |
Tags | Tag Manager which manages the tags for this resource. |
TagsRaw | A complex type that contains zero or more |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnStreamingDistribution(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnStreamingDistribution(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnStreamingDistribution(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnStreamingDistribution(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnStreamingDistribution(Construct, String, ICfnStreamingDistributionProps)
public CfnStreamingDistribution(Construct scope, string id, ICfnStreamingDistributionProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnStreamingDistributionProps
Resource properties.
Properties
AttrDomainName
The domain name of the resource, such as d111111abcdef8.cloudfront.net
.
public virtual string AttrDomainName { get; }
Property Value
System.String
Remarks
CloudformationAttribute: DomainName
AttrId
public virtual string AttrId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Id
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
StreamingDistributionConfig
The current configuration information for the RTMP distribution.
public virtual object StreamingDistributionConfig { get; set; }
Property Value
System.Object
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
TagsRaw
A complex type that contains zero or more Tag
elements.
public virtual ICfnTag[] TagsRaw { get; set; }
Property Value
ICfnTag[]
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>