package awssagemaker import ( "github.com/aws/aws-cdk-go/awscdk/v2" ) // Properties for defining a `CfnUserProfile`. // // 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" // // cfnUserProfileProps := &CfnUserProfileProps{ // DomainId: jsii.String("domainId"), // UserProfileName: jsii.String("userProfileName"), // // // the properties below are optional // SingleSignOnUserIdentifier: jsii.String("singleSignOnUserIdentifier"), // SingleSignOnUserValue: jsii.String("singleSignOnUserValue"), // Tags: []cfnTag{ // &cfnTag{ // Key: jsii.String("key"), // Value: jsii.String("value"), // }, // }, // UserSettings: &UserSettingsProperty{ // ExecutionRole: jsii.String("executionRole"), // JupyterServerAppSettings: &JupyterServerAppSettingsProperty{ // DefaultResourceSpec: &ResourceSpecProperty{ // InstanceType: jsii.String("instanceType"), // 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"), // 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-resource-sagemaker-userprofile.html // type CfnUserProfileProps struct { // The domain ID. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-userprofile.html#cfn-sagemaker-userprofile-domainid // DomainId *string `field:"required" json:"domainId" yaml:"domainId"` // The user profile name. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-userprofile.html#cfn-sagemaker-userprofile-userprofilename // UserProfileName *string `field:"required" json:"userProfileName" yaml:"userProfileName"` // A specifier for the type of value specified in SingleSignOnUserValue. // // Currently, the only supported value is "UserName". If the Domain's AuthMode is IAM Identity Center , this field is required. If the Domain's AuthMode is not IAM Identity Center , this field cannot be specified. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-userprofile.html#cfn-sagemaker-userprofile-singlesignonuseridentifier // SingleSignOnUserIdentifier *string `field:"optional" json:"singleSignOnUserIdentifier" yaml:"singleSignOnUserIdentifier"` // The username of the associated AWS Single Sign-On User for this UserProfile. // // If the Domain's AuthMode is IAM Identity Center , this field is required, and must match a valid username of a user in your directory. If the Domain's AuthMode is not IAM Identity Center , this field cannot be specified. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-userprofile.html#cfn-sagemaker-userprofile-singlesignonuservalue // SingleSignOnUserValue *string `field:"optional" json:"singleSignOnUserValue" yaml:"singleSignOnUserValue"` // An array of key-value pairs to apply to this resource. // // Tags that you specify for the User Profile are also added to all apps that the User Profile launches. // // 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-sagemaker-userprofile.html#cfn-sagemaker-userprofile-tags // Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"` // A collection of settings that apply to users of Amazon SageMaker Studio. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-userprofile.html#cfn-sagemaker-userprofile-usersettings // UserSettings interface{} `field:"optional" json:"userSettings" yaml:"userSettings"` }