1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. connect
  5. getHoursOfOperation

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

aws-native.connect.getHoursOfOperation

Explore with Pulumi AI

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

Resource Type definition for AWS::Connect::HoursOfOperation

Using getHoursOfOperation

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getHoursOfOperation(args: GetHoursOfOperationArgs, opts?: InvokeOptions): Promise<GetHoursOfOperationResult>
function getHoursOfOperationOutput(args: GetHoursOfOperationOutputArgs, opts?: InvokeOptions): Output<GetHoursOfOperationResult>
Copy
def get_hours_of_operation(hours_of_operation_arn: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetHoursOfOperationResult
def get_hours_of_operation_output(hours_of_operation_arn: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetHoursOfOperationResult]
Copy
func LookupHoursOfOperation(ctx *Context, args *LookupHoursOfOperationArgs, opts ...InvokeOption) (*LookupHoursOfOperationResult, error)
func LookupHoursOfOperationOutput(ctx *Context, args *LookupHoursOfOperationOutputArgs, opts ...InvokeOption) LookupHoursOfOperationResultOutput
Copy

> Note: This function is named LookupHoursOfOperation in the Go SDK.

public static class GetHoursOfOperation 
{
    public static Task<GetHoursOfOperationResult> InvokeAsync(GetHoursOfOperationArgs args, InvokeOptions? opts = null)
    public static Output<GetHoursOfOperationResult> Invoke(GetHoursOfOperationInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetHoursOfOperationResult> getHoursOfOperation(GetHoursOfOperationArgs args, InvokeOptions options)
public static Output<GetHoursOfOperationResult> getHoursOfOperation(GetHoursOfOperationArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: aws-native:connect:getHoursOfOperation
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

HoursOfOperationArn This property is required. string
The Amazon Resource Name (ARN) for the hours of operation.
HoursOfOperationArn This property is required. string
The Amazon Resource Name (ARN) for the hours of operation.
hoursOfOperationArn This property is required. String
The Amazon Resource Name (ARN) for the hours of operation.
hoursOfOperationArn This property is required. string
The Amazon Resource Name (ARN) for the hours of operation.
hours_of_operation_arn This property is required. str
The Amazon Resource Name (ARN) for the hours of operation.
hoursOfOperationArn This property is required. String
The Amazon Resource Name (ARN) for the hours of operation.

getHoursOfOperation Result

The following output properties are available:

Config List<Pulumi.AwsNative.Connect.Outputs.HoursOfOperationConfig>
Configuration information for the hours of operation: day, start time, and end time.
Description string
The description of the hours of operation.
HoursOfOperationArn string
The Amazon Resource Name (ARN) for the hours of operation.
HoursOfOperationOverrides List<Pulumi.AwsNative.Connect.Outputs.HoursOfOperationOverride>
One or more hours of operation overrides assigned to an hour of operation.
InstanceArn string
The identifier of the Amazon Connect instance.
Name string
The name of the hours of operation.
Tags List<Pulumi.AwsNative.Outputs.Tag>
One or more tags.
TimeZone string
The time zone of the hours of operation.
Config []HoursOfOperationConfig
Configuration information for the hours of operation: day, start time, and end time.
Description string
The description of the hours of operation.
HoursOfOperationArn string
The Amazon Resource Name (ARN) for the hours of operation.
HoursOfOperationOverrides []HoursOfOperationOverride
One or more hours of operation overrides assigned to an hour of operation.
InstanceArn string
The identifier of the Amazon Connect instance.
Name string
The name of the hours of operation.
Tags Tag
One or more tags.
TimeZone string
The time zone of the hours of operation.
config List<HoursOfOperationConfig>
Configuration information for the hours of operation: day, start time, and end time.
description String
The description of the hours of operation.
hoursOfOperationArn String
The Amazon Resource Name (ARN) for the hours of operation.
hoursOfOperationOverrides List<HoursOfOperationOverride>
One or more hours of operation overrides assigned to an hour of operation.
instanceArn String
The identifier of the Amazon Connect instance.
name String
The name of the hours of operation.
tags List<Tag>
One or more tags.
timeZone String
The time zone of the hours of operation.
config HoursOfOperationConfig[]
Configuration information for the hours of operation: day, start time, and end time.
description string
The description of the hours of operation.
hoursOfOperationArn string
The Amazon Resource Name (ARN) for the hours of operation.
hoursOfOperationOverrides HoursOfOperationOverride[]
One or more hours of operation overrides assigned to an hour of operation.
instanceArn string
The identifier of the Amazon Connect instance.
name string
The name of the hours of operation.
tags Tag[]
One or more tags.
timeZone string
The time zone of the hours of operation.
config Sequence[HoursOfOperationConfig]
Configuration information for the hours of operation: day, start time, and end time.
description str
The description of the hours of operation.
hours_of_operation_arn str
The Amazon Resource Name (ARN) for the hours of operation.
hours_of_operation_overrides Sequence[HoursOfOperationOverride]
One or more hours of operation overrides assigned to an hour of operation.
instance_arn str
The identifier of the Amazon Connect instance.
name str
The name of the hours of operation.
tags Sequence[root_Tag]
One or more tags.
time_zone str
The time zone of the hours of operation.
config List<Property Map>
Configuration information for the hours of operation: day, start time, and end time.
description String
The description of the hours of operation.
hoursOfOperationArn String
The Amazon Resource Name (ARN) for the hours of operation.
hoursOfOperationOverrides List<Property Map>
One or more hours of operation overrides assigned to an hour of operation.
instanceArn String
The identifier of the Amazon Connect instance.
name String
The name of the hours of operation.
tags List<Property Map>
One or more tags.
timeZone String
The time zone of the hours of operation.

Supporting Types

HoursOfOperationConfig

Day This property is required. Pulumi.AwsNative.Connect.HoursOfOperationConfigDay
The day that the hours of operation applies to.
EndTime This property is required. Pulumi.AwsNative.Connect.Inputs.HoursOfOperationTimeSlice
The end time that your contact center closes.
StartTime This property is required. Pulumi.AwsNative.Connect.Inputs.HoursOfOperationTimeSlice
The start time that your contact center opens.
Day This property is required. HoursOfOperationConfigDay
The day that the hours of operation applies to.
EndTime This property is required. HoursOfOperationTimeSlice
The end time that your contact center closes.
StartTime This property is required. HoursOfOperationTimeSlice
The start time that your contact center opens.
day This property is required. HoursOfOperationConfigDay
The day that the hours of operation applies to.
endTime This property is required. HoursOfOperationTimeSlice
The end time that your contact center closes.
startTime This property is required. HoursOfOperationTimeSlice
The start time that your contact center opens.
day This property is required. HoursOfOperationConfigDay
The day that the hours of operation applies to.
endTime This property is required. HoursOfOperationTimeSlice
The end time that your contact center closes.
startTime This property is required. HoursOfOperationTimeSlice
The start time that your contact center opens.
day This property is required. HoursOfOperationConfigDay
The day that the hours of operation applies to.
end_time This property is required. HoursOfOperationTimeSlice
The end time that your contact center closes.
start_time This property is required. HoursOfOperationTimeSlice
The start time that your contact center opens.
day This property is required. "SUNDAY" | "MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY"
The day that the hours of operation applies to.
endTime This property is required. Property Map
The end time that your contact center closes.
startTime This property is required. Property Map
The start time that your contact center opens.

HoursOfOperationConfigDay

HoursOfOperationOverride

EffectiveFrom This property is required. string
The date from which the hours of operation override would be effective.
EffectiveTill This property is required. string
The date till which the hours of operation override would be effective.
OverrideConfig This property is required. List<Pulumi.AwsNative.Connect.Inputs.HoursOfOperationOverrideConfig>
OverrideName This property is required. string
HoursOfOperationOverrideId string
The identifier for the hours of operation override.
OverrideDescription string
EffectiveFrom This property is required. string
The date from which the hours of operation override would be effective.
EffectiveTill This property is required. string
The date till which the hours of operation override would be effective.
OverrideConfig This property is required. []HoursOfOperationOverrideConfig
OverrideName This property is required. string
HoursOfOperationOverrideId string
The identifier for the hours of operation override.
OverrideDescription string
effectiveFrom This property is required. String
The date from which the hours of operation override would be effective.
effectiveTill This property is required. String
The date till which the hours of operation override would be effective.
overrideConfig This property is required. List<HoursOfOperationOverrideConfig>
overrideName This property is required. String
hoursOfOperationOverrideId String
The identifier for the hours of operation override.
overrideDescription String
effectiveFrom This property is required. string
The date from which the hours of operation override would be effective.
effectiveTill This property is required. string
The date till which the hours of operation override would be effective.
overrideConfig This property is required. HoursOfOperationOverrideConfig[]
overrideName This property is required. string
hoursOfOperationOverrideId string
The identifier for the hours of operation override.
overrideDescription string
effective_from This property is required. str
The date from which the hours of operation override would be effective.
effective_till This property is required. str
The date till which the hours of operation override would be effective.
override_config This property is required. Sequence[HoursOfOperationOverrideConfig]
override_name This property is required. str
hours_of_operation_override_id str
The identifier for the hours of operation override.
override_description str
effectiveFrom This property is required. String
The date from which the hours of operation override would be effective.
effectiveTill This property is required. String
The date till which the hours of operation override would be effective.
overrideConfig This property is required. List<Property Map>
overrideName This property is required. String
hoursOfOperationOverrideId String
The identifier for the hours of operation override.
overrideDescription String

HoursOfOperationOverrideConfig

Day This property is required. Pulumi.AwsNative.Connect.HoursOfOperationOverrideConfigDay
The day that the hours of operation override applies to.
EndTime This property is required. Pulumi.AwsNative.Connect.Inputs.HoursOfOperationOverrideTimeSlice
The new end time that your contact center closes for the overriden days.
StartTime This property is required. Pulumi.AwsNative.Connect.Inputs.HoursOfOperationOverrideTimeSlice
The new start time that your contact center opens for the overriden days.
Day This property is required. HoursOfOperationOverrideConfigDay
The day that the hours of operation override applies to.
EndTime This property is required. HoursOfOperationOverrideTimeSlice
The new end time that your contact center closes for the overriden days.
StartTime This property is required. HoursOfOperationOverrideTimeSlice
The new start time that your contact center opens for the overriden days.
day This property is required. HoursOfOperationOverrideConfigDay
The day that the hours of operation override applies to.
endTime This property is required. HoursOfOperationOverrideTimeSlice
The new end time that your contact center closes for the overriden days.
startTime This property is required. HoursOfOperationOverrideTimeSlice
The new start time that your contact center opens for the overriden days.
day This property is required. HoursOfOperationOverrideConfigDay
The day that the hours of operation override applies to.
endTime This property is required. HoursOfOperationOverrideTimeSlice
The new end time that your contact center closes for the overriden days.
startTime This property is required. HoursOfOperationOverrideTimeSlice
The new start time that your contact center opens for the overriden days.
day This property is required. HoursOfOperationOverrideConfigDay
The day that the hours of operation override applies to.
end_time This property is required. HoursOfOperationOverrideTimeSlice
The new end time that your contact center closes for the overriden days.
start_time This property is required. HoursOfOperationOverrideTimeSlice
The new start time that your contact center opens for the overriden days.
day This property is required. "SUNDAY" | "MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY"
The day that the hours of operation override applies to.
endTime This property is required. Property Map
The new end time that your contact center closes for the overriden days.
startTime This property is required. Property Map
The new start time that your contact center opens for the overriden days.

HoursOfOperationOverrideConfigDay

HoursOfOperationOverrideTimeSlice

Hours This property is required. int
The hours.
Minutes This property is required. int
The minutes.
Hours This property is required. int
The hours.
Minutes This property is required. int
The minutes.
hours This property is required. Integer
The hours.
minutes This property is required. Integer
The minutes.
hours This property is required. number
The hours.
minutes This property is required. number
The minutes.
hours This property is required. int
The hours.
minutes This property is required. int
The minutes.
hours This property is required. Number
The hours.
minutes This property is required. Number
The minutes.

HoursOfOperationTimeSlice

Hours This property is required. int
The hours.
Minutes This property is required. int
The minutes.
Hours This property is required. int
The hours.
Minutes This property is required. int
The minutes.
hours This property is required. Integer
The hours.
minutes This property is required. Integer
The minutes.
hours This property is required. number
The hours.
minutes This property is required. number
The minutes.
hours This property is required. int
The hours.
minutes This property is required. int
The minutes.
hours This property is required. Number
The hours.
minutes This property is required. Number
The minutes.

Tag

Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the tag
key This property is required. string
The key name of the tag
value This property is required. string
The value of the tag
key This property is required. str
The key name of the tag
value This property is required. str
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the tag

Package Details

Repository
AWS Native pulumi/pulumi-aws-native
License
Apache-2.0

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi