SharingSettingsProperty Struct
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.
| Source | |
|---|---|
| Type last changed |
Example
ts
// 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.CfnUserProfile.SharingSettingsProperty = {
notebookOutputOption: 'notebookOutputOption',
s3KmsKeyId: 's3KmsKeyId',
s3OutputPath: 's3OutputPath',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_sagemaker as sagemaker
sharing_settings_property = sagemaker.CfnUserProfile.SharingSettingsProperty(
notebook_output_option="notebookOutputOption",
s3_kms_key_id="s3KmsKeyId",
s3_output_path="s3OutputPath"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.sagemaker.*;
SharingSettingsProperty sharingSettingsProperty = SharingSettingsProperty.builder()
.notebookOutputOption("notebookOutputOption")
.s3KmsKeyId("s3KmsKeyId")
.s3OutputPath("s3OutputPath")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Sagemaker;
var sharingSettingsProperty = new SharingSettingsProperty {
NotebookOutputOption = "notebookOutputOption",
S3KmsKeyId = "s3KmsKeyId",
S3OutputPath = "s3OutputPath"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// 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"
sharingSettingsProperty := &SharingSettingsProperty{
NotebookOutputOption: jsii.String("notebookOutputOption"),
S3KmsKeyId: jsii.String("s3KmsKeyId"),
S3OutputPath: jsii.String("s3OutputPath"),
}
Properties
notebookOutputOptionoptionalstringnotebook_output_optionoptionalstrnotebookOutputOptionoptionalStringNotebookOutputOptionoptionalstringNotebookOutputOptionoptional*string #Whether to include the notebook cell output when sharing the notebook.
The default is Disabled .
s3KmsKeyIdoptionalstrings3_kms_key_idoptionalstrs3KmsKeyIdoptionalStringS3KmsKeyIdoptionalstringS3KmsKeyIdoptional*string #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.
s3OutputPathoptionalstrings3_output_pathoptionalstrs3OutputPathoptionalStringS3OutputPathoptionalstringS3OutputPathoptional*string #When `NotebookOutputOption` is `Allowed` , the Amazon S3 bucket used to store the shared notebook snapshots.