# AWS::SageMaker::Domain UserSettings A collection of settings that apply to users of Amazon SageMaker Studio. These settings are specified when the CreateUserProfile API is called, and as DefaultUserSettings when the CreateDomain API is called. ## Syntax To declare this entity in your AWS CloudFormation template, use the following syntax: ### JSON
{ "ExecutionRole" : String, "JupyterServerAppSettings" : JupyterServerAppSettings, "KernelGatewayAppSettings" : KernelGatewayAppSettings, "RStudioServerProAppSettings" : RStudioServerProAppSettings, "RSessionAppSettings" : RSessionAppSettings, "SecurityGroups" : [ String, ... ], "SharingSettings" : SharingSettings }### YAML
ExecutionRole: String JupyterServerAppSettings: JupyterServerAppSettings KernelGatewayAppSettings: KernelGatewayAppSettings RStudioServerProAppSettings: RStudioServerProAppSettings RSessionAppSettings: RSessionAppSettings SecurityGroups: - String SharingSettings: SharingSettings## Properties #### ExecutionRole The execution role for the user. _Required_: No _Type_: String _Minimum_:
20
_Maximum_: 2048
_Pattern_: ^arn:aws[a-z\-]*:iam::\d{12}:role/?[a-zA-Z_0-9+=,.@\-_/]+$
_Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)
#### JupyterServerAppSettings
The JupyterServer app settings.
_Required_: No
_Type_: JupyterServerAppSettings
_Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)
#### KernelGatewayAppSettings
The kernel gateway app settings.
_Required_: No
_Type_: KernelGatewayAppSettings
_Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)
#### RStudioServerProAppSettings
A collection of settings that configure user interaction with the RStudioServerPro app.
_Required_: No
_Type_: RStudioServerProAppSettings
_Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)
#### RSessionAppSettings
A collection of settings that apply to an RSessionGateway app.
_Required_: No
_Type_: RSessionAppSettings
_Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)
#### SecurityGroups
The security groups for the Amazon Virtual Private Cloud (VPC) that Studio uses for communication.
_Required_: No
_Type_: List of String
_Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)
#### SharingSettings
Specifies options when sharing an Amazon SageMaker Studio notebook. These settings are specified as part of DefaultUserSettings when the CreateDomain API is called, and as part of UserSettings when the CreateUserProfile API is called.
_Required_: No
_Type_: SharingSettings
_Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)