Class CfnChannel
A CloudFormation AWS::MediaPackage::Channel
.
Inherited Members
Namespace: Amazon.CDK.AWS.MediaPackage
Assembly: Amazon.CDK.AWS.MediaPackage.dll
Syntax (csharp)
public class CfnChannel : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnChannel
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
Creates a channel to receive content.
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.
CloudformationResource: AWS::MediaPackage::Channel
Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackage-channel.html
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(Construct, String, ICfnChannelProps) | Create a new |
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 |
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 | The tags to assign to the channel. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnChannel(Construct, String, ICfnChannelProps)
Create a new AWS::MediaPackage::Channel
.
public CfnChannel(Construct scope, string id, ICfnChannelProps props)
Parameters
- scope Construct
- scope in which this resource is defined.
- id System.String
- scoped id of the resource.
- props ICfnChannelProps
- resource properties.
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
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
Remarks
EgressAccessLogs
Configures egress access logs.
public virtual object EgressAccessLogs { get; set; }
Property Value
System.Object
Remarks
HlsIngest
The input URL where the source stream should be sent.
public virtual object HlsIngest { get; set; }
Property Value
System.Object
Remarks
Id
Unique identifier that you assign to the channel.
public virtual string Id { get; set; }
Property Value
System.String
Remarks
IngressAccessLogs
Configures ingress access logs.
public virtual object IngressAccessLogs { get; set; }
Property Value
System.Object
Remarks
Tags
The tags to assign to the channel.
public virtual TagManager Tags { get; }
Property Value
Remarks
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>