

This is the new *CloudFormation Template Reference Guide*. Please update your bookmarks and links. For help getting started with CloudFormation, see the [AWS CloudFormation User Guide](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/Welcome.html).

# AWS::Connect::HoursOfOperation
<a name="aws-resource-connect-hoursofoperation"></a>

Specifies hours of operation.

## Syntax
<a name="aws-resource-connect-hoursofoperation-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-resource-connect-hoursofoperation-syntax.json"></a>

```
{
  "Type" : "AWS::Connect::HoursOfOperation",
  "Properties" : {
      "[ChildHoursOfOperations](#cfn-connect-hoursofoperation-childhoursofoperations)" : [ HoursOfOperationsIdentifier, ... ],
      "[Config](#cfn-connect-hoursofoperation-config)" : [ HoursOfOperationConfig, ... ],
      "[Description](#cfn-connect-hoursofoperation-description)" : String,
      "[HoursOfOperationOverrides](#cfn-connect-hoursofoperation-hoursofoperationoverrides)" : [ HoursOfOperationOverride, ... ],
      "[InstanceArn](#cfn-connect-hoursofoperation-instancearn)" : String,
      "[Name](#cfn-connect-hoursofoperation-name)" : String,
      "[ParentHoursOfOperations](#cfn-connect-hoursofoperation-parenthoursofoperations)" : [ HoursOfOperationsIdentifier, ... ],
      "[Tags](#cfn-connect-hoursofoperation-tags)" : [ Tag, ... ],
      "[TimeZone](#cfn-connect-hoursofoperation-timezone)" : String
    }
}
```

### YAML
<a name="aws-resource-connect-hoursofoperation-syntax.yaml"></a>

```
Type: AWS::Connect::HoursOfOperation
Properties:
  [ChildHoursOfOperations](#cfn-connect-hoursofoperation-childhoursofoperations): 
    - HoursOfOperationsIdentifier
  [Config](#cfn-connect-hoursofoperation-config): 
    - HoursOfOperationConfig
  [Description](#cfn-connect-hoursofoperation-description): String
  [HoursOfOperationOverrides](#cfn-connect-hoursofoperation-hoursofoperationoverrides): 
    - HoursOfOperationOverride
  [InstanceArn](#cfn-connect-hoursofoperation-instancearn): String
  [Name](#cfn-connect-hoursofoperation-name): String
  [ParentHoursOfOperations](#cfn-connect-hoursofoperation-parenthoursofoperations): 
    - HoursOfOperationsIdentifier
  [Tags](#cfn-connect-hoursofoperation-tags): 
    - Tag
  [TimeZone](#cfn-connect-hoursofoperation-timezone): String
```

## Properties
<a name="aws-resource-connect-hoursofoperation-properties"></a>

`ChildHoursOfOperations`  <a name="cfn-connect-hoursofoperation-childhoursofoperations"></a>
Information about child hours of operations.  
*Required*: No  
*Type*: Array of [HoursOfOperationsIdentifier](aws-properties-connect-hoursofoperation-hoursofoperationsidentifier.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Config`  <a name="cfn-connect-hoursofoperation-config"></a>
Configuration information for the hours of operation.  
*Required*: Yes  
*Type*: Array of [HoursOfOperationConfig](aws-properties-connect-hoursofoperation-hoursofoperationconfig.md)  
*Maximum*: `100`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Description`  <a name="cfn-connect-hoursofoperation-description"></a>
The description for 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)

`HoursOfOperationOverrides`  <a name="cfn-connect-hoursofoperation-hoursofoperationoverrides"></a>
Property description not available.  
*Required*: No  
*Type*: Array of [HoursOfOperationOverride](aws-properties-connect-hoursofoperation-hoursofoperationoverride.md)  
*Maximum*: `50`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`InstanceArn`  <a name="cfn-connect-hoursofoperation-instancearn"></a>
The Amazon Resource Name (ARN) of the 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`  <a name="cfn-connect-hoursofoperation-name"></a>
The name for 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)

`ParentHoursOfOperations`  <a name="cfn-connect-hoursofoperation-parenthoursofoperations"></a>
Information about parent hours of operations.  
*Required*: No  
*Type*: Array of [HoursOfOperationsIdentifier](aws-properties-connect-hoursofoperation-hoursofoperationsidentifier.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Tags`  <a name="cfn-connect-hoursofoperation-tags"></a>
The tags used to organize, track, or control access for this resource. For example, \$1 "Tags": \$1"key1":"value1", "key2":"value2"\$1 \$1.  
*Required*: No  
*Type*: Array of [Tag](aws-properties-connect-hoursofoperation-tag.md)  
*Maximum*: `50`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`TimeZone`  <a name="cfn-connect-hoursofoperation-timezone"></a>
The time zone for 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)

## Return values
<a name="aws-resource-connect-hoursofoperation-return-values"></a>

### Ref
<a name="aws-resource-connect-hoursofoperation-return-values-ref"></a>

When you pass the logical ID of this resource to the intrinsic `Ref` function, `Ref` returns the hours of operation. For example:

 `{ "Ref": "myHoursOfOperation" }` 

For more information about using the `Ref` function, see [https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/intrinsic-function-reference-ref.html](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/intrinsic-function-reference-ref.html).

### Fn::GetAtt
<a name="aws-resource-connect-hoursofoperation-return-values-fn--getatt"></a>

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 [https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/intrinsic-function-reference-getatt.html](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/intrinsic-function-reference-getatt.html).

#### 
<a name="aws-resource-connect-hoursofoperation-return-values-fn--getatt-fn--getatt"></a>

`HoursOfOperationArn`  <a name="HoursOfOperationArn-fn::getatt"></a>
The Amazon Resource Name (ARN) of the hours of operation.

## Examples
<a name="aws-resource-connect-hoursofoperation--examples"></a>



### Specify an hours of operation resource
<a name="aws-resource-connect-hoursofoperation--examples--Specify_an_hours_of_operation_resource"></a>

The following example specifies an hours of operation resource for an Amazon Connect instance. In the following example, the hours of operation claimed operates in Sunday 10:01 to 11:59 AM Pacific Standard Time.

#### YAML
<a name="aws-resource-connect-hoursofoperation--examples--Specify_an_hours_of_operation_resource--yaml"></a>

```
AWSTemplateFormatVersion: 2010-09-09
Description: Specifies an hours of operation for an Amazon Connect instance
Resources:
  HoursOfOperation:
    Type: 'AWS::Connect::HoursOfOperation'
    Properties:
      Name: 'ExampleHoursOfOperation'
      Description: 'hours of operation created using cfn'
      InstanceArn: 'arn:aws:connect:region-name:aws-account-id:instance/instance-arn'
      TimeZone: 'Pacific/Midway'
      Config:
        - Day: 'SUNDAY'
          EndTime:
            Hours: 11
            Minutes: 59
          StartTime:
            Hours: 10
            Minutes: 1
      Tags:
        - Key: 'tagKey'
          Value: 'tagValue'
```

# AWS::Connect::HoursOfOperation HoursOfOperationConfig
<a name="aws-properties-connect-hoursofoperation-hoursofoperationconfig"></a>

Contains information about the hours of operation.

## Syntax
<a name="aws-properties-connect-hoursofoperation-hoursofoperationconfig-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-connect-hoursofoperation-hoursofoperationconfig-syntax.json"></a>

```
{
  "[Day](#cfn-connect-hoursofoperation-hoursofoperationconfig-day)" : String,
  "[EndTime](#cfn-connect-hoursofoperation-hoursofoperationconfig-endtime)" : HoursOfOperationTimeSlice,
  "[StartTime](#cfn-connect-hoursofoperation-hoursofoperationconfig-starttime)" : HoursOfOperationTimeSlice
}
```

### YAML
<a name="aws-properties-connect-hoursofoperation-hoursofoperationconfig-syntax.yaml"></a>

```
  [Day](#cfn-connect-hoursofoperation-hoursofoperationconfig-day): String
  [EndTime](#cfn-connect-hoursofoperation-hoursofoperationconfig-endtime): 
    HoursOfOperationTimeSlice
  [StartTime](#cfn-connect-hoursofoperation-hoursofoperationconfig-starttime): 
    HoursOfOperationTimeSlice
```

## Properties
<a name="aws-properties-connect-hoursofoperation-hoursofoperationconfig-properties"></a>

`Day`  <a name="cfn-connect-hoursofoperation-hoursofoperationconfig-day"></a>
The day that the hours of operation applies to.  
*Required*: Yes  
*Type*: String  
*Allowed values*: `SUNDAY | MONDAY | TUESDAY | WEDNESDAY | THURSDAY | FRIDAY | SATURDAY`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`EndTime`  <a name="cfn-connect-hoursofoperation-hoursofoperationconfig-endtime"></a>
The end time that your contact center closes.  
*Required*: Yes  
*Type*: [HoursOfOperationTimeSlice](aws-properties-connect-hoursofoperation-hoursofoperationtimeslice.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`StartTime`  <a name="cfn-connect-hoursofoperation-hoursofoperationconfig-starttime"></a>
The start time that your contact center opens.  
*Required*: Yes  
*Type*: [HoursOfOperationTimeSlice](aws-properties-connect-hoursofoperation-hoursofoperationtimeslice.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Connect::HoursOfOperation HoursOfOperationOverride
<a name="aws-properties-connect-hoursofoperation-hoursofoperationoverride"></a>

Information about the hours of operations override.

## Syntax
<a name="aws-properties-connect-hoursofoperation-hoursofoperationoverride-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-connect-hoursofoperation-hoursofoperationoverride-syntax.json"></a>

```
{
  "[EffectiveFrom](#cfn-connect-hoursofoperation-hoursofoperationoverride-effectivefrom)" : String,
  "[EffectiveTill](#cfn-connect-hoursofoperation-hoursofoperationoverride-effectivetill)" : String,
  "[HoursOfOperationOverrideId](#cfn-connect-hoursofoperation-hoursofoperationoverride-hoursofoperationoverrideid)" : String,
  "[OverrideConfig](#cfn-connect-hoursofoperation-hoursofoperationoverride-overrideconfig)" : [ HoursOfOperationOverrideConfig, ... ],
  "[OverrideDescription](#cfn-connect-hoursofoperation-hoursofoperationoverride-overridedescription)" : String,
  "[OverrideName](#cfn-connect-hoursofoperation-hoursofoperationoverride-overridename)" : String,
  "[OverrideType](#cfn-connect-hoursofoperation-hoursofoperationoverride-overridetype)" : String,
  "[RecurrenceConfig](#cfn-connect-hoursofoperation-hoursofoperationoverride-recurrenceconfig)" : RecurrenceConfig
}
```

### YAML
<a name="aws-properties-connect-hoursofoperation-hoursofoperationoverride-syntax.yaml"></a>

```
  [EffectiveFrom](#cfn-connect-hoursofoperation-hoursofoperationoverride-effectivefrom): String
  [EffectiveTill](#cfn-connect-hoursofoperation-hoursofoperationoverride-effectivetill): String
  [HoursOfOperationOverrideId](#cfn-connect-hoursofoperation-hoursofoperationoverride-hoursofoperationoverrideid): String
  [OverrideConfig](#cfn-connect-hoursofoperation-hoursofoperationoverride-overrideconfig): 
    - HoursOfOperationOverrideConfig
  [OverrideDescription](#cfn-connect-hoursofoperation-hoursofoperationoverride-overridedescription): String
  [OverrideName](#cfn-connect-hoursofoperation-hoursofoperationoverride-overridename): String
  [OverrideType](#cfn-connect-hoursofoperation-hoursofoperationoverride-overridetype): String
  [RecurrenceConfig](#cfn-connect-hoursofoperation-hoursofoperationoverride-recurrenceconfig): 
    RecurrenceConfig
```

## Properties
<a name="aws-properties-connect-hoursofoperation-hoursofoperationoverride-properties"></a>

`EffectiveFrom`  <a name="cfn-connect-hoursofoperation-hoursofoperationoverride-effectivefrom"></a>
The date from which the hours of operation override would be effective.  
*Required*: Yes  
*Type*: String  
*Pattern*: `^\d{4}-\d{2}-\d{2}$`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`EffectiveTill`  <a name="cfn-connect-hoursofoperation-hoursofoperationoverride-effectivetill"></a>
The date until the hours of operation override is effective.  
*Required*: Yes  
*Type*: String  
*Pattern*: `^\d{4}-\d{2}-\d{2}$`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`HoursOfOperationOverrideId`  <a name="cfn-connect-hoursofoperation-hoursofoperationoverride-hoursofoperationoverrideid"></a>
The identifier for the hours of operation override.  
*Required*: No  
*Type*: String  
*Pattern*: `^[-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)

`OverrideConfig`  <a name="cfn-connect-hoursofoperation-hoursofoperationoverride-overrideconfig"></a>
Property description not available.  
*Required*: Yes  
*Type*: Array of [HoursOfOperationOverrideConfig](aws-properties-connect-hoursofoperation-hoursofoperationoverrideconfig.md)  
*Maximum*: `100`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`OverrideDescription`  <a name="cfn-connect-hoursofoperation-hoursofoperationoverride-overridedescription"></a>
Property description not available.  
*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)

`OverrideName`  <a name="cfn-connect-hoursofoperation-hoursofoperationoverride-overridename"></a>
Property description not available.  
*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)

`OverrideType`  <a name="cfn-connect-hoursofoperation-hoursofoperationoverride-overridetype"></a>
Whether the override will be defined as a *standard* or as a *recurring event*.  
*Required*: No  
*Type*: String  
*Allowed values*: `STANDARD | OPEN | CLOSED`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`RecurrenceConfig`  <a name="cfn-connect-hoursofoperation-hoursofoperationoverride-recurrenceconfig"></a>
Configuration for a recurring event.  
*Required*: No  
*Type*: [RecurrenceConfig](aws-properties-connect-hoursofoperation-recurrenceconfig.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Connect::HoursOfOperation HoursOfOperationOverrideConfig
<a name="aws-properties-connect-hoursofoperation-hoursofoperationoverrideconfig"></a>

Information about the hours of operation override config: day, start time, and end time.

## Syntax
<a name="aws-properties-connect-hoursofoperation-hoursofoperationoverrideconfig-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-connect-hoursofoperation-hoursofoperationoverrideconfig-syntax.json"></a>

```
{
  "[Day](#cfn-connect-hoursofoperation-hoursofoperationoverrideconfig-day)" : String,
  "[EndTime](#cfn-connect-hoursofoperation-hoursofoperationoverrideconfig-endtime)" : OverrideTimeSlice,
  "[StartTime](#cfn-connect-hoursofoperation-hoursofoperationoverrideconfig-starttime)" : OverrideTimeSlice
}
```

### YAML
<a name="aws-properties-connect-hoursofoperation-hoursofoperationoverrideconfig-syntax.yaml"></a>

```
  [Day](#cfn-connect-hoursofoperation-hoursofoperationoverrideconfig-day): String
  [EndTime](#cfn-connect-hoursofoperation-hoursofoperationoverrideconfig-endtime): 
    OverrideTimeSlice
  [StartTime](#cfn-connect-hoursofoperation-hoursofoperationoverrideconfig-starttime): 
    OverrideTimeSlice
```

## Properties
<a name="aws-properties-connect-hoursofoperation-hoursofoperationoverrideconfig-properties"></a>

`Day`  <a name="cfn-connect-hoursofoperation-hoursofoperationoverrideconfig-day"></a>
The day that the hours of operation override applies to.  
*Required*: Yes  
*Type*: String  
*Allowed values*: `SUNDAY | MONDAY | TUESDAY | WEDNESDAY | THURSDAY | FRIDAY | SATURDAY`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`EndTime`  <a name="cfn-connect-hoursofoperation-hoursofoperationoverrideconfig-endtime"></a>
The end time that your contact center closes if overrides are applied.  
*Required*: Yes  
*Type*: [OverrideTimeSlice](aws-properties-connect-hoursofoperation-overridetimeslice.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`StartTime`  <a name="cfn-connect-hoursofoperation-hoursofoperationoverrideconfig-starttime"></a>
The start time when your contact center opens if overrides are applied.  
*Required*: Yes  
*Type*: [OverrideTimeSlice](aws-properties-connect-hoursofoperation-overridetimeslice.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Connect::HoursOfOperation HoursOfOperationsIdentifier
<a name="aws-properties-connect-hoursofoperation-hoursofoperationsidentifier"></a>

Identifier for a hours of operations resource: ARN, ID, Name

## Syntax
<a name="aws-properties-connect-hoursofoperation-hoursofoperationsidentifier-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-connect-hoursofoperation-hoursofoperationsidentifier-syntax.json"></a>

```
{
  "[Id](#cfn-connect-hoursofoperation-hoursofoperationsidentifier-id)" : String,
  "[Name](#cfn-connect-hoursofoperation-hoursofoperationsidentifier-name)" : String
}
```

### YAML
<a name="aws-properties-connect-hoursofoperation-hoursofoperationsidentifier-syntax.yaml"></a>

```
  [Id](#cfn-connect-hoursofoperation-hoursofoperationsidentifier-id): String
  [Name](#cfn-connect-hoursofoperation-hoursofoperationsidentifier-name): String
```

## Properties
<a name="aws-properties-connect-hoursofoperation-hoursofoperationsidentifier-properties"></a>

`Id`  <a name="cfn-connect-hoursofoperation-hoursofoperationsidentifier-id"></a>
Unique identifier 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)

`Name`  <a name="cfn-connect-hoursofoperation-hoursofoperationsidentifier-name"></a>
Name of the hours of operation  
*Required*: No  
*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)

# AWS::Connect::HoursOfOperation HoursOfOperationTimeSlice
<a name="aws-properties-connect-hoursofoperation-hoursofoperationtimeslice"></a>

The start time or end time for an hours of operation.

## Syntax
<a name="aws-properties-connect-hoursofoperation-hoursofoperationtimeslice-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-connect-hoursofoperation-hoursofoperationtimeslice-syntax.json"></a>

```
{
  "[Hours](#cfn-connect-hoursofoperation-hoursofoperationtimeslice-hours)" : Integer,
  "[Minutes](#cfn-connect-hoursofoperation-hoursofoperationtimeslice-minutes)" : Integer
}
```

### YAML
<a name="aws-properties-connect-hoursofoperation-hoursofoperationtimeslice-syntax.yaml"></a>

```
  [Hours](#cfn-connect-hoursofoperation-hoursofoperationtimeslice-hours): Integer
  [Minutes](#cfn-connect-hoursofoperation-hoursofoperationtimeslice-minutes): Integer
```

## Properties
<a name="aws-properties-connect-hoursofoperation-hoursofoperationtimeslice-properties"></a>

`Hours`  <a name="cfn-connect-hoursofoperation-hoursofoperationtimeslice-hours"></a>
The hours.  
*Required*: Yes  
*Type*: Integer  
*Minimum*: `0`  
*Maximum*: `23`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Minutes`  <a name="cfn-connect-hoursofoperation-hoursofoperationtimeslice-minutes"></a>
The minutes.  
*Required*: Yes  
*Type*: Integer  
*Minimum*: `0`  
*Maximum*: `59`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Connect::HoursOfOperation OverrideTimeSlice
<a name="aws-properties-connect-hoursofoperation-overridetimeslice"></a>

The start time or end time for an hours of operation override.

## Syntax
<a name="aws-properties-connect-hoursofoperation-overridetimeslice-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-connect-hoursofoperation-overridetimeslice-syntax.json"></a>

```
{
  "[Hours](#cfn-connect-hoursofoperation-overridetimeslice-hours)" : Integer,
  "[Minutes](#cfn-connect-hoursofoperation-overridetimeslice-minutes)" : Integer
}
```

### YAML
<a name="aws-properties-connect-hoursofoperation-overridetimeslice-syntax.yaml"></a>

```
  [Hours](#cfn-connect-hoursofoperation-overridetimeslice-hours): Integer
  [Minutes](#cfn-connect-hoursofoperation-overridetimeslice-minutes): Integer
```

## Properties
<a name="aws-properties-connect-hoursofoperation-overridetimeslice-properties"></a>

`Hours`  <a name="cfn-connect-hoursofoperation-overridetimeslice-hours"></a>
The hours.  
*Required*: Yes  
*Type*: Integer  
*Minimum*: `0`  
*Maximum*: `23`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Minutes`  <a name="cfn-connect-hoursofoperation-overridetimeslice-minutes"></a>
The minutes.  
*Required*: Yes  
*Type*: Integer  
*Minimum*: `0`  
*Maximum*: `59`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Connect::HoursOfOperation RecurrenceConfig
<a name="aws-properties-connect-hoursofoperation-recurrenceconfig"></a>

Defines the recurrence configuration for overrides. This configuration uses a recurrence pattern to specify when and how frequently an event should repeat.

## Syntax
<a name="aws-properties-connect-hoursofoperation-recurrenceconfig-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-connect-hoursofoperation-recurrenceconfig-syntax.json"></a>

```
{
  "[RecurrencePattern](#cfn-connect-hoursofoperation-recurrenceconfig-recurrencepattern)" : RecurrencePattern
}
```

### YAML
<a name="aws-properties-connect-hoursofoperation-recurrenceconfig-syntax.yaml"></a>

```
  [RecurrencePattern](#cfn-connect-hoursofoperation-recurrenceconfig-recurrencepattern): 
    RecurrencePattern
```

## Properties
<a name="aws-properties-connect-hoursofoperation-recurrenceconfig-properties"></a>

`RecurrencePattern`  <a name="cfn-connect-hoursofoperation-recurrenceconfig-recurrencepattern"></a>
The recurrence pattern that defines how the event repeats. Example: Frequency, Interval, ByMonth, ByMonthDay, ByWeekdayOccurrence  
*Required*: Yes  
*Type*: [RecurrencePattern](aws-properties-connect-hoursofoperation-recurrencepattern.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Connect::HoursOfOperation RecurrencePattern
<a name="aws-properties-connect-hoursofoperation-recurrencepattern"></a>

Specifies the detailed pattern for event recurrence. Use this to define complex scheduling rules such as "every 2nd Tuesday of the month" or "every 3 months on the 15th".

## Syntax
<a name="aws-properties-connect-hoursofoperation-recurrencepattern-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-connect-hoursofoperation-recurrencepattern-syntax.json"></a>

```
{
  "[ByMonth](#cfn-connect-hoursofoperation-recurrencepattern-bymonth)" : [ Integer, ... ],
  "[ByMonthDay](#cfn-connect-hoursofoperation-recurrencepattern-bymonthday)" : [ Integer, ... ],
  "[ByWeekdayOccurrence](#cfn-connect-hoursofoperation-recurrencepattern-byweekdayoccurrence)" : [ Integer, ... ],
  "[Frequency](#cfn-connect-hoursofoperation-recurrencepattern-frequency)" : String,
  "[Interval](#cfn-connect-hoursofoperation-recurrencepattern-interval)" : Integer
}
```

### YAML
<a name="aws-properties-connect-hoursofoperation-recurrencepattern-syntax.yaml"></a>

```
  [ByMonth](#cfn-connect-hoursofoperation-recurrencepattern-bymonth): 
    - Integer
  [ByMonthDay](#cfn-connect-hoursofoperation-recurrencepattern-bymonthday): 
    - Integer
  [ByWeekdayOccurrence](#cfn-connect-hoursofoperation-recurrencepattern-byweekdayoccurrence): 
    - Integer
  [Frequency](#cfn-connect-hoursofoperation-recurrencepattern-frequency): String
  [Interval](#cfn-connect-hoursofoperation-recurrencepattern-interval): Integer
```

## Properties
<a name="aws-properties-connect-hoursofoperation-recurrencepattern-properties"></a>

`ByMonth`  <a name="cfn-connect-hoursofoperation-recurrencepattern-bymonth"></a>
Specifies which month the event should occur in (1-12, where 1=January, 12=December). Used with YEARLY frequency to schedule events in specific month.   
Note: It does not accept multiple values in the same list  
*Required*: No  
*Type*: Array of Integer  
*Minimum*: `1`  
*Maximum*: `12`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`ByMonthDay`  <a name="cfn-connect-hoursofoperation-recurrencepattern-bymonthday"></a>
Specifies which day of the month the event should occur on (1-31). Used with MONTHLY or YEARLY frequency to schedule events on specific date within a month.  
 Examples: [15] for events on the 15th of each month, [-1] for events on the last day of month.   
Note: It does not accept multiple values in the same list. If a specified day doesn't exist in a particular month (e.g., day 31 in February), the event will be skipped for that month. This field cannot be used simultaneously with ByWeekdayOccurrence as they represent different scheduling approaches (specific dates vs. relative weekday positions).  
*Required*: No  
*Type*: Array of Integer  
*Minimum*: `-1`  
*Maximum*: `31`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`ByWeekdayOccurrence`  <a name="cfn-connect-hoursofoperation-recurrencepattern-byweekdayoccurrence"></a>
Specifies which occurrence of a weekday within the month the event should occur on. Must be used with MONTHLY or YEARLY frequency.   
Example: 2 corresponds to second occurrence of the weekday in the month. -1 corresponds to last occurrence of the weekday in the month   
The weekday itself is specified separately in the HoursOfOperationConfig. Example: To schedule the recurring event for the 2nd Thursday of April every year, set ByWeekdayOccurrence=[2], Day=THURSDAY, ByMonth=[4], Frequency: YEARLY and INTERVAL=1.  
*Required*: No  
*Type*: Array of Integer  
*Minimum*: `0 | -1`  
*Maximum*: `1 | 4`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Frequency`  <a name="cfn-connect-hoursofoperation-recurrencepattern-frequency"></a>
Defines how often the pattern repeats. This is the base unit for the recurrence schedule and works in conjunction with the Interval field to determine the exact repetition sequence.  
*Required*: No  
*Type*: String  
*Allowed values*: `WEEKLY | MONTHLY | YEARLY`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Interval`  <a name="cfn-connect-hoursofoperation-recurrencepattern-interval"></a>
Specifies the number of frequency units between each occurrence. Must be a positive integer.   
 Examples: To repeat every week, set Interval=1 with WEEKLY frequency. To repeat every two months, set Interval=2 with MONTHLY frequency.  
*Required*: No  
*Type*: Integer  
*Minimum*: `1`  
*Maximum*: `6`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Connect::HoursOfOperation Tag
<a name="aws-properties-connect-hoursofoperation-tag"></a>

A key-value pair to associate with a resource.

## Syntax
<a name="aws-properties-connect-hoursofoperation-tag-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-connect-hoursofoperation-tag-syntax.json"></a>

```
{
  "[Key](#cfn-connect-hoursofoperation-tag-key)" : String,
  "[Value](#cfn-connect-hoursofoperation-tag-value)" : String
}
```

### YAML
<a name="aws-properties-connect-hoursofoperation-tag-syntax.yaml"></a>

```
  [Key](#cfn-connect-hoursofoperation-tag-key): String
  [Value](#cfn-connect-hoursofoperation-tag-value): String
```

## Properties
<a name="aws-properties-connect-hoursofoperation-tag-properties"></a>

`Key`  <a name="cfn-connect-hoursofoperation-tag-key"></a>
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, \$1, ., /, =, \$1, and -  
*Required*: Yes  
*Type*: String  
*Pattern*: `^(?!aws:)[a-zA-Z+-=._:/]+$`  
*Minimum*: `1`  
*Maximum*: `128`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Value`  <a name="cfn-connect-hoursofoperation-tag-value"></a>
The value for the tag. You can specify a value that is 0 to 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, \$1, ., /, =, \$1, and -  
*Required*: Yes  
*Type*: String  
*Maximum*: `256`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)