aws-cdk-lib.aws_nimblestudio.CfnLaunchProfile.StreamConfigurationProperty

interface StreamConfigurationProperty

LanguageType name
.NETAmazon.CDK.AWS.NimbleStudio.CfnLaunchProfile.StreamConfigurationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsnimblestudio#CfnLaunchProfile_StreamConfigurationProperty
Javasoftware.amazon.awscdk.services.nimblestudio.CfnLaunchProfile.StreamConfigurationProperty
Pythonaws_cdk.aws_nimblestudio.CfnLaunchProfile.StreamConfigurationProperty
TypeScript aws-cdk-lib » aws_nimblestudio » CfnLaunchProfile » StreamConfigurationProperty

A configuration for a streaming session.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_nimblestudio as nimblestudio } from 'aws-cdk-lib';
const streamConfigurationProperty: nimblestudio.CfnLaunchProfile.StreamConfigurationProperty = {
  clipboardMode: 'clipboardMode',
  ec2InstanceTypes: ['ec2InstanceTypes'],
  streamingImageIds: ['streamingImageIds'],

  // the properties below are optional
  automaticTerminationMode: 'automaticTerminationMode',
  maxSessionLengthInMinutes: 123,
  maxStoppedSessionLengthInMinutes: 123,
  sessionBackup: {
    maxBackupsToRetain: 123,
    mode: 'mode',
  },
  sessionPersistenceMode: 'sessionPersistenceMode',
  sessionStorage: {
    mode: ['mode'],

    // the properties below are optional
    root: {
      linux: 'linux',
      windows: 'windows',
    },
  },
  volumeConfiguration: {
    iops: 123,
    size: 123,
    throughput: 123,
  },
};

Properties

NameTypeDescription
clipboardModestringAllows or deactivates the use of the system clipboard to copy and paste between the streaming session and streaming client.
ec2InstanceTypesstring[]The EC2 instance types that users can select from when launching a streaming session with this launch profile.
streamingImageIdsstring[]The streaming images that users can select from when launching a streaming session with this launch profile.
automaticTerminationMode?stringCfnLaunchProfile.StreamConfigurationProperty.AutomaticTerminationMode.
maxSessionLengthInMinutes?numberThe length of time, in minutes, that a streaming session can be active before it is stopped or terminated.
maxStoppedSessionLengthInMinutes?numberInteger that determines if you can start and stop your sessions and how long a session can stay in the STOPPED state.
sessionBackup?IResolvable | StreamConfigurationSessionBackupPropertyCfnLaunchProfile.StreamConfigurationProperty.SessionBackup.
sessionPersistenceMode?stringCfnLaunchProfile.StreamConfigurationProperty.SessionPersistenceMode.
sessionStorage?IResolvable | StreamConfigurationSessionStoragePropertyThe upload storage for a streaming session.
volumeConfiguration?IResolvable | VolumeConfigurationPropertyCfnLaunchProfile.StreamConfigurationProperty.VolumeConfiguration.

clipboardMode

Type: string

Allows or deactivates the use of the system clipboard to copy and paste between the streaming session and streaming client.


ec2InstanceTypes

Type: string[]

The EC2 instance types that users can select from when launching a streaming session with this launch profile.


streamingImageIds

Type: string[]

The streaming images that users can select from when launching a streaming session with this launch profile.


automaticTerminationMode?

Type: string (optional)

CfnLaunchProfile.StreamConfigurationProperty.AutomaticTerminationMode.


maxSessionLengthInMinutes?

Type: number (optional)

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.


maxStoppedSessionLengthInMinutes?

Type: number (optional)

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).


sessionBackup?

Type: IResolvable | StreamConfigurationSessionBackupProperty (optional)

CfnLaunchProfile.StreamConfigurationProperty.SessionBackup.


sessionPersistenceMode?

Type: string (optional)

CfnLaunchProfile.StreamConfigurationProperty.SessionPersistenceMode.


sessionStorage?

Type: IResolvable | StreamConfigurationSessionStorageProperty (optional)

The upload storage for a streaming session.


volumeConfiguration?

Type: IResolvable | VolumeConfigurationProperty (optional)

CfnLaunchProfile.StreamConfigurationProperty.VolumeConfiguration.