Class CfnDomain.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDomain>
- Enclosing class:
CfnDomain
CfnDomain
.-
Method Summary
Modifier and TypeMethodDescriptionappNetworkAccessType
(String appNetworkAccessType) Specifies the VPC used for non-EFS traffic.appSecurityGroupManagement
(String appSecurityGroupManagement) The entity that creates and manages the required security groups for inter-app communication inVpcOnly
mode.The mode of authentication that members use to access the Domain.build()
static CfnDomain.Builder
defaultSpaceSettings
(IResolvable defaultSpaceSettings) The default settings for shared spaces that users create in the domain.defaultSpaceSettings
(CfnDomain.DefaultSpaceSettingsProperty defaultSpaceSettings) The default settings for shared spaces that users create in the domain.defaultUserSettings
(IResolvable defaultUserSettings) The default user settings.defaultUserSettings
(CfnDomain.UserSettingsProperty defaultUserSettings) The default user settings.domainName
(String domainName) The domain name.domainSettings
(IResolvable domainSettings) A collection of settings that apply to theSageMaker Domain
.domainSettings
(CfnDomain.DomainSettingsProperty domainSettings) A collection of settings that apply to theSageMaker Domain
.SageMaker uses AWS KMS to encrypt the EFS volume attached to the Domain with an AWS managed customer master key (CMK) by default.The VPC subnets that Studio uses for communication.tagPropagation
(String tagPropagation) Indicates whether the tags added to Domain, User Profile and Space entity is propagated to all SageMaker resources.Tags to associated with the Domain.The ID of the Amazon Virtual Private Cloud (Amazon VPC) that Studio uses for communication.
-
Method Details
-
create
@Stability(Stable) public static CfnDomain.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnDomain.Builder
.
-
authMode
The mode of authentication that members use to access the Domain.Valid Values :
SSO | IAM
- Parameters:
authMode
- The mode of authentication that members use to access the Domain. This parameter is required.- Returns:
this
- See Also:
-
defaultUserSettings
The default user settings.- Parameters:
defaultUserSettings
- The default user settings. This parameter is required.- Returns:
this
- See Also:
-
defaultUserSettings
@Stability(Stable) public CfnDomain.Builder defaultUserSettings(CfnDomain.UserSettingsProperty defaultUserSettings) The default user settings.- Parameters:
defaultUserSettings
- The default user settings. This parameter is required.- Returns:
this
- See Also:
-
domainName
The domain name.- Parameters:
domainName
- The domain name. This parameter is required.- Returns:
this
- See Also:
-
subnetIds
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]+
- Parameters:
subnetIds
- The VPC subnets that Studio uses for communication. This parameter is required.- Returns:
this
- See Also:
-
vpcId
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]+
- Parameters:
vpcId
- The ID of the Amazon Virtual Private Cloud (Amazon VPC) that Studio uses for communication. This parameter is required.- Returns:
this
- See Also:
-
appNetworkAccessType
Specifies the VPC used for non-EFS traffic. The default value isPublicInternetOnly
.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 subnets
Valid Values :
PublicInternetOnly | VpcOnly
- Parameters:
appNetworkAccessType
- Specifies the VPC used for non-EFS traffic. The default value isPublicInternetOnly
. This parameter is required.- Returns:
this
- See Also:
-
appSecurityGroupManagement
@Stability(Stable) public CfnDomain.Builder appSecurityGroupManagement(String appSecurityGroupManagement) The entity that creates and manages the required security groups for inter-app communication inVpcOnly
mode.Required when
CreateDomain.AppNetworkAccessType
isVpcOnly
andDomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn
is provided. If setting up the domain for use with RStudio, this value must be set toService
.Allowed Values :
Service
|Customer
- Parameters:
appSecurityGroupManagement
- The entity that creates and manages the required security groups for inter-app communication inVpcOnly
mode. This parameter is required.- Returns:
this
- See Also:
-
defaultSpaceSettings
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.
- Parameters:
defaultSpaceSettings
- The default settings for shared spaces that users create in the domain. This parameter is required.- Returns:
this
- See Also:
-
defaultSpaceSettings
@Stability(Stable) public CfnDomain.Builder defaultSpaceSettings(CfnDomain.DefaultSpaceSettingsProperty defaultSpaceSettings) 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.
- Parameters:
defaultSpaceSettings
- The default settings for shared spaces that users create in the domain. This parameter is required.- Returns:
this
- See Also:
-
domainSettings
A collection of settings that apply to theSageMaker Domain
.These settings are specified through the
CreateDomain
API call.- Parameters:
domainSettings
- A collection of settings that apply to theSageMaker Domain
. This parameter is required.- Returns:
this
- See Also:
-
domainSettings
@Stability(Stable) public CfnDomain.Builder domainSettings(CfnDomain.DomainSettingsProperty domainSettings) A collection of settings that apply to theSageMaker Domain
.These settings are specified through the
CreateDomain
API call.- Parameters:
domainSettings
- A collection of settings that apply to theSageMaker Domain
. This parameter is required.- Returns:
this
- See Also:
-
kmsKeyId
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 :
.*
- Parameters:
kmsKeyId
- SageMaker uses AWS KMS to encrypt the EFS volume attached to the Domain with an AWS managed customer master key (CMK) by default. This parameter is required.- Returns:
this
- See Also:
-
tagPropagation
Indicates whether the tags added to Domain, User Profile and Space entity is propagated to all SageMaker resources.- Parameters:
tagPropagation
- Indicates whether the tags added to Domain, User Profile and Space entity is propagated to all SageMaker resources. This parameter is required.- Returns:
this
- See Also:
-
tags
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 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.
- Parameters:
tags
- Tags to associated with the Domain. This parameter is required.- Returns:
this
- See Also:
-
build
-