package awsnimblestudio // Properties for defining a `CfnStudioComponent`. // // Example: // // The code below shows an example of how to instantiate this type. // // The values are placeholders you should change. // import "github.com/aws/aws-cdk-go/awscdk" // // cfnStudioComponentProps := &CfnStudioComponentProps{ // Name: jsii.String("name"), // StudioId: jsii.String("studioId"), // Type: jsii.String("type"), // // // the properties below are optional // Configuration: &StudioComponentConfigurationProperty{ // ActiveDirectoryConfiguration: &ActiveDirectoryConfigurationProperty{ // ComputerAttributes: []interface{}{ // &ActiveDirectoryComputerAttributeProperty{ // Name: jsii.String("name"), // Value: jsii.String("value"), // }, // }, // DirectoryId: jsii.String("directoryId"), // OrganizationalUnitDistinguishedName: jsii.String("organizationalUnitDistinguishedName"), // }, // ComputeFarmConfiguration: &ComputeFarmConfigurationProperty{ // ActiveDirectoryUser: jsii.String("activeDirectoryUser"), // Endpoint: jsii.String("endpoint"), // }, // LicenseServiceConfiguration: &LicenseServiceConfigurationProperty{ // Endpoint: jsii.String("endpoint"), // }, // SharedFileSystemConfiguration: &SharedFileSystemConfigurationProperty{ // Endpoint: jsii.String("endpoint"), // FileSystemId: jsii.String("fileSystemId"), // LinuxMountPoint: jsii.String("linuxMountPoint"), // ShareName: jsii.String("shareName"), // WindowsMountDrive: jsii.String("windowsMountDrive"), // }, // }, // Description: jsii.String("description"), // Ec2SecurityGroupIds: []*string{ // jsii.String("ec2SecurityGroupIds"), // }, // InitializationScripts: []interface{}{ // &StudioComponentInitializationScriptProperty{ // LaunchProfileProtocolVersion: jsii.String("launchProfileProtocolVersion"), // Platform: jsii.String("platform"), // RunContext: jsii.String("runContext"), // Script: jsii.String("script"), // }, // }, // RuntimeRoleArn: jsii.String("runtimeRoleArn"), // ScriptParameters: []interface{}{ // &ScriptParameterKeyValueProperty{ // Key: jsii.String("key"), // Value: jsii.String("value"), // }, // }, // SecureInitializationRoleArn: jsii.String("secureInitializationRoleArn"), // Subtype: jsii.String("subtype"), // Tags: map[string]*string{ // "tagsKey": jsii.String("tags"), // }, // } // // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-nimblestudio-studiocomponent.html // type CfnStudioComponentProps struct { // A friendly name for the studio component resource. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-nimblestudio-studiocomponent.html#cfn-nimblestudio-studiocomponent-name // Name *string `field:"required" json:"name" yaml:"name"` // The unique identifier for a studio resource. // // In Nimble Studio , all other resources are contained in a studio resource. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-nimblestudio-studiocomponent.html#cfn-nimblestudio-studiocomponent-studioid // StudioId *string `field:"required" json:"studioId" yaml:"studioId"` // The type of the studio component. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-nimblestudio-studiocomponent.html#cfn-nimblestudio-studiocomponent-type // Type *string `field:"required" json:"type" yaml:"type"` // The configuration of the studio component, based on component type. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-nimblestudio-studiocomponent.html#cfn-nimblestudio-studiocomponent-configuration // Configuration interface{} `field:"optional" json:"configuration" yaml:"configuration"` // A human-readable description for the studio component resource. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-nimblestudio-studiocomponent.html#cfn-nimblestudio-studiocomponent-description // Description *string `field:"optional" json:"description" yaml:"description"` // The EC2 security groups that control access to the studio component. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-nimblestudio-studiocomponent.html#cfn-nimblestudio-studiocomponent-ec2securitygroupids // Ec2SecurityGroupIds *[]*string `field:"optional" json:"ec2SecurityGroupIds" yaml:"ec2SecurityGroupIds"` // Initialization scripts for studio components. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-nimblestudio-studiocomponent.html#cfn-nimblestudio-studiocomponent-initializationscripts // InitializationScripts interface{} `field:"optional" json:"initializationScripts" yaml:"initializationScripts"` // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-nimblestudio-studiocomponent.html#cfn-nimblestudio-studiocomponent-runtimerolearn // RuntimeRoleArn *string `field:"optional" json:"runtimeRoleArn" yaml:"runtimeRoleArn"` // Parameters for the studio component scripts. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-nimblestudio-studiocomponent.html#cfn-nimblestudio-studiocomponent-scriptparameters // ScriptParameters interface{} `field:"optional" json:"scriptParameters" yaml:"scriptParameters"` // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-nimblestudio-studiocomponent.html#cfn-nimblestudio-studiocomponent-secureinitializationrolearn // SecureInitializationRoleArn *string `field:"optional" json:"secureInitializationRoleArn" yaml:"secureInitializationRoleArn"` // The specific subtype of a studio component. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-nimblestudio-studiocomponent.html#cfn-nimblestudio-studiocomponent-subtype // Subtype *string `field:"optional" json:"subtype" yaml:"subtype"` // An array of key-value pairs to apply to this resource. // // For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-nimblestudio-studiocomponent.html#cfn-nimblestudio-studiocomponent-tags // Tags *map[string]*string `field:"optional" json:"tags" yaml:"tags"` }