CfnLaunchProfilePropsMixin

class aws_cdk.mixins_preview.aws_nimblestudio.mixins.CfnLaunchProfilePropsMixin(props, *, strategy=None)

Bases: Mixin

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-nimblestudio-launchprofile.html.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-nimblestudio-launchprofile.html

CloudformationResource:

AWS::NimbleStudio::LaunchProfile

Mixin:

true

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview import mixins
from aws_cdk.mixins_preview.aws_nimblestudio import mixins as nimblestudio_mixins

cfn_launch_profile_props_mixin = nimblestudio_mixins.CfnLaunchProfilePropsMixin(nimblestudio_mixins.CfnLaunchProfileMixinProps(
    description="description",
    ec2_subnet_ids=["ec2SubnetIds"],
    launch_profile_protocol_versions=["launchProfileProtocolVersions"],
    name="name",
    stream_configuration=nimblestudio_mixins.CfnLaunchProfilePropsMixin.StreamConfigurationProperty(
        automatic_termination_mode="automaticTerminationMode",
        clipboard_mode="clipboardMode",
        ec2_instance_types=["ec2InstanceTypes"],
        max_session_length_in_minutes=123,
        max_stopped_session_length_in_minutes=123,
        session_backup=nimblestudio_mixins.CfnLaunchProfilePropsMixin.StreamConfigurationSessionBackupProperty(
            max_backups_to_retain=123,
            mode="mode"
        ),
        session_persistence_mode="sessionPersistenceMode",
        session_storage=nimblestudio_mixins.CfnLaunchProfilePropsMixin.StreamConfigurationSessionStorageProperty(
            mode=["mode"],
            root=nimblestudio_mixins.CfnLaunchProfilePropsMixin.StreamingSessionStorageRootProperty(
                linux="linux",
                windows="windows"
            )
        ),
        streaming_image_ids=["streamingImageIds"],
        volume_configuration=nimblestudio_mixins.CfnLaunchProfilePropsMixin.VolumeConfigurationProperty(
            iops=123,
            size=123,
            throughput=123
        )
    ),
    studio_component_ids=["studioComponentIds"],
    studio_id="studioId",
    tags={
        "tags_key": "tags"
    }
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

Create a mixin to apply properties to AWS::NimbleStudio::LaunchProfile.

Parameters:

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

IConstruct

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['description', 'ec2SubnetIds', 'launchProfileProtocolVersions', 'name', 'streamConfiguration', 'studioComponentIds', 'studioId', 'tags']

Static Methods

classmethod is_mixin(x)

(experimental) Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

Stability:

experimental

StreamConfigurationProperty

class CfnLaunchProfilePropsMixin.StreamConfigurationProperty(*, automatic_termination_mode=None, clipboard_mode=None, ec2_instance_types=None, max_session_length_in_minutes=None, max_stopped_session_length_in_minutes=None, session_backup=None, session_persistence_mode=None, session_storage=None, streaming_image_ids=None, volume_configuration=None)

Bases: object

Parameters:
See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-nimblestudio-launchprofile-streamconfiguration.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_nimblestudio import mixins as nimblestudio_mixins

stream_configuration_property = nimblestudio_mixins.CfnLaunchProfilePropsMixin.StreamConfigurationProperty(
    automatic_termination_mode="automaticTerminationMode",
    clipboard_mode="clipboardMode",
    ec2_instance_types=["ec2InstanceTypes"],
    max_session_length_in_minutes=123,
    max_stopped_session_length_in_minutes=123,
    session_backup=nimblestudio_mixins.CfnLaunchProfilePropsMixin.StreamConfigurationSessionBackupProperty(
        max_backups_to_retain=123,
        mode="mode"
    ),
    session_persistence_mode="sessionPersistenceMode",
    session_storage=nimblestudio_mixins.CfnLaunchProfilePropsMixin.StreamConfigurationSessionStorageProperty(
        mode=["mode"],
        root=nimblestudio_mixins.CfnLaunchProfilePropsMixin.StreamingSessionStorageRootProperty(
            linux="linux",
            windows="windows"
        )
    ),
    streaming_image_ids=["streamingImageIds"],
    volume_configuration=nimblestudio_mixins.CfnLaunchProfilePropsMixin.VolumeConfigurationProperty(
        iops=123,
        size=123,
        throughput=123
    )
)

Attributes

automatic_termination_mode

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-nimblestudio-launchprofile-streamconfiguration.html#cfn-nimblestudio-launchprofile-streamconfiguration-automaticterminationmode

Type:

see

clipboard_mode

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-nimblestudio-launchprofile-streamconfiguration.html#cfn-nimblestudio-launchprofile-streamconfiguration-clipboardmode

Type:

see

ec2_instance_types

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-nimblestudio-launchprofile-streamconfiguration.html#cfn-nimblestudio-launchprofile-streamconfiguration-ec2instancetypes

Type:

see

max_session_length_in_minutes

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-nimblestudio-launchprofile-streamconfiguration.html#cfn-nimblestudio-launchprofile-streamconfiguration-maxsessionlengthinminutes

Type:

see

max_stopped_session_length_in_minutes

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-nimblestudio-launchprofile-streamconfiguration.html#cfn-nimblestudio-launchprofile-streamconfiguration-maxstoppedsessionlengthinminutes

Type:

see

session_backup

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-nimblestudio-launchprofile-streamconfiguration.html#cfn-nimblestudio-launchprofile-streamconfiguration-sessionbackup

Type:

see

session_persistence_mode

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-nimblestudio-launchprofile-streamconfiguration.html#cfn-nimblestudio-launchprofile-streamconfiguration-sessionpersistencemode

Type:

see

session_storage

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-nimblestudio-launchprofile-streamconfiguration.html#cfn-nimblestudio-launchprofile-streamconfiguration-sessionstorage

Type:

see

streaming_image_ids

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-nimblestudio-launchprofile-streamconfiguration.html#cfn-nimblestudio-launchprofile-streamconfiguration-streamingimageids

Type:

see

volume_configuration

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-nimblestudio-launchprofile-streamconfiguration.html#cfn-nimblestudio-launchprofile-streamconfiguration-volumeconfiguration

Type:

see

StreamConfigurationSessionBackupProperty

class CfnLaunchProfilePropsMixin.StreamConfigurationSessionBackupProperty(*, max_backups_to_retain=None, mode=None)

Bases: object

Parameters:
  • max_backups_to_retain (Union[int, float, None])

  • mode (Optional[str])

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-nimblestudio-launchprofile-streamconfigurationsessionbackup.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_nimblestudio import mixins as nimblestudio_mixins

stream_configuration_session_backup_property = nimblestudio_mixins.CfnLaunchProfilePropsMixin.StreamConfigurationSessionBackupProperty(
    max_backups_to_retain=123,
    mode="mode"
)

Attributes

max_backups_to_retain

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-nimblestudio-launchprofile-streamconfigurationsessionbackup.html#cfn-nimblestudio-launchprofile-streamconfigurationsessionbackup-maxbackupstoretain

Type:

see

mode

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-nimblestudio-launchprofile-streamconfigurationsessionbackup.html#cfn-nimblestudio-launchprofile-streamconfigurationsessionbackup-mode

Type:

see

StreamConfigurationSessionStorageProperty

class CfnLaunchProfilePropsMixin.StreamConfigurationSessionStorageProperty(*, mode=None, root=None)

Bases: object

Parameters:
See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-nimblestudio-launchprofile-streamconfigurationsessionstorage.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_nimblestudio import mixins as nimblestudio_mixins

stream_configuration_session_storage_property = nimblestudio_mixins.CfnLaunchProfilePropsMixin.StreamConfigurationSessionStorageProperty(
    mode=["mode"],
    root=nimblestudio_mixins.CfnLaunchProfilePropsMixin.StreamingSessionStorageRootProperty(
        linux="linux",
        windows="windows"
    )
)

Attributes

mode

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-nimblestudio-launchprofile-streamconfigurationsessionstorage.html#cfn-nimblestudio-launchprofile-streamconfigurationsessionstorage-mode

Type:

see

root

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-nimblestudio-launchprofile-streamconfigurationsessionstorage.html#cfn-nimblestudio-launchprofile-streamconfigurationsessionstorage-root

Type:

see

StreamingSessionStorageRootProperty

class CfnLaunchProfilePropsMixin.StreamingSessionStorageRootProperty(*, linux=None, windows=None)

Bases: object

Parameters:
  • linux (Optional[str])

  • windows (Optional[str])

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-nimblestudio-launchprofile-streamingsessionstorageroot.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_nimblestudio import mixins as nimblestudio_mixins

streaming_session_storage_root_property = nimblestudio_mixins.CfnLaunchProfilePropsMixin.StreamingSessionStorageRootProperty(
    linux="linux",
    windows="windows"
)

Attributes

linux

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-nimblestudio-launchprofile-streamingsessionstorageroot.html#cfn-nimblestudio-launchprofile-streamingsessionstorageroot-linux

Type:

see

windows

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-nimblestudio-launchprofile-streamingsessionstorageroot.html#cfn-nimblestudio-launchprofile-streamingsessionstorageroot-windows

Type:

see

VolumeConfigurationProperty

class CfnLaunchProfilePropsMixin.VolumeConfigurationProperty(*, iops=None, size=None, throughput=None)

Bases: object

Parameters:
  • iops (Union[int, float, None])

  • size (Union[int, float, None])

  • throughput (Union[int, float, None])

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-nimblestudio-launchprofile-volumeconfiguration.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_nimblestudio import mixins as nimblestudio_mixins

volume_configuration_property = nimblestudio_mixins.CfnLaunchProfilePropsMixin.VolumeConfigurationProperty(
    iops=123,
    size=123,
    throughput=123
)

Attributes

iops

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-nimblestudio-launchprofile-volumeconfiguration.html#cfn-nimblestudio-launchprofile-volumeconfiguration-iops

Type:

see

size

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-nimblestudio-launchprofile-volumeconfiguration.html#cfn-nimblestudio-launchprofile-volumeconfiguration-size

Type:

see

throughput

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-nimblestudio-launchprofile-volumeconfiguration.html#cfn-nimblestudio-launchprofile-volumeconfiguration-throughput

Type:

see