App
Provides a SageMaker App resource.
Example Usage
Basic usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.sagemaker.App;
import com.pulumi.aws.sagemaker.AppArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new App("example", AppArgs.builder()
.domainId(aws_sagemaker_domain.example().id())
.userProfileName(aws_sagemaker_user_profile.example().user_profile_name())
.appName("example")
.appType("JupyterServer")
.build());
}
}
Content copied to clipboard
Import
SageMaker Apps can be imported using the id
, e.g.,
$ pulumi import aws:sagemaker/app:App example arn:aws:sagemaker:us-west-2:012345678912:app/domain-id/user-profile-name/app-type/app-name
Content copied to clipboard
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance.See Resource Spec below.
Link copied to clipboard
The user profile name. At least one of user_profile_name
or space_name
required.