Provides a SageMaker Human Task UI resource.
resource "aws_sagemaker_human_task_ui" "example" {
human_task_ui_name = "example"
ui_template {
content = file("sagemaker-human-task-ui-template.html")
}
}
This resource supports the following arguments:
human_task_ui_name
- (Required) The name of the Human Task UI.tags
- (Optional) 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.ui_template
- (Required) The Liquid template for the worker user interface. See UI Template below.content
- (Required) The content of the Liquid template for the worker user interface.This resource exports the following attributes in addition to the arguments above:
arn
- The Amazon Resource Name (ARN) assigned by AWS to this Human Task UI.id
- The name of the Human Task UI.tags_all
- A map of tags assigned to the resource, including those inherited from the provider default_tags
configuration block.ui_template
- (Required) The Liquid template for the worker user interface. See UI Template below.content_sha256
- The SHA-256 digest of the contents of the template.url
- The URL for the user interface template.In Terraform v1.5.0 and later, use an import
block to import SageMaker Human Task UIs using the human_task_ui_name
. For example:
import {
to = aws_sagemaker_human_task_ui.example
id = "example"
}
Using terraform import
, import SageMaker Human Task UIs using the human_task_ui_name
. For example:
% terraform import aws_sagemaker_human_task_ui.example example