1. Packages
  2. AWS
  3. API Docs
  4. connect
  5. HoursOfOperation
AWS v6.73.0 published on Wednesday, Mar 19, 2025 by Pulumi

aws.connect.HoursOfOperation

Explore with Pulumi AI

Provides an Amazon Connect Hours of Operation resource. For more information see Amazon Connect: Getting Started

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const test = new aws.connect.HoursOfOperation("test", {
    instanceId: "aaaaaaaa-bbbb-cccc-dddd-111111111111",
    name: "Office Hours",
    description: "Monday office hours",
    timeZone: "EST",
    configs: [
        {
            day: "MONDAY",
            endTime: {
                hours: 23,
                minutes: 8,
            },
            startTime: {
                hours: 8,
                minutes: 0,
            },
        },
        {
            day: "TUESDAY",
            endTime: {
                hours: 21,
                minutes: 0,
            },
            startTime: {
                hours: 9,
                minutes: 0,
            },
        },
    ],
    tags: {
        Name: "Example Hours of Operation",
    },
});
Copy
import pulumi
import pulumi_aws as aws

test = aws.connect.HoursOfOperation("test",
    instance_id="aaaaaaaa-bbbb-cccc-dddd-111111111111",
    name="Office Hours",
    description="Monday office hours",
    time_zone="EST",
    configs=[
        {
            "day": "MONDAY",
            "end_time": {
                "hours": 23,
                "minutes": 8,
            },
            "start_time": {
                "hours": 8,
                "minutes": 0,
            },
        },
        {
            "day": "TUESDAY",
            "end_time": {
                "hours": 21,
                "minutes": 0,
            },
            "start_time": {
                "hours": 9,
                "minutes": 0,
            },
        },
    ],
    tags={
        "Name": "Example Hours of Operation",
    })
Copy
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/connect"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := connect.NewHoursOfOperation(ctx, "test", &connect.HoursOfOperationArgs{
			InstanceId:  pulumi.String("aaaaaaaa-bbbb-cccc-dddd-111111111111"),
			Name:        pulumi.String("Office Hours"),
			Description: pulumi.String("Monday office hours"),
			TimeZone:    pulumi.String("EST"),
			Configs: connect.HoursOfOperationConfigArray{
				&connect.HoursOfOperationConfigArgs{
					Day: pulumi.String("MONDAY"),
					EndTime: &connect.HoursOfOperationConfigEndTimeArgs{
						Hours:   pulumi.Int(23),
						Minutes: pulumi.Int(8),
					},
					StartTime: &connect.HoursOfOperationConfigStartTimeArgs{
						Hours:   pulumi.Int(8),
						Minutes: pulumi.Int(0),
					},
				},
				&connect.HoursOfOperationConfigArgs{
					Day: pulumi.String("TUESDAY"),
					EndTime: &connect.HoursOfOperationConfigEndTimeArgs{
						Hours:   pulumi.Int(21),
						Minutes: pulumi.Int(0),
					},
					StartTime: &connect.HoursOfOperationConfigStartTimeArgs{
						Hours:   pulumi.Int(9),
						Minutes: pulumi.Int(0),
					},
				},
			},
			Tags: pulumi.StringMap{
				"Name": pulumi.String("Example Hours of Operation"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;

return await Deployment.RunAsync(() => 
{
    var test = new Aws.Connect.HoursOfOperation("test", new()
    {
        InstanceId = "aaaaaaaa-bbbb-cccc-dddd-111111111111",
        Name = "Office Hours",
        Description = "Monday office hours",
        TimeZone = "EST",
        Configs = new[]
        {
            new Aws.Connect.Inputs.HoursOfOperationConfigArgs
            {
                Day = "MONDAY",
                EndTime = new Aws.Connect.Inputs.HoursOfOperationConfigEndTimeArgs
                {
                    Hours = 23,
                    Minutes = 8,
                },
                StartTime = new Aws.Connect.Inputs.HoursOfOperationConfigStartTimeArgs
                {
                    Hours = 8,
                    Minutes = 0,
                },
            },
            new Aws.Connect.Inputs.HoursOfOperationConfigArgs
            {
                Day = "TUESDAY",
                EndTime = new Aws.Connect.Inputs.HoursOfOperationConfigEndTimeArgs
                {
                    Hours = 21,
                    Minutes = 0,
                },
                StartTime = new Aws.Connect.Inputs.HoursOfOperationConfigStartTimeArgs
                {
                    Hours = 9,
                    Minutes = 0,
                },
            },
        },
        Tags = 
        {
            { "Name", "Example Hours of Operation" },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.connect.HoursOfOperation;
import com.pulumi.aws.connect.HoursOfOperationArgs;
import com.pulumi.aws.connect.inputs.HoursOfOperationConfigArgs;
import com.pulumi.aws.connect.inputs.HoursOfOperationConfigEndTimeArgs;
import com.pulumi.aws.connect.inputs.HoursOfOperationConfigStartTimeArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var test = new HoursOfOperation("test", HoursOfOperationArgs.builder()
            .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
            .name("Office Hours")
            .description("Monday office hours")
            .timeZone("EST")
            .configs(            
                HoursOfOperationConfigArgs.builder()
                    .day("MONDAY")
                    .endTime(HoursOfOperationConfigEndTimeArgs.builder()
                        .hours(23)
                        .minutes(8)
                        .build())
                    .startTime(HoursOfOperationConfigStartTimeArgs.builder()
                        .hours(8)
                        .minutes(0)
                        .build())
                    .build(),
                HoursOfOperationConfigArgs.builder()
                    .day("TUESDAY")
                    .endTime(HoursOfOperationConfigEndTimeArgs.builder()
                        .hours(21)
                        .minutes(0)
                        .build())
                    .startTime(HoursOfOperationConfigStartTimeArgs.builder()
                        .hours(9)
                        .minutes(0)
                        .build())
                    .build())
            .tags(Map.of("Name", "Example Hours of Operation"))
            .build());

    }
}
Copy
resources:
  test:
    type: aws:connect:HoursOfOperation
    properties:
      instanceId: aaaaaaaa-bbbb-cccc-dddd-111111111111
      name: Office Hours
      description: Monday office hours
      timeZone: EST
      configs:
        - day: MONDAY
          endTime:
            hours: 23
            minutes: 8
          startTime:
            hours: 8
            minutes: 0
        - day: TUESDAY
          endTime:
            hours: 21
            minutes: 0
          startTime:
            hours: 9
            minutes: 0
      tags:
        Name: Example Hours of Operation
Copy

Create HoursOfOperation Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new HoursOfOperation(name: string, args: HoursOfOperationArgs, opts?: CustomResourceOptions);
@overload
def HoursOfOperation(resource_name: str,
                     args: HoursOfOperationArgs,
                     opts: Optional[ResourceOptions] = None)

@overload
def HoursOfOperation(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     configs: Optional[Sequence[HoursOfOperationConfigArgs]] = None,
                     instance_id: Optional[str] = None,
                     time_zone: Optional[str] = None,
                     description: Optional[str] = None,
                     name: Optional[str] = None,
                     tags: Optional[Mapping[str, str]] = None)
func NewHoursOfOperation(ctx *Context, name string, args HoursOfOperationArgs, opts ...ResourceOption) (*HoursOfOperation, error)
public HoursOfOperation(string name, HoursOfOperationArgs args, CustomResourceOptions? opts = null)
public HoursOfOperation(String name, HoursOfOperationArgs args)
public HoursOfOperation(String name, HoursOfOperationArgs args, CustomResourceOptions options)
type: aws:connect:HoursOfOperation
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. HoursOfOperationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. HoursOfOperationArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. HoursOfOperationArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. HoursOfOperationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. HoursOfOperationArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var hoursOfOperationResource = new Aws.Connect.HoursOfOperation("hoursOfOperationResource", new()
{
    Configs = new[]
    {
        new Aws.Connect.Inputs.HoursOfOperationConfigArgs
        {
            Day = "string",
            EndTime = new Aws.Connect.Inputs.HoursOfOperationConfigEndTimeArgs
            {
                Hours = 0,
                Minutes = 0,
            },
            StartTime = new Aws.Connect.Inputs.HoursOfOperationConfigStartTimeArgs
            {
                Hours = 0,
                Minutes = 0,
            },
        },
    },
    InstanceId = "string",
    TimeZone = "string",
    Description = "string",
    Name = "string",
    Tags = 
    {
        { "string", "string" },
    },
});
Copy
example, err := connect.NewHoursOfOperation(ctx, "hoursOfOperationResource", &connect.HoursOfOperationArgs{
	Configs: connect.HoursOfOperationConfigArray{
		&connect.HoursOfOperationConfigArgs{
			Day: pulumi.String("string"),
			EndTime: &connect.HoursOfOperationConfigEndTimeArgs{
				Hours:   pulumi.Int(0),
				Minutes: pulumi.Int(0),
			},
			StartTime: &connect.HoursOfOperationConfigStartTimeArgs{
				Hours:   pulumi.Int(0),
				Minutes: pulumi.Int(0),
			},
		},
	},
	InstanceId:  pulumi.String("string"),
	TimeZone:    pulumi.String("string"),
	Description: pulumi.String("string"),
	Name:        pulumi.String("string"),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
Copy
var hoursOfOperationResource = new HoursOfOperation("hoursOfOperationResource", HoursOfOperationArgs.builder()
    .configs(HoursOfOperationConfigArgs.builder()
        .day("string")
        .endTime(HoursOfOperationConfigEndTimeArgs.builder()
            .hours(0)
            .minutes(0)
            .build())
        .startTime(HoursOfOperationConfigStartTimeArgs.builder()
            .hours(0)
            .minutes(0)
            .build())
        .build())
    .instanceId("string")
    .timeZone("string")
    .description("string")
    .name("string")
    .tags(Map.of("string", "string"))
    .build());
Copy
hours_of_operation_resource = aws.connect.HoursOfOperation("hoursOfOperationResource",
    configs=[{
        "day": "string",
        "end_time": {
            "hours": 0,
            "minutes": 0,
        },
        "start_time": {
            "hours": 0,
            "minutes": 0,
        },
    }],
    instance_id="string",
    time_zone="string",
    description="string",
    name="string",
    tags={
        "string": "string",
    })
Copy
const hoursOfOperationResource = new aws.connect.HoursOfOperation("hoursOfOperationResource", {
    configs: [{
        day: "string",
        endTime: {
            hours: 0,
            minutes: 0,
        },
        startTime: {
            hours: 0,
            minutes: 0,
        },
    }],
    instanceId: "string",
    timeZone: "string",
    description: "string",
    name: "string",
    tags: {
        string: "string",
    },
});
Copy
type: aws:connect:HoursOfOperation
properties:
    configs:
        - day: string
          endTime:
            hours: 0
            minutes: 0
          startTime:
            hours: 0
            minutes: 0
    description: string
    instanceId: string
    name: string
    tags:
        string: string
    timeZone: string
Copy

HoursOfOperation Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The HoursOfOperation resource accepts the following input properties:

Configs This property is required. List<HoursOfOperationConfig>
One or more config blocks which define the configuration information for the hours of operation: day, start time, and end time . Config blocks are documented below.
InstanceId This property is required. string
Specifies the identifier of the hosting Amazon Connect Instance.
TimeZone This property is required. string
Specifies the time zone of the Hours of Operation.
Description string
Specifies the description of the Hours of Operation.
Name string
Specifies the name of the Hours of Operation.
Tags Dictionary<string, string>
Tags to apply to the Hours of Operation. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Configs This property is required. []HoursOfOperationConfigArgs
One or more config blocks which define the configuration information for the hours of operation: day, start time, and end time . Config blocks are documented below.
InstanceId This property is required. string
Specifies the identifier of the hosting Amazon Connect Instance.
TimeZone This property is required. string
Specifies the time zone of the Hours of Operation.
Description string
Specifies the description of the Hours of Operation.
Name string
Specifies the name of the Hours of Operation.
Tags map[string]string
Tags to apply to the Hours of Operation. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
configs This property is required. List<HoursOfOperationConfig>
One or more config blocks which define the configuration information for the hours of operation: day, start time, and end time . Config blocks are documented below.
instanceId This property is required. String
Specifies the identifier of the hosting Amazon Connect Instance.
timeZone This property is required. String
Specifies the time zone of the Hours of Operation.
description String
Specifies the description of the Hours of Operation.
name String
Specifies the name of the Hours of Operation.
tags Map<String,String>
Tags to apply to the Hours of Operation. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
configs This property is required. HoursOfOperationConfig[]
One or more config blocks which define the configuration information for the hours of operation: day, start time, and end time . Config blocks are documented below.
instanceId This property is required. string
Specifies the identifier of the hosting Amazon Connect Instance.
timeZone This property is required. string
Specifies the time zone of the Hours of Operation.
description string
Specifies the description of the Hours of Operation.
name string
Specifies the name of the Hours of Operation.
tags {[key: string]: string}
Tags to apply to the Hours of Operation. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
configs This property is required. Sequence[HoursOfOperationConfigArgs]
One or more config blocks which define the configuration information for the hours of operation: day, start time, and end time . Config blocks are documented below.
instance_id This property is required. str
Specifies the identifier of the hosting Amazon Connect Instance.
time_zone This property is required. str
Specifies the time zone of the Hours of Operation.
description str
Specifies the description of the Hours of Operation.
name str
Specifies the name of the Hours of Operation.
tags Mapping[str, str]
Tags to apply to the Hours of Operation. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
configs This property is required. List<Property Map>
One or more config blocks which define the configuration information for the hours of operation: day, start time, and end time . Config blocks are documented below.
instanceId This property is required. String
Specifies the identifier of the hosting Amazon Connect Instance.
timeZone This property is required. String
Specifies the time zone of the Hours of Operation.
description String
Specifies the description of the Hours of Operation.
name String
Specifies the name of the Hours of Operation.
tags Map<String>
Tags to apply to the Hours of Operation. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Outputs

All input properties are implicitly available as output properties. Additionally, the HoursOfOperation resource produces the following output properties:

Arn string
The Amazon Resource Name (ARN) of the Hours of Operation.
HoursOfOperationId string
The identifier for the hours of operation.
Id string
The provider-assigned unique ID for this managed resource.
TagsAll Dictionary<string, string>
A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

Arn string
The Amazon Resource Name (ARN) of the Hours of Operation.
HoursOfOperationId string
The identifier for the hours of operation.
Id string
The provider-assigned unique ID for this managed resource.
TagsAll map[string]string
A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

arn String
The Amazon Resource Name (ARN) of the Hours of Operation.
hoursOfOperationId String
The identifier for the hours of operation.
id String
The provider-assigned unique ID for this managed resource.
tagsAll Map<String,String>
A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

arn string
The Amazon Resource Name (ARN) of the Hours of Operation.
hoursOfOperationId string
The identifier for the hours of operation.
id string
The provider-assigned unique ID for this managed resource.
tagsAll {[key: string]: string}
A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

arn str
The Amazon Resource Name (ARN) of the Hours of Operation.
hours_of_operation_id str
The identifier for the hours of operation.
id str
The provider-assigned unique ID for this managed resource.
tags_all Mapping[str, str]
A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

arn String
The Amazon Resource Name (ARN) of the Hours of Operation.
hoursOfOperationId String
The identifier for the hours of operation.
id String
The provider-assigned unique ID for this managed resource.
tagsAll Map<String>
A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

Look up Existing HoursOfOperation Resource

Get an existing HoursOfOperation resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: HoursOfOperationState, opts?: CustomResourceOptions): HoursOfOperation
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        arn: Optional[str] = None,
        configs: Optional[Sequence[HoursOfOperationConfigArgs]] = None,
        description: Optional[str] = None,
        hours_of_operation_id: Optional[str] = None,
        instance_id: Optional[str] = None,
        name: Optional[str] = None,
        tags: Optional[Mapping[str, str]] = None,
        tags_all: Optional[Mapping[str, str]] = None,
        time_zone: Optional[str] = None) -> HoursOfOperation
func GetHoursOfOperation(ctx *Context, name string, id IDInput, state *HoursOfOperationState, opts ...ResourceOption) (*HoursOfOperation, error)
public static HoursOfOperation Get(string name, Input<string> id, HoursOfOperationState? state, CustomResourceOptions? opts = null)
public static HoursOfOperation get(String name, Output<String> id, HoursOfOperationState state, CustomResourceOptions options)
resources:  _:    type: aws:connect:HoursOfOperation    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Arn string
The Amazon Resource Name (ARN) of the Hours of Operation.
Configs List<HoursOfOperationConfig>
One or more config blocks which define the configuration information for the hours of operation: day, start time, and end time . Config blocks are documented below.
Description string
Specifies the description of the Hours of Operation.
HoursOfOperationId string
The identifier for the hours of operation.
InstanceId string
Specifies the identifier of the hosting Amazon Connect Instance.
Name string
Specifies the name of the Hours of Operation.
Tags Dictionary<string, string>
Tags to apply to the Hours of Operation. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
TagsAll Dictionary<string, string>
A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

TimeZone string
Specifies the time zone of the Hours of Operation.
Arn string
The Amazon Resource Name (ARN) of the Hours of Operation.
Configs []HoursOfOperationConfigArgs
One or more config blocks which define the configuration information for the hours of operation: day, start time, and end time . Config blocks are documented below.
Description string
Specifies the description of the Hours of Operation.
HoursOfOperationId string
The identifier for the hours of operation.
InstanceId string
Specifies the identifier of the hosting Amazon Connect Instance.
Name string
Specifies the name of the Hours of Operation.
Tags map[string]string
Tags to apply to the Hours of Operation. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
TagsAll map[string]string
A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

TimeZone string
Specifies the time zone of the Hours of Operation.
arn String
The Amazon Resource Name (ARN) of the Hours of Operation.
configs List<HoursOfOperationConfig>
One or more config blocks which define the configuration information for the hours of operation: day, start time, and end time . Config blocks are documented below.
description String
Specifies the description of the Hours of Operation.
hoursOfOperationId String
The identifier for the hours of operation.
instanceId String
Specifies the identifier of the hosting Amazon Connect Instance.
name String
Specifies the name of the Hours of Operation.
tags Map<String,String>
Tags to apply to the Hours of Operation. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
tagsAll Map<String,String>
A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

timeZone String
Specifies the time zone of the Hours of Operation.
arn string
The Amazon Resource Name (ARN) of the Hours of Operation.
configs HoursOfOperationConfig[]
One or more config blocks which define the configuration information for the hours of operation: day, start time, and end time . Config blocks are documented below.
description string
Specifies the description of the Hours of Operation.
hoursOfOperationId string
The identifier for the hours of operation.
instanceId string
Specifies the identifier of the hosting Amazon Connect Instance.
name string
Specifies the name of the Hours of Operation.
tags {[key: string]: string}
Tags to apply to the Hours of Operation. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
tagsAll {[key: string]: string}
A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

timeZone string
Specifies the time zone of the Hours of Operation.
arn str
The Amazon Resource Name (ARN) of the Hours of Operation.
configs Sequence[HoursOfOperationConfigArgs]
One or more config blocks which define the configuration information for the hours of operation: day, start time, and end time . Config blocks are documented below.
description str
Specifies the description of the Hours of Operation.
hours_of_operation_id str
The identifier for the hours of operation.
instance_id str
Specifies the identifier of the hosting Amazon Connect Instance.
name str
Specifies the name of the Hours of Operation.
tags Mapping[str, str]
Tags to apply to the Hours of Operation. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
tags_all Mapping[str, str]
A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

time_zone str
Specifies the time zone of the Hours of Operation.
arn String
The Amazon Resource Name (ARN) of the Hours of Operation.
configs List<Property Map>
One or more config blocks which define the configuration information for the hours of operation: day, start time, and end time . Config blocks are documented below.
description String
Specifies the description of the Hours of Operation.
hoursOfOperationId String
The identifier for the hours of operation.
instanceId String
Specifies the identifier of the hosting Amazon Connect Instance.
name String
Specifies the name of the Hours of Operation.
tags Map<String>
Tags to apply to the Hours of Operation. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
tagsAll Map<String>
A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

timeZone String
Specifies the time zone of the Hours of Operation.

Supporting Types

HoursOfOperationConfig
, HoursOfOperationConfigArgs

Day This property is required. string
Specifies the day that the hours of operation applies to.
EndTime This property is required. HoursOfOperationConfigEndTime
A end time block specifies the time that your contact center closes. The end_time is documented below.
StartTime This property is required. HoursOfOperationConfigStartTime
A start time block specifies the time that your contact center opens. The start_time is documented below.
Day This property is required. string
Specifies the day that the hours of operation applies to.
EndTime This property is required. HoursOfOperationConfigEndTime
A end time block specifies the time that your contact center closes. The end_time is documented below.
StartTime This property is required. HoursOfOperationConfigStartTime
A start time block specifies the time that your contact center opens. The start_time is documented below.
day This property is required. String
Specifies the day that the hours of operation applies to.
endTime This property is required. HoursOfOperationConfigEndTime
A end time block specifies the time that your contact center closes. The end_time is documented below.
startTime This property is required. HoursOfOperationConfigStartTime
A start time block specifies the time that your contact center opens. The start_time is documented below.
day This property is required. string
Specifies the day that the hours of operation applies to.
endTime This property is required. HoursOfOperationConfigEndTime
A end time block specifies the time that your contact center closes. The end_time is documented below.
startTime This property is required. HoursOfOperationConfigStartTime
A start time block specifies the time that your contact center opens. The start_time is documented below.
day This property is required. str
Specifies the day that the hours of operation applies to.
end_time This property is required. HoursOfOperationConfigEndTime
A end time block specifies the time that your contact center closes. The end_time is documented below.
start_time This property is required. HoursOfOperationConfigStartTime
A start time block specifies the time that your contact center opens. The start_time is documented below.
day This property is required. String
Specifies the day that the hours of operation applies to.
endTime This property is required. Property Map
A end time block specifies the time that your contact center closes. The end_time is documented below.
startTime This property is required. Property Map
A start time block specifies the time that your contact center opens. The start_time is documented below.

HoursOfOperationConfigEndTime
, HoursOfOperationConfigEndTimeArgs

Hours This property is required. int
Specifies the hour of closing.
Minutes This property is required. int
Specifies the minute of closing.
Hours This property is required. int
Specifies the hour of closing.
Minutes This property is required. int
Specifies the minute of closing.
hours This property is required. Integer
Specifies the hour of closing.
minutes This property is required. Integer
Specifies the minute of closing.
hours This property is required. number
Specifies the hour of closing.
minutes This property is required. number
Specifies the minute of closing.
hours This property is required. int
Specifies the hour of closing.
minutes This property is required. int
Specifies the minute of closing.
hours This property is required. Number
Specifies the hour of closing.
minutes This property is required. Number
Specifies the minute of closing.

HoursOfOperationConfigStartTime
, HoursOfOperationConfigStartTimeArgs

Hours This property is required. int
Specifies the hour of opening.
Minutes This property is required. int
Specifies the minute of opening.
Hours This property is required. int
Specifies the hour of opening.
Minutes This property is required. int
Specifies the minute of opening.
hours This property is required. Integer
Specifies the hour of opening.
minutes This property is required. Integer
Specifies the minute of opening.
hours This property is required. number
Specifies the hour of opening.
minutes This property is required. number
Specifies the minute of opening.
hours This property is required. int
Specifies the hour of opening.
minutes This property is required. int
Specifies the minute of opening.
hours This property is required. Number
Specifies the hour of opening.
minutes This property is required. Number
Specifies the minute of opening.

Import

Using pulumi import, import Amazon Connect Hours of Operations using the instance_id and hours_of_operation_id separated by a colon (:). For example:

$ pulumi import aws:connect/hoursOfOperation:HoursOfOperation example f1288a1f-6193-445a-b47e-af739b2:c1d4e5f6-1b3c-1b3c-1b3c-c1d4e5f6c1d4e5
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
AWS Classic pulumi/pulumi-aws
License
Apache-2.0
Notes
This Pulumi package is based on the aws Terraform Provider.