Class CfnChannel
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,IChannelRef,ITaggable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
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 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 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)
.containerFormat("containerFormat")
.insecureIngest(false)
.latencyMode("latencyMode")
.multitrackInputConfiguration(MultitrackInputConfigurationProperty.builder()
.enabled(false)
.maximumResolution("maximumResolution")
.policy("policy")
.build())
.name("name")
.preset("preset")
.recordingConfigurationArn("recordingConfigurationArn")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.type("type")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnChannel.static interfaceA complex type that specifies multitrack input configuration.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.ivs.IChannelRef
IChannelRef.Jsii$Default, IChannelRef.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnChannel(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnChannel(software.amazon.jsii.JsiiObjectRef objRef) CfnChannel(software.constructs.Construct scope, String id) Create a newAWS::IVS::Channel.CfnChannel(software.constructs.Construct scope, String id, CfnChannelProps props) Create a newAWS::IVS::Channel. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForChannel(IChannelRef resource) The 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.A reference to a Channel resource.Indicates which content-packaging format is used (MPEG-TS or fMP4).Whether the channel allows insecure RTMP ingest.Channel latency mode.Object specifying multitrack input configuration.getName()Channel name.An optional transcode preset for the channel.The ARN of a RecordingConfiguration resource.getTags()Tag Manager which manages the tags for this resource.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.static BooleanChecks whether the given object is a CfnChannel.renderProperties(Map<String, Object> props) voidsetAuthorized(Boolean value) Whether the channel is authorized.voidsetAuthorized(IResolvable value) Whether the channel is authorized.voidsetContainerFormat(String value) Indicates which content-packaging format is used (MPEG-TS or fMP4).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.voidObject specifying multitrack input configuration.voidObject specifying multitrack input configuration.voidChannel name.voidAn optional transcode preset for the channel.voidThe ARN of a RecordingConfiguration resource.voidsetTagsRaw(List<CfnTag> value) An array of key-value pairs to apply to this resource.voidThe channel type, which determines the allowable resolution and bitrate.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnChannel
protected CfnChannel(software.amazon.jsii.JsiiObjectRef objRef) -
CfnChannel
protected CfnChannel(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnChannel
@Stability(Stable) public CfnChannel(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnChannelProps props) Create a newAWS::IVS::Channel.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties.
-
CfnChannel
@Stability(Stable) public CfnChannel(@NotNull software.constructs.Construct scope, @NotNull String id) Create a newAWS::IVS::Channel.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.
-
-
Method Details
-
arnForChannel
- Parameters:
resource- This parameter is required.
-
isCfnChannel
Checks whether the given object is a CfnChannel.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrArn
The channel ARN.For example:
arn:aws:ivs:us-west-2:123456789012:channel/abcdABCDefgh -
getAttrIngestEndpoint
Channel 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 -
getAttrPlaybackUrl
Channel 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 classCfnResource
-
getChannelRef
A reference to a Channel resource.- Specified by:
getChannelRefin interfaceIChannelRef
-
getTags
Tag Manager which manages the tags for this resource. -
getAuthorized
Whether the channel is authorized.Returns union: either
BooleanorIResolvable -
setAuthorized
Whether the channel is authorized. -
setAuthorized
Whether the channel is authorized. -
getContainerFormat
Indicates which content-packaging format is used (MPEG-TS or fMP4). -
setContainerFormat
Indicates which content-packaging format is used (MPEG-TS or fMP4). -
getInsecureIngest
Whether the channel allows insecure RTMP ingest.Returns union: either
BooleanorIResolvable -
setInsecureIngest
Whether the channel allows insecure RTMP ingest. -
setInsecureIngest
Whether the channel allows insecure RTMP ingest. -
getLatencyMode
Channel latency mode.Valid values:.
-
setLatencyMode
Channel latency mode.Valid values:.
-
getMultitrackInputConfiguration
Object specifying multitrack input configuration.Returns union: either
IResolvableorCfnChannel.MultitrackInputConfigurationProperty -
setMultitrackInputConfiguration
Object specifying multitrack input configuration. -
setMultitrackInputConfiguration
@Stability(Stable) public void setMultitrackInputConfiguration(@Nullable CfnChannel.MultitrackInputConfigurationProperty value) Object specifying multitrack input configuration. -
getName
Channel name. -
setName
Channel name. -
getPreset
An optional transcode preset for the channel. -
setPreset
An optional transcode preset for the channel. -
getRecordingConfigurationArn
The ARN of a RecordingConfiguration resource. -
setRecordingConfigurationArn
The ARN of a RecordingConfiguration resource. -
getTagsRaw
An array of key-value pairs to apply to this resource. -
setTagsRaw
An array of key-value pairs to apply to this resource. -
getType
The channel type, which determines the allowable resolution and bitrate. -
setType
The channel type, which determines the allowable resolution and bitrate.
-