AWS Tools for Windows PowerShell
Command Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Synopsis

Calls the Amazon SageMaker Service CreateSpace API operation.

Syntax

New-SMSpace
-SpaceName <String>
-SpaceSettings_AppType <AppType>
-JupyterLabAppSettings_CodeRepository <CodeRepository[]>
-JupyterServerAppSettings_CodeRepository <CodeRepository[]>
-SpaceSettings_CustomFileSystem <CustomFileSystem[]>
-KernelGatewayAppSettings_CustomImage <CustomImage[]>
-DomainId <String>
-EbsStorageSettings_EbsVolumeSizeInGb <Int32>
-SpaceSettings_CodeEditorAppSettings_DefaultResourceSpec_InstanceType <AppInstanceType>
-SpaceSettings_JupyterLabAppSettings_DefaultResourceSpec_InstanceType <AppInstanceType>
-SpaceSettings_JupyterServerAppSettings_DefaultResourceSpec_InstanceType <AppInstanceType>
-SpaceSettings_KernelGatewayAppSettings_DefaultResourceSpec_InstanceType <AppInstanceType>
-SpaceSettings_CodeEditorAppSettings_DefaultResourceSpec_LifecycleConfigArn <String>
-SpaceSettings_JupyterLabAppSettings_DefaultResourceSpec_LifecycleConfigArn <String>
-SpaceSettings_JupyterServerAppSettings_DefaultResourceSpec_LifecycleConfigArn <String>
-SpaceSettings_KernelGatewayAppSettings_DefaultResourceSpec_LifecycleConfigArn <String>
-JupyterServerAppSettings_LifecycleConfigArn <String[]>
-KernelGatewayAppSettings_LifecycleConfigArn <String[]>
-OwnershipSettings_OwnerUserProfileName <String>
-SpaceSettings_CodeEditorAppSettings_DefaultResourceSpec_SageMakerImageArn <String>
-SpaceSettings_JupyterLabAppSettings_DefaultResourceSpec_SageMakerImageArn <String>
-SpaceSettings_JupyterServerAppSettings_DefaultResourceSpec_SageMakerImageArn <String>
-SpaceSettings_KernelGatewayAppSettings_DefaultResourceSpec_SageMakerImageArn <String>
-SpaceSettings_CodeEditorAppSettings_DefaultResourceSpec_SageMakerImageVersionAlias <String>
-SpaceSettings_JupyterLabAppSettings_DefaultResourceSpec_SageMakerImageVersionAlias <String>
-SpaceSettings_JupyterServerAppSettings_DefaultResourceSpec_SageMakerImageVersionAlias <String>
-SpaceSettings_KernelGatewayAppSettings_DefaultResourceSpec_SageMakerImageVersionAlias <String>
-SpaceSettings_CodeEditorAppSettings_DefaultResourceSpec_SageMakerImageVersionArn <String>
-SpaceSettings_JupyterLabAppSettings_DefaultResourceSpec_SageMakerImageVersionArn <String>
-SpaceSettings_JupyterServerAppSettings_DefaultResourceSpec_SageMakerImageVersionArn <String>
-SpaceSettings_KernelGatewayAppSettings_DefaultResourceSpec_SageMakerImageVersionArn <String>
-SpaceSharingSettings_SharingType <SharingType>
-SpaceDisplayName <String>
-Tag <Tag[]>
-Select <String>
-PassThru <SwitchParameter>
-Force <SwitchParameter>
-ClientConfig <AmazonSageMakerConfig>

Description

Creates a private space or a space used for real time collaboration in a domain.

Parameters

-ClientConfig <AmazonSageMakerConfig>
Amazon.PowerShell.Cmdlets.SM.AmazonSageMakerClientCmdlet.ClientConfig
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-DomainId <String>
The ID of the associated domain.
Required?True
Position?Named
Accept pipeline input?True (ByPropertyName)
-EbsStorageSettings_EbsVolumeSizeInGb <Int32>
The size of an EBS storage volume for a space.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesSpaceSettings_SpaceStorageSettings_EbsStorageSettings_EbsVolumeSizeInGb
This parameter overrides confirmation prompts to force the cmdlet to continue its operation. This parameter should always be used with caution.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-JupyterLabAppSettings_CodeRepository <CodeRepository[]>
A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterLab application.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesSpaceSettings_JupyterLabAppSettings_CodeRepositories
-JupyterServerAppSettings_CodeRepository <CodeRepository[]>
A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterServer application.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesSpaceSettings_JupyterServerAppSettings_CodeRepositories
-JupyterServerAppSettings_LifecycleConfigArn <String[]>
The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the JupyterServerApp. If you use this parameter, the DefaultResourceSpec parameter is also required.To remove a Lifecycle Config, you must set LifecycleConfigArns to an empty list.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesSpaceSettings_JupyterServerAppSettings_LifecycleConfigArns
-KernelGatewayAppSettings_CustomImage <CustomImage[]>
A list of custom SageMaker images that are configured to run as a KernelGateway app.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesSpaceSettings_KernelGatewayAppSettings_CustomImages
-KernelGatewayAppSettings_LifecycleConfigArn <String[]>
The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the the user profile or domain.To remove a Lifecycle Config, you must set LifecycleConfigArns to an empty list.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesSpaceSettings_KernelGatewayAppSettings_LifecycleConfigArns
-OwnershipSettings_OwnerUserProfileName <String>
The user profile who is the owner of the space.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-PassThru <SwitchParameter>
Changes the cmdlet behavior to return the value passed to the SpaceName parameter. The -PassThru parameter is deprecated, use -Select '^SpaceName' instead. This parameter will be removed in a future version.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-Select <String>
Use the -Select parameter to control the cmdlet output. The default value is 'SpaceArn'. Specifying -Select '*' will result in the cmdlet returning the whole service response (Amazon.SageMaker.Model.CreateSpaceResponse). Specifying the name of a property of type Amazon.SageMaker.Model.CreateSpaceResponse will result in that property being returned. Specifying -Select '^ParameterName' will result in the cmdlet returning the selected cmdlet parameter value.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-SpaceDisplayName <String>
The name of the space that appears in the SageMaker Studio UI.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-SpaceName <String>
The name of the space.
Required?True
Position?1
Accept pipeline input?True (ByValue, ByPropertyName)
-SpaceSettings_AppType <AppType>
The type of app created within the space.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-SpaceSettings_CodeEditorAppSettings_DefaultResourceSpec_InstanceType <AppInstanceType>
The instance type that the image version runs on.JupyterServer apps only support the system value.For KernelGateway apps, the system value is translated to ml.t3.medium. KernelGateway apps also support all other values for available instance types.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesCodeEditorAppSettings_DefaultResourceSpec_InstanceType
-SpaceSettings_CodeEditorAppSettings_DefaultResourceSpec_LifecycleConfigArn <String>
The Amazon Resource Name (ARN) of the Lifecycle Configuration attached to the Resource.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesCodeEditorAppSettings_DefaultResourceSpec_LifecycleConfigArn
-SpaceSettings_CodeEditorAppSettings_DefaultResourceSpec_SageMakerImageArn <String>
The ARN of the SageMaker image that the image version belongs to.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesCodeEditorAppSettings_DefaultResourceSpec_SageMakerImageArn
-SpaceSettings_CodeEditorAppSettings_DefaultResourceSpec_SageMakerImageVersionAlias <String>
The SageMakerImageVersionAlias of the image to launch with. This value is in SemVer 2.0.0 versioning format.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesCodeEditorAppSettings_DefaultResourceSpec_SageMakerImageVersionAlias
-SpaceSettings_CodeEditorAppSettings_DefaultResourceSpec_SageMakerImageVersionArn <String>
The ARN of the image version created on the instance.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesCodeEditorAppSettings_DefaultResourceSpec_SageMakerImageVersionArn
-SpaceSettings_CustomFileSystem <CustomFileSystem[]>
A file system, created by you, that you assign to a space for an Amazon SageMaker Domain. Permitted users can access this file system in Amazon SageMaker Studio.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesSpaceSettings_CustomFileSystems
-SpaceSettings_JupyterLabAppSettings_DefaultResourceSpec_InstanceType <AppInstanceType>
The instance type that the image version runs on.JupyterServer apps only support the system value.For KernelGateway apps, the system value is translated to ml.t3.medium. KernelGateway apps also support all other values for available instance types.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesJupyterLabAppSettings_DefaultResourceSpec_InstanceType
-SpaceSettings_JupyterLabAppSettings_DefaultResourceSpec_LifecycleConfigArn <String>
The Amazon Resource Name (ARN) of the Lifecycle Configuration attached to the Resource.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesJupyterLabAppSettings_DefaultResourceSpec_LifecycleConfigArn
-SpaceSettings_JupyterLabAppSettings_DefaultResourceSpec_SageMakerImageArn <String>
The ARN of the SageMaker image that the image version belongs to.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesJupyterLabAppSettings_DefaultResourceSpec_SageMakerImageArn
-SpaceSettings_JupyterLabAppSettings_DefaultResourceSpec_SageMakerImageVersionAlias <String>
The SageMakerImageVersionAlias of the image to launch with. This value is in SemVer 2.0.0 versioning format.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesJupyterLabAppSettings_DefaultResourceSpec_SageMakerImageVersionAlias
-SpaceSettings_JupyterLabAppSettings_DefaultResourceSpec_SageMakerImageVersionArn <String>
The ARN of the image version created on the instance.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesJupyterLabAppSettings_DefaultResourceSpec_SageMakerImageVersionArn
-SpaceSettings_JupyterServerAppSettings_DefaultResourceSpec_InstanceType <AppInstanceType>
The instance type that the image version runs on.JupyterServer apps only support the system value.For KernelGateway apps, the system value is translated to ml.t3.medium. KernelGateway apps also support all other values for available instance types.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesJupyterServerAppSettings_DefaultResourceSpec_InstanceType
-SpaceSettings_JupyterServerAppSettings_DefaultResourceSpec_LifecycleConfigArn <String>
The Amazon Resource Name (ARN) of the Lifecycle Configuration attached to the Resource.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesJupyterServerAppSettings_DefaultResourceSpec_LifecycleConfigArn
-SpaceSettings_JupyterServerAppSettings_DefaultResourceSpec_SageMakerImageArn <String>
The ARN of the SageMaker image that the image version belongs to.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesJupyterServerAppSettings_DefaultResourceSpec_SageMakerImageArn
-SpaceSettings_JupyterServerAppSettings_DefaultResourceSpec_SageMakerImageVersionAlias <String>
The SageMakerImageVersionAlias of the image to launch with. This value is in SemVer 2.0.0 versioning format.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesJupyterServerAppSettings_DefaultResourceSpec_SageMakerImageVersionAlias
-SpaceSettings_JupyterServerAppSettings_DefaultResourceSpec_SageMakerImageVersionArn <String>
The ARN of the image version created on the instance.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesJupyterServerAppSettings_DefaultResourceSpec_SageMakerImageVersionArn
-SpaceSettings_KernelGatewayAppSettings_DefaultResourceSpec_InstanceType <AppInstanceType>
The instance type that the image version runs on.JupyterServer apps only support the system value.For KernelGateway apps, the system value is translated to ml.t3.medium. KernelGateway apps also support all other values for available instance types.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesKernelGatewayAppSettings_DefaultResourceSpec_InstanceType
-SpaceSettings_KernelGatewayAppSettings_DefaultResourceSpec_LifecycleConfigArn <String>
The Amazon Resource Name (ARN) of the Lifecycle Configuration attached to the Resource.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesKernelGatewayAppSettings_DefaultResourceSpec_LifecycleConfigArn
-SpaceSettings_KernelGatewayAppSettings_DefaultResourceSpec_SageMakerImageArn <String>
The ARN of the SageMaker image that the image version belongs to.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesKernelGatewayAppSettings_DefaultResourceSpec_SageMakerImageArn
-SpaceSettings_KernelGatewayAppSettings_DefaultResourceSpec_SageMakerImageVersionAlias <String>
The SageMakerImageVersionAlias of the image to launch with. This value is in SemVer 2.0.0 versioning format.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesKernelGatewayAppSettings_DefaultResourceSpec_SageMakerImageVersionAlias
-SpaceSettings_KernelGatewayAppSettings_DefaultResourceSpec_SageMakerImageVersionArn <String>
The ARN of the image version created on the instance.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesKernelGatewayAppSettings_DefaultResourceSpec_SageMakerImageVersionArn
-SpaceSharingSettings_SharingType <SharingType>
Specifies the sharing type of the space.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-Tag <Tag[]>
Tags to associated with the space. Each tag consists of a key and an optional value. Tag keys must be unique for each resource. Tags are searchable using the Search API.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesTags

Common Credential and Region Parameters

-AccessKey <String>
The AWS access key for the user account. This can be a temporary access key if the corresponding session token is supplied to the -SessionToken parameter.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAK
-Credential <AWSCredentials>
An AWSCredentials object instance containing access and secret key information, and optionally a token for session-based credentials.
Required?False
Position?Named
Accept pipeline input?True (ByValue, ByPropertyName)
-EndpointUrl <String>
The endpoint to make the call against.Note: This parameter is primarily for internal AWS use and is not required/should not be specified for normal usage. The cmdlets normally determine which endpoint to call based on the region specified to the -Region parameter or set as default in the shell (via Set-DefaultAWSRegion). Only specify this parameter if you must direct the call to a specific custom endpoint.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-NetworkCredential <PSCredential>
Used with SAML-based authentication when ProfileName references a SAML role profile. Contains the network credentials to be supplied during authentication with the configured identity provider's endpoint. This parameter is not required if the user's default network identity can or should be used during authentication.
Required?False
Position?Named
Accept pipeline input?True (ByValue, ByPropertyName)
-ProfileLocation <String>
Used to specify the name and location of the ini-format credential file (shared with the AWS CLI and other AWS SDKs)If this optional parameter is omitted this cmdlet will search the encrypted credential file used by the AWS SDK for .NET and AWS Toolkit for Visual Studio first. If the profile is not found then the cmdlet will search in the ini-format credential file at the default location: (user's home directory)\.aws\credentials.If this parameter is specified then this cmdlet will only search the ini-format credential file at the location given.As the current folder can vary in a shell or during script execution it is advised that you use specify a fully qualified path instead of a relative path.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAWSProfilesLocation, ProfilesLocation
-ProfileName <String>
The user-defined name of an AWS credentials or SAML-based role profile containing credential information. The profile is expected to be found in the secure credential file shared with the AWS SDK for .NET and AWS Toolkit for Visual Studio. You can also specify the name of a profile stored in the .ini-format credential file used with the AWS CLI and other AWS SDKs.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesStoredCredentials, AWSProfileName
-Region <Object>
The system name of an AWS region or an AWSRegion instance. This governs the endpoint that will be used when calling service operations. Note that the AWS resources referenced in a call are usually region-specific.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesRegionToCall
-SecretKey <String>
The AWS secret key for the user account. This can be a temporary secret key if the corresponding session token is supplied to the -SessionToken parameter.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesSK, SecretAccessKey
-SessionToken <String>
The session token if the access and secret keys are temporary session-based credentials.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesST

Outputs

This cmdlet returns a System.String object. The service call response (type Amazon.SageMaker.Model.CreateSpaceResponse) can also be referenced from properties attached to the cmdlet entry in the $AWSHistory stack.

Supported Version

AWS Tools for PowerShell: 2.x.y.z