Class CfnLaunchProfile
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.core.Construct
software.amazon.awscdk.core.CfnElement
software.amazon.awscdk.core.CfnRefElement
software.amazon.awscdk.core.CfnResource
software.amazon.awscdk.services.nimblestudio.CfnLaunchProfile
- All Implemented Interfaces:
IConstruct,IDependable,IInspectable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:00.491Z")
@Stability(Stable)
public class CfnLaunchProfile
extends CfnResource
implements IInspectable
A CloudFormation
AWS::NimbleStudio::LaunchProfile.
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();
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnLaunchProfile.static interfaceA configuration for a streaming session.static interfaceExample:static interfaceThe configuration for a streaming session’s upload storage.static interfaceThe upload storage root location (folder) on streaming workstations where files are uploaded.static interfaceExample:Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionCfnLaunchProfile(Construct scope, String id, CfnLaunchProfileProps props) Create a newAWS::NimbleStudio::LaunchProfile.protectedCfnLaunchProfile(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnLaunchProfile(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionThe unique identifier for the launch profile resource.A human-readable description of the launch profile.Unique identifiers for a collection of EC2 subnets.The version number of the protocol that is used by the launch profile.getName()A friendly name for the launch profile.A configuration for a streaming session.Unique identifiers for a collection of studio components that can be used with this launch profile.The unique identifier for a studio resource.getTags()An array of key-value pairs to apply to this resource.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetDescription(String value) A human-readable description of the launch profile.voidsetEc2SubnetIds(List<String> value) Unique identifiers for a collection of EC2 subnets.voidThe version number of the protocol that is used by the launch profile.voidA friendly name for the launch profile.voidA configuration for a streaming session.voidA configuration for a streaming session.voidsetStudioComponentIds(List<String> value) Unique identifiers for a collection of studio components that can be used with this launch profile.voidsetStudioId(String value) The unique identifier for a studio resource.Methods inherited from class software.amazon.awscdk.core.CfnResource
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.core.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validateMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
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 Construct scope, @NotNull String id, @NotNull CfnLaunchProfileProps props) Create a newAWS::NimbleStudio::LaunchProfile.- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
props-- resource properties.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector-- tree inspector to collect and process attributes.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrLaunchProfileId
The unique identifier for the launch profile resource. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getTags
An array of key-value pairs to apply to this resource.For more information, see Tag .
-
getEc2SubnetIds
Unique identifiers for a collection of EC2 subnets. -
setEc2SubnetIds
Unique identifiers for a collection of EC2 subnets. -
getLaunchProfileProtocolVersions
The version number of the protocol that is used by the launch profile.The only valid version is "2021-03-31".
-
setLaunchProfileProtocolVersions
The version number of the protocol that is used by the launch profile.The only valid version is "2021-03-31".
-
getName
A friendly name for the launch profile. -
setName
A friendly name for the launch profile. -
getStreamConfiguration
A configuration for a streaming session. -
setStreamConfiguration
@Stability(Stable) public void setStreamConfiguration(@NotNull CfnLaunchProfile.StreamConfigurationProperty value) A configuration for a streaming session. -
setStreamConfiguration
A configuration for a streaming session. -
getStudioComponentIds
Unique identifiers for a collection of studio components that can be used with this launch profile. -
setStudioComponentIds
Unique identifiers for a collection of studio components that can be used with this launch profile. -
getStudioId
The unique identifier for a studio resource.In Nimble Studio , all other resources are contained in a studio resource.
-
setStudioId
The unique identifier for a studio resource.In Nimble Studio , all other resources are contained in a studio resource.
-
getDescription
A human-readable description of the launch profile. -
setDescription
A human-readable description of the launch profile.
-