Interface CfnDomain.DomainSettingsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDomain.DomainSettingsProperty.Jsii$Proxy
- Enclosing class:
CfnDomain
@Stability(Stable)
public static interface CfnDomain.DomainSettingsProperty
extends software.amazon.jsii.JsiiSerializable
A collection of settings that apply to the
SageMaker Domain .
These settings are specified through the CreateDomain API call.
Example:
// 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.*;
DomainSettingsProperty domainSettingsProperty = 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")
.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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDomain.DomainSettingsPropertystatic final classAn implementation forCfnDomain.DomainSettingsProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectA collection of settings that configure the domain's Docker interaction.default StringThe configuration for attaching a SageMaker AI user profile name to the execution role as a sts:SourceIdentity key .default StringThe IP address type for the domain.default ObjectA collection of settings that configure theRStudioServerProDomain-level app.The security groups for the Amazon Virtual Private Cloud that theDomainuses for communication between Domain-level apps and user apps.default ObjectThe settings that apply to an SageMaker AI domain when you use it in Amazon SageMaker Unified Studio.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDockerSettings
A collection of settings that configure the domain's Docker interaction.Returns union: either
IResolvableorCfnDomain.DockerSettingsProperty- See Also:
-
getExecutionRoleIdentityConfig
The configuration for attaching a SageMaker AI user profile name to the execution role as a sts:SourceIdentity key .- See Also:
-
getIpAddressType
The IP address type for the domain.Specify
ipv4for IPv4-only connectivity ordualstackfor both IPv4 and IPv6 connectivity. When you specifydualstack, the subnet must support IPv6 CIDR blocks. If not specified, defaults toipv4.- See Also:
-
getRStudioServerProDomainSettings
A collection of settings that configure theRStudioServerProDomain-level app.Returns union: either
IResolvableorCfnDomain.RStudioServerProDomainSettingsProperty- See Also:
-
getSecurityGroupIds
The security groups for the Amazon Virtual Private Cloud that theDomainuses for communication between Domain-level apps and user apps.- See Also:
-
getUnifiedStudioSettings
The settings that apply to an SageMaker AI domain when you use it in Amazon SageMaker Unified Studio.Returns union: either
IResolvableorCfnDomain.UnifiedStudioSettingsProperty- See Also:
-
builder
-