Hub
Provides a SageMaker AI Hub resource.
Example Usage
Basic usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.sagemaker.Hub("example", {
hubName: "example",
hubDescription: "example",
});
Content copied to clipboard
import pulumi
import pulumi_aws as aws
example = aws.sagemaker.Hub("example",
hub_name="example",
hub_description="example")
Content copied to clipboard
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.Sagemaker.Hub("example", new()
{
HubName = "example",
HubDescription = "example",
});
});
Content copied to clipboard
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/sagemaker"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := sagemaker.NewHub(ctx, "example", &sagemaker.HubArgs{
HubName: pulumi.String("example"),
HubDescription: pulumi.String("example"),
})
if err != nil {
return err
}
return nil
})
}
Content copied to clipboard
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.sagemaker.Hub;
import com.pulumi.aws.sagemaker.HubArgs;
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 Hub("example", HubArgs.builder()
.hubName("example")
.hubDescription("example")
.build());
}
}
Content copied to clipboard
resources:
example:
type: aws:sagemaker:Hub
properties:
hubName: example
hubDescription: example
Content copied to clipboard
Import
Using pulumi import
, import SageMaker AI Hubs using the name
. For example:
$ pulumi import aws:sagemaker/hub:Hub test_hub my-code-repo
Content copied to clipboard
Properties
Link copied to clipboard
A description of the hub.
Link copied to clipboard
The display name of the hub.
Link copied to clipboard
The searchable keywords for the hub.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The Amazon S3 storage configuration for the hub. See S3 Storage Config details below.