Skip to content
v2.278.0

CfnDomainProps Struct ​

Properties for defining a CfnDomain.

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 cfnDomainProps: sagemaker.CfnDomainProps = {
  authMode: 'authMode',
  defaultUserSettings: {
    executionRole: 'executionRole',

    // the properties below are optional
    autoMountHomeEfs: 'autoMountHomeEfs',
    codeEditorAppSettings: {
      appLifecycleManagement: {
        idleSettings: {
          idleTimeoutInMinutes: 123,
          lifecycleManagement: 'lifecycleManagement',
          maxIdleTimeoutInMinutes: 123,
          minIdleTimeoutInMinutes: 123,
        },
      },
      builtInLifecycleConfigArn: 'builtInLifecycleConfigArn',
      customImages: [{
        appImageConfigName: 'appImageConfigName',
        imageName: 'imageName',

        // the properties below are optional
        imageVersionNumber: 123,
      }],
      defaultResourceSpec: {
        instanceType: 'instanceType',
        lifecycleConfigArn: 'lifecycleConfigArn',
        sageMakerImageArn: 'sageMakerImageArn',
        sageMakerImageVersionArn: 'sageMakerImageVersionArn',
        trainingPlanArn: 'trainingPlanArn',
      },
      lifecycleConfigArns: ['lifecycleConfigArns'],
    },
    customFileSystemConfigs: [{
      efsFileSystemConfig: {
        fileSystemId: 'fileSystemId',

        // the properties below are optional
        fileSystemPath: 'fileSystemPath',
      },
      fSxLustreFileSystemConfig: {
        fileSystemId: 'fileSystemId',

        // the properties below are optional
        fileSystemPath: 'fileSystemPath',
      },
      s3FileSystemConfig: {
        mountPath: 'mountPath',
        s3Uri: 's3Uri',
      },
    }],
    customPosixUserConfig: {
      gid: 123,
      uid: 123,
    },
    defaultLandingUri: 'defaultLandingUri',
    jupyterLabAppSettings: {
      appLifecycleManagement: {
        idleSettings: {
          idleTimeoutInMinutes: 123,
          lifecycleManagement: 'lifecycleManagement',
          maxIdleTimeoutInMinutes: 123,
          minIdleTimeoutInMinutes: 123,
        },
      },
      builtInLifecycleConfigArn: 'builtInLifecycleConfigArn',
      codeRepositories: [{
        repositoryUrl: 'repositoryUrl',
      }],
      customImages: [{
        appImageConfigName: 'appImageConfigName',
        imageName: 'imageName',

        // the properties below are optional
        imageVersionNumber: 123,
      }],
      defaultResourceSpec: {
        instanceType: 'instanceType',
        lifecycleConfigArn: 'lifecycleConfigArn',
        sageMakerImageArn: 'sageMakerImageArn',
        sageMakerImageVersionArn: 'sageMakerImageVersionArn',
        trainingPlanArn: 'trainingPlanArn',
      },
      lifecycleConfigArns: ['lifecycleConfigArns'],
    },
    jupyterServerAppSettings: {
      defaultResourceSpec: {
        instanceType: 'instanceType',
        lifecycleConfigArn: 'lifecycleConfigArn',
        sageMakerImageArn: 'sageMakerImageArn',
        sageMakerImageVersionArn: 'sageMakerImageVersionArn',
        trainingPlanArn: 'trainingPlanArn',
      },
      lifecycleConfigArns: ['lifecycleConfigArns'],
    },
    kernelGatewayAppSettings: {
      customImages: [{
        appImageConfigName: 'appImageConfigName',
        imageName: 'imageName',

        // the properties below are optional
        imageVersionNumber: 123,
      }],
      defaultResourceSpec: {
        instanceType: 'instanceType',
        lifecycleConfigArn: 'lifecycleConfigArn',
        sageMakerImageArn: 'sageMakerImageArn',
        sageMakerImageVersionArn: 'sageMakerImageVersionArn',
        trainingPlanArn: 'trainingPlanArn',
      },
      lifecycleConfigArns: ['lifecycleConfigArns'],
    },
    rSessionAppSettings: {
      customImages: [{
        appImageConfigName: 'appImageConfigName',
        imageName: 'imageName',

        // the properties below are optional
        imageVersionNumber: 123,
      }],
      defaultResourceSpec: {
        instanceType: 'instanceType',
        lifecycleConfigArn: 'lifecycleConfigArn',
        sageMakerImageArn: 'sageMakerImageArn',
        sageMakerImageVersionArn: 'sageMakerImageVersionArn',
        trainingPlanArn: 'trainingPlanArn',
      },
    },
    rStudioServerProAppSettings: {
      accessStatus: 'accessStatus',
      userGroup: 'userGroup',
    },
    securityGroups: ['securityGroups'],
    sharingSettings: {
      notebookOutputOption: 'notebookOutputOption',
      s3KmsKeyId: 's3KmsKeyId',
      s3OutputPath: 's3OutputPath',
    },
    spaceStorageSettings: {
      defaultEbsStorageSettings: {
        defaultEbsVolumeSizeInGb: 123,
        maximumEbsVolumeSizeInGb: 123,
      },
    },
    studioWebPortal: 'studioWebPortal',
    studioWebPortalSettings: {
      hiddenAppTypes: ['hiddenAppTypes'],
      hiddenInstanceTypes: ['hiddenInstanceTypes'],
      hiddenMlTools: ['hiddenMlTools'],
      hiddenSageMakerImageVersionAliases: [{
        sageMakerImageName: 'sageMakerImageName',
        versionAliases: ['versionAliases'],
      }],
    },
  },
  domainName: 'domainName',

  // the properties below are optional
  appNetworkAccessType: 'appNetworkAccessType',
  appSecurityGroupManagement: 'appSecurityGroupManagement',
  defaultSpaceSettings: {
    executionRole: 'executionRole',

    // the properties below are optional
    customFileSystemConfigs: [{
      efsFileSystemConfig: {
        fileSystemId: 'fileSystemId',

        // the properties below are optional
        fileSystemPath: 'fileSystemPath',
      },
      fSxLustreFileSystemConfig: {
        fileSystemId: 'fileSystemId',

        // the properties below are optional
        fileSystemPath: 'fileSystemPath',
      },
      s3FileSystemConfig: {
        mountPath: 'mountPath',
        s3Uri: 's3Uri',
      },
    }],
    customPosixUserConfig: {
      gid: 123,
      uid: 123,
    },
    jupyterLabAppSettings: {
      appLifecycleManagement: {
        idleSettings: {
          idleTimeoutInMinutes: 123,
          lifecycleManagement: 'lifecycleManagement',
          maxIdleTimeoutInMinutes: 123,
          minIdleTimeoutInMinutes: 123,
        },
      },
      builtInLifecycleConfigArn: 'builtInLifecycleConfigArn',
      codeRepositories: [{
        repositoryUrl: 'repositoryUrl',
      }],
      customImages: [{
        appImageConfigName: 'appImageConfigName',
        imageName: 'imageName',

        // the properties below are optional
        imageVersionNumber: 123,
      }],
      defaultResourceSpec: {
        instanceType: 'instanceType',
        lifecycleConfigArn: 'lifecycleConfigArn',
        sageMakerImageArn: 'sageMakerImageArn',
        sageMakerImageVersionArn: 'sageMakerImageVersionArn',
        trainingPlanArn: 'trainingPlanArn',
      },
      lifecycleConfigArns: ['lifecycleConfigArns'],
    },
    jupyterServerAppSettings: {
      defaultResourceSpec: {
        instanceType: 'instanceType',
        lifecycleConfigArn: 'lifecycleConfigArn',
        sageMakerImageArn: 'sageMakerImageArn',
        sageMakerImageVersionArn: 'sageMakerImageVersionArn',
        trainingPlanArn: 'trainingPlanArn',
      },
      lifecycleConfigArns: ['lifecycleConfigArns'],
    },
    kernelGatewayAppSettings: {
      customImages: [{
        appImageConfigName: 'appImageConfigName',
        imageName: 'imageName',

        // the properties below are optional
        imageVersionNumber: 123,
      }],
      defaultResourceSpec: {
        instanceType: 'instanceType',
        lifecycleConfigArn: 'lifecycleConfigArn',
        sageMakerImageArn: 'sageMakerImageArn',
        sageMakerImageVersionArn: 'sageMakerImageVersionArn',
        trainingPlanArn: 'trainingPlanArn',
      },
      lifecycleConfigArns: ['lifecycleConfigArns'],
    },
    securityGroups: ['securityGroups'],
    spaceStorageSettings: {
      defaultEbsStorageSettings: {
        defaultEbsVolumeSizeInGb: 123,
        maximumEbsVolumeSizeInGb: 123,
      },
    },
  },
  domainSettings: {
    dockerSettings: {
      enableDockerAccess: 'enableDockerAccess',
      vpcOnlyTrustedAccounts: ['vpcOnlyTrustedAccounts'],
    },
    executionRoleIdentityConfig: 'executionRoleIdentityConfig',
    ipAddressType: 'ipAddressType',
    rStudioServerProDomainSettings: {
      domainExecutionRoleArn: 'domainExecutionRoleArn',

      // the properties below are optional
      defaultResourceSpec: {
        instanceType: 'instanceType',
        lifecycleConfigArn: 'lifecycleConfigArn',
        sageMakerImageArn: 'sageMakerImageArn',
        sageMakerImageVersionArn: 'sageMakerImageVersionArn',
        trainingPlanArn: 'trainingPlanArn',
      },
      rStudioConnectUrl: 'rStudioConnectUrl',
      rStudioPackageManagerUrl: 'rStudioPackageManagerUrl',
    },
    securityGroupIds: ['securityGroupIds'],
    unifiedStudioSettings: {
      domainAccountId: 'domainAccountId',
      domainId: 'domainId',
      domainRegion: 'domainRegion',
      environmentId: 'environmentId',
      projectId: 'projectId',
      projectS3Path: 'projectS3Path',
      studioWebPortalAccess: 'studioWebPortalAccess',
    },
  },
  homeEfsFileSystemCreation: 'homeEfsFileSystemCreation',
  kmsKeyId: 'kmsKeyId',
  subnetIds: ['subnetIds'],
  tagPropagation: 'tagPropagation',
  tags: [{
    key: 'key',
    value: 'value',
  }],
  vpcId: 'vpcId',
};
python
from aws_cdk import CfnTag
# 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

cfn_domain_props = sagemaker.CfnDomainProps(
    auth_mode="authMode",
    default_user_settings=sagemaker.CfnDomain.UserSettingsProperty(
        execution_role="executionRole",

        # the properties below are optional
        auto_mount_home_efs="autoMountHomeEfs",
        code_editor_app_settings=sagemaker.CfnDomain.CodeEditorAppSettingsProperty(
            app_lifecycle_management=sagemaker.CfnDomain.AppLifecycleManagementProperty(
                idle_settings=sagemaker.CfnDomain.IdleSettingsProperty(
                    idle_timeout_in_minutes=123,
                    lifecycle_management="lifecycleManagement",
                    max_idle_timeout_in_minutes=123,
                    min_idle_timeout_in_minutes=123
                )
            ),
            built_in_lifecycle_config_arn="builtInLifecycleConfigArn",
            custom_images=[sagemaker.CfnDomain.CustomImageProperty(
                app_image_config_name="appImageConfigName",
                image_name="imageName",

                # the properties below are optional
                image_version_number=123
            )],
            default_resource_spec=sagemaker.CfnDomain.ResourceSpecProperty(
                instance_type="instanceType",
                lifecycle_config_arn="lifecycleConfigArn",
                sage_maker_image_arn="sageMakerImageArn",
                sage_maker_image_version_arn="sageMakerImageVersionArn",
                training_plan_arn="trainingPlanArn"
            ),
            lifecycle_config_arns=["lifecycleConfigArns"]
        ),
        custom_file_system_configs=[sagemaker.CfnDomain.CustomFileSystemConfigProperty(
            efs_file_system_config=sagemaker.CfnDomain.EFSFileSystemConfigProperty(
                file_system_id="fileSystemId",

                # the properties below are optional
                file_system_path="fileSystemPath"
            ),
            f_sx_lustre_file_system_config=sagemaker.CfnDomain.FSxLustreFileSystemConfigProperty(
                file_system_id="fileSystemId",

                # the properties below are optional
                file_system_path="fileSystemPath"
            ),
            s3_file_system_config=sagemaker.CfnDomain.S3FileSystemConfigProperty(
                mount_path="mountPath",
                s3_uri="s3Uri"
            )
        )],
        custom_posix_user_config=sagemaker.CfnDomain.CustomPosixUserConfigProperty(
            gid=123,
            uid=123
        ),
        default_landing_uri="defaultLandingUri",
        jupyter_lab_app_settings=sagemaker.CfnDomain.JupyterLabAppSettingsProperty(
            app_lifecycle_management=sagemaker.CfnDomain.AppLifecycleManagementProperty(
                idle_settings=sagemaker.CfnDomain.IdleSettingsProperty(
                    idle_timeout_in_minutes=123,
                    lifecycle_management="lifecycleManagement",
                    max_idle_timeout_in_minutes=123,
                    min_idle_timeout_in_minutes=123
                )
            ),
            built_in_lifecycle_config_arn="builtInLifecycleConfigArn",
            code_repositories=[sagemaker.CfnDomain.CodeRepositoryProperty(
                repository_url="repositoryUrl"
            )],
            custom_images=[sagemaker.CfnDomain.CustomImageProperty(
                app_image_config_name="appImageConfigName",
                image_name="imageName",

                # the properties below are optional
                image_version_number=123
            )],
            default_resource_spec=sagemaker.CfnDomain.ResourceSpecProperty(
                instance_type="instanceType",
                lifecycle_config_arn="lifecycleConfigArn",
                sage_maker_image_arn="sageMakerImageArn",
                sage_maker_image_version_arn="sageMakerImageVersionArn",
                training_plan_arn="trainingPlanArn"
            ),
            lifecycle_config_arns=["lifecycleConfigArns"]
        ),
        jupyter_server_app_settings=sagemaker.CfnDomain.JupyterServerAppSettingsProperty(
            default_resource_spec=sagemaker.CfnDomain.ResourceSpecProperty(
                instance_type="instanceType",
                lifecycle_config_arn="lifecycleConfigArn",
                sage_maker_image_arn="sageMakerImageArn",
                sage_maker_image_version_arn="sageMakerImageVersionArn",
                training_plan_arn="trainingPlanArn"
            ),
            lifecycle_config_arns=["lifecycleConfigArns"]
        ),
        kernel_gateway_app_settings=sagemaker.CfnDomain.KernelGatewayAppSettingsProperty(
            custom_images=[sagemaker.CfnDomain.CustomImageProperty(
                app_image_config_name="appImageConfigName",
                image_name="imageName",

                # the properties below are optional
                image_version_number=123
            )],
            default_resource_spec=sagemaker.CfnDomain.ResourceSpecProperty(
                instance_type="instanceType",
                lifecycle_config_arn="lifecycleConfigArn",
                sage_maker_image_arn="sageMakerImageArn",
                sage_maker_image_version_arn="sageMakerImageVersionArn",
                training_plan_arn="trainingPlanArn"
            ),
            lifecycle_config_arns=["lifecycleConfigArns"]
        ),
        r_session_app_settings=sagemaker.CfnDomain.RSessionAppSettingsProperty(
            custom_images=[sagemaker.CfnDomain.CustomImageProperty(
                app_image_config_name="appImageConfigName",
                image_name="imageName",

                # the properties below are optional
                image_version_number=123
            )],
            default_resource_spec=sagemaker.CfnDomain.ResourceSpecProperty(
                instance_type="instanceType",
                lifecycle_config_arn="lifecycleConfigArn",
                sage_maker_image_arn="sageMakerImageArn",
                sage_maker_image_version_arn="sageMakerImageVersionArn",
                training_plan_arn="trainingPlanArn"
            )
        ),
        r_studio_server_pro_app_settings=sagemaker.CfnDomain.RStudioServerProAppSettingsProperty(
            access_status="accessStatus",
            user_group="userGroup"
        ),
        security_groups=["securityGroups"],
        sharing_settings=sagemaker.CfnDomain.SharingSettingsProperty(
            notebook_output_option="notebookOutputOption",
            s3_kms_key_id="s3KmsKeyId",
            s3_output_path="s3OutputPath"
        ),
        space_storage_settings=sagemaker.CfnDomain.DefaultSpaceStorageSettingsProperty(
            default_ebs_storage_settings=sagemaker.CfnDomain.DefaultEbsStorageSettingsProperty(
                default_ebs_volume_size_in_gb=123,
                maximum_ebs_volume_size_in_gb=123
            )
        ),
        studio_web_portal="studioWebPortal",
        studio_web_portal_settings=sagemaker.CfnDomain.StudioWebPortalSettingsProperty(
            hidden_app_types=["hiddenAppTypes"],
            hidden_instance_types=["hiddenInstanceTypes"],
            hidden_ml_tools=["hiddenMlTools"],
            hidden_sage_maker_image_version_aliases=[sagemaker.CfnDomain.HiddenSageMakerImageProperty(
                sage_maker_image_name="sageMakerImageName",
                version_aliases=["versionAliases"]
            )]
        )
    ),
    domain_name="domainName",

    # the properties below are optional
    app_network_access_type="appNetworkAccessType",
    app_security_group_management="appSecurityGroupManagement",
    default_space_settings=sagemaker.CfnDomain.DefaultSpaceSettingsProperty(
        execution_role="executionRole",

        # the properties below are optional
        custom_file_system_configs=[sagemaker.CfnDomain.CustomFileSystemConfigProperty(
            efs_file_system_config=sagemaker.CfnDomain.EFSFileSystemConfigProperty(
                file_system_id="fileSystemId",

                # the properties below are optional
                file_system_path="fileSystemPath"
            ),
            f_sx_lustre_file_system_config=sagemaker.CfnDomain.FSxLustreFileSystemConfigProperty(
                file_system_id="fileSystemId",

                # the properties below are optional
                file_system_path="fileSystemPath"
            ),
            s3_file_system_config=sagemaker.CfnDomain.S3FileSystemConfigProperty(
                mount_path="mountPath",
                s3_uri="s3Uri"
            )
        )],
        custom_posix_user_config=sagemaker.CfnDomain.CustomPosixUserConfigProperty(
            gid=123,
            uid=123
        ),
        jupyter_lab_app_settings=sagemaker.CfnDomain.JupyterLabAppSettingsProperty(
            app_lifecycle_management=sagemaker.CfnDomain.AppLifecycleManagementProperty(
                idle_settings=sagemaker.CfnDomain.IdleSettingsProperty(
                    idle_timeout_in_minutes=123,
                    lifecycle_management="lifecycleManagement",
                    max_idle_timeout_in_minutes=123,
                    min_idle_timeout_in_minutes=123
                )
            ),
            built_in_lifecycle_config_arn="builtInLifecycleConfigArn",
            code_repositories=[sagemaker.CfnDomain.CodeRepositoryProperty(
                repository_url="repositoryUrl"
            )],
            custom_images=[sagemaker.CfnDomain.CustomImageProperty(
                app_image_config_name="appImageConfigName",
                image_name="imageName",

                # the properties below are optional
                image_version_number=123
            )],
            default_resource_spec=sagemaker.CfnDomain.ResourceSpecProperty(
                instance_type="instanceType",
                lifecycle_config_arn="lifecycleConfigArn",
                sage_maker_image_arn="sageMakerImageArn",
                sage_maker_image_version_arn="sageMakerImageVersionArn",
                training_plan_arn="trainingPlanArn"
            ),
            lifecycle_config_arns=["lifecycleConfigArns"]
        ),
        jupyter_server_app_settings=sagemaker.CfnDomain.JupyterServerAppSettingsProperty(
            default_resource_spec=sagemaker.CfnDomain.ResourceSpecProperty(
                instance_type="instanceType",
                lifecycle_config_arn="lifecycleConfigArn",
                sage_maker_image_arn="sageMakerImageArn",
                sage_maker_image_version_arn="sageMakerImageVersionArn",
                training_plan_arn="trainingPlanArn"
            ),
            lifecycle_config_arns=["lifecycleConfigArns"]
        ),
        kernel_gateway_app_settings=sagemaker.CfnDomain.KernelGatewayAppSettingsProperty(
            custom_images=[sagemaker.CfnDomain.CustomImageProperty(
                app_image_config_name="appImageConfigName",
                image_name="imageName",

                # the properties below are optional
                image_version_number=123
            )],
            default_resource_spec=sagemaker.CfnDomain.ResourceSpecProperty(
                instance_type="instanceType",
                lifecycle_config_arn="lifecycleConfigArn",
                sage_maker_image_arn="sageMakerImageArn",
                sage_maker_image_version_arn="sageMakerImageVersionArn",
                training_plan_arn="trainingPlanArn"
            ),
            lifecycle_config_arns=["lifecycleConfigArns"]
        ),
        security_groups=["securityGroups"],
        space_storage_settings=sagemaker.CfnDomain.DefaultSpaceStorageSettingsProperty(
            default_ebs_storage_settings=sagemaker.CfnDomain.DefaultEbsStorageSettingsProperty(
                default_ebs_volume_size_in_gb=123,
                maximum_ebs_volume_size_in_gb=123
            )
        )
    ),
    domain_settings=sagemaker.CfnDomain.DomainSettingsProperty(
        docker_settings=sagemaker.CfnDomain.DockerSettingsProperty(
            enable_docker_access="enableDockerAccess",
            vpc_only_trusted_accounts=["vpcOnlyTrustedAccounts"]
        ),
        execution_role_identity_config="executionRoleIdentityConfig",
        ip_address_type="ipAddressType",
        r_studio_server_pro_domain_settings=sagemaker.CfnDomain.RStudioServerProDomainSettingsProperty(
            domain_execution_role_arn="domainExecutionRoleArn",

            # the properties below are optional
            default_resource_spec=sagemaker.CfnDomain.ResourceSpecProperty(
                instance_type="instanceType",
                lifecycle_config_arn="lifecycleConfigArn",
                sage_maker_image_arn="sageMakerImageArn",
                sage_maker_image_version_arn="sageMakerImageVersionArn",
                training_plan_arn="trainingPlanArn"
            ),
            r_studio_connect_url="rStudioConnectUrl",
            r_studio_package_manager_url="rStudioPackageManagerUrl"
        ),
        security_group_ids=["securityGroupIds"],
        unified_studio_settings=sagemaker.CfnDomain.UnifiedStudioSettingsProperty(
            domain_account_id="domainAccountId",
            domain_id="domainId",
            domain_region="domainRegion",
            environment_id="environmentId",
            project_id="projectId",
            project_s3_path="projectS3Path",
            studio_web_portal_access="studioWebPortalAccess"
        )
    ),
    home_efs_file_system_creation="homeEfsFileSystemCreation",
    kms_key_id="kmsKeyId",
    subnet_ids=["subnetIds"],
    tag_propagation="tagPropagation",
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    vpc_id="vpcId"
)
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.*;

CfnDomainProps cfnDomainProps = CfnDomainProps.builder()
        .authMode("authMode")
        .defaultUserSettings(UserSettingsProperty.builder()
                .executionRole("executionRole")

                // the properties below are optional
                .autoMountHomeEfs("autoMountHomeEfs")
                .codeEditorAppSettings(CodeEditorAppSettingsProperty.builder()
                        .appLifecycleManagement(AppLifecycleManagementProperty.builder()
                                .idleSettings(IdleSettingsProperty.builder()
                                        .idleTimeoutInMinutes(123)
                                        .lifecycleManagement("lifecycleManagement")
                                        .maxIdleTimeoutInMinutes(123)
                                        .minIdleTimeoutInMinutes(123)
                                        .build())
                                .build())
                        .builtInLifecycleConfigArn("builtInLifecycleConfigArn")
                        .customImages(List.of(CustomImageProperty.builder()
                                .appImageConfigName("appImageConfigName")
                                .imageName("imageName")

                                // the properties below are optional
                                .imageVersionNumber(123)
                                .build()))
                        .defaultResourceSpec(ResourceSpecProperty.builder()
                                .instanceType("instanceType")
                                .lifecycleConfigArn("lifecycleConfigArn")
                                .sageMakerImageArn("sageMakerImageArn")
                                .sageMakerImageVersionArn("sageMakerImageVersionArn")
                                .trainingPlanArn("trainingPlanArn")
                                .build())
                        .lifecycleConfigArns(List.of("lifecycleConfigArns"))
                        .build())
                .customFileSystemConfigs(List.of(CustomFileSystemConfigProperty.builder()
                        .efsFileSystemConfig(EFSFileSystemConfigProperty.builder()
                                .fileSystemId("fileSystemId")

                                // the properties below are optional
                                .fileSystemPath("fileSystemPath")
                                .build())
                        .fSxLustreFileSystemConfig(FSxLustreFileSystemConfigProperty.builder()
                                .fileSystemId("fileSystemId")

                                // the properties below are optional
                                .fileSystemPath("fileSystemPath")
                                .build())
                        .s3FileSystemConfig(S3FileSystemConfigProperty.builder()
                                .mountPath("mountPath")
                                .s3Uri("s3Uri")
                                .build())
                        .build()))
                .customPosixUserConfig(CustomPosixUserConfigProperty.builder()
                        .gid(123)
                        .uid(123)
                        .build())
                .defaultLandingUri("defaultLandingUri")
                .jupyterLabAppSettings(JupyterLabAppSettingsProperty.builder()
                        .appLifecycleManagement(AppLifecycleManagementProperty.builder()
                                .idleSettings(IdleSettingsProperty.builder()
                                        .idleTimeoutInMinutes(123)
                                        .lifecycleManagement("lifecycleManagement")
                                        .maxIdleTimeoutInMinutes(123)
                                        .minIdleTimeoutInMinutes(123)
                                        .build())
                                .build())
                        .builtInLifecycleConfigArn("builtInLifecycleConfigArn")
                        .codeRepositories(List.of(CodeRepositoryProperty.builder()
                                .repositoryUrl("repositoryUrl")
                                .build()))
                        .customImages(List.of(CustomImageProperty.builder()
                                .appImageConfigName("appImageConfigName")
                                .imageName("imageName")

                                // the properties below are optional
                                .imageVersionNumber(123)
                                .build()))
                        .defaultResourceSpec(ResourceSpecProperty.builder()
                                .instanceType("instanceType")
                                .lifecycleConfigArn("lifecycleConfigArn")
                                .sageMakerImageArn("sageMakerImageArn")
                                .sageMakerImageVersionArn("sageMakerImageVersionArn")
                                .trainingPlanArn("trainingPlanArn")
                                .build())
                        .lifecycleConfigArns(List.of("lifecycleConfigArns"))
                        .build())
                .jupyterServerAppSettings(JupyterServerAppSettingsProperty.builder()
                        .defaultResourceSpec(ResourceSpecProperty.builder()
                                .instanceType("instanceType")
                                .lifecycleConfigArn("lifecycleConfigArn")
                                .sageMakerImageArn("sageMakerImageArn")
                                .sageMakerImageVersionArn("sageMakerImageVersionArn")
                                .trainingPlanArn("trainingPlanArn")
                                .build())
                        .lifecycleConfigArns(List.of("lifecycleConfigArns"))
                        .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")
                                .lifecycleConfigArn("lifecycleConfigArn")
                                .sageMakerImageArn("sageMakerImageArn")
                                .sageMakerImageVersionArn("sageMakerImageVersionArn")
                                .trainingPlanArn("trainingPlanArn")
                                .build())
                        .lifecycleConfigArns(List.of("lifecycleConfigArns"))
                        .build())
                .rSessionAppSettings(RSessionAppSettingsProperty.builder()
                        .customImages(List.of(CustomImageProperty.builder()
                                .appImageConfigName("appImageConfigName")
                                .imageName("imageName")

                                // the properties below are optional
                                .imageVersionNumber(123)
                                .build()))
                        .defaultResourceSpec(ResourceSpecProperty.builder()
                                .instanceType("instanceType")
                                .lifecycleConfigArn("lifecycleConfigArn")
                                .sageMakerImageArn("sageMakerImageArn")
                                .sageMakerImageVersionArn("sageMakerImageVersionArn")
                                .trainingPlanArn("trainingPlanArn")
                                .build())
                        .build())
                .rStudioServerProAppSettings(RStudioServerProAppSettingsProperty.builder()
                        .accessStatus("accessStatus")
                        .userGroup("userGroup")
                        .build())
                .securityGroups(List.of("securityGroups"))
                .sharingSettings(SharingSettingsProperty.builder()
                        .notebookOutputOption("notebookOutputOption")
                        .s3KmsKeyId("s3KmsKeyId")
                        .s3OutputPath("s3OutputPath")
                        .build())
                .spaceStorageSettings(DefaultSpaceStorageSettingsProperty.builder()
                        .defaultEbsStorageSettings(DefaultEbsStorageSettingsProperty.builder()
                                .defaultEbsVolumeSizeInGb(123)
                                .maximumEbsVolumeSizeInGb(123)
                                .build())
                        .build())
                .studioWebPortal("studioWebPortal")
                .studioWebPortalSettings(StudioWebPortalSettingsProperty.builder()
                        .hiddenAppTypes(List.of("hiddenAppTypes"))
                        .hiddenInstanceTypes(List.of("hiddenInstanceTypes"))
                        .hiddenMlTools(List.of("hiddenMlTools"))
                        .hiddenSageMakerImageVersionAliases(List.of(HiddenSageMakerImageProperty.builder()
                                .sageMakerImageName("sageMakerImageName")
                                .versionAliases(List.of("versionAliases"))
                                .build()))
                        .build())
                .build())
        .domainName("domainName")

        // the properties below are optional
        .appNetworkAccessType("appNetworkAccessType")
        .appSecurityGroupManagement("appSecurityGroupManagement")
        .defaultSpaceSettings(DefaultSpaceSettingsProperty.builder()
                .executionRole("executionRole")

                // the properties below are optional
                .customFileSystemConfigs(List.of(CustomFileSystemConfigProperty.builder()
                        .efsFileSystemConfig(EFSFileSystemConfigProperty.builder()
                                .fileSystemId("fileSystemId")

                                // the properties below are optional
                                .fileSystemPath("fileSystemPath")
                                .build())
                        .fSxLustreFileSystemConfig(FSxLustreFileSystemConfigProperty.builder()
                                .fileSystemId("fileSystemId")

                                // the properties below are optional
                                .fileSystemPath("fileSystemPath")
                                .build())
                        .s3FileSystemConfig(S3FileSystemConfigProperty.builder()
                                .mountPath("mountPath")
                                .s3Uri("s3Uri")
                                .build())
                        .build()))
                .customPosixUserConfig(CustomPosixUserConfigProperty.builder()
                        .gid(123)
                        .uid(123)
                        .build())
                .jupyterLabAppSettings(JupyterLabAppSettingsProperty.builder()
                        .appLifecycleManagement(AppLifecycleManagementProperty.builder()
                                .idleSettings(IdleSettingsProperty.builder()
                                        .idleTimeoutInMinutes(123)
                                        .lifecycleManagement("lifecycleManagement")
                                        .maxIdleTimeoutInMinutes(123)
                                        .minIdleTimeoutInMinutes(123)
                                        .build())
                                .build())
                        .builtInLifecycleConfigArn("builtInLifecycleConfigArn")
                        .codeRepositories(List.of(CodeRepositoryProperty.builder()
                                .repositoryUrl("repositoryUrl")
                                .build()))
                        .customImages(List.of(CustomImageProperty.builder()
                                .appImageConfigName("appImageConfigName")
                                .imageName("imageName")

                                // the properties below are optional
                                .imageVersionNumber(123)
                                .build()))
                        .defaultResourceSpec(ResourceSpecProperty.builder()
                                .instanceType("instanceType")
                                .lifecycleConfigArn("lifecycleConfigArn")
                                .sageMakerImageArn("sageMakerImageArn")
                                .sageMakerImageVersionArn("sageMakerImageVersionArn")
                                .trainingPlanArn("trainingPlanArn")
                                .build())
                        .lifecycleConfigArns(List.of("lifecycleConfigArns"))
                        .build())
                .jupyterServerAppSettings(JupyterServerAppSettingsProperty.builder()
                        .defaultResourceSpec(ResourceSpecProperty.builder()
                                .instanceType("instanceType")
                                .lifecycleConfigArn("lifecycleConfigArn")
                                .sageMakerImageArn("sageMakerImageArn")
                                .sageMakerImageVersionArn("sageMakerImageVersionArn")
                                .trainingPlanArn("trainingPlanArn")
                                .build())
                        .lifecycleConfigArns(List.of("lifecycleConfigArns"))
                        .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")
                                .lifecycleConfigArn("lifecycleConfigArn")
                                .sageMakerImageArn("sageMakerImageArn")
                                .sageMakerImageVersionArn("sageMakerImageVersionArn")
                                .trainingPlanArn("trainingPlanArn")
                                .build())
                        .lifecycleConfigArns(List.of("lifecycleConfigArns"))
                        .build())
                .securityGroups(List.of("securityGroups"))
                .spaceStorageSettings(DefaultSpaceStorageSettingsProperty.builder()
                        .defaultEbsStorageSettings(DefaultEbsStorageSettingsProperty.builder()
                                .defaultEbsVolumeSizeInGb(123)
                                .maximumEbsVolumeSizeInGb(123)
                                .build())
                        .build())
                .build())
        .domainSettings(DomainSettingsProperty.builder()
                .dockerSettings(DockerSettingsProperty.builder()
                        .enableDockerAccess("enableDockerAccess")
                        .vpcOnlyTrustedAccounts(List.of("vpcOnlyTrustedAccounts"))
                        .build())
                .executionRoleIdentityConfig("executionRoleIdentityConfig")
                .ipAddressType("ipAddressType")
                .rStudioServerProDomainSettings(RStudioServerProDomainSettingsProperty.builder()
                        .domainExecutionRoleArn("domainExecutionRoleArn")

                        // the properties below are optional
                        .defaultResourceSpec(ResourceSpecProperty.builder()
                                .instanceType("instanceType")
                                .lifecycleConfigArn("lifecycleConfigArn")
                                .sageMakerImageArn("sageMakerImageArn")
                                .sageMakerImageVersionArn("sageMakerImageVersionArn")
                                .trainingPlanArn("trainingPlanArn")
                                .build())
                        .rStudioConnectUrl("rStudioConnectUrl")
                        .rStudioPackageManagerUrl("rStudioPackageManagerUrl")
                        .build())
                .securityGroupIds(List.of("securityGroupIds"))
                .unifiedStudioSettings(UnifiedStudioSettingsProperty.builder()
                        .domainAccountId("domainAccountId")
                        .domainId("domainId")
                        .domainRegion("domainRegion")
                        .environmentId("environmentId")
                        .projectId("projectId")
                        .projectS3Path("projectS3Path")
                        .studioWebPortalAccess("studioWebPortalAccess")
                        .build())
                .build())
        .homeEfsFileSystemCreation("homeEfsFileSystemCreation")
        .kmsKeyId("kmsKeyId")
        .subnetIds(List.of("subnetIds"))
        .tagPropagation("tagPropagation")
        .tags(List.of(CfnTag.builder()
                .key("key")
                .value("value")
                .build()))
        .vpcId("vpcId")
        .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 cfnDomainProps = new CfnDomainProps {
    AuthMode = "authMode",
    DefaultUserSettings = new UserSettingsProperty {
        ExecutionRole = "executionRole",

        // the properties below are optional
        AutoMountHomeEfs = "autoMountHomeEfs",
        CodeEditorAppSettings = new CodeEditorAppSettingsProperty {
            AppLifecycleManagement = new AppLifecycleManagementProperty {
                IdleSettings = new IdleSettingsProperty {
                    IdleTimeoutInMinutes = 123,
                    LifecycleManagement = "lifecycleManagement",
                    MaxIdleTimeoutInMinutes = 123,
                    MinIdleTimeoutInMinutes = 123
                }
            },
            BuiltInLifecycleConfigArn = "builtInLifecycleConfigArn",
            CustomImages = new [] { new CustomImageProperty {
                AppImageConfigName = "appImageConfigName",
                ImageName = "imageName",

                // the properties below are optional
                ImageVersionNumber = 123
            } },
            DefaultResourceSpec = new ResourceSpecProperty {
                InstanceType = "instanceType",
                LifecycleConfigArn = "lifecycleConfigArn",
                SageMakerImageArn = "sageMakerImageArn",
                SageMakerImageVersionArn = "sageMakerImageVersionArn",
                TrainingPlanArn = "trainingPlanArn"
            },
            LifecycleConfigArns = new [] { "lifecycleConfigArns" }
        },
        CustomFileSystemConfigs = new [] { new CustomFileSystemConfigProperty {
            EfsFileSystemConfig = new EFSFileSystemConfigProperty {
                FileSystemId = "fileSystemId",

                // the properties below are optional
                FileSystemPath = "fileSystemPath"
            },
            FSxLustreFileSystemConfig = new FSxLustreFileSystemConfigProperty {
                FileSystemId = "fileSystemId",

                // the properties below are optional
                FileSystemPath = "fileSystemPath"
            },
            S3FileSystemConfig = new S3FileSystemConfigProperty {
                MountPath = "mountPath",
                S3Uri = "s3Uri"
            }
        } },
        CustomPosixUserConfig = new CustomPosixUserConfigProperty {
            Gid = 123,
            Uid = 123
        },
        DefaultLandingUri = "defaultLandingUri",
        JupyterLabAppSettings = new JupyterLabAppSettingsProperty {
            AppLifecycleManagement = new AppLifecycleManagementProperty {
                IdleSettings = new IdleSettingsProperty {
                    IdleTimeoutInMinutes = 123,
                    LifecycleManagement = "lifecycleManagement",
                    MaxIdleTimeoutInMinutes = 123,
                    MinIdleTimeoutInMinutes = 123
                }
            },
            BuiltInLifecycleConfigArn = "builtInLifecycleConfigArn",
            CodeRepositories = new [] { new CodeRepositoryProperty {
                RepositoryUrl = "repositoryUrl"
            } },
            CustomImages = new [] { new CustomImageProperty {
                AppImageConfigName = "appImageConfigName",
                ImageName = "imageName",

                // the properties below are optional
                ImageVersionNumber = 123
            } },
            DefaultResourceSpec = new ResourceSpecProperty {
                InstanceType = "instanceType",
                LifecycleConfigArn = "lifecycleConfigArn",
                SageMakerImageArn = "sageMakerImageArn",
                SageMakerImageVersionArn = "sageMakerImageVersionArn",
                TrainingPlanArn = "trainingPlanArn"
            },
            LifecycleConfigArns = new [] { "lifecycleConfigArns" }
        },
        JupyterServerAppSettings = new JupyterServerAppSettingsProperty {
            DefaultResourceSpec = new ResourceSpecProperty {
                InstanceType = "instanceType",
                LifecycleConfigArn = "lifecycleConfigArn",
                SageMakerImageArn = "sageMakerImageArn",
                SageMakerImageVersionArn = "sageMakerImageVersionArn",
                TrainingPlanArn = "trainingPlanArn"
            },
            LifecycleConfigArns = new [] { "lifecycleConfigArns" }
        },
        KernelGatewayAppSettings = new KernelGatewayAppSettingsProperty {
            CustomImages = new [] { new CustomImageProperty {
                AppImageConfigName = "appImageConfigName",
                ImageName = "imageName",

                // the properties below are optional
                ImageVersionNumber = 123
            } },
            DefaultResourceSpec = new ResourceSpecProperty {
                InstanceType = "instanceType",
                LifecycleConfigArn = "lifecycleConfigArn",
                SageMakerImageArn = "sageMakerImageArn",
                SageMakerImageVersionArn = "sageMakerImageVersionArn",
                TrainingPlanArn = "trainingPlanArn"
            },
            LifecycleConfigArns = new [] { "lifecycleConfigArns" }
        },
        RSessionAppSettings = new RSessionAppSettingsProperty {
            CustomImages = new [] { new CustomImageProperty {
                AppImageConfigName = "appImageConfigName",
                ImageName = "imageName",

                // the properties below are optional
                ImageVersionNumber = 123
            } },
            DefaultResourceSpec = new ResourceSpecProperty {
                InstanceType = "instanceType",
                LifecycleConfigArn = "lifecycleConfigArn",
                SageMakerImageArn = "sageMakerImageArn",
                SageMakerImageVersionArn = "sageMakerImageVersionArn",
                TrainingPlanArn = "trainingPlanArn"
            }
        },
        RStudioServerProAppSettings = new RStudioServerProAppSettingsProperty {
            AccessStatus = "accessStatus",
            UserGroup = "userGroup"
        },
        SecurityGroups = new [] { "securityGroups" },
        SharingSettings = new SharingSettingsProperty {
            NotebookOutputOption = "notebookOutputOption",
            S3KmsKeyId = "s3KmsKeyId",
            S3OutputPath = "s3OutputPath"
        },
        SpaceStorageSettings = new DefaultSpaceStorageSettingsProperty {
            DefaultEbsStorageSettings = new DefaultEbsStorageSettingsProperty {
                DefaultEbsVolumeSizeInGb = 123,
                MaximumEbsVolumeSizeInGb = 123
            }
        },
        StudioWebPortal = "studioWebPortal",
        StudioWebPortalSettings = new StudioWebPortalSettingsProperty {
            HiddenAppTypes = new [] { "hiddenAppTypes" },
            HiddenInstanceTypes = new [] { "hiddenInstanceTypes" },
            HiddenMlTools = new [] { "hiddenMlTools" },
            HiddenSageMakerImageVersionAliases = new [] { new HiddenSageMakerImageProperty {
                SageMakerImageName = "sageMakerImageName",
                VersionAliases = new [] { "versionAliases" }
            } }
        }
    },
    DomainName = "domainName",

    // the properties below are optional
    AppNetworkAccessType = "appNetworkAccessType",
    AppSecurityGroupManagement = "appSecurityGroupManagement",
    DefaultSpaceSettings = new DefaultSpaceSettingsProperty {
        ExecutionRole = "executionRole",

        // the properties below are optional
        CustomFileSystemConfigs = new [] { new CustomFileSystemConfigProperty {
            EfsFileSystemConfig = new EFSFileSystemConfigProperty {
                FileSystemId = "fileSystemId",

                // the properties below are optional
                FileSystemPath = "fileSystemPath"
            },
            FSxLustreFileSystemConfig = new FSxLustreFileSystemConfigProperty {
                FileSystemId = "fileSystemId",

                // the properties below are optional
                FileSystemPath = "fileSystemPath"
            },
            S3FileSystemConfig = new S3FileSystemConfigProperty {
                MountPath = "mountPath",
                S3Uri = "s3Uri"
            }
        } },
        CustomPosixUserConfig = new CustomPosixUserConfigProperty {
            Gid = 123,
            Uid = 123
        },
        JupyterLabAppSettings = new JupyterLabAppSettingsProperty {
            AppLifecycleManagement = new AppLifecycleManagementProperty {
                IdleSettings = new IdleSettingsProperty {
                    IdleTimeoutInMinutes = 123,
                    LifecycleManagement = "lifecycleManagement",
                    MaxIdleTimeoutInMinutes = 123,
                    MinIdleTimeoutInMinutes = 123
                }
            },
            BuiltInLifecycleConfigArn = "builtInLifecycleConfigArn",
            CodeRepositories = new [] { new CodeRepositoryProperty {
                RepositoryUrl = "repositoryUrl"
            } },
            CustomImages = new [] { new CustomImageProperty {
                AppImageConfigName = "appImageConfigName",
                ImageName = "imageName",

                // the properties below are optional
                ImageVersionNumber = 123
            } },
            DefaultResourceSpec = new ResourceSpecProperty {
                InstanceType = "instanceType",
                LifecycleConfigArn = "lifecycleConfigArn",
                SageMakerImageArn = "sageMakerImageArn",
                SageMakerImageVersionArn = "sageMakerImageVersionArn",
                TrainingPlanArn = "trainingPlanArn"
            },
            LifecycleConfigArns = new [] { "lifecycleConfigArns" }
        },
        JupyterServerAppSettings = new JupyterServerAppSettingsProperty {
            DefaultResourceSpec = new ResourceSpecProperty {
                InstanceType = "instanceType",
                LifecycleConfigArn = "lifecycleConfigArn",
                SageMakerImageArn = "sageMakerImageArn",
                SageMakerImageVersionArn = "sageMakerImageVersionArn",
                TrainingPlanArn = "trainingPlanArn"
            },
            LifecycleConfigArns = new [] { "lifecycleConfigArns" }
        },
        KernelGatewayAppSettings = new KernelGatewayAppSettingsProperty {
            CustomImages = new [] { new CustomImageProperty {
                AppImageConfigName = "appImageConfigName",
                ImageName = "imageName",

                // the properties below are optional
                ImageVersionNumber = 123
            } },
            DefaultResourceSpec = new ResourceSpecProperty {
                InstanceType = "instanceType",
                LifecycleConfigArn = "lifecycleConfigArn",
                SageMakerImageArn = "sageMakerImageArn",
                SageMakerImageVersionArn = "sageMakerImageVersionArn",
                TrainingPlanArn = "trainingPlanArn"
            },
            LifecycleConfigArns = new [] { "lifecycleConfigArns" }
        },
        SecurityGroups = new [] { "securityGroups" },
        SpaceStorageSettings = new DefaultSpaceStorageSettingsProperty {
            DefaultEbsStorageSettings = new DefaultEbsStorageSettingsProperty {
                DefaultEbsVolumeSizeInGb = 123,
                MaximumEbsVolumeSizeInGb = 123
            }
        }
    },
    DomainSettings = new DomainSettingsProperty {
        DockerSettings = new DockerSettingsProperty {
            EnableDockerAccess = "enableDockerAccess",
            VpcOnlyTrustedAccounts = new [] { "vpcOnlyTrustedAccounts" }
        },
        ExecutionRoleIdentityConfig = "executionRoleIdentityConfig",
        IpAddressType = "ipAddressType",
        RStudioServerProDomainSettings = new RStudioServerProDomainSettingsProperty {
            DomainExecutionRoleArn = "domainExecutionRoleArn",

            // the properties below are optional
            DefaultResourceSpec = new ResourceSpecProperty {
                InstanceType = "instanceType",
                LifecycleConfigArn = "lifecycleConfigArn",
                SageMakerImageArn = "sageMakerImageArn",
                SageMakerImageVersionArn = "sageMakerImageVersionArn",
                TrainingPlanArn = "trainingPlanArn"
            },
            RStudioConnectUrl = "rStudioConnectUrl",
            RStudioPackageManagerUrl = "rStudioPackageManagerUrl"
        },
        SecurityGroupIds = new [] { "securityGroupIds" },
        UnifiedStudioSettings = new UnifiedStudioSettingsProperty {
            DomainAccountId = "domainAccountId",
            DomainId = "domainId",
            DomainRegion = "domainRegion",
            EnvironmentId = "environmentId",
            ProjectId = "projectId",
            ProjectS3Path = "projectS3Path",
            StudioWebPortalAccess = "studioWebPortalAccess"
        }
    },
    HomeEfsFileSystemCreation = "homeEfsFileSystemCreation",
    KmsKeyId = "kmsKeyId",
    SubnetIds = new [] { "subnetIds" },
    TagPropagation = "tagPropagation",
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } },
    VpcId = "vpcId"
};
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"

cfnDomainProps := &CfnDomainProps{
	AuthMode: jsii.String("authMode"),
	DefaultUserSettings: &UserSettingsProperty{
		ExecutionRole: jsii.String("executionRole"),

		// the properties below are optional
		AutoMountHomeEfs: jsii.String("autoMountHomeEfs"),
		CodeEditorAppSettings: &CodeEditorAppSettingsProperty{
			AppLifecycleManagement: &AppLifecycleManagementProperty{
				IdleSettings: &IdleSettingsProperty{
					IdleTimeoutInMinutes: jsii.Number(123),
					LifecycleManagement: jsii.String("lifecycleManagement"),
					MaxIdleTimeoutInMinutes: jsii.Number(123),
					MinIdleTimeoutInMinutes: jsii.Number(123),
				},
			},
			BuiltInLifecycleConfigArn: jsii.String("builtInLifecycleConfigArn"),
			CustomImages: []interface{}{
				&CustomImageProperty{
					AppImageConfigName: jsii.String("appImageConfigName"),
					ImageName: jsii.String("imageName"),

					// the properties below are optional
					ImageVersionNumber: jsii.Number(123),
				},
			},
			DefaultResourceSpec: &ResourceSpecProperty{
				InstanceType: jsii.String("instanceType"),
				LifecycleConfigArn: jsii.String("lifecycleConfigArn"),
				SageMakerImageArn: jsii.String("sageMakerImageArn"),
				SageMakerImageVersionArn: jsii.String("sageMakerImageVersionArn"),
				TrainingPlanArn: jsii.String("trainingPlanArn"),
			},
			LifecycleConfigArns: []*string{
				jsii.String("lifecycleConfigArns"),
			},
		},
		CustomFileSystemConfigs: []interface{}{
			&CustomFileSystemConfigProperty{
				EfsFileSystemConfig: &EFSFileSystemConfigProperty{
					FileSystemId: jsii.String("fileSystemId"),

					// the properties below are optional
					FileSystemPath: jsii.String("fileSystemPath"),
				},
				FSxLustreFileSystemConfig: &FSxLustreFileSystemConfigProperty{
					FileSystemId: jsii.String("fileSystemId"),

					// the properties below are optional
					FileSystemPath: jsii.String("fileSystemPath"),
				},
				S3FileSystemConfig: &S3FileSystemConfigProperty{
					MountPath: jsii.String("mountPath"),
					S3Uri: jsii.String("s3Uri"),
				},
			},
		},
		CustomPosixUserConfig: &CustomPosixUserConfigProperty{
			Gid: jsii.Number(123),
			Uid: jsii.Number(123),
		},
		DefaultLandingUri: jsii.String("defaultLandingUri"),
		JupyterLabAppSettings: &JupyterLabAppSettingsProperty{
			AppLifecycleManagement: &AppLifecycleManagementProperty{
				IdleSettings: &IdleSettingsProperty{
					IdleTimeoutInMinutes: jsii.Number(123),
					LifecycleManagement: jsii.String("lifecycleManagement"),
					MaxIdleTimeoutInMinutes: jsii.Number(123),
					MinIdleTimeoutInMinutes: jsii.Number(123),
				},
			},
			BuiltInLifecycleConfigArn: jsii.String("builtInLifecycleConfigArn"),
			CodeRepositories: []interface{}{
				&CodeRepositoryProperty{
					RepositoryUrl: jsii.String("repositoryUrl"),
				},
			},
			CustomImages: []interface{}{
				&CustomImageProperty{
					AppImageConfigName: jsii.String("appImageConfigName"),
					ImageName: jsii.String("imageName"),

					// the properties below are optional
					ImageVersionNumber: jsii.Number(123),
				},
			},
			DefaultResourceSpec: &ResourceSpecProperty{
				InstanceType: jsii.String("instanceType"),
				LifecycleConfigArn: jsii.String("lifecycleConfigArn"),
				SageMakerImageArn: jsii.String("sageMakerImageArn"),
				SageMakerImageVersionArn: jsii.String("sageMakerImageVersionArn"),
				TrainingPlanArn: jsii.String("trainingPlanArn"),
			},
			LifecycleConfigArns: []*string{
				jsii.String("lifecycleConfigArns"),
			},
		},
		JupyterServerAppSettings: &JupyterServerAppSettingsProperty{
			DefaultResourceSpec: &ResourceSpecProperty{
				InstanceType: jsii.String("instanceType"),
				LifecycleConfigArn: jsii.String("lifecycleConfigArn"),
				SageMakerImageArn: jsii.String("sageMakerImageArn"),
				SageMakerImageVersionArn: jsii.String("sageMakerImageVersionArn"),
				TrainingPlanArn: jsii.String("trainingPlanArn"),
			},
			LifecycleConfigArns: []*string{
				jsii.String("lifecycleConfigArns"),
			},
		},
		KernelGatewayAppSettings: &KernelGatewayAppSettingsProperty{
			CustomImages: []interface{}{
				&CustomImageProperty{
					AppImageConfigName: jsii.String("appImageConfigName"),
					ImageName: jsii.String("imageName"),

					// the properties below are optional
					ImageVersionNumber: jsii.Number(123),
				},
			},
			DefaultResourceSpec: &ResourceSpecProperty{
				InstanceType: jsii.String("instanceType"),
				LifecycleConfigArn: jsii.String("lifecycleConfigArn"),
				SageMakerImageArn: jsii.String("sageMakerImageArn"),
				SageMakerImageVersionArn: jsii.String("sageMakerImageVersionArn"),
				TrainingPlanArn: jsii.String("trainingPlanArn"),
			},
			LifecycleConfigArns: []*string{
				jsii.String("lifecycleConfigArns"),
			},
		},
		RSessionAppSettings: &RSessionAppSettingsProperty{
			CustomImages: []interface{}{
				&CustomImageProperty{
					AppImageConfigName: jsii.String("appImageConfigName"),
					ImageName: jsii.String("imageName"),

					// the properties below are optional
					ImageVersionNumber: jsii.Number(123),
				},
			},
			DefaultResourceSpec: &ResourceSpecProperty{
				InstanceType: jsii.String("instanceType"),
				LifecycleConfigArn: jsii.String("lifecycleConfigArn"),
				SageMakerImageArn: jsii.String("sageMakerImageArn"),
				SageMakerImageVersionArn: jsii.String("sageMakerImageVersionArn"),
				TrainingPlanArn: jsii.String("trainingPlanArn"),
			},
		},
		RStudioServerProAppSettings: &RStudioServerProAppSettingsProperty{
			AccessStatus: jsii.String("accessStatus"),
			UserGroup: jsii.String("userGroup"),
		},
		SecurityGroups: []*string{
			jsii.String("securityGroups"),
		},
		SharingSettings: &SharingSettingsProperty{
			NotebookOutputOption: jsii.String("notebookOutputOption"),
			S3KmsKeyId: jsii.String("s3KmsKeyId"),
			S3OutputPath: jsii.String("s3OutputPath"),
		},
		SpaceStorageSettings: &DefaultSpaceStorageSettingsProperty{
			DefaultEbsStorageSettings: &DefaultEbsStorageSettingsProperty{
				DefaultEbsVolumeSizeInGb: jsii.Number(123),
				MaximumEbsVolumeSizeInGb: jsii.Number(123),
			},
		},
		StudioWebPortal: jsii.String("studioWebPortal"),
		StudioWebPortalSettings: &StudioWebPortalSettingsProperty{
			HiddenAppTypes: []*string{
				jsii.String("hiddenAppTypes"),
			},
			HiddenInstanceTypes: []*string{
				jsii.String("hiddenInstanceTypes"),
			},
			HiddenMlTools: []*string{
				jsii.String("hiddenMlTools"),
			},
			HiddenSageMakerImageVersionAliases: []interface{}{
				&HiddenSageMakerImageProperty{
					SageMakerImageName: jsii.String("sageMakerImageName"),
					VersionAliases: []*string{
						jsii.String("versionAliases"),
					},
				},
			},
		},
	},
	DomainName: jsii.String("domainName"),

	// the properties below are optional
	AppNetworkAccessType: jsii.String("appNetworkAccessType"),
	AppSecurityGroupManagement: jsii.String("appSecurityGroupManagement"),
	DefaultSpaceSettings: &DefaultSpaceSettingsProperty{
		ExecutionRole: jsii.String("executionRole"),

		// the properties below are optional
		CustomFileSystemConfigs: []interface{}{
			&CustomFileSystemConfigProperty{
				EfsFileSystemConfig: &EFSFileSystemConfigProperty{
					FileSystemId: jsii.String("fileSystemId"),

					// the properties below are optional
					FileSystemPath: jsii.String("fileSystemPath"),
				},
				FSxLustreFileSystemConfig: &FSxLustreFileSystemConfigProperty{
					FileSystemId: jsii.String("fileSystemId"),

					// the properties below are optional
					FileSystemPath: jsii.String("fileSystemPath"),
				},
				S3FileSystemConfig: &S3FileSystemConfigProperty{
					MountPath: jsii.String("mountPath"),
					S3Uri: jsii.String("s3Uri"),
				},
			},
		},
		CustomPosixUserConfig: &CustomPosixUserConfigProperty{
			Gid: jsii.Number(123),
			Uid: jsii.Number(123),
		},
		JupyterLabAppSettings: &JupyterLabAppSettingsProperty{
			AppLifecycleManagement: &AppLifecycleManagementProperty{
				IdleSettings: &IdleSettingsProperty{
					IdleTimeoutInMinutes: jsii.Number(123),
					LifecycleManagement: jsii.String("lifecycleManagement"),
					MaxIdleTimeoutInMinutes: jsii.Number(123),
					MinIdleTimeoutInMinutes: jsii.Number(123),
				},
			},
			BuiltInLifecycleConfigArn: jsii.String("builtInLifecycleConfigArn"),
			CodeRepositories: []interface{}{
				&CodeRepositoryProperty{
					RepositoryUrl: jsii.String("repositoryUrl"),
				},
			},
			CustomImages: []interface{}{
				&CustomImageProperty{
					AppImageConfigName: jsii.String("appImageConfigName"),
					ImageName: jsii.String("imageName"),

					// the properties below are optional
					ImageVersionNumber: jsii.Number(123),
				},
			},
			DefaultResourceSpec: &ResourceSpecProperty{
				InstanceType: jsii.String("instanceType"),
				LifecycleConfigArn: jsii.String("lifecycleConfigArn"),
				SageMakerImageArn: jsii.String("sageMakerImageArn"),
				SageMakerImageVersionArn: jsii.String("sageMakerImageVersionArn"),
				TrainingPlanArn: jsii.String("trainingPlanArn"),
			},
			LifecycleConfigArns: []*string{
				jsii.String("lifecycleConfigArns"),
			},
		},
		JupyterServerAppSettings: &JupyterServerAppSettingsProperty{
			DefaultResourceSpec: &ResourceSpecProperty{
				InstanceType: jsii.String("instanceType"),
				LifecycleConfigArn: jsii.String("lifecycleConfigArn"),
				SageMakerImageArn: jsii.String("sageMakerImageArn"),
				SageMakerImageVersionArn: jsii.String("sageMakerImageVersionArn"),
				TrainingPlanArn: jsii.String("trainingPlanArn"),
			},
			LifecycleConfigArns: []*string{
				jsii.String("lifecycleConfigArns"),
			},
		},
		KernelGatewayAppSettings: &KernelGatewayAppSettingsProperty{
			CustomImages: []interface{}{
				&CustomImageProperty{
					AppImageConfigName: jsii.String("appImageConfigName"),
					ImageName: jsii.String("imageName"),

					// the properties below are optional
					ImageVersionNumber: jsii.Number(123),
				},
			},
			DefaultResourceSpec: &ResourceSpecProperty{
				InstanceType: jsii.String("instanceType"),
				LifecycleConfigArn: jsii.String("lifecycleConfigArn"),
				SageMakerImageArn: jsii.String("sageMakerImageArn"),
				SageMakerImageVersionArn: jsii.String("sageMakerImageVersionArn"),
				TrainingPlanArn: jsii.String("trainingPlanArn"),
			},
			LifecycleConfigArns: []*string{
				jsii.String("lifecycleConfigArns"),
			},
		},
		SecurityGroups: []*string{
			jsii.String("securityGroups"),
		},
		SpaceStorageSettings: &DefaultSpaceStorageSettingsProperty{
			DefaultEbsStorageSettings: &DefaultEbsStorageSettingsProperty{
				DefaultEbsVolumeSizeInGb: jsii.Number(123),
				MaximumEbsVolumeSizeInGb: jsii.Number(123),
			},
		},
	},
	DomainSettings: &DomainSettingsProperty{
		DockerSettings: &DockerSettingsProperty{
			EnableDockerAccess: jsii.String("enableDockerAccess"),
			VpcOnlyTrustedAccounts: []*string{
				jsii.String("vpcOnlyTrustedAccounts"),
			},
		},
		ExecutionRoleIdentityConfig: jsii.String("executionRoleIdentityConfig"),
		IpAddressType: jsii.String("ipAddressType"),
		RStudioServerProDomainSettings: &RStudioServerProDomainSettingsProperty{
			DomainExecutionRoleArn: jsii.String("domainExecutionRoleArn"),

			// the properties below are optional
			DefaultResourceSpec: &ResourceSpecProperty{
				InstanceType: jsii.String("instanceType"),
				LifecycleConfigArn: jsii.String("lifecycleConfigArn"),
				SageMakerImageArn: jsii.String("sageMakerImageArn"),
				SageMakerImageVersionArn: jsii.String("sageMakerImageVersionArn"),
				TrainingPlanArn: jsii.String("trainingPlanArn"),
			},
			RStudioConnectUrl: jsii.String("rStudioConnectUrl"),
			RStudioPackageManagerUrl: jsii.String("rStudioPackageManagerUrl"),
		},
		SecurityGroupIds: []*string{
			jsii.String("securityGroupIds"),
		},
		UnifiedStudioSettings: &UnifiedStudioSettingsProperty{
			DomainAccountId: jsii.String("domainAccountId"),
			DomainId: jsii.String("domainId"),
			DomainRegion: jsii.String("domainRegion"),
			EnvironmentId: jsii.String("environmentId"),
			ProjectId: jsii.String("projectId"),
			ProjectS3Path: jsii.String("projectS3Path"),
			StudioWebPortalAccess: jsii.String("studioWebPortalAccess"),
		},
	},
	HomeEfsFileSystemCreation: jsii.String("homeEfsFileSystemCreation"),
	KmsKeyId: jsii.String("kmsKeyId"),
	SubnetIds: []interface{}{
		jsii.String("subnetIds"),
	},
	TagPropagation: jsii.String("tagPropagation"),
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
	VpcId: jsii.String("vpcId"),
}

Properties ​

appNetworkAccessTypeoptionalstringapp_network_access_typeoptionalstrappNetworkAccessTypeoptionalStringAppNetworkAccessTypeoptionalstringAppNetworkAccessTypeoptional*string #
Specifies the VPC used for non-EFS traffic. The default value is `PublicInternetOnly` .
notes
  • PublicInternetOnly - Non-EFS traffic is through a VPC managed by Amazon SageMaker AI , which allows direct internet access
  • VpcOnly - All Studio traffic is through the specified VPC and subnets

Valid Values : PublicInternetOnly | VpcOnly

appSecurityGroupManagementoptionalstringapp_security_group_managementoptionalstrappSecurityGroupManagementoptionalStringAppSecurityGroupManagementoptionalstringAppSecurityGroupManagementoptional*string #
The entity that creates and manages the required security groups for inter-app communication in `VpcOnly` mode.
notes

Required when CreateDomain.AppNetworkAccessType is VpcOnly and DomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn is provided. If setting up the domain for use with RStudio, this value must be set to Service .

Allowed Values : Service | Customer

authModestringauth_modestrauthModeStringAuthModestringAuthMode*string required #
The mode of authentication that members use to access the Domain.

Valid Values : SSO | IAM

defaultSpaceSettingsoptionalIResolvable | CfnDomain.DefaultSpaceSettingsPropertydefault_space_settingsoptionaltyping.Union[IResolvable, DefaultSpaceSettingsProperty]defaultSpaceSettingsoptionalIResolvableDefaultSpaceSettingsoptionalIResolvableDefaultSpaceSettingsoptionalinterface{} #
The default settings for shared spaces that users create in the domain.

SageMaker applies these settings only to shared spaces. It doesn't apply them to private spaces.

defaultUserSettingsIResolvable | CfnDomain.UserSettingsPropertydefault_user_settingstyping.Union[IResolvable, UserSettingsProperty]defaultUserSettingsIResolvableDefaultUserSettingsIResolvableDefaultUserSettingsinterface{} required #
The default user settings.
domainNamestringdomain_namestrdomainNameStringDomainNamestringDomainName*string required #
The domain name.
domainSettingsoptionalIResolvable | CfnDomain.DomainSettingsPropertydomain_settingsoptionaltyping.Union[IResolvable, DomainSettingsProperty]domainSettingsoptionalIResolvableDomainSettingsoptionalIResolvableDomainSettingsoptionalinterface{} #
A collection of settings that apply to the `SageMaker Domain` .

These settings are specified through the CreateDomain API call.

homeEfsFileSystemCreationoptionalstringhome_efs_file_system_creationoptionalstrhomeEfsFileSystemCreationoptionalStringHomeEfsFileSystemCreationoptionalstringHomeEfsFileSystemCreationoptional*string #
Indicates whether a home EFS file system is created for the domain.

Set to Disabled to skip EFS creation and reduce domain creation time.

kmsKeyIdoptionalstringkms_key_idoptionalstrkmsKeyIdoptionalStringKmsKeyIdoptionalstringKmsKeyIdoptional*string #
SageMaker uses AWS KMS to encrypt the EFS volume attached to the Domain with an AWS managed customer master key (CMK) by default.

For more control, specify a customer managed CMK.

Length Constraints : Maximum length of 2048.

Pattern : .*

subnetIdsoptionalstring | ISubnetRef[]subnet_idsoptionaltyping.List[typing.Union[str, ISubnetRef]]subnetIdsoptionalList<String>SubnetIdsoptionalstring[]SubnetIdsoptional*[]interface{} #
The VPC subnets that Studio uses for communication.

Length Constraints : Maximum length of 32.

Array members : Minimum number of 1 item. Maximum number of 16 items.

Pattern : [-0-9a-zA-Z]+

tagPropagationoptionalstringtag_propagationoptionalstrtagPropagationoptionalStringTagPropagationoptionalstringTagPropagationoptional*string #
Indicates whether the tags added to Domain, User Profile and Space entity is propagated to all SageMaker resources.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag #
Tags to associated with the Domain.
notes

Each tag consists of a key and an optional value. Tag keys must be unique per resource. Tags are searchable using the Search API.

Tags that you specify for the Domain are also added to all apps that are launched in the Domain.

Array members : Minimum number of 0 items. Maximum number of 50 items.

vpcIdoptionalstring | IVPCRefvpc_idoptionaltyping.Union[str, IVPCRef]vpcIdoptionalStringVpcIdoptionalstringVpcIdoptionalinterface{} #
The ID of the Amazon Virtual Private Cloud (Amazon VPC) that Studio uses for communication.

Length Constraints : Maximum length of 32.

Pattern : [-0-9a-zA-Z]+