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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnLaunchProfile.StreamConfigurationPropertystatic final classAn implementation forCfnLaunchProfile.StreamConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringIndicates if a streaming session created from this launch profile should be terminated automatically or retained without termination after being in aSTOPPEDstate.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 ObjectInformation about the streaming session backup.default StringDetermine if a streaming session created from this launch profile can configure persistent storage.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 ObjectCustom volume configuration for the root volumes that are attached to streaming sessions.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.- See Also:
-
getEc2InstanceTypes
The EC2 instance types that users can select from when launching a streaming session with this launch profile.- See Also:
-
getStreamingImageIds
The streaming images that users can select from when launching a streaming session with this launch profile.- See Also:
-
getAutomaticTerminationMode
Indicates if a streaming session created from this launch profile should be terminated automatically or retained without termination after being in aSTOPPEDstate.- When
ACTIVATED, the streaming session is scheduled for termination after being in theSTOPPEDstate for the time specified inmaxStoppedSessionLengthInMinutes. - When
DEACTIVATED, the streaming session can remain in theSTOPPEDstate indefinitely.
This parameter is only allowed when
sessionPersistenceModeisACTIVATED. When allowed, the default value for this parameter isDEACTIVATED.- See Also:
- When
-
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.
Default: - 690
- See Also:
-
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).Default: - 0
- See Also:
-
getSessionBackup
Information about the streaming session backup.- See Also:
-
getSessionPersistenceMode
Determine if a streaming session created from this launch profile can configure persistent storage.This means that
volumeConfigurationandautomaticTerminationModeare configured.- See Also:
-
getSessionStorage
The upload storage for a streaming session.- See Also:
-
getVolumeConfiguration
Custom volume configuration for the root volumes that are attached to streaming sessions.This parameter is only allowed when
sessionPersistenceModeisACTIVATED.- See Also:
-
builder
-