ProjectArgs

data class ProjectArgs(val projectDescription: Output<String>? = null, val projectName: Output<String>? = null, val serviceCatalogProvisioningDetails: Output<ProjectServiceCatalogProvisioningDetailsArgs>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<ProjectArgs>

Provides a SageMaker AI Project resource.

Note: If you are trying to use SageMaker AI projects with SageMaker AI studio you will need to add a tag with the key sagemaker:studio-visibility with value true. For more on requirements to use projects and permission needed see AWS Docs.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.sagemaker.Project("example", {
projectName: "example",
serviceCatalogProvisioningDetails: {
productId: exampleAwsServicecatalogProduct.id,
},
});
import pulumi
import pulumi_aws as aws
example = aws.sagemaker.Project("example",
project_name="example",
service_catalog_provisioning_details={
"product_id": example_aws_servicecatalog_product["id"],
})
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.Sagemaker.Project("example", new()
{
ProjectName = "example",
ServiceCatalogProvisioningDetails = new Aws.Sagemaker.Inputs.ProjectServiceCatalogProvisioningDetailsArgs
{
ProductId = exampleAwsServicecatalogProduct.Id,
},
});
});
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.NewProject(ctx, "example", &sagemaker.ProjectArgs{
ProjectName: pulumi.String("example"),
ServiceCatalogProvisioningDetails: &sagemaker.ProjectServiceCatalogProvisioningDetailsArgs{
ProductId: pulumi.Any(exampleAwsServicecatalogProduct.Id),
},
})
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.Project;
import com.pulumi.aws.sagemaker.ProjectArgs;
import com.pulumi.aws.sagemaker.inputs.ProjectServiceCatalogProvisioningDetailsArgs;
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 Project("example", ProjectArgs.builder()
.projectName("example")
.serviceCatalogProvisioningDetails(ProjectServiceCatalogProvisioningDetailsArgs.builder()
.productId(exampleAwsServicecatalogProduct.id())
.build())
.build());
}
}
resources:
example:
type: aws:sagemaker:Project
properties:
projectName: example
serviceCatalogProvisioningDetails:
productId: ${exampleAwsServicecatalogProduct.id}

Import

Using pulumi import, import SageMaker AI Projects using the project_name. For example:

$ pulumi import aws:sagemaker/project:Project example example

Constructors

Link copied to clipboard
constructor(projectDescription: Output<String>? = null, projectName: Output<String>? = null, serviceCatalogProvisioningDetails: Output<ProjectServiceCatalogProvisioningDetailsArgs>? = null, tags: Output<Map<String, String>>? = null)

Properties

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

A description for the project.

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

The name of the Project.

Link copied to clipboard

The product ID and provisioning artifact ID to provision a service catalog. See Service Catalog Provisioning 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(): ProjectArgs