Interface CfnUserProfile.SharingSettingsProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnUserProfile.SharingSettingsProperty.Jsii$Proxy
Enclosing class:
CfnUserProfile

@Stability(Stable) public static interface CfnUserProfile.SharingSettingsProperty extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.sagemaker.*;
 SharingSettingsProperty sharingSettingsProperty = SharingSettingsProperty.builder()
         .notebookOutputOption("notebookOutputOption")
         .s3KmsKeyId("s3KmsKeyId")
         .s3OutputPath("s3OutputPath")
         .build();
 
  • Method Details

    • getNotebookOutputOption

      @Stability(Stable) @Nullable default String getNotebookOutputOption()
      Whether to include the notebook cell output when sharing the notebook.

      The default is Disabled .

    • getS3KmsKeyId

      @Stability(Stable) @Nullable default String getS3KmsKeyId()
      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.
    • getS3OutputPath

      @Stability(Stable) @Nullable default String getS3OutputPath()
      When NotebookOutputOption is Allowed , the Amazon S3 bucket used to store the shared notebook snapshots.
    • builder

      @Stability(Stable) static CfnUserProfile.SharingSettingsProperty.Builder builder()
      Returns:
      a CfnUserProfile.SharingSettingsProperty.Builder of CfnUserProfile.SharingSettingsProperty