Class CfnChannel
- All Implemented Interfaces:
- IConstruct,- IDependable,- IInspectable,- software.amazon.jsii.JsiiSerializable,- software.constructs.IConstruct
AWS::IVS::Channel.
 
 The AWS::IVS::Channel resource specifies an  channel. A channel stores configuration information related to your live stream. For more information, see CreateChannel in the Amazon Interactive Video Service API Reference .
 
By default, the IVS API CreateChannel endpoint creates a stream key in addition to a channel. The Channel resource does not create a stream key; to create a stream key, use the StreamKey resource instead.
Example:
 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.ivs.*;
 CfnChannel cfnChannel = CfnChannel.Builder.create(this, "MyCfnChannel")
         .authorized(false)
         .insecureIngest(false)
         .latencyMode("latencyMode")
         .name("name")
         .recordingConfigurationArn("recordingConfigurationArn")
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .type("type")
         .build();
 - 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObjectsoftware.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstructIConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.constructs.IConstructsoftware.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectableIInspectable.Jsii$Default, IInspectable.Jsii$Proxy
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class.
- 
Constructor SummaryConstructorsModifierConstructorDescriptionCfnChannel(Construct scope, String id) Create a newAWS::IVS::Channel.CfnChannel(Construct scope, String id, CfnChannelProps props) Create a newAWS::IVS::Channel.protectedCfnChannel(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnChannel(software.amazon.jsii.JsiiObjectRef objRef) 
- 
Method SummaryModifier and TypeMethodDescriptionThe channel ARN.Channel ingest endpoint, part of the definition of an ingest server, used when you set up streaming software.Channel playback URL.Whether the channel is authorized.Whether the channel allows insecure RTMP ingest.Channel latency mode.getName()Channel name.The ARN of a RecordingConfiguration resource.getTags()An array of key-value pairs to apply to this resource.getType()The channel type, which determines the allowable resolution and bitrate.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetAuthorized(Boolean value) Whether the channel is authorized.voidsetAuthorized(IResolvable value) Whether the channel is authorized.voidsetInsecureIngest(Boolean value) Whether the channel allows insecure RTMP ingest.voidsetInsecureIngest(IResolvable value) Whether the channel allows insecure RTMP ingest.voidsetLatencyMode(String value) Channel latency mode.voidChannel name.voidThe ARN of a RecordingConfiguration resource.voidThe channel type, which determines the allowable resolution and bitrate.Methods inherited from class software.amazon.awscdk.core.CfnResourceaddDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.core.CfnRefElementgetRefMethods inherited from class software.amazon.awscdk.core.CfnElementgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.amazon.awscdk.core.ConstructgetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validateMethods inherited from class software.amazon.jsii.JsiiObjectjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable$jsii$toJson
- 
Field Details- 
CFN_RESOURCE_TYPE_NAMEThe CloudFormation resource type name for this resource class.
 
- 
- 
Constructor Details- 
CfnChannelprotected CfnChannel(software.amazon.jsii.JsiiObjectRef objRef) 
- 
CfnChannelprotected CfnChannel(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) 
- 
CfnChannel@Stability(Stable) public CfnChannel(@NotNull Construct scope, @NotNull String id, @Nullable CfnChannelProps props) Create a newAWS::IVS::Channel.- Parameters:
- scope-- scope in which this resource is defined.
 
- id-- scoped id of the resource.
 
- props-- resource properties.
 
 
- 
CfnChannelCreate a newAWS::IVS::Channel.- Parameters:
- scope-- scope in which this resource is defined.
 
- id-- scoped id of the resource.
 
 
 
- 
- 
Method Details- 
inspectExamines the CloudFormation resource and discloses attributes.- Specified by:
- inspectin interface- IInspectable
- Parameters:
- inspector-- tree inspector to collect and process attributes.
 
 
- 
renderProperties@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
- renderPropertiesin class- CfnResource
- Parameters:
- props- This parameter is required.
 
- 
getAttrArnThe channel ARN.For example: arn:aws:ivs:us-west-2:123456789012:channel/abcdABCDefgh
- 
getAttrIngestEndpointChannel ingest endpoint, part of the definition of an ingest server, used when you set up streaming software.For example: a1b2c3d4e5f6.global-contribute.live-video.net
- 
getAttrPlaybackUrlChannel playback URL.For example: https://a1b2c3d4e5f6.us-west-2.playback.live-video.net/api/video/v1/us-west-2.123456789012.channel.abcdEFGH.m3u8
- 
getCfnProperties- Overrides:
- getCfnPropertiesin class- CfnResource
 
- 
getTagsAn array of key-value pairs to apply to this resource.For more information, see Tag . 
- 
getAuthorizedWhether the channel is authorized.Default : false
- 
setAuthorizedWhether the channel is authorized.Default : false
- 
setAuthorizedWhether the channel is authorized.Default : false
- 
getInsecureIngestWhether the channel allows insecure RTMP ingest.Default : false
- 
setInsecureIngestWhether the channel allows insecure RTMP ingest.Default : false
- 
setInsecureIngestWhether the channel allows insecure RTMP ingest.Default : false
- 
getLatencyModeChannel latency mode. Valid values:.- NORMAL: Use NORMAL to broadcast and deliver live video up to Full HD.
- LOW: Use LOW for near real-time interactions with viewers.
 In the console, LOWandNORMALcorrespond toUltra-lowandStandard, respectively.Default : LOW
- 
setLatencyModeChannel latency mode. Valid values:.- NORMAL: Use NORMAL to broadcast and deliver live video up to Full HD.
- LOW: Use LOW for near real-time interactions with viewers.
 In the console, LOWandNORMALcorrespond toUltra-lowandStandard, respectively.Default : LOW
- 
getNameChannel name.
- 
setNameChannel name.
- 
getRecordingConfigurationArnThe ARN of a RecordingConfiguration resource.An empty string indicates that recording is disabled for the channel. A RecordingConfiguration ARN indicates that recording is enabled using the specified recording configuration. See the RecordingConfiguration resource for more information and an example. Default : "" (empty string, recording is disabled) 
- 
setRecordingConfigurationArnThe ARN of a RecordingConfiguration resource.An empty string indicates that recording is disabled for the channel. A RecordingConfiguration ARN indicates that recording is enabled using the specified recording configuration. See the RecordingConfiguration resource for more information and an example. Default : "" (empty string, recording is disabled) 
- 
getTypeThe channel type, which determines the allowable resolution and bitrate.If you exceed the allowable resolution or bitrate, the stream probably will disconnect immediately. Valid values: - STANDARD: Video is transcoded: multiple qualities are generated from the original input to automatically give viewers the best experience for their devices and network conditions. Transcoding allows higher playback quality across a range of download speeds. Resolution can be up to 1080p and bitrate can be up to 8.5 Mbps. Audio is transcoded only for renditions 360p and below; above that, audio is passed through.
- BASIC: Video is transmuxed: Amazon IVS delivers the original input to viewers. The viewer’s video-quality choice is limited to the original input. Resolution can be up to 1080p and bitrate can be up to 1.5 Mbps for 480p and up to 3.5 Mbps for resolutions between 480p and 1080p.
 Default : STANDARD
- 
setTypeThe channel type, which determines the allowable resolution and bitrate.If you exceed the allowable resolution or bitrate, the stream probably will disconnect immediately. Valid values: - STANDARD: Video is transcoded: multiple qualities are generated from the original input to automatically give viewers the best experience for their devices and network conditions. Transcoding allows higher playback quality across a range of download speeds. Resolution can be up to 1080p and bitrate can be up to 8.5 Mbps. Audio is transcoded only for renditions 360p and below; above that, audio is passed through.
- BASIC: Video is transmuxed: Amazon IVS delivers the original input to viewers. The viewer’s video-quality choice is limited to the original input. Resolution can be up to 1080p and bitrate can be up to 1.5 Mbps for 480p and up to 3.5 Mbps for resolutions between 480p and 1080p.
 Default : STANDARD
 
-