Interface KernelGatewayAppSettings.Builder

    • Method Detail

      • defaultResourceSpec

        KernelGatewayAppSettings.Builder defaultResourceSpec​(ResourceSpec defaultResourceSpec)

        The default instance type and the Amazon Resource Name (ARN) of the default SageMaker AI image used by the KernelGateway app.

        The Amazon SageMaker AI Studio UI does not use the default instance type value set here. The default instance type set here is used when Apps are created using the CLI or CloudFormation and the instance type parameter value is not passed.

        Parameters:
        defaultResourceSpec - The default instance type and the Amazon Resource Name (ARN) of the default SageMaker AI image used by the KernelGateway app.

        The Amazon SageMaker AI Studio UI does not use the default instance type value set here. The default instance type set here is used when Apps are created using the CLI or CloudFormation and the instance type parameter value is not passed.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • customImages

        KernelGatewayAppSettings.Builder customImages​(Collection<CustomImage> customImages)

        A list of custom SageMaker AI images that are configured to run as a KernelGateway app.

        The maximum number of custom images are as follows.

        • On a domain level: 200

        • On a space level: 5

        • On a user profile level: 5

        Parameters:
        customImages - A list of custom SageMaker AI images that are configured to run as a KernelGateway app.

        The maximum number of custom images are as follows.

        • On a domain level: 200

        • On a space level: 5

        • On a user profile level: 5

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • customImages

        KernelGatewayAppSettings.Builder customImages​(CustomImage... customImages)

        A list of custom SageMaker AI images that are configured to run as a KernelGateway app.

        The maximum number of custom images are as follows.

        • On a domain level: 200

        • On a space level: 5

        • On a user profile level: 5

        Parameters:
        customImages - A list of custom SageMaker AI images that are configured to run as a KernelGateway app.

        The maximum number of custom images are as follows.

        • On a domain level: 200

        • On a space level: 5

        • On a user profile level: 5

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • customImages

        KernelGatewayAppSettings.Builder customImages​(Consumer<CustomImage.Builder>... customImages)

        A list of custom SageMaker AI images that are configured to run as a KernelGateway app.

        The maximum number of custom images are as follows.

        • On a domain level: 200

        • On a space level: 5

        • On a user profile level: 5

        This is a convenience method that creates an instance of the CustomImage.Builder avoiding the need to create one manually via CustomImage.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #customImages(List).

        Parameters:
        customImages - a consumer that will call methods on CustomImage.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #customImages(java.util.Collection)
      • lifecycleConfigArns

        KernelGatewayAppSettings.Builder lifecycleConfigArns​(Collection<String> lifecycleConfigArns)

        The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the the user profile or domain.

        To remove a Lifecycle Config, you must set LifecycleConfigArns to an empty list.

        Parameters:
        lifecycleConfigArns - The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the the user profile or domain.

        To remove a Lifecycle Config, you must set LifecycleConfigArns to an empty list.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lifecycleConfigArns

        KernelGatewayAppSettings.Builder lifecycleConfigArns​(String... lifecycleConfigArns)

        The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the the user profile or domain.

        To remove a Lifecycle Config, you must set LifecycleConfigArns to an empty list.

        Parameters:
        lifecycleConfigArns - The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the the user profile or domain.

        To remove a Lifecycle Config, you must set LifecycleConfigArns to an empty list.

        Returns:
        Returns a reference to this object so that method calls can be chained together.