Interface CfnLaunchProfile.StreamConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLaunchProfile.StreamConfigurationProperty.Jsii$Proxy
- Enclosing class:
- CfnLaunchProfile
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.nimblestudio.*;
StreamConfigurationProperty streamConfigurationProperty = StreamConfigurationProperty.builder()
.clipboardMode("clipboardMode")
.ec2InstanceTypes(List.of("ec2InstanceTypes"))
.streamingImageIds(List.of("streamingImageIds"))
// the properties below are optional
.automaticTerminationMode("automaticTerminationMode")
.maxSessionLengthInMinutes(123)
.maxStoppedSessionLengthInMinutes(123)
.sessionBackup(StreamConfigurationSessionBackupProperty.builder()
.maxBackupsToRetain(123)
.mode("mode")
.build())
.sessionPersistenceMode("sessionPersistenceMode")
.sessionStorage(StreamConfigurationSessionStorageProperty.builder()
.mode(List.of("mode"))
// the properties below are optional
.root(StreamingSessionStorageRootProperty.builder()
.linux("linux")
.windows("windows")
.build())
.build())
.volumeConfiguration(VolumeConfigurationProperty.builder()
.iops(123)
.size(123)
.throughput(123)
.build())
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnLaunchProfile.StreamConfigurationPropertystatic final classAn implementation forCfnLaunchProfile.StreamConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringCfnLaunchProfile.StreamConfigurationProperty.AutomaticTerminationMode.Allows or deactivates the use of the system clipboard to copy and paste between the streaming session and streaming client.The EC2 instance types that users can select from when launching a streaming session with this launch profile.default NumberThe length of time, in minutes, that a streaming session can be active before it is stopped or terminated.default NumberInteger that determines if you can start and stop your sessions and how long a session can stay in theSTOPPEDstate.default ObjectCfnLaunchProfile.StreamConfigurationProperty.SessionBackup.default StringCfnLaunchProfile.StreamConfigurationProperty.SessionPersistenceMode.default ObjectThe upload storage for a streaming session.The streaming images that users can select from when launching a streaming session with this launch profile.default ObjectCfnLaunchProfile.StreamConfigurationProperty.VolumeConfiguration.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getClipboardMode
Allows or deactivates the use of the system clipboard to copy and paste between the streaming session and streaming client. -
getEc2InstanceTypes
The EC2 instance types that users can select from when launching a streaming session with this launch profile. -
getStreamingImageIds
The streaming images that users can select from when launching a streaming session with this launch profile. -
getAutomaticTerminationMode
CfnLaunchProfile.StreamConfigurationProperty.AutomaticTerminationMode. -
getMaxSessionLengthInMinutes
The length of time, in minutes, that a streaming session can be active before it is stopped or terminated.After this point, Nimble Studio automatically terminates or stops the session. The default length of time is 690 minutes, and the maximum length of time is 30 days.
-
getMaxStoppedSessionLengthInMinutes
Integer that determines if you can start and stop your sessions and how long a session can stay in theSTOPPEDstate.The default value is 0. The maximum value is 5760.
This field is allowed only when
sessionPersistenceModeisACTIVATEDandautomaticTerminationModeisACTIVATED.If the value is set to 0, your sessions can’t be
STOPPED. If you then callStopStreamingSession, the session fails. If the time that a session stays in theREADYstate exceeds themaxSessionLengthInMinutesvalue, the session will automatically be terminated (instead ofSTOPPED).If the value is set to a positive number, the session can be stopped. You can call
StopStreamingSessionto stop sessions in theREADYstate. If the time that a session stays in theREADYstate exceeds themaxSessionLengthInMinutesvalue, the session will automatically be stopped (instead of terminated). -
getSessionBackup
CfnLaunchProfile.StreamConfigurationProperty.SessionBackup. -
getSessionPersistenceMode
CfnLaunchProfile.StreamConfigurationProperty.SessionPersistenceMode. -
getSessionStorage
The upload storage for a streaming session. -
getVolumeConfiguration
CfnLaunchProfile.StreamConfigurationProperty.VolumeConfiguration. -
builder
-