Class CfnStudioComponent

java.lang.Object
software.amazon.jsii.JsiiObject
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.500Z") @Stability(Stable) public class CfnStudioComponent extends CfnResource implements IInspectable
A CloudFormation 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();
 
  • 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

    • 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 new AWS::NimbleStudio::StudioComponent.

      Parameters:
      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.
  • 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.
    • getAttrStudioComponentId

      @Stability(Stable) @NotNull public String getAttrStudioComponentId()
      The unique identifier for the studio component resource.
    • getCfnProperties

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

      @Stability(Stable) @NotNull public TagManager getTags()
      An array of key-value pairs to apply to this resource.

      For more information, see Tag .

    • getName

      @Stability(Stable) @NotNull public String getName()
      A friendly name for the studio component resource.
    • setName

      @Stability(Stable) public void setName(@NotNull String value)
      A friendly name for the studio component resource.
    • getStudioId

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

      In Nimble Studio , all other resources are contained in a studio resource.

    • setStudioId

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

      In Nimble Studio , all other resources are contained in a studio resource.

    • getType

      @Stability(Stable) @NotNull public String getType()
      The type of the studio component.
    • setType

      @Stability(Stable) public void setType(@NotNull String value)
      The type of the studio component.
    • getConfiguration

      @Stability(Stable) @Nullable public Object getConfiguration()
      The configuration of the studio component, based on component type.
    • setConfiguration

      @Stability(Stable) public void setConfiguration(@Nullable IResolvable value)
      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

      @Stability(Stable) @Nullable public String getDescription()
      A human-readable description for the studio component resource.
    • setDescription

      @Stability(Stable) public void setDescription(@Nullable String value)
      A human-readable description for the studio component resource.
    • getEc2SecurityGroupIds

      @Stability(Stable) @Nullable public List<String> getEc2SecurityGroupIds()
      The EC2 security groups that control access to the studio component.
    • setEc2SecurityGroupIds

      @Stability(Stable) public void setEc2SecurityGroupIds(@Nullable List<String> value)
      The EC2 security groups that control access to the studio component.
    • getInitializationScripts

      @Stability(Stable) @Nullable public Object getInitializationScripts()
      Initialization scripts for studio components.
    • setInitializationScripts

      @Stability(Stable) public void setInitializationScripts(@Nullable IResolvable value)
      Initialization scripts for studio components.
    • setInitializationScripts

      @Stability(Stable) public void setInitializationScripts(@Nullable List<Object> value)
      Initialization scripts for studio components.
    • getScriptParameters

      @Stability(Stable) @Nullable public Object getScriptParameters()
      Parameters for the studio component scripts.
    • setScriptParameters

      @Stability(Stable) public void setScriptParameters(@Nullable IResolvable value)
      Parameters for the studio component scripts.
    • setScriptParameters

      @Stability(Stable) public void setScriptParameters(@Nullable List<Object> value)
      Parameters for the studio component scripts.
    • getSubtype

      @Stability(Stable) @Nullable public String getSubtype()
      The specific subtype of a studio component.
    • setSubtype

      @Stability(Stable) public void setSubtype(@Nullable String value)
      The specific subtype of a studio component.