public static interface CfnLaunchProfile.StreamConfigurationProperty
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) .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();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnLaunchProfile.StreamConfigurationProperty.Builder
A builder for
CfnLaunchProfile.StreamConfigurationProperty |
static class |
CfnLaunchProfile.StreamConfigurationProperty.Jsii$Proxy
An implementation for
CfnLaunchProfile.StreamConfigurationProperty |
Modifier and Type | Method and Description |
---|---|
static CfnLaunchProfile.StreamConfigurationProperty.Builder |
builder() |
default java.lang.String |
getAutomaticTerminationMode()
Indicates if a streaming session created from this launch profile should be terminated automatically or retained without termination after being in a `STOPPED` state.
|
java.lang.String |
getClipboardMode()
Allows or deactivates the use of the system clipboard to copy and paste between the streaming session and streaming client.
|
java.util.List<java.lang.String> |
getEc2InstanceTypes()
The EC2 instance types that users can select from when launching a streaming session with this launch profile.
|
default java.lang.Number |
getMaxSessionLengthInMinutes()
The length of time, in minutes, that a streaming session can be active before it is stopped or terminated.
|
default java.lang.Number |
getMaxStoppedSessionLengthInMinutes()
Integer that determines if you can start and stop your sessions and how long a session can stay in the `STOPPED` state.
|
default java.lang.String |
getSessionPersistenceMode()
Determine if a streaming session created from this launch profile can configure persistent storage.
|
default java.lang.Object |
getSessionStorage()
The upload storage for a streaming session.
|
java.util.List<java.lang.String> |
getStreamingImageIds()
The streaming images that users can select from when launching a streaming session with this launch profile.
|
default java.lang.Object |
getVolumeConfiguration()
Custom volume configuration for the root volumes that are attached to streaming sessions.
|
java.lang.String getClipboardMode()
java.util.List<java.lang.String> getEc2InstanceTypes()
java.util.List<java.lang.String> getStreamingImageIds()
default java.lang.String getAutomaticTerminationMode()
ACTIVATED
, the streaming session is scheduled for termination after being in the STOPPED
state for the time specified in maxStoppedSessionLengthInMinutes
.DEACTIVATED
, the streaming session can remain in the STOPPED
state indefinitely.
This parameter is only allowed when sessionPersistenceMode
is ACTIVATED
. When allowed, the default value for this parameter is DEACTIVATED
.
default java.lang.Number getMaxSessionLengthInMinutes()
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 java.lang.Number getMaxStoppedSessionLengthInMinutes()
The default value is 0. The maximum value is 5760.
This field is allowed only when sessionPersistenceMode
is ACTIVATED
and automaticTerminationMode
is ACTIVATED
.
If the value is set to 0, your sessions can’t be STOPPED
. If you then call StopStreamingSession
, the session fails. If the time that a session stays in the READY
state exceeds the maxSessionLengthInMinutes
value, the session will automatically be terminated (instead of STOPPED
).
If the value is set to a positive number, the session can be stopped. You can call StopStreamingSession
to stop sessions in the READY
state. If the time that a session stays in the READY
state exceeds the maxSessionLengthInMinutes
value, the session will automatically be stopped (instead of terminated).
default java.lang.String getSessionPersistenceMode()
This means that volumeConfiguration
and automaticTerminationMode
are configured.
default java.lang.Object getSessionStorage()
default java.lang.Object getVolumeConfiguration()
This parameter is only allowed when sessionPersistenceMode
is ACTIVATED
.
static CfnLaunchProfile.StreamConfigurationProperty.Builder builder()