AWS Native

v0.43.0 published on Thursday, Dec 1, 2022 by Pulumi

HoursOfOperation

Resource Type definition for AWS::Connect::HoursOfOperation

Example Usage

Example

using System.Collections.Generic;
using Pulumi;
using AwsNative = Pulumi.AwsNative;

return await Deployment.RunAsync(() => 
{
    var hoursOfOperation = new AwsNative.Connect.HoursOfOperation("hoursOfOperation", new()
    {
        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 = new[]
        {
            new AwsNative.Connect.Inputs.HoursOfOperationConfigArgs
            {
                Day = AwsNative.Connect.HoursOfOperationConfigDay.Sunday,
                EndTime = new AwsNative.Connect.Inputs.HoursOfOperationTimeSliceArgs
                {
                    Hours = 11,
                    Minutes = 59,
                },
                StartTime = new AwsNative.Connect.Inputs.HoursOfOperationTimeSliceArgs
                {
                    Hours = 10,
                    Minutes = 1,
                },
            },
        },
        Tags = new[]
        {
            new AwsNative.Connect.Inputs.HoursOfOperationTagArgs
            {
                Key = "tagKey",
                Value = "tagValue",
            },
        },
    });

});

Coming soon!

Coming soon!

import pulumi
import pulumi_aws_native as aws_native

hours_of_operation = aws_native.connect.HoursOfOperation("hoursOfOperation",
    name="ExampleHoursOfOperation",
    description="hours of operation created using cfn",
    instance_arn="arn:aws:connect:region-name:aws-account-id:instance/instance-arn",
    time_zone="Pacific/Midway",
    config=[aws_native.connect.HoursOfOperationConfigArgs(
        day=aws_native.connect.HoursOfOperationConfigDay.SUNDAY,
        end_time=aws_native.connect.HoursOfOperationTimeSliceArgs(
            hours=11,
            minutes=59,
        ),
        start_time=aws_native.connect.HoursOfOperationTimeSliceArgs(
            hours=10,
            minutes=1,
        ),
    )],
    tags=[aws_native.connect.HoursOfOperationTagArgs(
        key="tagKey",
        value="tagValue",
    )])
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";

const hoursOfOperation = new aws_native.connect.HoursOfOperation("hoursOfOperation", {
    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: aws_native.connect.HoursOfOperationConfigDay.Sunday,
        endTime: {
            hours: 11,
            minutes: 59,
        },
        startTime: {
            hours: 10,
            minutes: 1,
        },
    }],
    tags: [{
        key: "tagKey",
        value: "tagValue",
    }],
});

Coming soon!

Create HoursOfOperation Resource

new HoursOfOperation(name: string, args: HoursOfOperationArgs, opts?: CustomResourceOptions);
@overload
def HoursOfOperation(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     config: Optional[Sequence[HoursOfOperationConfigArgs]] = None,
                     description: Optional[str] = None,
                     instance_arn: Optional[str] = None,
                     name: Optional[str] = None,
                     tags: Optional[Sequence[HoursOfOperationTagArgs]] = None,
                     time_zone: Optional[str] = None)
@overload
def HoursOfOperation(resource_name: str,
                     args: HoursOfOperationArgs,
                     opts: Optional[ResourceOptions] = 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-native:connect:HoursOfOperation
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args HoursOfOperationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args 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 string
The unique name of the resource.
args HoursOfOperationArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args HoursOfOperationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args HoursOfOperationArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

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

The HoursOfOperation resource accepts the following input properties:

Config List<Pulumi.AwsNative.Connect.Inputs.HoursOfOperationConfigArgs>

Configuration information for the hours of operation: day, start time, and end time.

InstanceArn string

The identifier of the Amazon Connect instance.

TimeZone string

The time zone of the hours of operation.

Description string

The description of the hours of operation.

Name string

The name of the hours of operation.

Tags List<Pulumi.AwsNative.Connect.Inputs.HoursOfOperationTagArgs>

One or more tags.

Config []HoursOfOperationConfigArgs

Configuration information for the hours of operation: day, start time, and end time.

InstanceArn string

The identifier of the Amazon Connect instance.

TimeZone string

The time zone of the hours of operation.

Description string

The description of the hours of operation.

Name string

The name of the hours of operation.

Tags []HoursOfOperationTagArgs

One or more tags.

config List<HoursOfOperationConfigArgs>

Configuration information for the hours of operation: day, start time, and end time.

instanceArn String

The identifier of the Amazon Connect instance.

timeZone String

The time zone of the hours of operation.

description String

The description of the hours of operation.

name String

The name of the hours of operation.

tags List<HoursOfOperationTagArgs>

One or more tags.

config HoursOfOperationConfigArgs[]

Configuration information for the hours of operation: day, start time, and end time.

instanceArn string

The identifier of the Amazon Connect instance.

timeZone string

The time zone of the hours of operation.

description string

The description of the hours of operation.

name string

The name of the hours of operation.

tags HoursOfOperationTagArgs[]

One or more tags.

config Sequence[HoursOfOperationConfigArgs]

Configuration information for the hours of operation: day, start time, and end time.

instance_arn str

The identifier of the Amazon Connect instance.

time_zone str

The time zone of the hours of operation.

description str

The description of the hours of operation.

name str

The name of the hours of operation.

tags Sequence[HoursOfOperationTagArgs]

One or more tags.

config List<Property Map>

Configuration information for the hours of operation: day, start time, and end time.

instanceArn String

The identifier of the Amazon Connect instance.

timeZone String

The time zone of the hours of operation.

description String

The description of the hours of operation.

name String

The name of the hours of operation.

tags List<Property Map>

One or more tags.

Outputs

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

HoursOfOperationArn string

The Amazon Resource Name (ARN) for the hours of operation.

Id string

The provider-assigned unique ID for this managed resource.

HoursOfOperationArn string

The Amazon Resource Name (ARN) for the hours of operation.

Id string

The provider-assigned unique ID for this managed resource.

hoursOfOperationArn String

The Amazon Resource Name (ARN) for the hours of operation.

id String

The provider-assigned unique ID for this managed resource.

hoursOfOperationArn string

The Amazon Resource Name (ARN) for the hours of operation.

id string

The provider-assigned unique ID for this managed resource.

hours_of_operation_arn str

The Amazon Resource Name (ARN) for the hours of operation.

id str

The provider-assigned unique ID for this managed resource.

hoursOfOperationArn String

The Amazon Resource Name (ARN) for the hours of operation.

id String

The provider-assigned unique ID for this managed resource.

Supporting Types

HoursOfOperationConfig

Day Pulumi.AwsNative.Connect.HoursOfOperationConfigDay

The day that the hours of operation applies to.

EndTime Pulumi.AwsNative.Connect.Inputs.HoursOfOperationTimeSlice

The end time that your contact center closes.

StartTime Pulumi.AwsNative.Connect.Inputs.HoursOfOperationTimeSlice

The start time that your contact center opens.

Day HoursOfOperationConfigDay

The day that the hours of operation applies to.

EndTime HoursOfOperationTimeSlice

The end time that your contact center closes.

StartTime HoursOfOperationTimeSlice

The start time that your contact center opens.

day HoursOfOperationConfigDay

The day that the hours of operation applies to.

endTime HoursOfOperationTimeSlice

The end time that your contact center closes.

startTime HoursOfOperationTimeSlice

The start time that your contact center opens.

day HoursOfOperationConfigDay

The day that the hours of operation applies to.

endTime HoursOfOperationTimeSlice

The end time that your contact center closes.

startTime HoursOfOperationTimeSlice

The start time that your contact center opens.

day HoursOfOperationConfigDay

The day that the hours of operation applies to.

end_time HoursOfOperationTimeSlice

The end time that your contact center closes.

start_time HoursOfOperationTimeSlice

The start time that your contact center opens.

day "SUNDAY" | "MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY"

The day that the hours of operation applies to.

endTime Property Map

The end time that your contact center closes.

startTime Property Map

The start time that your contact center opens.

HoursOfOperationConfigDay

Sunday
SUNDAY
Monday
MONDAY
Tuesday
TUESDAY
Wednesday
WEDNESDAY
Thursday
THURSDAY
Friday
FRIDAY
Saturday
SATURDAY
HoursOfOperationConfigDaySunday
SUNDAY
HoursOfOperationConfigDayMonday
MONDAY
HoursOfOperationConfigDayTuesday
TUESDAY
HoursOfOperationConfigDayWednesday
WEDNESDAY
HoursOfOperationConfigDayThursday
THURSDAY
HoursOfOperationConfigDayFriday
FRIDAY
HoursOfOperationConfigDaySaturday
SATURDAY
Sunday
SUNDAY
Monday
MONDAY
Tuesday
TUESDAY
Wednesday
WEDNESDAY
Thursday
THURSDAY
Friday
FRIDAY
Saturday
SATURDAY
Sunday
SUNDAY
Monday
MONDAY
Tuesday
TUESDAY
Wednesday
WEDNESDAY
Thursday
THURSDAY
Friday
FRIDAY
Saturday
SATURDAY
SUNDAY
SUNDAY
MONDAY
MONDAY
TUESDAY
TUESDAY
WEDNESDAY
WEDNESDAY
THURSDAY
THURSDAY
FRIDAY
FRIDAY
SATURDAY
SATURDAY
"SUNDAY"
SUNDAY
"MONDAY"
MONDAY
"TUESDAY"
TUESDAY
"WEDNESDAY"
WEDNESDAY
"THURSDAY"
THURSDAY
"FRIDAY"
FRIDAY
"SATURDAY"
SATURDAY

HoursOfOperationTag

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 -.

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 -.

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 -.

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 -.

key str

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 str

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 -.

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 -.

HoursOfOperationTimeSlice

Hours int

The hours.

Minutes int

The minutes.

Hours int

The hours.

Minutes int

The minutes.

hours Integer

The hours.

minutes Integer

The minutes.

hours number

The hours.

minutes number

The minutes.

hours int

The hours.

minutes int

The minutes.

hours Number

The hours.

minutes Number

The minutes.

Package Details

Repository
https://github.com/pulumi/pulumi-aws-native
License
Apache-2.0