CfnLaunchProfileProps
- class aws_cdk.aws_nimblestudio.CfnLaunchProfileProps(*, ec2_subnet_ids, launch_profile_protocol_versions, name, stream_configuration, studio_component_ids, studio_id, description=None, tags=None)
Bases:
object
Properties for defining a
CfnLaunchProfile
.- Parameters:
ec2_subnet_ids (
Sequence
[str
]) – Unique identifiers for a collection of EC2 subnets.launch_profile_protocol_versions (
Sequence
[str
]) – The version number of the protocol that is used by the launch profile. The only valid version is “2021-03-31”.name (
str
) – A friendly name for the launch profile.stream_configuration (
Union
[IResolvable
,StreamConfigurationProperty
,Dict
[str
,Any
]]) – A configuration for a streaming session.studio_component_ids (
Sequence
[str
]) – Unique identifiers for a collection of studio components that can be used with this launch profile.studio_id (
str
) – The unique identifier for a studio resource. In Nimble Studio, all other resources are contained in a studio resource.description (
Optional
[str
]) – A human-readable description of the launch profile.tags (
Optional
[Mapping
[str
,str
]]) – An array of key-value pairs to apply to this resource. For more information, see Tag .
- 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 import aws_nimblestudio as nimblestudio cfn_launch_profile_props = nimblestudio.CfnLaunchProfileProps( ec2_subnet_ids=["ec2SubnetIds"], launch_profile_protocol_versions=["launchProfileProtocolVersions"], name="name", stream_configuration=nimblestudio.CfnLaunchProfile.StreamConfigurationProperty( clipboard_mode="clipboardMode", ec2_instance_types=["ec2InstanceTypes"], streaming_image_ids=["streamingImageIds"], # the properties below are optional automatic_termination_mode="automaticTerminationMode", max_session_length_in_minutes=123, max_stopped_session_length_in_minutes=123, session_backup=nimblestudio.CfnLaunchProfile.StreamConfigurationSessionBackupProperty( max_backups_to_retain=123, mode="mode" ), session_persistence_mode="sessionPersistenceMode", session_storage=nimblestudio.CfnLaunchProfile.StreamConfigurationSessionStorageProperty( mode=["mode"], # the properties below are optional root=nimblestudio.CfnLaunchProfile.StreamingSessionStorageRootProperty( linux="linux", windows="windows" ) ), volume_configuration=nimblestudio.CfnLaunchProfile.VolumeConfigurationProperty( iops=123, size=123, throughput=123 ) ), studio_component_ids=["studioComponentIds"], studio_id="studioId", # the properties below are optional description="description", tags={ "tags_key": "tags" } )
Attributes
- description
A human-readable description of the launch profile.
- ec2_subnet_ids
Unique identifiers for a collection of EC2 subnets.
- launch_profile_protocol_versions
The version number of the protocol that is used by the launch profile.
The only valid version is “2021-03-31”.
- name
A friendly name for the launch profile.
- stream_configuration
A configuration for a streaming session.
- studio_component_ids
Unique identifiers for a collection of studio components that can be used with this launch profile.
- studio_id
The unique identifier for a studio resource.
In Nimble Studio, all other resources are contained in a studio resource.