import * as core from "@terrascript/core"; export interface EndTimeArgs extends core.SchemaArgs { hours: number | core.NumberOut; minutes: number | core.NumberOut; } export class EndTime extends core.Schema { @core.attr(Number, { computed: true }) public hours!: number | core.NumberOut; @core.attr(Number, { computed: true }) public minutes!: number | core.NumberOut; } export interface StartTimeArgs extends core.SchemaArgs { hours: number | core.NumberOut; minutes: number | core.NumberOut; } export class StartTime extends core.Schema { @core.attr(Number, { computed: true }) public hours!: number | core.NumberOut; @core.attr(Number, { computed: true }) public minutes!: number | core.NumberOut; } export interface ConfigArgs extends core.SchemaArgs { day: string | core.StringOut; endTime: core.Array | core.ArrayOut; startTime: core.Array | core.ArrayOut; } export class Config extends core.Schema { @core.attr(String, { computed: true }) public day!: string | core.StringOut; @core.attr(EndTime, { computed: true, kind: "array" }) public endTime!: core.Array | core.ArrayOut; @core.attr(StartTime, { computed: true, kind: "array" }) public startTime!: core.Array | core.ArrayOut; } export interface DsHoursOfOperationArgs { /** * (Optional) Returns information on a specific Hours of Operation by hours of operation id */ hoursOfOperationId?: string | core.StringOut; /** * (Required) Reference to the hosting Amazon Connect Instance */ instanceId: string | core.StringOut; /** * (Optional) Returns information on a specific Hours of Operation by name */ name?: string | core.StringOut; /** * A map of tags to assign to the Hours of Operation. */ tags?: core.Map | core.MapOut; } export class DsHoursOfOperation extends core.Data { /** * The Amazon Resource Name (ARN) of the Hours of Operation. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * Specifies configuration information for the hours of operation: day, start time, and end time . Conf * ig blocks are documented below. Config blocks are documented below. */ @core.attr(Config, { computed: true, kind: "array" }) public config!: core.Array | core.ArrayOut; /** * Specifies the description of the Hours of Operation. */ @core.attr(String, { computed: true }) public description!: string | core.StringOut; /** * (**Deprecated**) The Amazon Resource Name (ARN) of the Hours of Operation. */ @core.attr(String, { computed: true }) public hoursOfOperationArn!: string | core.StringOut; /** * (Optional) Returns information on a specific Hours of Operation by hours of operation id */ @core.attr(String, { computed: true }) public hoursOfOperationId?: string | core.StringOut; @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; /** * (Optional) Returns information on a specific Hours of Operation by name */ @core.attr(String, { computed: true }) public name?: string | core.StringOut; /** * A map of tags to assign to the Hours of Operation. */ @core.attr(String, { computed: true, kind: "map" }) public tags?: core.Map | core.MapOut; /** * Specifies the time zone of the Hours of Operation. */ @core.attr(String, { computed: true }) public timeZone!: string | core.StringOut; constructor(name: string, args?: DsHoursOfOperationArgs) { super(name, "aws_connect_hours_of_operation", args); } public override getNamespace(): string { return "aws_connect"; } }