Class CfnStage
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.CfnStage
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,IStageRef,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:19:46.113Z")
@Stability(Stable)
public class CfnStage
extends CfnResource
implements IInspectable, IStageRef, ITaggableV2
The
AWS::IVS::Stage resource specifies an stage.
A stage is a virtual space where participants can exchange video in real time. For more information, see CreateStage in the Amazon IVS Real-Time Streaming API Reference .
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.*;
CfnStage cfnStage = CfnStage.Builder.create(this, "MyCfnStage")
.autoParticipantRecordingConfiguration(AutoParticipantRecordingConfigurationProperty.builder()
.storageConfigurationArn("storageConfigurationArn")
// the properties below are optional
.hlsConfiguration(HlsConfigurationProperty.builder()
.participantRecordingHlsConfiguration(ParticipantRecordingHlsConfigurationProperty.builder()
.targetSegmentDurationSeconds(123)
.build())
.build())
.mediaTypes(List.of("mediaTypes"))
.recordingReconnectWindowSeconds(123)
.thumbnailConfiguration(ThumbnailConfigurationProperty.builder()
.participantThumbnailConfiguration(ParticipantThumbnailConfigurationProperty.builder()
.recordingMode("recordingMode")
.storage(List.of("storage"))
.targetIntervalSeconds(123)
.build())
.build())
.build())
.name("name")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceTheAWS::IVS::AutoParticipantRecordingConfigurationproperty type describes a configuration for individual participant recording.static final classA fluent builder forCfnStage.static interfaceObject specifying an HLS configuration for individual participant recording.static interfaceObject specifying a configuration of participant HLS recordings for individual participant recording.static interfaceObject specifying a configuration of thumbnails for recorded video from an individual participant.static interfaceAn object representing a configuration of thumbnails for recorded video.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested 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.interfaces.ivs.IStageRef
IStageRef.Jsii$Default, IStageRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnStage(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnStage(software.amazon.jsii.JsiiObjectRef objRef) Create a newAWS::IVS::Stage.CfnStage(software.constructs.Construct scope, String id, CfnStageProps props) Create a newAWS::IVS::Stage. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForStage(IStageRef resource) ID of the active session within the stage.The stage ARN.Configuration object for individual participant recording.Tag Manager which manages the tags for this resource.getName()Stage name.A reference to a Stage resource.getTags()An array of key-value pairs to apply to this resource.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanisCfnStage(Object x) Checks whether the given object is a CfnStage.renderProperties(Map<String, Object> props) voidConfiguration object for individual participant recording.voidsetAutoParticipantRecordingConfiguration(CfnStage.AutoParticipantRecordingConfigurationProperty value) Configuration object for individual participant recording.voidStage name.voidAn array of key-value pairs to apply to this resource.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, overrideLogicalId, withMethods 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
getNode, withMethods 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
-
CfnStage
protected CfnStage(software.amazon.jsii.JsiiObjectRef objRef) -
CfnStage
protected CfnStage(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnStage
@Stability(Stable) public CfnStage(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnStageProps props) Create a newAWS::IVS::Stage.- 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.
-
CfnStage
@Stability(Stable) public CfnStage(@NotNull software.constructs.Construct scope, @NotNull String id) Create a newAWS::IVS::Stage.- 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
-
arnForStage
- Parameters:
resource- This parameter is required.
-
isCfnStage
Checks whether the given object is a CfnStage.- 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.
-
getAttrActiveSessionId
ID of the active session within the stage.For example:
st-a1b2c3d4e5f6g -
getAttrArn
The stage ARN.For example:
arn:aws:ivs:us-west-2:123456789012:stage/abcdABCDefgh -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getStageRef
A reference to a Stage resource.- Specified by:
getStageRefin interfaceIStageRef
-
getAutoParticipantRecordingConfiguration
Configuration object for individual participant recording.Returns union: either
IResolvableorCfnStage.AutoParticipantRecordingConfigurationProperty -
setAutoParticipantRecordingConfiguration
@Stability(Stable) public void setAutoParticipantRecordingConfiguration(@Nullable IResolvable value) Configuration object for individual participant recording. -
setAutoParticipantRecordingConfiguration
@Stability(Stable) public void setAutoParticipantRecordingConfiguration(@Nullable CfnStage.AutoParticipantRecordingConfigurationProperty value) Configuration object for individual participant recording. -
getName
Stage name. -
setName
Stage name. -
getTags
An array of key-value pairs to apply to this resource. -
setTags
An array of key-value pairs to apply to this resource.
-