Hub

class Hub : KotlinCustomResource

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",
});
import pulumi
import pulumi_aws as aws
example = aws.sagemaker.Hub("example",
hub_name="example",
hub_description="example")
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",
});
});
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
})
}
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());
}
}
resources:
example:
type: aws:sagemaker:Hub
properties:
hubName: example
hubDescription: example

Import

Using pulumi import, import SageMaker AI Hubs using the name. For example:

$ pulumi import aws:sagemaker/hub:Hub test_hub my-code-repo

Properties

Link copied to clipboard
val arn: Output<String>

The Amazon Resource Name (ARN) assigned by AWS to this Hub.

Link copied to clipboard
val hubDescription: Output<String>

A description of the hub.

Link copied to clipboard
val hubDisplayName: Output<String>?

The display name of the hub.

Link copied to clipboard
val hubName: Output<String>

The name of the hub.

Link copied to clipboard

The searchable keywords for the hub.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
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.

Link copied to clipboard
val tags: Output<Map<String, String>>?

A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Link copied to clipboard
val tagsAll: Output<Map<String, String>>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Link copied to clipboard
val urn: Output<String>