Interface CfnSpaceProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnSpaceProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:35.540Z") @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
         .spaceSettings(SpaceSettingsProperty.builder()
                 .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())
                 .build())
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 
  • Method Details

    • getDomainId

      @Stability(Stable) @NotNull String getDomainId()
      The ID of the associated Domain.
    • getSpaceName

      @Stability(Stable) @NotNull String getSpaceName()
      The name of the space.
    • getSpaceSettings

      @Stability(Stable) @Nullable default Object getSpaceSettings()
      A collection of space settings.
    • getTags

      @Stability(Stable) @Nullable default List<CfnTag> getTags()
      An array of key-value pairs to apply to this resource.

      For more information, see Tag .

    • builder

      @Stability(Stable) static CfnSpaceProps.Builder builder()
      Returns:
      a CfnSpaceProps.Builder of CfnSpaceProps