Class CfnChannel
The AWS::IVS::Channel resource specifies an channel.
Inherited Members
Namespace: Amazon.CDK.AWS.Ivs
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnChannel : CfnResource, IInspectable, IChannelRef, IConstruct, IDependable, IEnvironmentAware, ITaggable
Syntax (vb)
Public Class CfnChannel Inherits CfnResource Implements IInspectable, IChannelRef, IConstruct, IDependable, IEnvironmentAware, ITaggable
Remarks
A channel stores configuration information related to your live stream. For more information, see CreateChannel in the Amazon IVS Low-Latency Streaming API Reference .
By default, the IVS API CreateChannel endpoint creates a stream key in addition to a channel. The Channel resource <em>does not</em> create a stream key; to create a stream key, use the StreamKey resource instead.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-channel.html
CloudformationResource: AWS::IVS::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.Ivs;
var cfnChannel = new CfnChannel(this, "MyCfnChannel", new CfnChannelProps {
Authorized = false,
ContainerFormat = "containerFormat",
InsecureIngest = false,
LatencyMode = "latencyMode",
MultitrackInputConfiguration = new MultitrackInputConfigurationProperty {
Enabled = false,
MaximumResolution = "maximumResolution",
Policy = "policy"
},
Name = "name",
Preset = "preset",
RecordingConfigurationArn = "recordingConfigurationArn",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
Type = "type"
});
Synopsis
Constructors
| CfnChannel(Construct, string, ICfnChannelProps?) | Create a new |
Properties
| AttrArn | The channel ARN. |
| AttrIngestEndpoint | Channel ingest endpoint, part of the definition of an ingest server, used when you set up streaming software. |
| AttrPlaybackUrl | Channel playback URL. |
| Authorized | Whether the channel is authorized. |
| CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
| CfnProperties | The |
| ChannelRef | A reference to a Channel resource. |
| ContainerFormat | Indicates which content-packaging format is used (MPEG-TS or fMP4). |
| InsecureIngest | Whether the channel allows insecure RTMP ingest. |
| LatencyMode | Channel latency mode. |
| MultitrackInputConfiguration | Object specifying multitrack input configuration. |
| Name | Channel name. |
| Preset | An optional transcode preset for the channel. |
| RecordingConfigurationArn | The ARN of a RecordingConfiguration resource. |
| Tags | Tag Manager which manages the tags for this resource. |
| TagsRaw | An array of key-value pairs to apply to this resource. |
| Type | The channel type, which determines the allowable resolution and bitrate. |
Methods
| ArnForChannel(IChannelRef) | The |
| Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
| IsCfnChannel(object) | Checks whether the given object is a CfnChannel. |
| RenderProperties(IDictionary<string, object>) | The |
Constructors
CfnChannel(Construct, string, ICfnChannelProps?)
Create a new AWS::IVS::Channel.
public CfnChannel(Construct scope, string id, ICfnChannelProps? props = null)
Parameters
- scope Construct
Scope in which this resource is defined.
- id string
Construct identifier for this resource (unique in its scope).
- props ICfnChannelProps
Resource properties.
Remarks
A channel stores configuration information related to your live stream. For more information, see CreateChannel in the Amazon IVS Low-Latency Streaming API Reference .
By default, the IVS API CreateChannel endpoint creates a stream key in addition to a channel. The Channel resource <em>does not</em> create a stream key; to create a stream key, use the StreamKey resource instead.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-channel.html
CloudformationResource: AWS::IVS::Channel
ExampleMetadata: fixture=_generated
Properties
AttrArn
The channel ARN.
public virtual string AttrArn { get; }
Property Value
Remarks
For example: arn:aws:ivs:us-west-2:123456789012:channel/abcdABCDefgh
CloudformationAttribute: Arn
AttrIngestEndpoint
Channel ingest endpoint, part of the definition of an ingest server, used when you set up streaming software.
public virtual string AttrIngestEndpoint { get; }
Property Value
Remarks
For example: a1b2c3d4e5f6.global-contribute.live-video.net
CloudformationAttribute: IngestEndpoint
AttrPlaybackUrl
Channel playback URL.
public virtual string AttrPlaybackUrl { get; }
Property Value
Remarks
For example: https://a1b2c3d4e5f6.us-west-2.playback.live-video.net/api/video/v1/us-west-2.123456789012.channel.abcdEFGH.m3u8
CloudformationAttribute: PlaybackUrl
Authorized
Whether the channel is authorized.
public virtual object? Authorized { get; set; }
Property Value
Remarks
Type union: either bool or IResolvable
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
Remarks
A channel stores configuration information related to your live stream. For more information, see CreateChannel in the Amazon IVS Low-Latency Streaming API Reference .
By default, the IVS API CreateChannel endpoint creates a stream key in addition to a channel. The Channel resource <em>does not</em> create a stream key; to create a stream key, use the StreamKey resource instead.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-channel.html
CloudformationResource: AWS::IVS::Channel
ExampleMetadata: fixture=_generated
CfnProperties
The AWS::IVS::Channel resource specifies an channel.
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
Overrides
Remarks
A channel stores configuration information related to your live stream. For more information, see CreateChannel in the Amazon IVS Low-Latency Streaming API Reference .
By default, the IVS API CreateChannel endpoint creates a stream key in addition to a channel. The Channel resource <em>does not</em> create a stream key; to create a stream key, use the StreamKey resource instead.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-channel.html
CloudformationResource: AWS::IVS::Channel
ExampleMetadata: fixture=_generated
ChannelRef
A reference to a Channel resource.
public virtual IChannelReference ChannelRef { get; }
Property Value
Remarks
A channel stores configuration information related to your live stream. For more information, see CreateChannel in the Amazon IVS Low-Latency Streaming API Reference .
By default, the IVS API CreateChannel endpoint creates a stream key in addition to a channel. The Channel resource <em>does not</em> create a stream key; to create a stream key, use the StreamKey resource instead.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-channel.html
CloudformationResource: AWS::IVS::Channel
ExampleMetadata: fixture=_generated
ContainerFormat
Indicates which content-packaging format is used (MPEG-TS or fMP4).
public virtual string? ContainerFormat { get; set; }
Property Value
Remarks
A channel stores configuration information related to your live stream. For more information, see CreateChannel in the Amazon IVS Low-Latency Streaming API Reference .
By default, the IVS API CreateChannel endpoint creates a stream key in addition to a channel. The Channel resource <em>does not</em> create a stream key; to create a stream key, use the StreamKey resource instead.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-channel.html
CloudformationResource: AWS::IVS::Channel
ExampleMetadata: fixture=_generated
InsecureIngest
Whether the channel allows insecure RTMP ingest.
public virtual object? InsecureIngest { get; set; }
Property Value
Remarks
Type union: either bool or IResolvable
LatencyMode
Channel latency mode.
public virtual string? LatencyMode { get; set; }
Property Value
Remarks
Valid values:.
MultitrackInputConfiguration
Object specifying multitrack input configuration.
public virtual object? MultitrackInputConfiguration { get; set; }
Property Value
Remarks
Type union: either IResolvable or CfnChannel.IMultitrackInputConfigurationProperty
Name
Channel name.
public virtual string? Name { get; set; }
Property Value
Remarks
A channel stores configuration information related to your live stream. For more information, see CreateChannel in the Amazon IVS Low-Latency Streaming API Reference .
By default, the IVS API CreateChannel endpoint creates a stream key in addition to a channel. The Channel resource <em>does not</em> create a stream key; to create a stream key, use the StreamKey resource instead.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-channel.html
CloudformationResource: AWS::IVS::Channel
ExampleMetadata: fixture=_generated
Preset
An optional transcode preset for the channel.
public virtual string? Preset { get; set; }
Property Value
Remarks
A channel stores configuration information related to your live stream. For more information, see CreateChannel in the Amazon IVS Low-Latency Streaming API Reference .
By default, the IVS API CreateChannel endpoint creates a stream key in addition to a channel. The Channel resource <em>does not</em> create a stream key; to create a stream key, use the StreamKey resource instead.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-channel.html
CloudformationResource: AWS::IVS::Channel
ExampleMetadata: fixture=_generated
RecordingConfigurationArn
The ARN of a RecordingConfiguration resource.
public virtual string? RecordingConfigurationArn { get; set; }
Property Value
Remarks
A channel stores configuration information related to your live stream. For more information, see CreateChannel in the Amazon IVS Low-Latency Streaming API Reference .
By default, the IVS API CreateChannel endpoint creates a stream key in addition to a channel. The Channel resource <em>does not</em> create a stream key; to create a stream key, use the StreamKey resource instead.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-channel.html
CloudformationResource: AWS::IVS::Channel
ExampleMetadata: fixture=_generated
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
Remarks
A channel stores configuration information related to your live stream. For more information, see CreateChannel in the Amazon IVS Low-Latency Streaming API Reference .
By default, the IVS API CreateChannel endpoint creates a stream key in addition to a channel. The Channel resource <em>does not</em> create a stream key; to create a stream key, use the StreamKey resource instead.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-channel.html
CloudformationResource: AWS::IVS::Channel
ExampleMetadata: fixture=_generated
TagsRaw
An array of key-value pairs to apply to this resource.
public virtual ICfnTag[]? TagsRaw { get; set; }
Property Value
ICfnTag[]
Remarks
A channel stores configuration information related to your live stream. For more information, see CreateChannel in the Amazon IVS Low-Latency Streaming API Reference .
By default, the IVS API CreateChannel endpoint creates a stream key in addition to a channel. The Channel resource <em>does not</em> create a stream key; to create a stream key, use the StreamKey resource instead.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-channel.html
CloudformationResource: AWS::IVS::Channel
ExampleMetadata: fixture=_generated
Type
The channel type, which determines the allowable resolution and bitrate.
public virtual string? Type { get; set; }
Property Value
Remarks
A channel stores configuration information related to your live stream. For more information, see CreateChannel in the Amazon IVS Low-Latency Streaming API Reference .
By default, the IVS API CreateChannel endpoint creates a stream key in addition to a channel. The Channel resource <em>does not</em> create a stream key; to create a stream key, use the StreamKey resource instead.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-channel.html
CloudformationResource: AWS::IVS::Channel
ExampleMetadata: fixture=_generated
Methods
ArnForChannel(IChannelRef)
The AWS::IVS::Channel resource specifies an channel.
public static string ArnForChannel(IChannelRef resource)
Parameters
- resource IChannelRef
Returns
Remarks
A channel stores configuration information related to your live stream. For more information, see CreateChannel in the Amazon IVS Low-Latency Streaming API Reference .
By default, the IVS API CreateChannel endpoint creates a stream key in addition to a channel. The Channel resource <em>does not</em> create a stream key; to create a stream key, use the StreamKey resource instead.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-channel.html
CloudformationResource: AWS::IVS::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.Ivs;
var cfnChannel = new CfnChannel(this, "MyCfnChannel", new CfnChannelProps {
Authorized = false,
ContainerFormat = "containerFormat",
InsecureIngest = false,
LatencyMode = "latencyMode",
MultitrackInputConfiguration = new MultitrackInputConfigurationProperty {
Enabled = false,
MaximumResolution = "maximumResolution",
Policy = "policy"
},
Name = "name",
Preset = "preset",
RecordingConfigurationArn = "recordingConfigurationArn",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
Type = "type"
});
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.
Remarks
A channel stores configuration information related to your live stream. For more information, see CreateChannel in the Amazon IVS Low-Latency Streaming API Reference .
By default, the IVS API CreateChannel endpoint creates a stream key in addition to a channel. The Channel resource <em>does not</em> create a stream key; to create a stream key, use the StreamKey resource instead.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-channel.html
CloudformationResource: AWS::IVS::Channel
ExampleMetadata: fixture=_generated
IsCfnChannel(object)
Checks whether the given object is a CfnChannel.
public static bool IsCfnChannel(object x)
Parameters
- x object
Returns
Remarks
A channel stores configuration information related to your live stream. For more information, see CreateChannel in the Amazon IVS Low-Latency Streaming API Reference .
By default, the IVS API CreateChannel endpoint creates a stream key in addition to a channel. The Channel resource <em>does not</em> create a stream key; to create a stream key, use the StreamKey resource instead.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-channel.html
CloudformationResource: AWS::IVS::Channel
ExampleMetadata: fixture=_generated
RenderProperties(IDictionary<string, object>)
The AWS::IVS::Channel resource specifies an channel.
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props IDictionary<string, object>
Returns
Overrides
Remarks
A channel stores configuration information related to your live stream. For more information, see CreateChannel in the Amazon IVS Low-Latency Streaming API Reference .
By default, the IVS API CreateChannel endpoint creates a stream key in addition to a channel. The Channel resource <em>does not</em> create a stream key; to create a stream key, use the StreamKey resource instead.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-channel.html
CloudformationResource: AWS::IVS::Channel
ExampleMetadata: fixture=_generated