package awssagemaker // A collection of settings that apply to users of Amazon SageMaker Studio. // // These settings are specified when the [CreateUserProfile](https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateUserProfile.html) API is called, and as `DefaultUserSettings` when the [CreateDomain](https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateDomain.html) API is called. // // `SecurityGroups` is aggregated when specified in both calls. For all other settings in `UserSettings` , the values specified in `CreateUserProfile` take precedence over those specified in `CreateDomain` . // // 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" // // userSettingsProperty := &UserSettingsProperty{ // ExecutionRole: jsii.String("executionRole"), // // // the properties below are optional // JupyterServerAppSettings: &JupyterServerAppSettingsProperty{ // DefaultResourceSpec: &ResourceSpecProperty{ // InstanceType: jsii.String("instanceType"), // LifecycleConfigArn: jsii.String("lifecycleConfigArn"), // SageMakerImageArn: jsii.String("sageMakerImageArn"), // SageMakerImageVersionArn: jsii.String("sageMakerImageVersionArn"), // }, // }, // KernelGatewayAppSettings: &KernelGatewayAppSettingsProperty{ // CustomImages: []interface{}{ // &CustomImageProperty{ // AppImageConfigName: jsii.String("appImageConfigName"), // ImageName: jsii.String("imageName"), // // // the properties below are optional // ImageVersionNumber: jsii.Number(123), // }, // }, // DefaultResourceSpec: &ResourceSpecProperty{ // InstanceType: jsii.String("instanceType"), // LifecycleConfigArn: jsii.String("lifecycleConfigArn"), // SageMakerImageArn: jsii.String("sageMakerImageArn"), // SageMakerImageVersionArn: jsii.String("sageMakerImageVersionArn"), // }, // }, // RSessionAppSettings: &RSessionAppSettingsProperty{ // CustomImages: []interface{}{ // &CustomImageProperty{ // AppImageConfigName: jsii.String("appImageConfigName"), // ImageName: jsii.String("imageName"), // // // the properties below are optional // ImageVersionNumber: jsii.Number(123), // }, // }, // DefaultResourceSpec: &ResourceSpecProperty{ // InstanceType: jsii.String("instanceType"), // LifecycleConfigArn: jsii.String("lifecycleConfigArn"), // SageMakerImageArn: jsii.String("sageMakerImageArn"), // SageMakerImageVersionArn: jsii.String("sageMakerImageVersionArn"), // }, // }, // RStudioServerProAppSettings: &RStudioServerProAppSettingsProperty{ // AccessStatus: jsii.String("accessStatus"), // UserGroup: jsii.String("userGroup"), // }, // SecurityGroups: []*string{ // jsii.String("securityGroups"), // }, // SharingSettings: &SharingSettingsProperty{ // NotebookOutputOption: jsii.String("notebookOutputOption"), // S3KmsKeyId: jsii.String("s3KmsKeyId"), // S3OutputPath: jsii.String("s3OutputPath"), // }, // } // // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-usersettings.html // type CfnDomain_UserSettingsProperty struct { // The execution role for the user. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-usersettings.html#cfn-sagemaker-domain-usersettings-executionrole // ExecutionRole *string `field:"required" json:"executionRole" yaml:"executionRole"` // The Jupyter server's app settings. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-usersettings.html#cfn-sagemaker-domain-usersettings-jupyterserverappsettings // JupyterServerAppSettings interface{} `field:"optional" json:"jupyterServerAppSettings" yaml:"jupyterServerAppSettings"` // The kernel gateway app settings. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-usersettings.html#cfn-sagemaker-domain-usersettings-kernelgatewayappsettings // KernelGatewayAppSettings interface{} `field:"optional" json:"kernelGatewayAppSettings" yaml:"kernelGatewayAppSettings"` // A collection of settings that configure the `RSessionGateway` app. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-usersettings.html#cfn-sagemaker-domain-usersettings-rsessionappsettings // RSessionAppSettings interface{} `field:"optional" json:"rSessionAppSettings" yaml:"rSessionAppSettings"` // A collection of settings that configure user interaction with the `RStudioServerPro` app. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-usersettings.html#cfn-sagemaker-domain-usersettings-rstudioserverproappsettings // RStudioServerProAppSettings interface{} `field:"optional" json:"rStudioServerProAppSettings" yaml:"rStudioServerProAppSettings"` // The security groups for the Amazon Virtual Private Cloud (VPC) that Studio uses for communication. // // Optional when the `CreateDomain.AppNetworkAccessType` parameter is set to `PublicInternetOnly` . // // Required when the `CreateDomain.AppNetworkAccessType` parameter is set to `VpcOnly` , unless specified as part of the `DefaultUserSettings` for the domain. // // Amazon SageMaker adds a security group to allow NFS traffic from SageMaker Studio. Therefore, the number of security groups that you can specify is one less than the maximum number shown. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-usersettings.html#cfn-sagemaker-domain-usersettings-securitygroups // SecurityGroups *[]*string `field:"optional" json:"securityGroups" yaml:"securityGroups"` // Specifies options for sharing SageMaker Studio notebooks. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-usersettings.html#cfn-sagemaker-domain-usersettings-sharingsettings // SharingSettings interface{} `field:"optional" json:"sharingSettings" yaml:"sharingSettings"` }