@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:14.391Z") @Stability(value=Stable) public interface CfnDomainProps extends software.amazon.jsii.JsiiSerializable
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")
.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")
.sageMakerImageArn("sageMakerImageArn")
.sageMakerImageVersionArn("sageMakerImageVersionArn")
.build())
.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")
.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 String |
getAppNetworkAccessType()
Specifies the VPC used for non-EFS traffic.
|
String |
getAuthMode()
The mode of authentication that members use to access the domain.
|
Object |
getDefaultUserSettings()
The default user settings.
|
String |
getDomainName()
The domain name.
|
default 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.
|
List<String> |
getSubnetIds()
The VPC subnets that Studio uses for communication.
|
default List<CfnTag> |
getTags()
Tags to associated with the Domain.
|
String |
getVpcId()
The ID of the Amazon Virtual Private Cloud (VPC) that Studio uses for communication.
|
@Stability(value=Stable) @NotNull String getAuthMode()
Valid Values : SSO | IAM
@Stability(value=Stable) @NotNull Object getDefaultUserSettings()
@Stability(value=Stable) @NotNull String getDomainName()
@Stability(value=Stable) @NotNull List<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]+
@Stability(value=Stable) @NotNull String getVpcId()
Length Constraints : Maximum length of 32.
Pattern : [-0-9a-zA-Z]+
@Stability(value=Stable) @Nullable default 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
@Stability(value=Stable) @Nullable default String getKmsKeyId()
For more control, specify a customer managed CMK.
Length Constraints : Maximum length of 2048.
Pattern : .*
@Stability(value=Stable) @Nullable default 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.
@Stability(value=Stable) static CfnDomainProps.Builder builder()
CfnDomainProps.Builder of CfnDomainPropsCopyright © 2022. All rights reserved.