Resource Type definition for AWS::Connect::HoursOfOperation
Note that the AWS provider resource for aws_connect_instance is used.
resource "awscc_connect_hours_of_operation" "example" {
instance_arn = aws_connect_instance.example.arn
name = "Office hours example"
description = "Monday and Tuesday hours"
time_zone = "EST"
config = [
{
day = "MONDAY"
start_time = {
hours = 08
minutes = 00
}
end_time = {
hours = 18
minutes = 30
}
},
{
day = "TUESDAY"
start_time = {
hours = 07
minutes = 12
}
end_time = {
hours = 19
minutes = 35
}
}
]
}
config
(Attributes Set) Configuration information for the hours of operation: day, start time, and end time. (see below for nested schema)instance_arn
(String) The identifier of the Amazon Connect instance.name
(String) The name of the hours of operation.time_zone
(String) The time zone of the hours of operation.description
(String) The description of the hours of operation.tags
(Attributes Set) One or more tags. (see below for nested schema)hours_of_operation_arn
(String) The Amazon Resource Name (ARN) for the hours of operation.id
(String) Uniquely identifies the resource.config
Required:
day
(String) The day that the hours of operation applies to.end_time
(Attributes) The end time that your contact center closes. (see below for nested schema)start_time
(Attributes) The start time that your contact center opens. (see below for nested schema)config.end_time
Required:
hours
(Number) The hours.minutes
(Number) The minutes.config.start_time
Required:
hours
(Number) The hours.minutes
(Number) The minutes.tags
Required:
key
(String) The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.value
(String) The value for the tag. You can specify a value that is maximum of 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.Import is supported using the following syntax:
$ terraform import awscc_connect_hours_of_operation.example <resource ID>