CfnLaunchProfilePropsMixin
- class aws_cdk.mixins_preview.aws_nimblestudio.mixins.CfnLaunchProfilePropsMixin(props, *, strategy=None)
Bases:
Mixin- See:
- 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:
props (
Union[CfnLaunchProfileMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
- 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
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.- 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:
automatic_termination_mode (
Optional[str])clipboard_mode (
Optional[str])ec2_instance_types (
Optional[Sequence[str]])max_session_length_in_minutes (
Union[int,float,None])max_stopped_session_length_in_minutes (
Union[int,float,None])session_backup (
Union[IResolvable,StreamConfigurationSessionBackupProperty,Dict[str,Any],None])session_persistence_mode (
Optional[str])session_storage (
Union[IResolvable,StreamConfigurationSessionStorageProperty,Dict[str,Any],None])streaming_image_ids (
Optional[Sequence[str]])volume_configuration (
Union[IResolvable,VolumeConfigurationProperty,Dict[str,Any],None])
- See:
- 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
-
- Type:
see
- clipboard_mode
-
- Type:
see
- ec2_instance_types
-
- Type:
see
- max_session_length_in_minutes
-
- Type:
see
- max_stopped_session_length_in_minutes
-
- Type:
see
- session_backup
-
- Type:
see
- session_persistence_mode
-
- Type:
see
- session_storage
-
- Type:
see
- streaming_image_ids
-
- 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:
- 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
-
- Type:
see
StreamConfigurationSessionStorageProperty
- class CfnLaunchProfilePropsMixin.StreamConfigurationSessionStorageProperty(*, mode=None, root=None)
Bases:
object- Parameters:
mode (
Optional[Sequence[str]])root (
Union[IResolvable,StreamingSessionStorageRootProperty,Dict[str,Any],None])
- See:
- 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
-
- Type:
see
StreamingSessionStorageRootProperty
- class CfnLaunchProfilePropsMixin.StreamingSessionStorageRootProperty(*, linux=None, windows=None)
Bases:
object- Parameters:
linux (
Optional[str])windows (
Optional[str])
- See:
- 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
-
- 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:
- 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
-
- Type:
see
- size
-
- Type:
see