Interface CfnSpaceProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSpaceProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-04T09:27:49.967Z")
@Stability(Stable)
public interface CfnSpaceProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnSpace.
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.*;
CfnSpaceProps cfnSpaceProps = CfnSpaceProps.builder()
.domainId("domainId")
.spaceName("spaceName")
// the properties below are optional
.ownershipSettings(OwnershipSettingsProperty.builder()
.ownerUserProfileName("ownerUserProfileName")
.build())
.spaceDisplayName("spaceDisplayName")
.spaceSettings(SpaceSettingsProperty.builder()
.appType("appType")
.codeEditorAppSettings(SpaceCodeEditorAppSettingsProperty.builder()
.appLifecycleManagement(SpaceAppLifecycleManagementProperty.builder()
.idleSettings(SpaceIdleSettingsProperty.builder()
.idleTimeoutInMinutes(123)
.build())
.build())
.defaultResourceSpec(ResourceSpecProperty.builder()
.instanceType("instanceType")
.lifecycleConfigArn("lifecycleConfigArn")
.sageMakerImageArn("sageMakerImageArn")
.sageMakerImageVersionArn("sageMakerImageVersionArn")
.build())
.build())
.customFileSystems(List.of(CustomFileSystemProperty.builder()
.efsFileSystem(EFSFileSystemProperty.builder()
.fileSystemId("fileSystemId")
.build())
.fSxLustreFileSystem(FSxLustreFileSystemProperty.builder()
.fileSystemId("fileSystemId")
.build())
.s3FileSystem(S3FileSystemProperty.builder()
.s3Uri("s3Uri")
.build())
.build()))
.jupyterLabAppSettings(SpaceJupyterLabAppSettingsProperty.builder()
.appLifecycleManagement(SpaceAppLifecycleManagementProperty.builder()
.idleSettings(SpaceIdleSettingsProperty.builder()
.idleTimeoutInMinutes(123)
.build())
.build())
.codeRepositories(List.of(CodeRepositoryProperty.builder()
.repositoryUrl("repositoryUrl")
.build()))
.defaultResourceSpec(ResourceSpecProperty.builder()
.instanceType("instanceType")
.lifecycleConfigArn("lifecycleConfigArn")
.sageMakerImageArn("sageMakerImageArn")
.sageMakerImageVersionArn("sageMakerImageVersionArn")
.build())
.build())
.jupyterServerAppSettings(JupyterServerAppSettingsProperty.builder()
.defaultResourceSpec(ResourceSpecProperty.builder()
.instanceType("instanceType")
.lifecycleConfigArn("lifecycleConfigArn")
.sageMakerImageArn("sageMakerImageArn")
.sageMakerImageVersionArn("sageMakerImageVersionArn")
.build())
.lifecycleConfigArns(List.of("lifecycleConfigArns"))
.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())
.lifecycleConfigArns(List.of("lifecycleConfigArns"))
.build())
.remoteAccess("remoteAccess")
.spaceManagedResources("spaceManagedResources")
.spaceStorageSettings(SpaceStorageSettingsProperty.builder()
.ebsStorageSettings(EbsStorageSettingsProperty.builder()
.ebsVolumeSizeInGb(123)
.build())
.build())
.build())
.spaceSharingSettings(SpaceSharingSettingsProperty.builder()
.sharingType("sharingType")
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnSpacePropsstatic final classAn implementation forCfnSpaceProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnSpaceProps.Builderbuilder()The ID of the associated domain.default ObjectThe collection of ownership settings for a space.default StringThe name of the space that appears in the Studio UI.The name of the space.default ObjectA collection of space settings.default ObjectA collection of space sharing settings.getTags()An array of key-value pairs to apply to this resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDomainId
The ID of the associated domain.- See Also:
-
getSpaceName
The name of the space.- See Also:
-
getOwnershipSettings
The collection of ownership settings for a space.Returns union: either
IResolvableorCfnSpace.OwnershipSettingsProperty- See Also:
-
getSpaceDisplayName
The name of the space that appears in the Studio UI.- See Also:
-
getSpaceSettings
A collection of space settings.Returns union: either
IResolvableorCfnSpace.SpaceSettingsProperty- See Also:
-
getSpaceSharingSettings
A collection of space sharing settings.Returns union: either
IResolvableorCfnSpace.SpaceSharingSettingsProperty- See Also:
-
getTags
An array of key-value pairs to apply to this resource.For more information, see Tag .
- See Also:
-
builder
- Returns:
- a
CfnSpaceProps.BuilderofCfnSpaceProps
-