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[StreamConfigurationProperty, Dict[str, Any], IResolvable]) – 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 .

Link

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

ExampleMetadata

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.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
        max_session_length_in_minutes=123,
        max_stopped_session_length_in_minutes=123,
        session_storage=nimblestudio.CfnLaunchProfile.StreamConfigurationSessionStorageProperty(
            mode=["mode"],

            # the properties below are optional
            root=nimblestudio.CfnLaunchProfile.StreamingSessionStorageRootProperty(
                linux="linux",
                windows="windows"
            )
        )
    ),
    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.

Link

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

Return type

Optional[str]

ec2_subnet_ids

Unique identifiers for a collection of EC2 subnets.

Link

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

Return type

List[str]

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

Link

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

Return type

List[str]

name

A friendly name for the launch profile.

Link

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

Return type

str

stream_configuration

A configuration for a streaming session.

Link

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

Return type

Union[StreamConfigurationProperty, IResolvable]

studio_component_ids

Unique identifiers for a collection of studio components that can be used with this launch profile.

Link

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

Return type

List[str]

studio_id

The unique identifier for a studio resource.

In Nimble Studio , all other resources are contained in a studio resource.

Link

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

Return type

str

tags

An array of key-value pairs to apply to this resource.

For more information, see Tag .

Link

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

Return type

Optional[Mapping[str, str]]