Class CfnHumanTaskUi

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, IEnvironmentAware, IHumanTaskUiRef, ITaggableV2, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)", date="2026-09-02T11:03:18.548Z") @Stability(Stable) public class CfnHumanTaskUi extends CfnResource implements IInspectable, IHumanTaskUiRef, ITaggableV2
Resource Type definition for AWS::SageMaker::HumanTaskUi.

Example:

 // 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.*;
 CfnHumanTaskUi cfnHumanTaskUi = CfnHumanTaskUi.Builder.create(this, "MyCfnHumanTaskUi")
         .humanTaskUiName("humanTaskUiName")
         // the properties below are optional
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .uiTemplate(UiTemplateProperty.builder()
                 .content("content")
                 .build())
         .build();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnHumanTaskUi

      protected CfnHumanTaskUi(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnHumanTaskUi

      protected CfnHumanTaskUi(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnHumanTaskUi

      @Stability(Stable) public CfnHumanTaskUi(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnHumanTaskUiProps props)
      Create a new AWS::SageMaker::HumanTaskUi.

      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties. This parameter is required.
  • Method Details

    • arnForHumanTaskUi

      @Stability(Stable) @NotNull public static String arnForHumanTaskUi(@NotNull IHumanTaskUiRef resource)
      Parameters:
      resource - This parameter is required.
    • isCfnHumanTaskUi

      @Stability(Stable) @NotNull public static Boolean isCfnHumanTaskUi(@NotNull Object x)
      Checks whether the given object is a CfnHumanTaskUi.

      Parameters:
      x - This parameter is required.
    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrCreationTime

      @Stability(Stable) @NotNull public String getAttrCreationTime()
      The timestamp when the human task user interface was created.
    • getAttrHumanTaskUiArn

      @Stability(Stable) @NotNull public String getAttrHumanTaskUiArn()
      The Amazon Resource Name (ARN) of the human task user interface.
    • getCdkTagManager

      @Stability(Stable) @NotNull public TagManager getCdkTagManager()
      Tag Manager which manages the tags for this resource.
      Specified by:
      getCdkTagManager in interface ITaggableV2
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getCfnPropertyNames

      @Stability(Stable) @NotNull protected Map<String,String> getCfnPropertyNames()
      Overrides:
      getCfnPropertyNames in class CfnResource
    • getHumanTaskUiRef

      @Stability(Stable) @NotNull public HumanTaskUiReference getHumanTaskUiRef()
      A reference to a HumanTaskUi resource.
      Specified by:
      getHumanTaskUiRef in interface IHumanTaskUiRef
    • getHumanTaskUiName

      @Stability(Stable) @NotNull public String getHumanTaskUiName()
      The name of the human task user interface.
    • setHumanTaskUiName

      @Stability(Stable) public void setHumanTaskUiName(@NotNull String value)
      The name of the human task user interface.
    • getTags

      @Stability(Stable) @Nullable public List<CfnTag> getTags()
      An array of key-value pairs that contain metadata to help you categorize and organize a human review workflow user interface.
    • setTags

      @Stability(Stable) public void setTags(@Nullable List<CfnTag> value)
      An array of key-value pairs that contain metadata to help you categorize and organize a human review workflow user interface.
    • getUiTemplate

      @Stability(Stable) @Nullable public Object getUiTemplate()
      The Liquid template for the worker user interface.

      Returns union: either IResolvable or CfnHumanTaskUi.UiTemplateProperty

    • setUiTemplate

      @Stability(Stable) public void setUiTemplate(@Nullable IResolvable value)
      The Liquid template for the worker user interface.
    • setUiTemplate

      @Stability(Stable) public void setUiTemplate(@Nullable CfnHumanTaskUi.UiTemplateProperty value)
      The Liquid template for the worker user interface.