Class CfnChannel
Creates a channel to receive content.
Inherited Members
Namespace: Amazon.CDK.AWS.MediaPackage
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnChannel : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnChannel
Inherits CfnResource
Implements IInspectable, ITaggable
Remarks
After it's created, a channel provides static input URLs. These URLs remain the same throughout the lifetime of the channel, regardless of any failures or upgrades that might occur. Use these URLs to configure the outputs of your upstream encoder.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackage-channel.html
CloudformationResource: AWS::MediaPackage::Channel
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.MediaPackage;
var cfnChannel = new CfnChannel(this, "MyCfnChannel", new CfnChannelProps {
Id = "id",
// the properties below are optional
Description = "description",
EgressAccessLogs = new LogConfigurationProperty {
LogGroupName = "logGroupName"
},
HlsIngest = new HlsIngestProperty {
IngestEndpoints = new [] { new IngestEndpointProperty {
Id = "id",
Password = "password",
Url = "url",
Username = "username"
} }
},
IngressAccessLogs = new LogConfigurationProperty {
LogGroupName = "logGroupName"
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
CfnChannel(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnChannel(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnChannel(Construct, String, ICfnChannelProps) |
Properties
AttrArn | The channel's unique system-generated resource name, based on the AWS record. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
Description | Any descriptive information that you want to add to the channel for future identification purposes. |
EgressAccessLogs | Configures egress access logs. |
HlsIngest | The input URL where the source stream should be sent. |
Id | Unique identifier that you assign to the channel. |
IngressAccessLogs | Configures ingress access logs. |
Tags | Tag Manager which manages the tags for this resource. |
TagsRaw | The tags to assign to the channel. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnChannel(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnChannel(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnChannel(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnChannel(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnChannel(Construct, String, ICfnChannelProps)
public CfnChannel(Construct scope, string id, ICfnChannelProps 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 ICfnChannelProps
Resource properties.
Properties
AttrArn
The channel's unique system-generated resource name, based on the AWS record.
public virtual string AttrArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Arn
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
Description
Any descriptive information that you want to add to the channel for future identification purposes.
public virtual string Description { get; set; }
Property Value
System.String
EgressAccessLogs
Configures egress access logs.
public virtual object EgressAccessLogs { get; set; }
Property Value
System.Object
HlsIngest
The input URL where the source stream should be sent.
public virtual object HlsIngest { get; set; }
Property Value
System.Object
Id
Unique identifier that you assign to the channel.
public virtual string Id { get; set; }
Property Value
System.String
IngressAccessLogs
Configures ingress access logs.
public virtual object IngressAccessLogs { get; set; }
Property Value
System.Object
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
TagsRaw
The tags to assign to the channel.
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>