@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)",
date="2023-03-22T19:35:39.694Z")
public interface CfnDomainProps
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.*; CfnDomainProps cfnDomainProps = CfnDomainProps.builder() .authMode("authMode") .defaultUserSettings(UserSettingsProperty.builder() .executionRole("executionRole") .jupyterServerAppSettings(JupyterServerAppSettingsProperty.builder() .defaultResourceSpec(ResourceSpecProperty.builder() .instanceType("instanceType") .lifecycleConfigArn("lifecycleConfigArn") .sageMakerImageArn("sageMakerImageArn") .sageMakerImageVersionArn("sageMakerImageVersionArn") .build()) .build()) .kernelGatewayAppSettings(KernelGatewayAppSettingsProperty.builder() .customImages(List.of(CustomImageProperty.builder() .appImageConfigName("appImageConfigName") .imageName("imageName") // the properties below are optional .imageVersionNumber(123) .build())) .defaultResourceSpec(ResourceSpecProperty.builder() .instanceType("instanceType") .lifecycleConfigArn("lifecycleConfigArn") .sageMakerImageArn("sageMakerImageArn") .sageMakerImageVersionArn("sageMakerImageVersionArn") .build()) .build()) .rSessionAppSettings(RSessionAppSettingsProperty.builder() .customImages(List.of(CustomImageProperty.builder() .appImageConfigName("appImageConfigName") .imageName("imageName") // the properties below are optional .imageVersionNumber(123) .build())) .defaultResourceSpec(ResourceSpecProperty.builder() .instanceType("instanceType") .lifecycleConfigArn("lifecycleConfigArn") .sageMakerImageArn("sageMakerImageArn") .sageMakerImageVersionArn("sageMakerImageVersionArn") .build()) .build()) .rStudioServerProAppSettings(RStudioServerProAppSettingsProperty.builder() .accessStatus("accessStatus") .userGroup("userGroup") .build()) .securityGroups(List.of("securityGroups")) .sharingSettings(SharingSettingsProperty.builder() .notebookOutputOption("notebookOutputOption") .s3KmsKeyId("s3KmsKeyId") .s3OutputPath("s3OutputPath") .build()) .build()) .domainName("domainName") .subnetIds(List.of("subnetIds")) .vpcId("vpcId") // the properties below are optional .appNetworkAccessType("appNetworkAccessType") .appSecurityGroupManagement("appSecurityGroupManagement") .defaultSpaceSettings(DefaultSpaceSettingsProperty.builder() .executionRole("executionRole") .jupyterServerAppSettings(JupyterServerAppSettingsProperty.builder() .defaultResourceSpec(ResourceSpecProperty.builder() .instanceType("instanceType") .lifecycleConfigArn("lifecycleConfigArn") .sageMakerImageArn("sageMakerImageArn") .sageMakerImageVersionArn("sageMakerImageVersionArn") .build()) .build()) .kernelGatewayAppSettings(KernelGatewayAppSettingsProperty.builder() .customImages(List.of(CustomImageProperty.builder() .appImageConfigName("appImageConfigName") .imageName("imageName") // the properties below are optional .imageVersionNumber(123) .build())) .defaultResourceSpec(ResourceSpecProperty.builder() .instanceType("instanceType") .lifecycleConfigArn("lifecycleConfigArn") .sageMakerImageArn("sageMakerImageArn") .sageMakerImageVersionArn("sageMakerImageVersionArn") .build()) .build()) .securityGroups(List.of("securityGroups")) .build()) .domainSettings(DomainSettingsProperty.builder() .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()) .kmsKeyId("kmsKeyId") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnDomainProps.Builder
A builder for
CfnDomainProps |
static class |
CfnDomainProps.Jsii$Proxy
An implementation for
CfnDomainProps |
Modifier and Type | Method and Description |
---|---|
static CfnDomainProps.Builder |
builder() |
default java.lang.String |
getAppNetworkAccessType()
Specifies the VPC used for non-EFS traffic.
|
default java.lang.String |
getAppSecurityGroupManagement()
The entity that creates and manages the required security groups for inter-app communication in `VpcOnly` mode.
|
java.lang.String |
getAuthMode()
The mode of authentication that members use to access the Domain.
|
default java.lang.Object |
getDefaultSpaceSettings()
`AWS::SageMaker::Domain.DefaultSpaceSettings`.
|
java.lang.Object |
getDefaultUserSettings()
The default user settings.
|
java.lang.String |
getDomainName()
The domain name.
|
default java.lang.Object |
getDomainSettings()
A collection of settings that apply to the `SageMaker Domain` .
|
default java.lang.String |
getKmsKeyId()
SageMaker uses AWS KMS to encrypt the EFS volume attached to the Domain with an AWS managed customer master key (CMK) by default.
|
java.util.List<java.lang.String> |
getSubnetIds()
The VPC subnets that Studio uses for communication.
|
default java.util.List<CfnTag> |
getTags()
Tags to associated with the Domain.
|
java.lang.String |
getVpcId()
The ID of the Amazon Virtual Private Cloud (Amazon VPC) that Studio uses for communication.
|
java.lang.String getAuthMode()
Valid Values : SSO | IAM
java.lang.Object getDefaultUserSettings()
java.lang.String getDomainName()
java.util.List<java.lang.String> getSubnetIds()
Length Constraints : Maximum length of 32.
Array members : Minimum number of 1 item. Maximum number of 16 items.
Pattern : [-0-9a-zA-Z]+
java.lang.String getVpcId()
Length Constraints : Maximum length of 32.
Pattern : [-0-9a-zA-Z]+
default java.lang.String getAppNetworkAccessType()
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
default java.lang.String getAppSecurityGroupManagement()
Required when CreateDomain.AppNetworkAccessType
is VpcOnly
and DomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn
is provided.
default java.lang.Object getDefaultSpaceSettings()
default java.lang.Object getDomainSettings()
These settings are specified through the CreateDomain
API call.
default java.lang.String getKmsKeyId()
For more control, specify a customer managed CMK.
Length Constraints : Maximum length of 2048.
Pattern : .*
default java.util.List<CfnTag> getTags()
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.
static CfnDomainProps.Builder builder()
CfnDomainProps.Builder
of CfnDomainProps