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
Modifier and TypeClassDescriptionstatic final class
A fluent builder forCfnLaunchProfile
.static interface
A configuration for a streaming session.static interface
Example:static interface
The configuration for a streaming session’s upload storage.static interface
The upload storage root location (folder) on streaming workstations where files are uploaded.static interface
Example:Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionCfnLaunchProfile
(Construct scope, String id, CfnLaunchProfileProps props) Create a newAWS::NimbleStudio::LaunchProfile
.protected
CfnLaunchProfile
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnLaunchProfile
(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.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.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
The version number of the protocol that is used by the launch profile.void
A friendly name for the launch profile.void
A configuration for a streaming session.void
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.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, validateProperties
Methods inherited from class software.amazon.awscdk.core.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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:
inspect
in 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:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getAttrLaunchProfileId
The unique identifier for the launch profile resource. -
getCfnProperties
- Overrides:
getCfnProperties
in 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.
-