CfnHoursOfOperationPropsMixin

class aws_cdk.mixins_preview.aws_connect.mixins.CfnHoursOfOperationPropsMixin(props, *, strategy=None)

Bases: Mixin

Specifies hours of operation.

See:

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

CloudformationResource:

AWS::Connect::HoursOfOperation

Mixin:

true

ExampleMetadata:

fixture=_generated

Example:

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

cfn_hours_of_operation_props_mixin = connect_mixins.CfnHoursOfOperationPropsMixin(connect_mixins.CfnHoursOfOperationMixinProps(
    config=[connect_mixins.CfnHoursOfOperationPropsMixin.HoursOfOperationConfigProperty(
        day="day",
        end_time=connect_mixins.CfnHoursOfOperationPropsMixin.HoursOfOperationTimeSliceProperty(
            hours=123,
            minutes=123
        ),
        start_time=connect_mixins.CfnHoursOfOperationPropsMixin.HoursOfOperationTimeSliceProperty(
            hours=123,
            minutes=123
        )
    )],
    description="description",
    hours_of_operation_overrides=[connect_mixins.CfnHoursOfOperationPropsMixin.HoursOfOperationOverrideProperty(
        effective_from="effectiveFrom",
        effective_till="effectiveTill",
        hours_of_operation_override_id="hoursOfOperationOverrideId",
        override_config=[connect_mixins.CfnHoursOfOperationPropsMixin.HoursOfOperationOverrideConfigProperty(
            day="day",
            end_time=connect_mixins.CfnHoursOfOperationPropsMixin.OverrideTimeSliceProperty(
                hours=123,
                minutes=123
            ),
            start_time=connect_mixins.CfnHoursOfOperationPropsMixin.OverrideTimeSliceProperty(
                hours=123,
                minutes=123
            )
        )],
        override_description="overrideDescription",
        override_name="overrideName"
    )],
    instance_arn="instanceArn",
    name="name",
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    time_zone="timeZone"
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

Create a mixin to apply properties to AWS::Connect::HoursOfOperation.

Parameters:

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

IConstruct

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['config', 'description', 'hoursOfOperationOverrides', 'instanceArn', 'name', 'tags', 'timeZone']

Static Methods

classmethod is_mixin(x)

(experimental) Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

Stability:

experimental

HoursOfOperationConfigProperty

class CfnHoursOfOperationPropsMixin.HoursOfOperationConfigProperty(*, day=None, end_time=None, start_time=None)

Bases: object

Contains information about the hours of operation.

Parameters:
See:

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

ExampleMetadata:

fixture=_generated

Example:

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

hours_of_operation_config_property = connect_mixins.CfnHoursOfOperationPropsMixin.HoursOfOperationConfigProperty(
    day="day",
    end_time=connect_mixins.CfnHoursOfOperationPropsMixin.HoursOfOperationTimeSliceProperty(
        hours=123,
        minutes=123
    ),
    start_time=connect_mixins.CfnHoursOfOperationPropsMixin.HoursOfOperationTimeSliceProperty(
        hours=123,
        minutes=123
    )
)

Attributes

day

The day that the hours of operation applies to.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-hoursofoperation-hoursofoperationconfig.html#cfn-connect-hoursofoperation-hoursofoperationconfig-day

end_time

The end time that your contact center closes.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-hoursofoperation-hoursofoperationconfig.html#cfn-connect-hoursofoperation-hoursofoperationconfig-endtime

start_time

The start time that your contact center opens.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-hoursofoperation-hoursofoperationconfig.html#cfn-connect-hoursofoperation-hoursofoperationconfig-starttime

HoursOfOperationOverrideConfigProperty

class CfnHoursOfOperationPropsMixin.HoursOfOperationOverrideConfigProperty(*, day=None, end_time=None, start_time=None)

Bases: object

Information about the hours of operation override config: day, start time, and end time.

Parameters:
  • day (Optional[str]) – The day that the hours of operation override applies to.

  • end_time (Union[IResolvable, OverrideTimeSliceProperty, Dict[str, Any], None]) – The end time that your contact center closes if overrides are applied.

  • start_time (Union[IResolvable, OverrideTimeSliceProperty, Dict[str, Any], None]) – The start time when your contact center opens if overrides are applied.

See:

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

ExampleMetadata:

fixture=_generated

Example:

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

hours_of_operation_override_config_property = connect_mixins.CfnHoursOfOperationPropsMixin.HoursOfOperationOverrideConfigProperty(
    day="day",
    end_time=connect_mixins.CfnHoursOfOperationPropsMixin.OverrideTimeSliceProperty(
        hours=123,
        minutes=123
    ),
    start_time=connect_mixins.CfnHoursOfOperationPropsMixin.OverrideTimeSliceProperty(
        hours=123,
        minutes=123
    )
)

Attributes

day

The day that the hours of operation override applies to.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-hoursofoperation-hoursofoperationoverrideconfig.html#cfn-connect-hoursofoperation-hoursofoperationoverrideconfig-day

end_time

The end time that your contact center closes if overrides are applied.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-hoursofoperation-hoursofoperationoverrideconfig.html#cfn-connect-hoursofoperation-hoursofoperationoverrideconfig-endtime

start_time

The start time when your contact center opens if overrides are applied.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-hoursofoperation-hoursofoperationoverrideconfig.html#cfn-connect-hoursofoperation-hoursofoperationoverrideconfig-starttime

HoursOfOperationOverrideProperty

class CfnHoursOfOperationPropsMixin.HoursOfOperationOverrideProperty(*, effective_from=None, effective_till=None, hours_of_operation_override_id=None, override_config=None, override_description=None, override_name=None)

Bases: object

Information about the hours of operations override.

Parameters:
  • effective_from (Optional[str]) – The date from which the hours of operation override would be effective.

  • effective_till (Optional[str]) – The date until the hours of operation override is effective.

  • hours_of_operation_override_id (Optional[str]) – The identifier for the hours of operation override.

  • override_config (Union[IResolvable, Sequence[Union[IResolvable, HoursOfOperationOverrideConfigProperty, Dict[str, Any]]], None]) – Configuration information for the hours of operation override: day, start time, and end time.

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

  • override_name (Optional[str]) – The name of the hours of operation override.

See:

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

ExampleMetadata:

fixture=_generated

Example:

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

hours_of_operation_override_property = connect_mixins.CfnHoursOfOperationPropsMixin.HoursOfOperationOverrideProperty(
    effective_from="effectiveFrom",
    effective_till="effectiveTill",
    hours_of_operation_override_id="hoursOfOperationOverrideId",
    override_config=[connect_mixins.CfnHoursOfOperationPropsMixin.HoursOfOperationOverrideConfigProperty(
        day="day",
        end_time=connect_mixins.CfnHoursOfOperationPropsMixin.OverrideTimeSliceProperty(
            hours=123,
            minutes=123
        ),
        start_time=connect_mixins.CfnHoursOfOperationPropsMixin.OverrideTimeSliceProperty(
            hours=123,
            minutes=123
        )
    )],
    override_description="overrideDescription",
    override_name="overrideName"
)

Attributes

effective_from

The date from which the hours of operation override would be effective.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-hoursofoperation-hoursofoperationoverride.html#cfn-connect-hoursofoperation-hoursofoperationoverride-effectivefrom

effective_till

The date until the hours of operation override is effective.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-hoursofoperation-hoursofoperationoverride.html#cfn-connect-hoursofoperation-hoursofoperationoverride-effectivetill

hours_of_operation_override_id

The identifier for the hours of operation override.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-hoursofoperation-hoursofoperationoverride.html#cfn-connect-hoursofoperation-hoursofoperationoverride-hoursofoperationoverrideid

override_config

day, start time, and end time.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-hoursofoperation-hoursofoperationoverride.html#cfn-connect-hoursofoperation-hoursofoperationoverride-overrideconfig

Type:

Configuration information for the hours of operation override

override_description

The description of the hours of operation override.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-hoursofoperation-hoursofoperationoverride.html#cfn-connect-hoursofoperation-hoursofoperationoverride-overridedescription

override_name

The name of the hours of operation override.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-hoursofoperation-hoursofoperationoverride.html#cfn-connect-hoursofoperation-hoursofoperationoverride-overridename

HoursOfOperationTimeSliceProperty

class CfnHoursOfOperationPropsMixin.HoursOfOperationTimeSliceProperty(*, hours=None, minutes=None)

Bases: object

The start time or end time for an hours of operation.

Parameters:
  • hours (Union[int, float, None]) – The hours.

  • minutes (Union[int, float, None]) – The minutes.

See:

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

ExampleMetadata:

fixture=_generated

Example:

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

hours_of_operation_time_slice_property = connect_mixins.CfnHoursOfOperationPropsMixin.HoursOfOperationTimeSliceProperty(
    hours=123,
    minutes=123
)

Attributes

hours

The hours.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-hoursofoperation-hoursofoperationtimeslice.html#cfn-connect-hoursofoperation-hoursofoperationtimeslice-hours

minutes

The minutes.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-hoursofoperation-hoursofoperationtimeslice.html#cfn-connect-hoursofoperation-hoursofoperationtimeslice-minutes

OverrideTimeSliceProperty

class CfnHoursOfOperationPropsMixin.OverrideTimeSliceProperty(*, hours=None, minutes=None)

Bases: object

The start time or end time for an hours of operation override.

Parameters:
  • hours (Union[int, float, None]) – The hours.

  • minutes (Union[int, float, None]) – The minutes.

See:

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

ExampleMetadata:

fixture=_generated

Example:

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

override_time_slice_property = connect_mixins.CfnHoursOfOperationPropsMixin.OverrideTimeSliceProperty(
    hours=123,
    minutes=123
)

Attributes

hours

The hours.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-hoursofoperation-overridetimeslice.html#cfn-connect-hoursofoperation-overridetimeslice-hours

minutes

The minutes.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-hoursofoperation-overridetimeslice.html#cfn-connect-hoursofoperation-overridetimeslice-minutes