Class CfnChannel
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.ivs.CfnChannel
- All Implemented Interfaces:
IInspectable
,ITaggable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.110.0 (build 336b265)",
date="2025-04-24T21:15:54.941Z")
@Stability(Stable)
public class CfnChannel
extends CfnResource
implements IInspectable, ITaggable
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 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 class
A fluent builder forCfnChannel
.static interface
A complex type that specifies multitrack input configuration.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
CfnChannel
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnChannel
(software.amazon.jsii.JsiiObjectRef objRef) CfnChannel
(software.constructs.Construct scope, String id) CfnChannel
(software.constructs.Construct scope, String id, CfnChannelProps props) -
Method Summary
Modifier and TypeMethodDescriptionChannel ARN is automatically generated on creation and assigned as the unique identifier.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.Indicates which content-packaging format is used (MPEG-TS or fMP4).Whether the channel allows insecure ingest.Channel latency mode.Object specifying multitrack input configuration.getName()
Channel.Optional transcode preset for the channel.Recording Configuration ARN.getTags()
Tag Manager which manages the tags for this resource.A list of key-value pairs that contain metadata for the asset model.getType()
Channel type, which determines the allowable resolution and bitrate.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setAuthorized
(Boolean value) Whether the channel is authorized.void
setAuthorized
(IResolvable value) Whether the channel is authorized.void
setContainerFormat
(String value) Indicates which content-packaging format is used (MPEG-TS or fMP4).void
setInsecureIngest
(Boolean value) Whether the channel allows insecure ingest.void
setInsecureIngest
(IResolvable value) Whether the channel allows insecure ingest.void
setLatencyMode
(String value) Channel latency mode.void
Object specifying multitrack input configuration.void
Object specifying multitrack input configuration.void
Channel.void
Optional transcode preset for the channel.void
Recording Configuration ARN.void
setTagsRaw
(List<CfnTag> value) A list of key-value pairs that contain metadata for the asset model.void
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, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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) - 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) - 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
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in 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:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getAttrArn
Channel ARN is automatically generated on creation and assigned as the unique identifier. -
getAttrIngestEndpoint
Channel ingest endpoint, part of the definition of an ingest server, used when you set up streaming software. -
getAttrPlaybackUrl
Channel Playback URL. -
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getTags
Tag Manager which manages the tags for this resource. -
getAuthorized
Whether the channel is authorized. -
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 ingest. -
setInsecureIngest
Whether the channel allows insecure ingest. -
setInsecureIngest
Whether the channel allows insecure ingest. -
getLatencyMode
Channel latency mode. -
setLatencyMode
Channel latency mode. -
getMultitrackInputConfiguration
Object specifying multitrack input configuration. -
setMultitrackInputConfiguration
Object specifying multitrack input configuration. -
setMultitrackInputConfiguration
@Stability(Stable) public void setMultitrackInputConfiguration(@Nullable CfnChannel.MultitrackInputConfigurationProperty value) Object specifying multitrack input configuration. -
getName
Channel. -
setName
Channel. -
getPreset
Optional transcode preset for the channel. -
setPreset
Optional transcode preset for the channel. -
getRecordingConfigurationArn
Recording Configuration ARN. -
setRecordingConfigurationArn
Recording Configuration ARN. -
getTagsRaw
A list of key-value pairs that contain metadata for the asset model. -
setTagsRaw
A list of key-value pairs that contain metadata for the asset model. -
getType
Channel type, which determines the allowable resolution and bitrate. -
setType
Channel type, which determines the allowable resolution and bitrate.
-