Class CfnStudioComponent
- All Implemented Interfaces:
IConstruct,IDependable,IInspectable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct
AWS::NimbleStudio::StudioComponent.
The AWS::NimbleStudio::StudioComponent resource represents a network resource that is used by a studio's users and workflows. A typical studio contains studio components for the following: a render farm, an Active Directory, a licensing service, and a shared file system.
Access to a studio component is managed by specifying security groups for the resource, as well as its endpoint.
A studio component also has a set of initialization scripts, which are returned by GetLaunchProfileInitialization . These initialization scripts run on streaming sessions when they start. They provide users with flexibility in controlling how studio resources are configured on a streaming session.
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.*;
CfnStudioComponent cfnStudioComponent = CfnStudioComponent.Builder.create(this, "MyCfnStudioComponent")
.name("name")
.studioId("studioId")
.type("type")
// the properties below are optional
.configuration(StudioComponentConfigurationProperty.builder()
.activeDirectoryConfiguration(ActiveDirectoryConfigurationProperty.builder()
.computerAttributes(List.of(ActiveDirectoryComputerAttributeProperty.builder()
.name("name")
.value("value")
.build()))
.directoryId("directoryId")
.organizationalUnitDistinguishedName("organizationalUnitDistinguishedName")
.build())
.computeFarmConfiguration(ComputeFarmConfigurationProperty.builder()
.activeDirectoryUser("activeDirectoryUser")
.endpoint("endpoint")
.build())
.licenseServiceConfiguration(LicenseServiceConfigurationProperty.builder()
.endpoint("endpoint")
.build())
.sharedFileSystemConfiguration(SharedFileSystemConfigurationProperty.builder()
.endpoint("endpoint")
.fileSystemId("fileSystemId")
.linuxMountPoint("linuxMountPoint")
.shareName("shareName")
.windowsMountDrive("windowsMountDrive")
.build())
.build())
.description("description")
.ec2SecurityGroupIds(List.of("ec2SecurityGroupIds"))
.initializationScripts(List.of(StudioComponentInitializationScriptProperty.builder()
.launchProfileProtocolVersion("launchProfileProtocolVersion")
.platform("platform")
.runContext("runContext")
.script("script")
.build()))
.scriptParameters(List.of(ScriptParameterKeyValueProperty.builder()
.key("key")
.value("value")
.build()))
.subtype("subtype")
.tags(Map.of(
"tagsKey", "tags"))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceAn LDAP attribute of an Active Directory computer account, in the form of a name:value pair.static interfaceThe configuration for a AWS Directory Service for Microsoft Active Directory studio resource.static final classA fluent builder forCfnStudioComponent.static interfaceThe configuration for a render farm that is associated with a studio resource.static interfaceThe configuration for a license service that is associated with a studio resource.static interfaceA parameter for a studio component script, in the form of a key-value pair.static interfaceThe configuration for a shared file storage system that is associated with a studio resource.static interfaceThe configuration of the studio component, based on component type.static interfaceInitialization scripts for studio components.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
ConstructorsModifierConstructorDescriptionCfnStudioComponent(Construct scope, String id, CfnStudioComponentProps props) Create a newAWS::NimbleStudio::StudioComponent.protectedCfnStudioComponent(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnStudioComponent(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionThe unique identifier for the studio component resource.The configuration of the studio component, based on component type.A human-readable description for the studio component resource.The EC2 security groups that control access to the studio component.Initialization scripts for studio components.getName()A friendly name for the studio component resource.Parameters for the studio component scripts.The unique identifier for a studio resource.The specific subtype of a studio component.getTags()An array of key-value pairs to apply to this resource.getType()The type of the studio component.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetConfiguration(IResolvable value) The configuration of the studio component, based on component type.voidThe configuration of the studio component, based on component type.voidsetDescription(String value) A human-readable description for the studio component resource.voidsetEc2SecurityGroupIds(List<String> value) The EC2 security groups that control access to the studio component.voidsetInitializationScripts(List<Object> value) Initialization scripts for studio components.voidInitialization scripts for studio components.voidA friendly name for the studio component resource.voidsetScriptParameters(List<Object> value) Parameters for the studio component scripts.voidsetScriptParameters(IResolvable value) Parameters for the studio component scripts.voidsetStudioId(String value) The unique identifier for a studio resource.voidsetSubtype(String value) The specific subtype of a studio component.voidThe type of the studio component.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
-
CfnStudioComponent
protected CfnStudioComponent(software.amazon.jsii.JsiiObjectRef objRef) -
CfnStudioComponent
protected CfnStudioComponent(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnStudioComponent
@Stability(Stable) public CfnStudioComponent(@NotNull Construct scope, @NotNull String id, @NotNull CfnStudioComponentProps props) Create a newAWS::NimbleStudio::StudioComponent.- 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.
-
getAttrStudioComponentId
The unique identifier for the studio component resource. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getTags
An array of key-value pairs to apply to this resource.For more information, see Tag .
-
getName
A friendly name for the studio component resource. -
setName
A friendly name for the studio component resource. -
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.
-
getType
The type of the studio component. -
setType
The type of the studio component. -
getConfiguration
The configuration of the studio component, based on component type. -
setConfiguration
The configuration of the studio component, based on component type. -
setConfiguration
@Stability(Stable) public void setConfiguration(@Nullable CfnStudioComponent.StudioComponentConfigurationProperty value) The configuration of the studio component, based on component type. -
getDescription
A human-readable description for the studio component resource. -
setDescription
A human-readable description for the studio component resource. -
getEc2SecurityGroupIds
The EC2 security groups that control access to the studio component. -
setEc2SecurityGroupIds
The EC2 security groups that control access to the studio component. -
getInitializationScripts
Initialization scripts for studio components. -
setInitializationScripts
Initialization scripts for studio components. -
setInitializationScripts
Initialization scripts for studio components. -
getScriptParameters
Parameters for the studio component scripts. -
setScriptParameters
Parameters for the studio component scripts. -
setScriptParameters
Parameters for the studio component scripts. -
getSubtype
The specific subtype of a studio component. -
setSubtype
The specific subtype of a studio component.
-