Resource: awsSagemakerHumanTaskUi
Provides a SageMaker Human Task UI resource.
Example Usage
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.sagemakerHumanTaskUi.SagemakerHumanTaskUi(this, "example", {
humanTaskUiName: "example",
uiTemplate: {
content: '${file("sagemaker-human-task-ui-template.html")}',
},
});
Argument Reference
The following arguments are supported:
humanTaskUiName
- (Required) The name of the Human Task UI.tags
- (Optional) A map of tags to assign to the resource. If configured with a providerdefaultTags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.uiTemplate
- (Required) The Liquid template for the worker user interface. See UI Template below.
UI Template
content
- (Required) The content of the Liquid template for the worker user interface.
Attributes Reference
In addition to all arguments above, the following attributes are exported:
arn
- The Amazon Resource Name (ARN) assigned by AWS to this Human Task UI.id
- The name of the Human Task UI.tagsAll
- A map of tags assigned to the resource, including those inherited from the providerdefaultTags
configuration block.uiTemplate
- (Required) The Liquid template for the worker user interface. See UI Template below.
UI Template
contentSha256
- The SHA-256 digest of the contents of the template.url
- The URL for the user interface template.
Import
SageMaker Human Task UIs can be imported using the humanTaskUiName
, e.g.,