@Generated(value="jsii-pacmak/1.46.0 (build cd08c55)", date="2021-11-25T20:11:07.801Z") @Stability(value=Stable) public class CfnDomain extends CfnResource implements IInspectable
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.*;
CfnDomain cfnDomain = CfnDomain.Builder.create(this, "MyCfnDomain")
.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 | Class and Description |
|---|---|
static class |
CfnDomain.Builder
A fluent builder for
CfnDomain. |
static interface |
CfnDomain.CustomImageProperty
Example:
|
static interface |
CfnDomain.JupyterServerAppSettingsProperty
Example:
|
static interface |
CfnDomain.KernelGatewayAppSettingsProperty
Example:
|
static interface |
CfnDomain.ResourceSpecProperty
Example:
|
static interface |
CfnDomain.SharingSettingsProperty
Example:
|
static interface |
CfnDomain.UserSettingsProperty
Example:
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnDomain(software.constructs.Construct scope,
String id,
CfnDomainProps props)
Create a new `AWS::SageMaker::Domain`.
|
protected |
CfnDomain(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnDomain(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAppNetworkAccessType()
`AWS::SageMaker::Domain.AppNetworkAccessType`.
|
String |
getAttrDomainArn() |
String |
getAttrDomainId() |
String |
getAttrHomeEfsFileSystemId() |
String |
getAttrSingleSignOnManagedApplicationInstanceId() |
String |
getAttrUrl() |
String |
getAuthMode()
`AWS::SageMaker::Domain.AuthMode`.
|
protected Map<String,Object> |
getCfnProperties() |
Object |
getDefaultUserSettings()
`AWS::SageMaker::Domain.DefaultUserSettings`.
|
String |
getDomainName()
`AWS::SageMaker::Domain.DomainName`.
|
String |
getKmsKeyId()
`AWS::SageMaker::Domain.KmsKeyId`.
|
List<String> |
getSubnetIds()
`AWS::SageMaker::Domain.SubnetIds`.
|
TagManager |
getTags()
`AWS::SageMaker::Domain.Tags`.
|
String |
getVpcId()
`AWS::SageMaker::Domain.VpcId`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setAppNetworkAccessType(String value)
`AWS::SageMaker::Domain.AppNetworkAccessType`.
|
void |
setAuthMode(String value)
`AWS::SageMaker::Domain.AuthMode`.
|
void |
setDefaultUserSettings(CfnDomain.UserSettingsProperty value)
`AWS::SageMaker::Domain.DefaultUserSettings`.
|
void |
setDefaultUserSettings(IResolvable value)
`AWS::SageMaker::Domain.DefaultUserSettings`.
|
void |
setDomainName(String value)
`AWS::SageMaker::Domain.DomainName`.
|
void |
setKmsKeyId(String value)
`AWS::SageMaker::Domain.KmsKeyId`.
|
void |
setSubnetIds(List<String> value)
`AWS::SageMaker::Domain.SubnetIds`.
|
void |
setVpcId(String value)
`AWS::SageMaker::Domain.VpcId`.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnDomain(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnDomain(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnDomain(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnDomainProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @Nullable public String getAppNetworkAccessType()
@Stability(value=Stable)
public void setAppNetworkAccessType(@Nullable
String value)
@Stability(value=Stable) @NotNull public String getAttrDomainArn()
@Stability(value=Stable) @NotNull public String getAttrDomainId()
@Stability(value=Stable) @NotNull public String getAttrHomeEfsFileSystemId()
@Stability(value=Stable) @NotNull public String getAttrSingleSignOnManagedApplicationInstanceId()
@Stability(value=Stable) @NotNull public String getAttrUrl()
@Stability(value=Stable) @NotNull public String getAuthMode()
@Stability(value=Stable)
public void setAuthMode(@NotNull
String value)
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public Object getDefaultUserSettings()
@Stability(value=Stable)
public void setDefaultUserSettings(@NotNull
CfnDomain.UserSettingsProperty value)
@Stability(value=Stable)
public void setDefaultUserSettings(@NotNull
IResolvable value)
@Stability(value=Stable) @NotNull public String getDomainName()
@Stability(value=Stable)
public void setDomainName(@NotNull
String value)
@Stability(value=Stable) @Nullable public String getKmsKeyId()
@Stability(value=Stable)
public void setKmsKeyId(@Nullable
String value)
@Stability(value=Stable) @NotNull public List<String> getSubnetIds()
@Stability(value=Stable)
public void setSubnetIds(@NotNull
List<String> value)
@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @NotNull public String getVpcId()
@Stability(value=Stable)
public void setVpcId(@NotNull
String value)
Copyright © 2021. All rights reserved.