# CfnProjectProps

Properties for defining a `CfnProject`.

Used as props by: [CfnProject](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_sagemaker.CfnProject.html)

- Source: Generated at build time
- Type last changed: v2.208.0 · 29 Jul 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sagemaker as sagemaker } from 'aws-cdk-lib';

declare const serviceCatalogProvisioningDetails: any;
const cfnProjectProps: sagemaker.CfnProjectProps = {
  projectName: 'projectName',

  // the properties below are optional
  projectDescription: 'projectDescription',
  serviceCatalogProvisionedProductDetails: {
    provisionedProductId: 'provisionedProductId',
    provisionedProductStatusMessage: 'provisionedProductStatusMessage',
  },
  serviceCatalogProvisioningDetails: serviceCatalogProvisioningDetails,
  tags: [{
    key: 'key',
    value: 'value',
  }],
  templateProviderDetails: [{
    cfnTemplateProviderDetail: {
      templateName: 'templateName',
      templateUrl: 'templateUrl',

      // the properties below are optional
      parameters: [{
        key: 'key',
        value: 'value',
      }],
      roleArn: 'roleArn',
    },
  }],
};
```

Python:

```python
from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_sagemaker as sagemaker

# service_catalog_provisioning_details: Any

cfn_project_props = sagemaker.CfnProjectProps(
    project_name="projectName",

    # the properties below are optional
    project_description="projectDescription",
    service_catalog_provisioned_product_details=sagemaker.CfnProject.ServiceCatalogProvisionedProductDetailsProperty(
        provisioned_product_id="provisionedProductId",
        provisioned_product_status_message="provisionedProductStatusMessage"
    ),
    service_catalog_provisioning_details=service_catalog_provisioning_details,
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    template_provider_details=[sagemaker.CfnProject.TemplateProviderDetailProperty(
        cfn_template_provider_detail=sagemaker.CfnProject.CfnTemplateProviderDetailProperty(
            template_name="templateName",
            template_url="templateUrl",

            # the properties below are optional
            parameters=[sagemaker.CfnProject.CfnStackParameterProperty(
                key="key",
                value="value"
            )],
            role_arn="roleArn"
        )
    )]
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.sagemaker.*;

Object serviceCatalogProvisioningDetails;

CfnProjectProps cfnProjectProps = CfnProjectProps.builder()
        .projectName("projectName")

        // the properties below are optional
        .projectDescription("projectDescription")
        .serviceCatalogProvisionedProductDetails(ServiceCatalogProvisionedProductDetailsProperty.builder()
                .provisionedProductId("provisionedProductId")
                .provisionedProductStatusMessage("provisionedProductStatusMessage")
                .build())
        .serviceCatalogProvisioningDetails(serviceCatalogProvisioningDetails)
        .tags(List.of(CfnTag.builder()
                .key("key")
                .value("value")
                .build()))
        .templateProviderDetails(List.of(TemplateProviderDetailProperty.builder()
                .cfnTemplateProviderDetail(CfnTemplateProviderDetailProperty.builder()
                        .templateName("templateName")
                        .templateUrl("templateUrl")

                        // the properties below are optional
                        .parameters(List.of(CfnStackParameterProperty.builder()
                                .key("key")
                                .value("value")
                                .build()))
                        .roleArn("roleArn")
                        .build())
                .build()))
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Sagemaker;

var serviceCatalogProvisioningDetails;

var cfnProjectProps = new CfnProjectProps {
    ProjectName = "projectName",

    // the properties below are optional
    ProjectDescription = "projectDescription",
    ServiceCatalogProvisionedProductDetails = new ServiceCatalogProvisionedProductDetailsProperty {
        ProvisionedProductId = "provisionedProductId",
        ProvisionedProductStatusMessage = "provisionedProductStatusMessage"
    },
    ServiceCatalogProvisioningDetails = serviceCatalogProvisioningDetails,
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } },
    TemplateProviderDetails = new [] { new TemplateProviderDetailProperty {
        CfnTemplateProviderDetail = new CfnTemplateProviderDetailProperty {
            TemplateName = "templateName",
            TemplateUrl = "templateUrl",

            // the properties below are optional
            Parameters = new [] { new CfnStackParameterProperty {
                Key = "key",
                Value = "value"
            } },
            RoleArn = "roleArn"
        }
    } }
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

var serviceCatalogProvisioningDetails interface{}

cfnProjectProps := &CfnProjectProps{
	ProjectName: jsii.String("projectName"),

	// the properties below are optional
	ProjectDescription: jsii.String("projectDescription"),
	ServiceCatalogProvisionedProductDetails: &ServiceCatalogProvisionedProductDetailsProperty{
		ProvisionedProductId: jsii.String("provisionedProductId"),
		ProvisionedProductStatusMessage: jsii.String("provisionedProductStatusMessage"),
	},
	ServiceCatalogProvisioningDetails: serviceCatalogProvisioningDetails,
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
	TemplateProviderDetails: []interface{}{
		&TemplateProviderDetailProperty{
			CfnTemplateProviderDetail: &CfnTemplateProviderDetailProperty{
				TemplateName: jsii.String("templateName"),
				TemplateUrl: jsii.String("templateUrl"),

				// the properties below are optional
				Parameters: []interface{}{
					&CfnStackParameterProperty{
						Key: jsii.String("key"),
						Value: jsii.String("value"),
					},
				},
				RoleArn: jsii.String("roleArn"),
			},
		},
	},
}
```

## Properties

- `projectDescription`: string — The description of the project.

- `projectName`: string (required) — The name of the project.

- `serviceCatalogProvisionedProductDetails`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnProject.ServiceCatalogProvisionedProductDetailsProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_sagemaker.CfnProject.ServiceCatalogProvisionedProductDetailsProperty.html) — Details of a provisioned service catalog product.

  For information about service catalog, see [What is AWS Service Catalog](https://docs.aws.amazon.com/servicecatalog/latest/adminguide/introduction.html) .

- `serviceCatalogProvisioningDetails`: any — The product ID and provisioning artifact ID to provision a service catalog.

  For information, see [What is AWS Service Catalog](https://docs.aws.amazon.com/servicecatalog/latest/adminguide/introduction.html) .

- `tags`: [CfnTag](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — A list of key-value pairs to apply to this resource.

  For more information, see [Resource Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) and [Using Cost Allocation Tags](https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-what) in the *AWS Billing and Cost Management User Guide* .

- `templateProviderDetails`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnProject.TemplateProviderDetailProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_sagemaker.CfnProject.TemplateProviderDetailProperty.html)[] — An array of template providers associated with the project.
