CfnHoursOfOperationProps

class aws_cdk.aws_connect.CfnHoursOfOperationProps(*, config, instance_arn, name, time_zone, description=None, tags=None)

Bases: object

Properties for defining a CfnHoursOfOperation.

Parameters
  • config (Union[IResolvable, Sequence[Union[HoursOfOperationConfigProperty, Dict[str, Any], IResolvable]]]) – Configuration information for the hours of operation.

  • instance_arn (str) – The Amazon Resource Name (ARN) for the instance.

  • name (str) – The name for the hours of operation.

  • time_zone (str) – The time zone for the hours of operation.

  • description (Optional[str]) – The description for the hours of operation.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – The tags used to organize, track, or control access for this resource.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-hoursofoperation.html

ExampleMetadata

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_connect as connect

cfn_hours_of_operation_props = connect.CfnHoursOfOperationProps(
    config=[connect.CfnHoursOfOperation.HoursOfOperationConfigProperty(
        day="day",
        end_time=connect.CfnHoursOfOperation.HoursOfOperationTimeSliceProperty(
            hours=123,
            minutes=123
        ),
        start_time=connect.CfnHoursOfOperation.HoursOfOperationTimeSliceProperty(
            hours=123,
            minutes=123
        )
    )],
    instance_arn="instanceArn",
    name="name",
    time_zone="timeZone",

    # the properties below are optional
    description="description",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

config

Configuration information for the hours of operation.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-hoursofoperation.html#cfn-connect-hoursofoperation-config

Return type

Union[IResolvable, List[Union[HoursOfOperationConfigProperty, IResolvable]]]

description

The description for the hours of operation.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-hoursofoperation.html#cfn-connect-hoursofoperation-description

Return type

Optional[str]

instance_arn

The Amazon Resource Name (ARN) for the instance.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-hoursofoperation.html#cfn-connect-hoursofoperation-instancearn

Return type

str

name

The name for the hours of operation.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-hoursofoperation.html#cfn-connect-hoursofoperation-name

Return type

str

tags

The tags used to organize, track, or control access for this resource.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-hoursofoperation.html#cfn-connect-hoursofoperation-tags

Return type

Optional[List[CfnTag]]

time_zone

The time zone for the hours of operation.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-hoursofoperation.html#cfn-connect-hoursofoperation-timezone

Return type

str