# CfnTemplateProviderDetailProperty

Details about a CloudFormation template provider configuration and associated provisioning information.

- 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';
const cfnTemplateProviderDetailProperty: sagemaker.CfnProject.CfnTemplateProviderDetailProperty = {
  templateName: 'templateName',
  templateUrl: 'templateUrl',

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

Python:

```python
# 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

cfn_template_provider_detail_property = 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.*;

CfnTemplateProviderDetailProperty cfnTemplateProviderDetailProperty = CfnTemplateProviderDetailProperty.builder()
        .templateName("templateName")
        .templateUrl("templateUrl")

        // the properties below are optional
        .parameters(List.of(CfnStackParameterProperty.builder()
                .key("key")
                .value("value")
                .build()))
        .roleArn("roleArn")
        .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 cfnTemplateProviderDetailProperty = 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"

cfnTemplateProviderDetailProperty := &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

- `parameters`: [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.CfnStackParameterProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_sagemaker.CfnProject.CfnStackParameterProperty.html)[] — An array of CloudFormation stack parameters.

- `roleArn`: string — The IAM role used by CloudFormation to create the stack.

- `templateName`: string (required) — The unique identifier of the template within the project.

- `templateUrl`: string (required) — The Amazon S3 URL of the CloudFormation template.
