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.
New-SMDomain-DomainName <String>-AppNetworkAccessType <AppNetworkAccessType>-AppSecurityGroupManagement <AppSecurityGroupManagement>-AuthMode <AuthMode>-DefaultUserSetting <UserSettings>-RStudioServerProDomainSettings_DomainExecutionRoleArn <String>-DefaultResourceSpec_InstanceType <AppInstanceType>-KmsKeyId <String>-DefaultResourceSpec_LifecycleConfigArn <String>-RStudioServerProDomainSettings_RStudioConnectUrl <String>-RStudioServerProDomainSettings_RStudioPackageManagerUrl <String>-DefaultResourceSpec_SageMakerImageArn <String>-DefaultResourceSpec_SageMakerImageVersionArn <String>-DomainSettings_SecurityGroupId <String[]>-SubnetId <String[]>-Tag <Tag[]>-VpcId <String>-HomeEfsFileSystemKmsKeyId <String>-Select <String>-PassThru <SwitchParameter>-Force <SwitchParameter>
Domain
used by Amazon SageMaker Studio. A domain consists of an associated Amazon Elastic File System (EFS) volume, a list of authorized users, and a variety of security, application, policy, and Amazon Virtual Private Cloud (VPC) configurations. An Amazon Web Services account is limited to one domain per region. Users within a domain can share notebook files and other artifacts with each other.
EFS storage When a domain is created, an EFS volume is created for use by all of the users within the domain. Each user receives a private home directory within the EFS volume for notebooks, Git repositories, and data files.
SageMaker uses the Amazon Web Services Key Management Service (Amazon Web Services KMS) to encrypt the EFS volume attached to the domain with an Amazon Web Services managed key by default. For more control, you can specify a customer managed key. For more information, see Protect Data at Rest Using Encryption. VPC configuration All SageMaker Studio traffic between the domain and the EFS volume is through the specified VPC and subnets. For other Studio traffic, you can specify the AppNetworkAccessType
parameter. AppNetworkAccessType
corresponds to the network access type that you choose when you onboard to Studio. The following options are available: PublicInternetOnly
- Non-EFS traffic goes through a VPC managed by Amazon SageMaker, which allows internet access. This is the default value. VpcOnly
- All Studio traffic is through the specified VPC and subnets. Internet access is disabled by default. To allow internet access, you must specify a NAT gateway.
When internet access is disabled, you won't be able to run a Studio notebook or to train or host models unless your VPC has an interface endpoint to the SageMaker API and runtime or a NAT gateway and your security groups allow outbound connections. PublicInternetOnly
.PublicInternetOnly
- Non-EFS traffic is through a VPC managed by Amazon SageMaker, which allows direct internet accessVpcOnly
- All Studio traffic is through the specified VPC and subnetsRequired? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
VPCOnly
mode. Required when CreateDomain.AppNetworkAccessType
is VPCOnly
and DomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn
is provided. Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | True |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
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) |
Aliases | DomainSettings_RStudioServerProDomainSettings_DefaultResourceSpec_InstanceType |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | DomainSettings_RStudioServerProDomainSettings_DefaultResourceSpec_LifecycleConfigArn |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | DomainSettings_RStudioServerProDomainSettings_DefaultResourceSpec_SageMakerImageArn |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | DomainSettings_RStudioServerProDomainSettings_DefaultResourceSpec_SageMakerImageVersionArn |
UserSettings
isn't specified in the call to the CreateUserProfile
API.SecurityGroups
is aggregated when specified in both calls. For all other settings in UserSettings
, the values specified in CreateUserProfile
take precedence over those specified in CreateDomain
. Required? | True |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | DefaultUserSettings |
Required? | True |
Position? | 1 |
Accept pipeline input? | True (ByValue, ByPropertyName) |
Domain
uses for communication between Domain-level apps and user apps. Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | DomainSettings_SecurityGroupIds |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
KmsKeyId
.This parameter is deprecated. Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
RStudioServerPro
Domain-level app. Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | DomainSettings_RStudioServerProDomainSettings_DomainExecutionRoleArn |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | DomainSettings_RStudioServerProDomainSettings_RStudioConnectUrl |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | DomainSettings_RStudioServerProDomainSettings_RStudioPackageManagerUrl |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | True |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | SubnetIds |
Search
API.Tags that you specify for the Domain are also added to all Apps that the Domain launches. Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | Tags |
Required? | True |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | AK |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByValue, ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByValue, ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | AWSProfilesLocation, ProfilesLocation |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | StoredCredentials, AWSProfileName |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | RegionToCall |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | SK, SecretAccessKey |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | ST |
AWS Tools for PowerShell: 2.x.y.z