Creates a Domain. A domain consists of an associated Amazon Elastic File System volume, a list of authorized users, and a variety of security, application, policy, and Amazon Virtual Private Cloud (VPC) configurations. Users within a domain can share notebook files and other artifacts with each other.
See https://www.paws-r-sdk.com/docs/sagemaker_create_domain/ for full documentation.
Usage
sagemaker_create_domain(
DomainName,
AuthMode,
DefaultUserSettings,
DomainSettings = NULL,
SubnetIds = NULL,
VpcId = NULL,
Tags = NULL,
AppNetworkAccessType = NULL,
HomeEfsFileSystemKmsKeyId = NULL,
KmsKeyId = NULL,
AppSecurityGroupManagement = NULL,
HomeEfsFileSystemCreation = NULL,
TagPropagation = NULL,
DefaultSpaceSettings = NULL
)Arguments
- DomainName
[required] A name for the domain.
- AuthMode
[required] The mode of authentication that members use to access the domain.
- DefaultUserSettings
[required] The default settings to use to create a user profile when
UserSettingsisn't specified in the call to thecreate_user_profileAPI.SecurityGroupsis aggregated when specified in both calls. For all other settings inUserSettings, the values specified increate_user_profiletake precedence over those specified increate_domain.- DomainSettings
A collection of
Domainsettings.- SubnetIds
The VPC subnets that the domain uses for communication.
The field is optional when the
AppNetworkAccessTypeparameter is set toPublicInternetOnlyfor domains created from Amazon SageMaker Unified Studio.- VpcId
The ID of the Amazon Virtual Private Cloud (VPC) that the domain uses for communication.
The field is optional when the
AppNetworkAccessTypeparameter is set toPublicInternetOnlyfor domains created from Amazon SageMaker Unified Studio.Tags to associated with the Domain. Each tag consists of a key and an optional value. Tag keys must be unique per resource. Tags are searchable using the
searchAPI.Tags that you specify for the Domain are also added to all Apps that the Domain launches.
- AppNetworkAccessType
Specifies the VPC used for non-EFS traffic. The default value is
PublicInternetOnly.PublicInternetOnly- Non-EFS traffic is through a VPC managed by Amazon SageMaker AI, which allows direct internet accessVpcOnly- All traffic is through the specified VPC and subnets
- HomeEfsFileSystemKmsKeyId
Use
KmsKeyId.- KmsKeyId
SageMaker AI uses Amazon Web Services KMS to encrypt EFS and EBS volumes attached to the domain with an Amazon Web Services managed key by default. For more control, specify a customer managed key.
- AppSecurityGroupManagement
The entity that creates and manages the required security groups for inter-app communication in
VPCOnlymode. Required whenCreateDomain.AppNetworkAccessTypeisVPCOnlyandDomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArnis provided. If setting up the domain for use with RStudio, this value must be set toService.- HomeEfsFileSystemCreation
Indicates whether to create a home EFS file system for the domain. Defaults to
Enabled. Set toDisabledto skip EFS creation and reduce domain creation time. You can enable EFS later by callingupdate_domain.- TagPropagation
Indicates whether custom tag propagation is supported for the domain. Defaults to
DISABLED.- DefaultSpaceSettings
The default settings for shared spaces that users create in the domain.