NAME

Paws::NimbleStudio::CreateStudioComponent - Arguments for method CreateStudioComponent on Paws::NimbleStudio

DESCRIPTION

This class represents the parameters used for calling the method CreateStudioComponent on the AmazonNimbleStudio service. Use the attributes of this class as arguments to method CreateStudioComponent.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateStudioComponent.

SYNOPSIS

my $nimble = Paws->service('NimbleStudio');
my $CreateStudioComponentResponse = $nimble->CreateStudioComponent(
  Name          => 'MyStudioComponentName',
  StudioId      => 'My__string',
  Type          => 'ACTIVE_DIRECTORY',
  ClientToken   => 'MyClientToken',           # OPTIONAL
  Configuration => {
    ActiveDirectoryConfiguration => {
      ComputerAttributes => [
        {
          Name => 'MyActiveDirectoryComputerAttributeName'
          ,    # min: 1, max: 40; OPTIONAL
          Value => 'MyActiveDirectoryComputerAttributeValue'
          ,    # min: 1, max: 64; OPTIONAL
        },
        ...
      ],    # max: 50; OPTIONAL
      DirectoryId                         => 'MyDirectoryId',    # OPTIONAL
      OrganizationalUnitDistinguishedName =>
        'MyActiveDirectoryOrganizationalUnitDistinguishedName'
      ,    # min: 1, max: 2000; OPTIONAL
    },    # OPTIONAL
    ComputeFarmConfiguration => {
      ActiveDirectoryUser => 'My__string',
      Endpoint            => 'My__string',
    },    # OPTIONAL
    LicenseServiceConfiguration => { Endpoint => 'My__string', }, # OPTIONAL
    SharedFileSystemConfiguration => {
      Endpoint          => 'My__string',
      FileSystemId      => 'My__string',
      LinuxMountPoint   => 'MyLinuxMountPoint',      # max: 128; OPTIONAL
      ShareName         => 'My__string',
      WindowsMountDrive => 'MyWindowsMountDrive',    # OPTIONAL
    },    # OPTIONAL
  },    # OPTIONAL
  Description           => 'MyStudioComponentDescription',    # OPTIONAL
  Ec2SecurityGroupIds   => [ 'MySecurityGroupId', ... ],      # OPTIONAL
  InitializationScripts => [
    {
      LaunchProfileProtocolVersion =>
        'MyLaunchProfileProtocolVersion',    # max: 10; OPTIONAL
      Platform   => 'LINUX',    # values: LINUX, WINDOWS; OPTIONAL
      RunContext => 'SYSTEM_INITIALIZATION'
      ,    # values: SYSTEM_INITIALIZATION, USER_INITIALIZATION; OPTIONAL
      Script => 'MyStudioComponentInitializationScriptContent'
      ,    # min: 1, max: 5120; OPTIONAL
    },
    ...
  ],    # OPTIONAL
  ScriptParameters => [
    {
      Key   => 'MyScriptParameterKey',      # min: 1, max: 64; OPTIONAL
      Value => 'MyScriptParameterValue',    # min: 1, max: 256; OPTIONAL
    },
    ...
  ],    # OPTIONAL
  Subtype => 'AWS_MANAGED_MICROSOFT_AD',           # OPTIONAL
  Tags    => { 'My__string' => 'My__string', },    # OPTIONAL
);

# Results:
my $StudioComponent = $CreateStudioComponentResponse->StudioComponent;

# Returns a L<Paws::NimbleStudio::CreateStudioComponentResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/nimble/CreateStudioComponent

ATTRIBUTES

ClientToken => Str

To make an idempotent API request using one of these actions, specify a client token in the request. You should not reuse the same client token for other API requests. If you retry a request that completed successfully using the same client token and the same parameters, the retry succeeds without performing any further actions. If you retry a successful request using the same client token, but one or more of the parameters are different, the retry fails with a ValidationException error.

Configuration => Paws::NimbleStudio::StudioComponentConfiguration

The configuration of the studio component, based on component type.

Description => Str

The description.

Ec2SecurityGroupIds => ArrayRef[Str|Undef]

The EC2 security groups that control access to the studio component.

InitializationScripts => ArrayRef[Paws::NimbleStudio::StudioComponentInitializationScript]

Initialization scripts for studio components.

REQUIRED Name => Str

The name for the studio component.

ScriptParameters => ArrayRef[Paws::NimbleStudio::ScriptParameterKeyValue]

Parameters for the studio component scripts.

REQUIRED StudioId => Str

The studio ID.

Subtype => Str

The specific subtype of a studio component.

Valid values are: "AWS_MANAGED_MICROSOFT_AD", "AMAZON_FSX_FOR_WINDOWS", "AMAZON_FSX_FOR_LUSTRE", "CUSTOM"

Tags => Paws::NimbleStudio::Tags

A collection of labels, in the form of key:value pairs, that apply to this resource.

REQUIRED Type => Str

The type of the studio component.

Valid values are: "ACTIVE_DIRECTORY", "SHARED_FILE_SYSTEM", "COMPUTE_FARM", "LICENSE_SERVICE", "CUSTOM"

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateStudioComponent in Paws::NimbleStudio

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues