# CfnHumanTaskUiProps

Properties for defining a `CfnHumanTaskUi`.

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

- Source: Generated at build time
- Type last changed: v2.268.0 · 2 Sep 2026

## 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 cfnHumanTaskUiProps: sagemaker.CfnHumanTaskUiProps = {
  humanTaskUiName: 'humanTaskUiName',

  // the properties below are optional
  tags: [{
    key: 'key',
    value: 'value',
  }],
  uiTemplate: {
    content: 'content',
  },
};
```

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

cfn_human_task_ui_props = sagemaker.CfnHumanTaskUiProps(
    human_task_ui_name="humanTaskUiName",

    # the properties below are optional
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    ui_template=sagemaker.CfnHumanTaskUi.UiTemplateProperty(
        content="content"
    )
)
```

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

CfnHumanTaskUiProps cfnHumanTaskUiProps = CfnHumanTaskUiProps.builder()
        .humanTaskUiName("humanTaskUiName")

        // the properties below are optional
        .tags(List.of(CfnTag.builder()
                .key("key")
                .value("value")
                .build()))
        .uiTemplate(UiTemplateProperty.builder()
                .content("content")
                .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 cfnHumanTaskUiProps = new CfnHumanTaskUiProps {
    HumanTaskUiName = "humanTaskUiName",

    // the properties below are optional
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } },
    UiTemplate = new UiTemplateProperty {
        Content = "content"
    }
};
```

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"

cfnHumanTaskUiProps := &CfnHumanTaskUiProps{
	HumanTaskUiName: jsii.String("humanTaskUiName"),

	// the properties below are optional
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
	UiTemplate: &UiTemplateProperty{
		Content: jsii.String("content"),
	},
}
```

## Properties

- `humanTaskUiName`: string (required) — The name of the human task user interface.

- `tags`: [CfnTag](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — An array of key-value pairs that contain metadata to help you categorize and organize a human review workflow user interface.

- `uiTemplate`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnHumanTaskUi.UiTemplateProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_sagemaker.CfnHumanTaskUi.UiTemplateProperty.html) — The Liquid template for the worker user interface.
