import * as core from "@terrascript/core"; export interface UiTemplateArgs extends core.SchemaArgs { content?: string | core.StringOut; contentSha256: string | core.StringOut; url: string | core.StringOut; } export class UiTemplate extends core.Schema { @core.attr(String) public content?: string | core.StringOut; @core.attr(String, { computed: true }) public contentSha256!: string | core.StringOut; @core.attr(String, { computed: true }) public url!: string | core.StringOut; } export interface HumanTaskUiArgs extends core.ResourceArgs { /** * (Required) The name of the Human Task UI. */ humanTaskUiName: string | core.StringOut; /** * (Optional) A map of tags to assign to the resource. If configured with a provider [`default_tags` co * nfiguration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-co * nfiguration-block) present, tags with matching keys will overwrite those defined at the provider-lev * el. */ tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ tagsAll?: core.Map | core.MapOut; /** * (Required) The Liquid template for the worker user interface. See [UI Template](#ui-template) below. */ uiTemplate: UiTemplate; } export class HumanTaskUi extends core.Resource { /** * The Amazon Resource Name (ARN) assigned by AWS to this Human Task UI. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * (Required) The name of the Human Task UI. */ @core.attr(String) public humanTaskUiName!: string | core.StringOut; /** * The name of the Human Task UI. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Optional) A map of tags to assign to the resource. If configured with a provider [`default_tags` co * nfiguration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-co * nfiguration-block) present, tags with matching keys will overwrite those defined at the provider-lev * el. */ @core.attr(String, { kind: "map" }) public tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ @core.attr(String, { computed: true, kind: "map" }) public tagsAll?: core.Map | core.MapOut; /** * (Required) The Liquid template for the worker user interface. See [UI Template](#ui-template) below. */ @core.attr(UiTemplate) public uiTemplate!: UiTemplate; constructor(name: string, args?: HumanTaskUiArgs) { super(name, "aws_sagemaker_human_task_ui", args); } public override getNamespace(): string { return "aws_sagemaker"; } }