# AWS::SageMaker::UserProfile 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. ## Syntax To declare this entity in your AWS CloudFormation template, use the following syntax: ### JSON
{
    "NotebookOutputOption" : String,
    "S3KmsKeyId" : String,
    "S3OutputPath" : String
}
### YAML
NotebookOutputOption: String
S3KmsKeyId: String
S3OutputPath: String
## Properties #### NotebookOutputOption Whether to include the notebook cell output when sharing the notebook. The default is Disabled. _Required_: No _Type_: String _Allowed Values_: Allowed | Disabled _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) #### S3KmsKeyId When NotebookOutputOption is Allowed, the AWS Key Management Service (KMS) encryption key ID used to encrypt the notebook cell output in the Amazon S3 bucket. _Required_: No _Type_: String _Maximum_: 2048 _Pattern_: .* _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) #### S3OutputPath When NotebookOutputOption is Allowed, the Amazon S3 bucket used to store the shared notebook snapshots. _Required_: No _Type_: String _Maximum_: 1024 _Pattern_: ^(https|s3)://([^/]+)/?(.*)$ _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)