Project
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 valuetrue
. 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());
}
}
Content copied to clipboard
Import
Using pulumi import
, import SageMaker Projects using the project_name
. For example:
$ pulumi import aws:sagemaker/project:Project example example
Content copied to clipboard