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")
.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"))
.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 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.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDockerSettings
A collection of settings that configure the domain's Docker interaction.- See Also:
-
getExecutionRoleIdentityConfig
The configuration for attaching a SageMaker AI user profile name to the execution role as a sts:SourceIdentity key .- See Also:
-
getRStudioServerProDomainSettings
A collection of settings that configure theRStudioServerProDomain-level app.- 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:
-
builder
-