Interface CfnUserProfileProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnUserProfileProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:35.551Z") @Stability(Stable) public interface CfnUserProfileProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnUserProfile.

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.*;
 CfnUserProfileProps cfnUserProfileProps = CfnUserProfileProps.builder()
         .domainId("domainId")
         .userProfileName("userProfileName")
         // the properties below are optional
         .singleSignOnUserIdentifier("singleSignOnUserIdentifier")
         .singleSignOnUserValue("singleSignOnUserValue")
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .userSettings(UserSettingsProperty.builder()
                 .executionRole("executionRole")
                 .jupyterServerAppSettings(JupyterServerAppSettingsProperty.builder()
                         .defaultResourceSpec(ResourceSpecProperty.builder()
                                 .instanceType("instanceType")
                                 .sageMakerImageArn("sageMakerImageArn")
                                 .sageMakerImageVersionArn("sageMakerImageVersionArn")
                                 .build())
                         .build())
                 .kernelGatewayAppSettings(KernelGatewayAppSettingsProperty.builder()
                         .customImages(List.of(CustomImageProperty.builder()
                                 .appImageConfigName("appImageConfigName")
                                 .imageName("imageName")
                                 // the properties below are optional
                                 .imageVersionNumber(123)
                                 .build()))
                         .defaultResourceSpec(ResourceSpecProperty.builder()
                                 .instanceType("instanceType")
                                 .sageMakerImageArn("sageMakerImageArn")
                                 .sageMakerImageVersionArn("sageMakerImageVersionArn")
                                 .build())
                         .build())
                 .rStudioServerProAppSettings(RStudioServerProAppSettingsProperty.builder()
                         .accessStatus("accessStatus")
                         .userGroup("userGroup")
                         .build())
                 .securityGroups(List.of("securityGroups"))
                 .sharingSettings(SharingSettingsProperty.builder()
                         .notebookOutputOption("notebookOutputOption")
                         .s3KmsKeyId("s3KmsKeyId")
                         .s3OutputPath("s3OutputPath")
                         .build())
                 .build())
         .build();
 
  • Method Details

    • getDomainId

      @Stability(Stable) @NotNull String getDomainId()
      The domain ID.
    • getUserProfileName

      @Stability(Stable) @NotNull String getUserProfileName()
      The user profile name.
    • getSingleSignOnUserIdentifier

      @Stability(Stable) @Nullable default String getSingleSignOnUserIdentifier()
      A specifier for the type of value specified in SingleSignOnUserValue.

      Currently, the only supported value is "UserName". If the Domain's AuthMode is IAM Identity Center , this field is required. If the Domain's AuthMode is not IAM Identity Center , this field cannot be specified.

    • getSingleSignOnUserValue

      @Stability(Stable) @Nullable default String getSingleSignOnUserValue()
      The username of the associated AWS Single Sign-On User for this UserProfile.

      If the Domain's AuthMode is IAM Identity Center , this field is required, and must match a valid username of a user in your directory. If the Domain's AuthMode is not IAM Identity Center , this field cannot be specified.

    • getTags

      @Stability(Stable) @Nullable default List<CfnTag> getTags()
      An array of key-value pairs to apply to this resource.

      Tags that you specify for the User Profile are also added to all apps that the User Profile launches.

      For more information, see Tag .

    • getUserSettings

      @Stability(Stable) @Nullable default Object getUserSettings()
      A collection of settings that apply to users of Amazon SageMaker Studio.
    • builder

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