Skip to content
v2.278.0

CfnHumanTaskUiProps Struct ​

Properties for defining a CfnHumanTaskUi.

Example ​

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
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
// 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();
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"
    }
};
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 ​

humanTaskUiNamestringhuman_task_ui_namestrhumanTaskUiNameStringHumanTaskUiNamestringHumanTaskUiName*string required #
The name of the human task user interface.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag #
An array of key-value pairs that contain metadata to help you categorize and organize a human review workflow user interface.
uiTemplateoptionalIResolvable | CfnHumanTaskUi.UiTemplatePropertyui_templateoptionaltyping.Union[IResolvable, UiTemplateProperty]uiTemplateoptionalIResolvableUiTemplateoptionalIResolvableUiTemplateoptionalinterface{} #
The Liquid template for the worker user interface.