HumanTaskUI

class HumanTaskUI : KotlinCustomResource

Provides a SageMaker Human Task UI resource.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.sagemaker.HumanTaskUI;
import com.pulumi.aws.sagemaker.HumanTaskUIArgs;
import com.pulumi.aws.sagemaker.inputs.HumanTaskUIUiTemplateArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new HumanTaskUI("example", HumanTaskUIArgs.builder()
.humanTaskUiName("example")
.uiTemplate(HumanTaskUIUiTemplateArgs.builder()
.content(Files.readString(Paths.get("sagemaker-human-task-ui-template.html")))
.build())
.build());
}
}

Import

SageMaker Human Task UIs can be imported using the human_task_ui_name, e.g.,

$ pulumi import aws:sagemaker/humanTaskUI:HumanTaskUI example example

Properties

Link copied to clipboard
val arn: Output<String>

The Amazon Resource Name (ARN) assigned by AWS to this Human Task UI.

Link copied to clipboard
val humanTaskUiName: Output<String>

The name of the Human Task UI.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val tags: Output<Map<String, String>>?

A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Link copied to clipboard
val tagsAll: Output<Map<String, String>>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Link copied to clipboard

The Liquid template for the worker user interface. See UI Template below.

Link copied to clipboard
val urn: Output<String>