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 Project resource.

Note: If you are trying to use SageMaker projects with SageMaker 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

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(aws_servicecatalog_product.example().id())
.build())
.build());
}
}

Import

SageMaker Projects can be imported using the project_name, e.g.,

$ 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