1. Packages
  2. AWS Native
  3. API Docs
  4. sagemaker
  5. Project

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.112.0 published on Wednesday, Jul 24, 2024 by Pulumi

aws-native.sagemaker.Project

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.112.0 published on Wednesday, Jul 24, 2024 by Pulumi

    Resource Type definition for AWS::SageMaker::Project

    Example Usage

    Example

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AwsNative = Pulumi.AwsNative;
    
    return await Deployment.RunAsync(() => 
    {
        var sampleProject = new AwsNative.SageMaker.Project("sampleProject", new()
        {
            ProjectName = "project1",
            ProjectDescription = "Project Description",
            ServiceCatalogProvisioningDetails = new AwsNative.SageMaker.Inputs.ServiceCatalogProvisioningDetailsPropertiesArgs
            {
                ProductId = "prod-53ibyqbj2cgmo",
                ProvisioningArtifactId = "pa-sm4pjfuzictpe",
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/sagemaker"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := sagemaker.NewProject(ctx, "sampleProject", &sagemaker.ProjectArgs{
    			ProjectName:        pulumi.String("project1"),
    			ProjectDescription: pulumi.String("Project Description"),
    			ServiceCatalogProvisioningDetails: &sagemaker.ServiceCatalogProvisioningDetailsPropertiesArgs{
    				ProductId:              pulumi.String("prod-53ibyqbj2cgmo"),
    				ProvisioningArtifactId: pulumi.String("pa-sm4pjfuzictpe"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Coming soon!

    import pulumi
    import pulumi_aws_native as aws_native
    
    sample_project = aws_native.sagemaker.Project("sampleProject",
        project_name="project1",
        project_description="Project Description",
        service_catalog_provisioning_details=aws_native.sagemaker.ServiceCatalogProvisioningDetailsPropertiesArgs(
            product_id="prod-53ibyqbj2cgmo",
            provisioning_artifact_id="pa-sm4pjfuzictpe",
        ))
    
    import * as pulumi from "@pulumi/pulumi";
    import * as aws_native from "@pulumi/aws-native";
    
    const sampleProject = new aws_native.sagemaker.Project("sampleProject", {
        projectName: "project1",
        projectDescription: "Project Description",
        serviceCatalogProvisioningDetails: {
            productId: "prod-53ibyqbj2cgmo",
            provisioningArtifactId: "pa-sm4pjfuzictpe",
        },
    });
    

    Coming soon!

    Example

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AwsNative = Pulumi.AwsNative;
    
    return await Deployment.RunAsync(() => 
    {
        var sampleProject = new AwsNative.SageMaker.Project("sampleProject", new()
        {
            ProjectName = "SampleProject",
            ProjectDescription = "Project Description",
            ServiceCatalogProvisioningDetails = new AwsNative.SageMaker.Inputs.ServiceCatalogProvisioningDetailsPropertiesArgs
            {
                ProductId = "prod-53ibyqbj2cgmo",
                ProvisioningArtifactId = "pa-sm4pjfuzictpe",
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/sagemaker"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := sagemaker.NewProject(ctx, "sampleProject", &sagemaker.ProjectArgs{
    			ProjectName:        pulumi.String("SampleProject"),
    			ProjectDescription: pulumi.String("Project Description"),
    			ServiceCatalogProvisioningDetails: &sagemaker.ServiceCatalogProvisioningDetailsPropertiesArgs{
    				ProductId:              pulumi.String("prod-53ibyqbj2cgmo"),
    				ProvisioningArtifactId: pulumi.String("pa-sm4pjfuzictpe"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Coming soon!

    import pulumi
    import pulumi_aws_native as aws_native
    
    sample_project = aws_native.sagemaker.Project("sampleProject",
        project_name="SampleProject",
        project_description="Project Description",
        service_catalog_provisioning_details=aws_native.sagemaker.ServiceCatalogProvisioningDetailsPropertiesArgs(
            product_id="prod-53ibyqbj2cgmo",
            provisioning_artifact_id="pa-sm4pjfuzictpe",
        ))
    
    import * as pulumi from "@pulumi/pulumi";
    import * as aws_native from "@pulumi/aws-native";
    
    const sampleProject = new aws_native.sagemaker.Project("sampleProject", {
        projectName: "SampleProject",
        projectDescription: "Project Description",
        serviceCatalogProvisioningDetails: {
            productId: "prod-53ibyqbj2cgmo",
            provisioningArtifactId: "pa-sm4pjfuzictpe",
        },
    });
    

    Coming soon!

    Create Project Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Project(name: string, args: ProjectArgs, opts?: CustomResourceOptions);
    @overload
    def Project(resource_name: str,
                args: ProjectArgs,
                opts: Optional[ResourceOptions] = None)
    
    @overload
    def Project(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                service_catalog_provisioning_details: Optional[ServiceCatalogProvisioningDetailsPropertiesArgs] = None,
                project_description: Optional[str] = None,
                project_name: Optional[str] = None,
                service_catalog_provisioned_product_details: Optional[ServiceCatalogProvisionedProductDetailsPropertiesArgs] = None,
                tags: Optional[Sequence[_root_inputs.CreateOnlyTagArgs]] = None)
    func NewProject(ctx *Context, name string, args ProjectArgs, opts ...ResourceOption) (*Project, error)
    public Project(string name, ProjectArgs args, CustomResourceOptions? opts = null)
    public Project(String name, ProjectArgs args)
    public Project(String name, ProjectArgs args, CustomResourceOptions options)
    
    type: aws-native:sagemaker:Project
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ProjectArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ProjectArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ProjectArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ProjectArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ProjectArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Project Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Project resource accepts the following input properties:

    ServiceCatalogProvisioningDetails ServiceCatalogProvisioningDetailsPropertiesArgs
    Input ServiceCatalog Provisioning Details
    ProjectDescription string
    The description of the project.
    ProjectName string
    The name of the project.
    ServiceCatalogProvisionedProductDetails ServiceCatalogProvisionedProductDetailsPropertiesArgs
    Provisioned ServiceCatalog Details
    Tags CreateOnlyTagArgs
    An array of key-value pairs to apply to this resource.
    serviceCatalogProvisioningDetails ServiceCatalogProvisioningDetailsProperties
    Input ServiceCatalog Provisioning Details
    projectDescription String
    The description of the project.
    projectName String
    The name of the project.
    serviceCatalogProvisionedProductDetails ServiceCatalogProvisionedProductDetailsProperties
    Provisioned ServiceCatalog Details
    tags List<CreateOnlyTag>
    An array of key-value pairs to apply to this resource.
    serviceCatalogProvisioningDetails ServiceCatalogProvisioningDetailsProperties
    Input ServiceCatalog Provisioning Details
    projectDescription string
    The description of the project.
    projectName string
    The name of the project.
    serviceCatalogProvisionedProductDetails ServiceCatalogProvisionedProductDetailsProperties
    Provisioned ServiceCatalog Details
    tags CreateOnlyTag[]
    An array of key-value pairs to apply to this resource.
    service_catalog_provisioning_details ServiceCatalogProvisioningDetailsPropertiesArgs
    Input ServiceCatalog Provisioning Details
    project_description str
    The description of the project.
    project_name str
    The name of the project.
    service_catalog_provisioned_product_details ServiceCatalogProvisionedProductDetailsPropertiesArgs
    Provisioned ServiceCatalog Details
    tags Sequence[CreateOnlyTagArgs]
    An array of key-value pairs to apply to this resource.
    serviceCatalogProvisioningDetails Property Map
    Input ServiceCatalog Provisioning Details
    projectDescription String
    The description of the project.
    projectName String
    The name of the project.
    serviceCatalogProvisionedProductDetails Property Map
    Provisioned ServiceCatalog Details
    tags List<Property Map>
    An array of key-value pairs to apply to this resource.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Project resource produces the following output properties:

    CreationTime string
    The time at which the project was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    ProjectArn string
    The Amazon Resource Name (ARN) of the project.
    ProjectId string
    The ID of the project. This ID is prepended to all entities associated with this project.
    ProjectStatus Pulumi.AwsNative.SageMaker.ProjectStatus
    The status of a project.
    CreationTime string
    The time at which the project was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    ProjectArn string
    The Amazon Resource Name (ARN) of the project.
    ProjectId string
    The ID of the project. This ID is prepended to all entities associated with this project.
    ProjectStatus ProjectStatus
    The status of a project.
    creationTime String
    The time at which the project was created.
    id String
    The provider-assigned unique ID for this managed resource.
    projectArn String
    The Amazon Resource Name (ARN) of the project.
    projectId String
    The ID of the project. This ID is prepended to all entities associated with this project.
    projectStatus ProjectStatus
    The status of a project.
    creationTime string
    The time at which the project was created.
    id string
    The provider-assigned unique ID for this managed resource.
    projectArn string
    The Amazon Resource Name (ARN) of the project.
    projectId string
    The ID of the project. This ID is prepended to all entities associated with this project.
    projectStatus ProjectStatus
    The status of a project.
    creation_time str
    The time at which the project was created.
    id str
    The provider-assigned unique ID for this managed resource.
    project_arn str
    The Amazon Resource Name (ARN) of the project.
    project_id str
    The ID of the project. This ID is prepended to all entities associated with this project.
    project_status ProjectStatus
    The status of a project.
    creationTime String
    The time at which the project was created.
    id String
    The provider-assigned unique ID for this managed resource.
    projectArn String
    The Amazon Resource Name (ARN) of the project.
    projectId String
    The ID of the project. This ID is prepended to all entities associated with this project.
    projectStatus "Pending" | "CreateInProgress" | "CreateCompleted" | "CreateFailed" | "DeleteInProgress" | "DeleteFailed" | "DeleteCompleted"
    The status of a project.

    Supporting Types

    CreateOnlyTag, CreateOnlyTagArgs

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    ProjectProvisioningParameter, ProjectProvisioningParameterArgs

    Key string
    The parameter key.
    Value string
    The parameter value.
    Key string
    The parameter key.
    Value string
    The parameter value.
    key String
    The parameter key.
    value String
    The parameter value.
    key string
    The parameter key.
    value string
    The parameter value.
    key str
    The parameter key.
    value str
    The parameter value.
    key String
    The parameter key.
    value String
    The parameter value.

    ProjectStatus, ProjectStatusArgs

    Pending
    Pending
    CreateInProgress
    CreateInProgress
    CreateCompleted
    CreateCompleted
    CreateFailed
    CreateFailed
    DeleteInProgress
    DeleteInProgress
    DeleteFailed
    DeleteFailed
    DeleteCompleted
    DeleteCompleted
    ProjectStatusPending
    Pending
    ProjectStatusCreateInProgress
    CreateInProgress
    ProjectStatusCreateCompleted
    CreateCompleted
    ProjectStatusCreateFailed
    CreateFailed
    ProjectStatusDeleteInProgress
    DeleteInProgress
    ProjectStatusDeleteFailed
    DeleteFailed
    ProjectStatusDeleteCompleted
    DeleteCompleted
    Pending
    Pending
    CreateInProgress
    CreateInProgress
    CreateCompleted
    CreateCompleted
    CreateFailed
    CreateFailed
    DeleteInProgress
    DeleteInProgress
    DeleteFailed
    DeleteFailed
    DeleteCompleted
    DeleteCompleted
    Pending
    Pending
    CreateInProgress
    CreateInProgress
    CreateCompleted
    CreateCompleted
    CreateFailed
    CreateFailed
    DeleteInProgress
    DeleteInProgress
    DeleteFailed
    DeleteFailed
    DeleteCompleted
    DeleteCompleted
    PENDING
    Pending
    CREATE_IN_PROGRESS
    CreateInProgress
    CREATE_COMPLETED
    CreateCompleted
    CREATE_FAILED
    CreateFailed
    DELETE_IN_PROGRESS
    DeleteInProgress
    DELETE_FAILED
    DeleteFailed
    DELETE_COMPLETED
    DeleteCompleted
    "Pending"
    Pending
    "CreateInProgress"
    CreateInProgress
    "CreateCompleted"
    CreateCompleted
    "CreateFailed"
    CreateFailed
    "DeleteInProgress"
    DeleteInProgress
    "DeleteFailed"
    DeleteFailed
    "DeleteCompleted"
    DeleteCompleted

    ServiceCatalogProvisionedProductDetailsProperties, ServiceCatalogProvisionedProductDetailsPropertiesArgs

    ProvisionedProductId string
    The ID of the provisioned product.
    ProvisionedProductStatusMessage string
    The current status of the product.

    • AVAILABLE - Stable state, ready to perform any operation. The most recent operation succeeded and completed.
    • UNDER_CHANGE - Transitive state. Operations performed might not have valid results. Wait for an AVAILABLE status before performing operations.
    • TAINTED - Stable state, ready to perform any operation. The stack has completed the requested operation but is not exactly what was requested. For example, a request to update to a new version failed and the stack rolled back to the current version.
    • ERROR - An unexpected error occurred. The provisioned product exists but the stack is not running. For example, CloudFormation received a parameter value that was not valid and could not launch the stack.
    • PLAN_IN_PROGRESS - Transitive state. The plan operations were performed to provision a new product, but resources have not yet been created. After reviewing the list of resources to be created, execute the plan. Wait for an AVAILABLE status before performing operations.
    ProvisionedProductId string
    The ID of the provisioned product.
    ProvisionedProductStatusMessage string
    The current status of the product.

    • AVAILABLE - Stable state, ready to perform any operation. The most recent operation succeeded and completed.
    • UNDER_CHANGE - Transitive state. Operations performed might not have valid results. Wait for an AVAILABLE status before performing operations.
    • TAINTED - Stable state, ready to perform any operation. The stack has completed the requested operation but is not exactly what was requested. For example, a request to update to a new version failed and the stack rolled back to the current version.
    • ERROR - An unexpected error occurred. The provisioned product exists but the stack is not running. For example, CloudFormation received a parameter value that was not valid and could not launch the stack.
    • PLAN_IN_PROGRESS - Transitive state. The plan operations were performed to provision a new product, but resources have not yet been created. After reviewing the list of resources to be created, execute the plan. Wait for an AVAILABLE status before performing operations.
    provisionedProductId String
    The ID of the provisioned product.
    provisionedProductStatusMessage String
    The current status of the product.

    • AVAILABLE - Stable state, ready to perform any operation. The most recent operation succeeded and completed.
    • UNDER_CHANGE - Transitive state. Operations performed might not have valid results. Wait for an AVAILABLE status before performing operations.
    • TAINTED - Stable state, ready to perform any operation. The stack has completed the requested operation but is not exactly what was requested. For example, a request to update to a new version failed and the stack rolled back to the current version.
    • ERROR - An unexpected error occurred. The provisioned product exists but the stack is not running. For example, CloudFormation received a parameter value that was not valid and could not launch the stack.
    • PLAN_IN_PROGRESS - Transitive state. The plan operations were performed to provision a new product, but resources have not yet been created. After reviewing the list of resources to be created, execute the plan. Wait for an AVAILABLE status before performing operations.
    provisionedProductId string
    The ID of the provisioned product.
    provisionedProductStatusMessage string
    The current status of the product.

    • AVAILABLE - Stable state, ready to perform any operation. The most recent operation succeeded and completed.
    • UNDER_CHANGE - Transitive state. Operations performed might not have valid results. Wait for an AVAILABLE status before performing operations.
    • TAINTED - Stable state, ready to perform any operation. The stack has completed the requested operation but is not exactly what was requested. For example, a request to update to a new version failed and the stack rolled back to the current version.
    • ERROR - An unexpected error occurred. The provisioned product exists but the stack is not running. For example, CloudFormation received a parameter value that was not valid and could not launch the stack.
    • PLAN_IN_PROGRESS - Transitive state. The plan operations were performed to provision a new product, but resources have not yet been created. After reviewing the list of resources to be created, execute the plan. Wait for an AVAILABLE status before performing operations.
    provisioned_product_id str
    The ID of the provisioned product.
    provisioned_product_status_message str
    The current status of the product.

    • AVAILABLE - Stable state, ready to perform any operation. The most recent operation succeeded and completed.
    • UNDER_CHANGE - Transitive state. Operations performed might not have valid results. Wait for an AVAILABLE status before performing operations.
    • TAINTED - Stable state, ready to perform any operation. The stack has completed the requested operation but is not exactly what was requested. For example, a request to update to a new version failed and the stack rolled back to the current version.
    • ERROR - An unexpected error occurred. The provisioned product exists but the stack is not running. For example, CloudFormation received a parameter value that was not valid and could not launch the stack.
    • PLAN_IN_PROGRESS - Transitive state. The plan operations were performed to provision a new product, but resources have not yet been created. After reviewing the list of resources to be created, execute the plan. Wait for an AVAILABLE status before performing operations.
    provisionedProductId String
    The ID of the provisioned product.
    provisionedProductStatusMessage String
    The current status of the product.

    • AVAILABLE - Stable state, ready to perform any operation. The most recent operation succeeded and completed.
    • UNDER_CHANGE - Transitive state. Operations performed might not have valid results. Wait for an AVAILABLE status before performing operations.
    • TAINTED - Stable state, ready to perform any operation. The stack has completed the requested operation but is not exactly what was requested. For example, a request to update to a new version failed and the stack rolled back to the current version.
    • ERROR - An unexpected error occurred. The provisioned product exists but the stack is not running. For example, CloudFormation received a parameter value that was not valid and could not launch the stack.
    • PLAN_IN_PROGRESS - Transitive state. The plan operations were performed to provision a new product, but resources have not yet been created. After reviewing the list of resources to be created, execute the plan. Wait for an AVAILABLE status before performing operations.

    ServiceCatalogProvisioningDetailsProperties, ServiceCatalogProvisioningDetailsPropertiesArgs

    ProductId string
    The ID of the product to provision.
    PathId string
    The path identifier of the product. This value is optional if the product has a default path, and required if the product has more than one path.
    ProvisioningArtifactId string
    The ID of the provisioning artifact.
    ProvisioningParameters List<Pulumi.AwsNative.SageMaker.Inputs.ProjectProvisioningParameter>
    Parameters specified by the administrator that are required for provisioning the product.
    ProductId string
    The ID of the product to provision.
    PathId string
    The path identifier of the product. This value is optional if the product has a default path, and required if the product has more than one path.
    ProvisioningArtifactId string
    The ID of the provisioning artifact.
    ProvisioningParameters []ProjectProvisioningParameter
    Parameters specified by the administrator that are required for provisioning the product.
    productId String
    The ID of the product to provision.
    pathId String
    The path identifier of the product. This value is optional if the product has a default path, and required if the product has more than one path.
    provisioningArtifactId String
    The ID of the provisioning artifact.
    provisioningParameters List<ProjectProvisioningParameter>
    Parameters specified by the administrator that are required for provisioning the product.
    productId string
    The ID of the product to provision.
    pathId string
    The path identifier of the product. This value is optional if the product has a default path, and required if the product has more than one path.
    provisioningArtifactId string
    The ID of the provisioning artifact.
    provisioningParameters ProjectProvisioningParameter[]
    Parameters specified by the administrator that are required for provisioning the product.
    product_id str
    The ID of the product to provision.
    path_id str
    The path identifier of the product. This value is optional if the product has a default path, and required if the product has more than one path.
    provisioning_artifact_id str
    The ID of the provisioning artifact.
    provisioning_parameters Sequence[ProjectProvisioningParameter]
    Parameters specified by the administrator that are required for provisioning the product.
    productId String
    The ID of the product to provision.
    pathId String
    The path identifier of the product. This value is optional if the product has a default path, and required if the product has more than one path.
    provisioningArtifactId String
    The ID of the provisioning artifact.
    provisioningParameters List<Property Map>
    Parameters specified by the administrator that are required for provisioning the product.

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.112.0 published on Wednesday, Jul 24, 2024 by Pulumi