Class CfnLaunchProfile

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, ITaggable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.101.0 (build b95fe5d)", date="2024-07-22T22:42:54.704Z") @Stability(Stable) public class CfnLaunchProfile extends CfnResource implements IInspectable, ITaggable
The AWS::NimbleStudio::LaunchProfile resource represents access permissions for a set of studio components, including types of workstations, render farms, and shared file systems.

Launch profiles are shared with studio users to give them access to the set of studio components.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.nimblestudio.*;
 CfnLaunchProfile cfnLaunchProfile = CfnLaunchProfile.Builder.create(this, "MyCfnLaunchProfile")
         .ec2SubnetIds(List.of("ec2SubnetIds"))
         .launchProfileProtocolVersions(List.of("launchProfileProtocolVersions"))
         .name("name")
         .streamConfiguration(StreamConfigurationProperty.builder()
                 .clipboardMode("clipboardMode")
                 .ec2InstanceTypes(List.of("ec2InstanceTypes"))
                 .streamingImageIds(List.of("streamingImageIds"))
                 // the properties below are optional
                 .automaticTerminationMode("automaticTerminationMode")
                 .maxSessionLengthInMinutes(123)
                 .maxStoppedSessionLengthInMinutes(123)
                 .sessionBackup(StreamConfigurationSessionBackupProperty.builder()
                         .maxBackupsToRetain(123)
                         .mode("mode")
                         .build())
                 .sessionPersistenceMode("sessionPersistenceMode")
                 .sessionStorage(StreamConfigurationSessionStorageProperty.builder()
                         .mode(List.of("mode"))
                         // the properties below are optional
                         .root(StreamingSessionStorageRootProperty.builder()
                                 .linux("linux")
                                 .windows("windows")
                                 .build())
                         .build())
                 .volumeConfiguration(VolumeConfigurationProperty.builder()
                         .iops(123)
                         .size(123)
                         .throughput(123)
                         .build())
                 .build())
         .studioComponentIds(List.of("studioComponentIds"))
         .studioId("studioId")
         // the properties below are optional
         .description("description")
         .tags(Map.of(
                 "tagsKey", "tags"))
         .build();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnLaunchProfile

      protected CfnLaunchProfile(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnLaunchProfile

      protected CfnLaunchProfile(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnLaunchProfile

      @Stability(Stable) public CfnLaunchProfile(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnLaunchProfileProps props)
      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties. This parameter is required.
  • Method Details

    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrLaunchProfileId

      @Stability(Stable) @NotNull public String getAttrLaunchProfileId()
      The unique identifier for the launch profile resource.
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getTags

      @Stability(Stable) @NotNull public TagManager getTags()
      Tag Manager which manages the tags for this resource.
      Specified by:
      getTags in interface ITaggable
    • getEc2SubnetIds

      @Stability(Stable) @NotNull public List<String> getEc2SubnetIds()
      Unique identifiers for a collection of EC2 subnets.
    • setEc2SubnetIds

      @Stability(Stable) public void setEc2SubnetIds(@NotNull List<String> value)
      Unique identifiers for a collection of EC2 subnets.
    • getLaunchProfileProtocolVersions

      @Stability(Stable) @NotNull public List<String> getLaunchProfileProtocolVersions()
      The version number of the protocol that is used by the launch profile.
    • setLaunchProfileProtocolVersions

      @Stability(Stable) public void setLaunchProfileProtocolVersions(@NotNull List<String> value)
      The version number of the protocol that is used by the launch profile.
    • getName

      @Stability(Stable) @NotNull public String getName()
      A friendly name for the launch profile.
    • setName

      @Stability(Stable) public void setName(@NotNull String value)
      A friendly name for the launch profile.
    • getStreamConfiguration

      @Stability(Stable) @NotNull public Object getStreamConfiguration()
      A configuration for a streaming session.
    • setStreamConfiguration

      @Stability(Stable) public void setStreamConfiguration(@NotNull IResolvable value)
      A configuration for a streaming session.
    • setStreamConfiguration

      @Stability(Stable) public void setStreamConfiguration(@NotNull CfnLaunchProfile.StreamConfigurationProperty value)
      A configuration for a streaming session.
    • getStudioComponentIds

      @Stability(Stable) @NotNull public List<String> getStudioComponentIds()
      Unique identifiers for a collection of studio components that can be used with this launch profile.
    • setStudioComponentIds

      @Stability(Stable) public void setStudioComponentIds(@NotNull List<String> value)
      Unique identifiers for a collection of studio components that can be used with this launch profile.
    • getStudioId

      @Stability(Stable) @NotNull public String getStudioId()
      The unique identifier for a studio resource.
    • setStudioId

      @Stability(Stable) public void setStudioId(@NotNull String value)
      The unique identifier for a studio resource.
    • getDescription

      @Stability(Stable) @Nullable public String getDescription()
      A human-readable description of the launch profile.
    • setDescription

      @Stability(Stable) public void setDescription(@Nullable String value)
      A human-readable description of the launch profile.
    • getTagsRaw

      @Stability(Stable) @Nullable public Map<String,String> getTagsRaw()
      An array of key-value pairs to apply to this resource.
    • setTagsRaw

      @Stability(Stable) public void setTagsRaw(@Nullable Map<String,String> value)
      An array of key-value pairs to apply to this resource.