HubArgs

data class HubArgs(val hubDescription: Output<String>? = null, val hubDisplayName: Output<String>? = null, val hubName: Output<String>? = null, val hubSearchKeywords: Output<List<String>>? = null, val s3StorageConfig: Output<HubS3StorageConfigArgs>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<HubArgs>

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

Constructors

Link copied to clipboard
constructor(hubDescription: Output<String>? = null, hubDisplayName: Output<String>? = null, hubName: Output<String>? = null, hubSearchKeywords: Output<List<String>>? = null, s3StorageConfig: Output<HubS3StorageConfigArgs>? = null, tags: Output<Map<String, String>>? = null)

Properties

Link copied to clipboard
val hubDescription: Output<String>? = null

A description of the hub.

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

The display name of the hub.

Link copied to clipboard
val hubName: Output<String>? = null

The name of the hub.

Link copied to clipboard
val hubSearchKeywords: Output<List<String>>? = null

The searchable keywords for the hub.

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>>? = null

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.

Functions

Link copied to clipboard
open override fun toJava(): HubArgs