# AWS::Connect::HoursOfOperation Resource Type definition for AWS::Connect::HoursOfOperation ## Syntax To declare this entity in your AWS CloudFormation template, use the following syntax: ### JSON
{ "Type" : "AWS::Connect::HoursOfOperation", "Properties" : { "InstanceArn" : String, "Name" : String, "Description" : String, "TimeZone" : String, "Config" : [ HoursOfOperationConfig, ... ], "Tags" : [ Tag, ... ] } }### YAML
Type: AWS::Connect::HoursOfOperation Properties: InstanceArn: String Name: String Description: String TimeZone: String Config: - HoursOfOperationConfig Tags: - Tag## Properties #### InstanceArn The identifier of the Amazon Connect instance. _Required_: Yes _Type_: String _Pattern_:
^arn:aws[-a-z0-9]*:connect:[-a-z0-9]*:[0-9]{12}:instance/[-a-zA-Z0-9]*$
_Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)
#### Name
The name of the hours of operation.
_Required_: Yes
_Type_: String
_Minimum_: 1
_Maximum_: 127
_Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)
#### Description
The description of the hours of operation.
_Required_: No
_Type_: String
_Minimum_: 1
_Maximum_: 250
_Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)
#### TimeZone
The time zone of the hours of operation.
_Required_: Yes
_Type_: String
_Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)
#### Config
Configuration information for the hours of operation: day, start time, and end time.
_Required_: Yes
_Type_: List of HoursOfOperationConfig
_Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)
#### Tags
One or more tags.
_Required_: No
_Type_: List of Tag
_Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)
## Return Values
### Ref
When you pass the logical ID of this resource to the intrinsic `Ref` function, Ref returns the HoursOfOperationArn.
### Fn::GetAtt
The `Fn::GetAtt` intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.
For more information about using the `Fn::GetAtt` intrinsic function, see [Fn::GetAtt](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-getatt.html).
#### HoursOfOperationArn
The Amazon Resource Name (ARN) for the hours of operation.