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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnLaunchProfile.StreamConfigurationProperty
static final class
An implementation forCfnLaunchProfile.StreamConfigurationProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default String
Indicates if a streaming session created from this launch profile should be terminated automatically or retained without termination after being in aSTOPPED
state.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 Number
The length of time, in minutes, that a streaming session can be active before it is stopped or terminated.default Number
Integer that determines if you can start and stop your sessions and how long a session can stay in theSTOPPED
state.default Object
Information about the streaming session backup.default String
Determine if a streaming session created from this launch profile can configure persistent storage.default Object
The upload storage for a streaming session.The streaming images that users can select from when launching a streaming session with this launch profile.default Object
Custom 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 aSTOPPED
state.- When
ACTIVATED
, the streaming session is scheduled for termination after being in theSTOPPED
state for the time specified inmaxStoppedSessionLengthInMinutes
. - When
DEACTIVATED
, the streaming session can remain in theSTOPPED
state indefinitely.
This parameter is only allowed when
sessionPersistenceMode
isACTIVATED
. 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.
- See Also:
-
getMaxStoppedSessionLengthInMinutes
Integer that determines if you can start and stop your sessions and how long a session can stay in theSTOPPED
state.The default value is 0. The maximum value is 5760.
This field is allowed only when
sessionPersistenceMode
isACTIVATED
andautomaticTerminationMode
isACTIVATED
.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 theREADY
state exceeds themaxSessionLengthInMinutes
value, 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
StopStreamingSession
to stop sessions in theREADY
state. If the time that a session stays in theREADY
state exceeds themaxSessionLengthInMinutes
value, the session will automatically be stopped (instead of terminated).- 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
volumeConfiguration
andautomaticTerminationMode
are 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
sessionPersistenceMode
isACTIVATED
.- See Also:
-
builder
-