Struct aws_sdk_nimble::types::StreamConfigurationCreate
source · #[non_exhaustive]pub struct StreamConfigurationCreate {
pub clipboard_mode: StreamingClipboardMode,
pub ec2_instance_types: Vec<StreamingInstanceType>,
pub max_session_length_in_minutes: i32,
pub streaming_image_ids: Vec<String>,
pub max_stopped_session_length_in_minutes: i32,
pub session_storage: Option<StreamConfigurationSessionStorage>,
pub session_backup: Option<StreamConfigurationSessionBackup>,
pub session_persistence_mode: Option<SessionPersistenceMode>,
pub volume_configuration: Option<VolumeConfiguration>,
pub automatic_termination_mode: Option<AutomaticTerminationMode>,
}
Expand description
Configuration for streaming workstations created using this launch profile.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.clipboard_mode: StreamingClipboardMode
Allows or deactivates the use of the system clipboard to copy and paste between the streaming session and streaming client.
ec2_instance_types: Vec<StreamingInstanceType>
The EC2 instance types that users can select from when launching a streaming session with this launch profile.
max_session_length_in_minutes: i32
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.
streaming_image_ids: Vec<String>
The streaming images that users can select from when launching a streaming session with this launch profile.
max_stopped_session_length_in_minutes: i32
Integer that determines if you can start and stop your sessions and how long a session can stay in the STOPPED
state. 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).
session_storage: Option<StreamConfigurationSessionStorage>
The upload storage for a streaming workstation that is created using this launch profile.
session_backup: Option<StreamConfigurationSessionBackup>
Configures how streaming sessions are backed up when launched from this launch profile.
session_persistence_mode: Option<SessionPersistenceMode>
Determine if a streaming session created from this launch profile can configure persistent storage. This means that volumeConfiguration
and automaticTerminationMode
are configured.
volume_configuration: Option<VolumeConfiguration>
Custom volume configuration for the root volumes that are attached to streaming sessions.
This parameter is only allowed when sessionPersistenceMode
is ACTIVATED
.
automatic_termination_mode: Option<AutomaticTerminationMode>
Indicates if a streaming session created from this launch profile should be terminated automatically or retained without termination after being in a STOPPED
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
is ACTIVATED
. When allowed, the default value for this parameter is DEACTIVATED
.
Implementations§
source§impl StreamConfigurationCreate
impl StreamConfigurationCreate
sourcepub fn clipboard_mode(&self) -> &StreamingClipboardMode
pub fn clipboard_mode(&self) -> &StreamingClipboardMode
Allows or deactivates the use of the system clipboard to copy and paste between the streaming session and streaming client.
sourcepub fn ec2_instance_types(&self) -> &[StreamingInstanceType]
pub fn ec2_instance_types(&self) -> &[StreamingInstanceType]
The EC2 instance types that users can select from when launching a streaming session with this launch profile.
sourcepub fn max_session_length_in_minutes(&self) -> i32
pub fn max_session_length_in_minutes(&self) -> i32
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.
sourcepub fn streaming_image_ids(&self) -> &[String]
pub fn streaming_image_ids(&self) -> &[String]
The streaming images that users can select from when launching a streaming session with this launch profile.
sourcepub fn max_stopped_session_length_in_minutes(&self) -> i32
pub fn max_stopped_session_length_in_minutes(&self) -> i32
Integer that determines if you can start and stop your sessions and how long a session can stay in the STOPPED
state. 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).
sourcepub fn session_storage(&self) -> Option<&StreamConfigurationSessionStorage>
pub fn session_storage(&self) -> Option<&StreamConfigurationSessionStorage>
The upload storage for a streaming workstation that is created using this launch profile.
sourcepub fn session_backup(&self) -> Option<&StreamConfigurationSessionBackup>
pub fn session_backup(&self) -> Option<&StreamConfigurationSessionBackup>
Configures how streaming sessions are backed up when launched from this launch profile.
sourcepub fn session_persistence_mode(&self) -> Option<&SessionPersistenceMode>
pub fn session_persistence_mode(&self) -> Option<&SessionPersistenceMode>
Determine if a streaming session created from this launch profile can configure persistent storage. This means that volumeConfiguration
and automaticTerminationMode
are configured.
sourcepub fn volume_configuration(&self) -> Option<&VolumeConfiguration>
pub fn volume_configuration(&self) -> Option<&VolumeConfiguration>
Custom volume configuration for the root volumes that are attached to streaming sessions.
This parameter is only allowed when sessionPersistenceMode
is ACTIVATED
.
sourcepub fn automatic_termination_mode(&self) -> Option<&AutomaticTerminationMode>
pub fn automatic_termination_mode(&self) -> Option<&AutomaticTerminationMode>
Indicates if a streaming session created from this launch profile should be terminated automatically or retained without termination after being in a STOPPED
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
is ACTIVATED
. When allowed, the default value for this parameter is DEACTIVATED
.
source§impl StreamConfigurationCreate
impl StreamConfigurationCreate
sourcepub fn builder() -> StreamConfigurationCreateBuilder
pub fn builder() -> StreamConfigurationCreateBuilder
Creates a new builder-style object to manufacture StreamConfigurationCreate
.
Trait Implementations§
source§impl Clone for StreamConfigurationCreate
impl Clone for StreamConfigurationCreate
source§fn clone(&self) -> StreamConfigurationCreate
fn clone(&self) -> StreamConfigurationCreate
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StreamConfigurationCreate
impl Debug for StreamConfigurationCreate
source§impl PartialEq for StreamConfigurationCreate
impl PartialEq for StreamConfigurationCreate
source§fn eq(&self, other: &StreamConfigurationCreate) -> bool
fn eq(&self, other: &StreamConfigurationCreate) -> bool
self
and other
values to be equal, and is used
by ==
.