1. Packages
  2. AWS
  3. API Docs
  4. connect
  5. HoursOfOperation
AWS v6.60.0 published on Tuesday, Nov 19, 2024 by Pulumi

aws.connect.HoursOfOperation

Explore with Pulumi AI

aws logo
AWS v6.60.0 published on Tuesday, Nov 19, 2024 by Pulumi

    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",
        },
    });
    
    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",
        })
    
    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
    	})
    }
    
    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" },
            },
        });
    
    });
    
    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());
    
        }
    }
    
    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
    

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

    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" },
        },
    });
    
    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"),
    	},
    })
    
    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());
    
    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",
        })
    
    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",
        },
    });
    
    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
    

    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 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 string
    Specifies the identifier of the hosting Amazon Connect Instance.
    TimeZone 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 []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 string
    Specifies the identifier of the hosting Amazon Connect Instance.
    TimeZone 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 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 String
    Specifies the identifier of the hosting Amazon Connect Instance.
    timeZone 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 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 string
    Specifies the identifier of the hosting Amazon Connect Instance.
    timeZone 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 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 str
    Specifies the identifier of the hosting Amazon Connect Instance.
    time_zone 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 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 String
    Specifies the identifier of the hosting Amazon Connect Instance.
    timeZone 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)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    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 string
    Specifies the day that the hours of operation applies to.
    EndTime HoursOfOperationConfigEndTime
    A end time block specifies the time that your contact center closes. The end_time is documented below.
    StartTime HoursOfOperationConfigStartTime
    A start time block specifies the time that your contact center opens. The start_time is documented below.
    Day string
    Specifies the day that the hours of operation applies to.
    EndTime HoursOfOperationConfigEndTime
    A end time block specifies the time that your contact center closes. The end_time is documented below.
    StartTime HoursOfOperationConfigStartTime
    A start time block specifies the time that your contact center opens. The start_time is documented below.
    day String
    Specifies the day that the hours of operation applies to.
    endTime HoursOfOperationConfigEndTime
    A end time block specifies the time that your contact center closes. The end_time is documented below.
    startTime HoursOfOperationConfigStartTime
    A start time block specifies the time that your contact center opens. The start_time is documented below.
    day string
    Specifies the day that the hours of operation applies to.
    endTime HoursOfOperationConfigEndTime
    A end time block specifies the time that your contact center closes. The end_time is documented below.
    startTime HoursOfOperationConfigStartTime
    A start time block specifies the time that your contact center opens. The start_time is documented below.
    day str
    Specifies the day that the hours of operation applies to.
    end_time HoursOfOperationConfigEndTime
    A end time block specifies the time that your contact center closes. The end_time is documented below.
    start_time HoursOfOperationConfigStartTime
    A start time block specifies the time that your contact center opens. The start_time is documented below.
    day String
    Specifies the day that the hours of operation applies to.
    endTime Property Map
    A end time block specifies the time that your contact center closes. The end_time is documented below.
    startTime Property Map
    A start time block specifies the time that your contact center opens. The start_time is documented below.

    HoursOfOperationConfigEndTime, HoursOfOperationConfigEndTimeArgs

    Hours int
    Specifies the hour of closing.
    Minutes int
    Specifies the minute of closing.
    Hours int
    Specifies the hour of closing.
    Minutes int
    Specifies the minute of closing.
    hours Integer
    Specifies the hour of closing.
    minutes Integer
    Specifies the minute of closing.
    hours number
    Specifies the hour of closing.
    minutes number
    Specifies the minute of closing.
    hours int
    Specifies the hour of closing.
    minutes int
    Specifies the minute of closing.
    hours Number
    Specifies the hour of closing.
    minutes Number
    Specifies the minute of closing.

    HoursOfOperationConfigStartTime, HoursOfOperationConfigStartTimeArgs

    Hours int
    Specifies the hour of opening.
    Minutes int
    Specifies the minute of opening.
    Hours int
    Specifies the hour of opening.
    Minutes int
    Specifies the minute of opening.
    hours Integer
    Specifies the hour of opening.
    minutes Integer
    Specifies the minute of opening.
    hours number
    Specifies the hour of opening.
    minutes number
    Specifies the minute of opening.
    hours int
    Specifies the hour of opening.
    minutes int
    Specifies the minute of opening.
    hours Number
    Specifies the hour of opening.
    minutes 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
    

    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.
    aws logo
    AWS v6.60.0 published on Tuesday, Nov 19, 2024 by Pulumi