aws-cdk-lib.aws_sagemaker.CfnDomain.SharingSettingsProperty

interface SharingSettingsProperty

LanguageType name
.NETAmazon.CDK.AWS.Sagemaker.CfnDomain.SharingSettingsProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awssagemaker#CfnDomain_SharingSettingsProperty
Javasoftware.amazon.awscdk.services.sagemaker.CfnDomain.SharingSettingsProperty
Pythonaws_cdk.aws_sagemaker.CfnDomain.SharingSettingsProperty
TypeScript aws-cdk-lib » aws_sagemaker » CfnDomain » SharingSettingsProperty

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.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sagemaker as sagemaker } from 'aws-cdk-lib';
const sharingSettingsProperty: sagemaker.CfnDomain.SharingSettingsProperty = {
  notebookOutputOption: 'notebookOutputOption',
  s3KmsKeyId: 's3KmsKeyId',
  s3OutputPath: 's3OutputPath',
};

Properties

NameTypeDescription
notebookOutputOption?stringWhether to include the notebook cell output when sharing the notebook.
s3KmsKeyId?stringWhen NotebookOutputOption is Allowed , the AWS Key Management Service (KMS) encryption key ID used to encrypt the notebook cell output in the Amazon S3 bucket.
s3OutputPath?stringWhen NotebookOutputOption is Allowed , the Amazon S3 bucket used to store the shared notebook snapshots.

notebookOutputOption?

Type: string (optional)

Whether to include the notebook cell output when sharing the notebook.

The default is Disabled .


s3KmsKeyId?

Type: string (optional)

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.


s3OutputPath?

Type: string (optional)

When NotebookOutputOption is Allowed , the Amazon S3 bucket used to store the shared notebook snapshots.