@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.068Z") @Stability(value=Stable) public class CfnLaunchProfile extends CfnResource implements IInspectable
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
.maxSessionLengthInMinutes(123)
.maxStoppedSessionLengthInMinutes(123)
.sessionStorage(StreamConfigurationSessionStorageProperty.builder()
.mode(List.of("mode"))
// the properties below are optional
.root(StreamingSessionStorageRootProperty.builder()
.linux("linux")
.windows("windows")
.build())
.build())
.build())
.studioComponentIds(List.of("studioComponentIds"))
.studioId("studioId")
// the properties below are optional
.description("description")
.tags(Map.of(
"tagsKey", "tags"))
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnLaunchProfile.Builder
A fluent builder for
CfnLaunchProfile. |
static interface |
CfnLaunchProfile.StreamConfigurationProperty
A configuration for a streaming session.
|
static interface |
CfnLaunchProfile.StreamConfigurationSessionStorageProperty
The configuration for a streaming session’s upload storage.
|
static interface |
CfnLaunchProfile.StreamingSessionStorageRootProperty
The upload storage root location (folder) on streaming workstations where files are uploaded.
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnLaunchProfile(software.constructs.Construct scope,
String id,
CfnLaunchProfileProps props)
Create a new `AWS::NimbleStudio::LaunchProfile`.
|
protected |
CfnLaunchProfile(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnLaunchProfile(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrLaunchProfileId()
The unique identifier for the launch profile resource.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getDescription()
A human-readable description of the launch profile.
|
List<String> |
getEc2SubnetIds()
Unique identifiers for a collection of EC2 subnets.
|
List<String> |
getLaunchProfileProtocolVersions()
The version number of the protocol that is used by the launch profile.
|
String |
getName()
A friendly name for the launch profile.
|
Object |
getStreamConfiguration()
A configuration for a streaming session.
|
List<String> |
getStudioComponentIds()
Unique identifiers for a collection of studio components that can be used with this launch profile.
|
String |
getStudioId()
The unique identifier for a studio resource.
|
TagManager |
getTags()
An array of key-value pairs to apply to this resource.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setDescription(String value)
A human-readable description of the launch profile.
|
void |
setEc2SubnetIds(List<String> value)
Unique identifiers for a collection of EC2 subnets.
|
void |
setLaunchProfileProtocolVersions(List<String> value)
The version number of the protocol that is used by the launch profile.
|
void |
setName(String value)
A friendly name for the launch profile.
|
void |
setStreamConfiguration(CfnLaunchProfile.StreamConfigurationProperty value)
A configuration for a streaming session.
|
void |
setStreamConfiguration(IResolvable value)
A configuration for a streaming session.
|
void |
setStudioComponentIds(List<String> value)
Unique identifiers for a collection of studio components that can be used with this launch profile.
|
void |
setStudioId(String value)
The unique identifier for a studio resource.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnLaunchProfile(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnLaunchProfile(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnLaunchProfile(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnLaunchProfileProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrLaunchProfileId()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public TagManager getTags()
For more information, see Tag .
@Stability(value=Stable) @NotNull public List<String> getEc2SubnetIds()
@Stability(value=Stable)
public void setEc2SubnetIds(@NotNull
List<String> value)
@Stability(value=Stable) @NotNull public List<String> getLaunchProfileProtocolVersions()
The only valid version is "2021-03-31".
@Stability(value=Stable)
public void setLaunchProfileProtocolVersions(@NotNull
List<String> value)
The only valid version is "2021-03-31".
@Stability(value=Stable) @NotNull public String getName()
@Stability(value=Stable)
public void setName(@NotNull
String value)
@Stability(value=Stable) @NotNull public Object getStreamConfiguration()
@Stability(value=Stable)
public void setStreamConfiguration(@NotNull
CfnLaunchProfile.StreamConfigurationProperty value)
@Stability(value=Stable)
public void setStreamConfiguration(@NotNull
IResolvable value)
@Stability(value=Stable) @NotNull public List<String> getStudioComponentIds()
@Stability(value=Stable)
public void setStudioComponentIds(@NotNull
List<String> value)
@Stability(value=Stable) @NotNull public String getStudioId()
In Nimble Studio , all other resources are contained in a studio resource.
@Stability(value=Stable)
public void setStudioId(@NotNull
String value)
In Nimble Studio , all other resources are contained in a studio resource.
@Stability(value=Stable) @Nullable public String getDescription()
@Stability(value=Stable)
public void setDescription(@Nullable
String value)
Copyright © 2022. All rights reserved.