import * as core from "@terrascript/core"; export interface LevelTwoArgs extends core.SchemaArgs { arn: string | core.StringOut; id: string | core.StringOut; name: string | core.StringOut; } export class LevelTwo extends core.Schema { @core.attr(String, { computed: true }) public arn!: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; @core.attr(String, { computed: true }) public name!: string | core.StringOut; } export interface LevelThreeArgs extends core.SchemaArgs { arn: string | core.StringOut; id: string | core.StringOut; name: string | core.StringOut; } export class LevelThree extends core.Schema { @core.attr(String, { computed: true }) public arn!: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; @core.attr(String, { computed: true }) public name!: string | core.StringOut; } export interface LevelFourArgs extends core.SchemaArgs { arn: string | core.StringOut; id: string | core.StringOut; name: string | core.StringOut; } export class LevelFour extends core.Schema { @core.attr(String, { computed: true }) public arn!: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; @core.attr(String, { computed: true }) public name!: string | core.StringOut; } export interface LevelFiveArgs extends core.SchemaArgs { arn: string | core.StringOut; id: string | core.StringOut; name: string | core.StringOut; } export class LevelFive extends core.Schema { @core.attr(String, { computed: true }) public arn!: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; @core.attr(String, { computed: true }) public name!: string | core.StringOut; } export interface LevelOneArgs extends core.SchemaArgs { arn: string | core.StringOut; id: string | core.StringOut; name: string | core.StringOut; } export class LevelOne extends core.Schema { @core.attr(String, { computed: true }) public arn!: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; @core.attr(String, { computed: true }) public name!: string | core.StringOut; } export interface HierarchyPathArgs extends core.SchemaArgs { levelFive: core.Array | core.ArrayOut; levelFour: core.Array | core.ArrayOut; levelOne: core.Array | core.ArrayOut; levelThree: core.Array | core.ArrayOut; levelTwo: core.Array | core.ArrayOut; } export class HierarchyPath extends core.Schema { @core.attr(LevelFive, { computed: true, kind: "array" }) public levelFive!: core.Array | core.ArrayOut; @core.attr(LevelFour, { computed: true, kind: "array" }) public levelFour!: core.Array | core.ArrayOut; @core.attr(LevelOne, { computed: true, kind: "array" }) public levelOne!: core.Array | core.ArrayOut; @core.attr(LevelThree, { computed: true, kind: "array" }) public levelThree!: core.Array | core.ArrayOut; @core.attr(LevelTwo, { computed: true, kind: "array" }) public levelTwo!: core.Array | core.ArrayOut; } export interface DsUserHierarchyGroupArgs { /** * (Optional) Returns information on a specific hierarchy group by hierarchy group id */ hierarchyGroupId?: string | core.StringOut; /** * (Required) Reference to the hosting Amazon Connect Instance */ instanceId: string | core.StringOut; /** * (Optional) Returns information on a specific hierarchy group by name */ name?: string | core.StringOut; /** * A map of tags to assign to the hierarchy group. */ tags?: core.Map | core.MapOut; } export class DsUserHierarchyGroup extends core.Data { /** * The Amazon Resource Name (ARN) of the hierarchy group. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * (Optional) Returns information on a specific hierarchy group by hierarchy group id */ @core.attr(String, { computed: true }) public hierarchyGroupId?: string | core.StringOut; /** * A block that contains information about the levels in the hierarchy group. The `hierarchy_path` bloc * k is documented below. */ @core.attr(HierarchyPath, { computed: true, kind: "array" }) public hierarchyPath!: | core.Array | core.ArrayOut; /** * The identifier of the hosting Amazon Connect Instance and identifier of the hierarchy group separate * d by a colon (`:`). */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) Reference to the hosting Amazon Connect Instance */ @core.attr(String) public instanceId!: string | core.StringOut; /** * The identifier of the level in the hierarchy group. */ @core.attr(String, { computed: true }) public levelId!: string | core.StringOut; /** * (Optional) Returns information on a specific hierarchy group by name */ @core.attr(String, { computed: true }) public name?: string | core.StringOut; /** * A map of tags to assign to the hierarchy group. */ @core.attr(String, { computed: true, kind: "map" }) public tags?: core.Map | core.MapOut; constructor(name: string, args?: DsUserHierarchyGroupArgs) { super(name, "aws_connect_user_hierarchy_group", args); } public override getNamespace(): string { return "aws_connect"; } }