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:

from aws_cdk import CfnTag
# 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(
    child_hours_of_operations=[connect_mixins.CfnHoursOfOperationPropsMixin.HoursOfOperationsIdentifierProperty(
        id="id",
        name="name"
    )],
    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",
        override_type="overrideType",
        recurrence_config=connect_mixins.CfnHoursOfOperationPropsMixin.RecurrenceConfigProperty(
            recurrence_pattern=connect_mixins.CfnHoursOfOperationPropsMixin.RecurrencePatternProperty(
                by_month=[123],
                by_month_day=[123],
                by_weekday_occurrence=[123],
                frequency="frequency",
                interval=123
            )
        )
    )],
    instance_arn="instanceArn",
    name="name",
    parent_hours_of_operations=[connect_mixins.CfnHoursOfOperationPropsMixin.HoursOfOperationsIdentifierProperty(
        id="id",
        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 = ['childHoursOfOperations', 'config', 'description', 'hoursOfOperationOverrides', 'instanceArn', 'name', 'parentHoursOfOperations', '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, override_type=None, recurrence_config=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.

  • override_type (Optional[str]) – The type of hours of operation override.

  • recurrence_config (Union[IResolvable, RecurrenceConfigProperty, Dict[str, Any], None]) – Configuration for recurring hours of operation overrides.

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",
    override_type="overrideType",
    recurrence_config=connect_mixins.CfnHoursOfOperationPropsMixin.RecurrenceConfigProperty(
        recurrence_pattern=connect_mixins.CfnHoursOfOperationPropsMixin.RecurrencePatternProperty(
            by_month=[123],
            by_month_day=[123],
            by_weekday_occurrence=[123],
            frequency="frequency",
            interval=123
        )
    )
)

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

override_type

The type of hours of operation override.

See:

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

recurrence_config

Configuration for recurring hours of operation overrides.

See:

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

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

HoursOfOperationsIdentifierProperty

class CfnHoursOfOperationPropsMixin.HoursOfOperationsIdentifierProperty(*, id=None, name=None)

Bases: object

Identifier for hours of operation.

Parameters:
  • id (Optional[str]) – The identifier for the hours of operation.

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

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-hoursofoperation-hoursofoperationsidentifier.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_operations_identifier_property = connect_mixins.CfnHoursOfOperationPropsMixin.HoursOfOperationsIdentifierProperty(
    id="id",
    name="name"
)

Attributes

id

The identifier for the hours of operation.

See:

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

name

The name of the hours of operation.

See:

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

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

RecurrenceConfigProperty

class CfnHoursOfOperationPropsMixin.RecurrenceConfigProperty(*, recurrence_pattern=None)

Bases: object

Configuration for recurring hours of operation overrides.

Parameters:

recurrence_pattern (Union[IResolvable, RecurrencePatternProperty, Dict[str, Any], None]) – Pattern for recurring hours of operation overrides.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-hoursofoperation-recurrenceconfig.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

recurrence_config_property = connect_mixins.CfnHoursOfOperationPropsMixin.RecurrenceConfigProperty(
    recurrence_pattern=connect_mixins.CfnHoursOfOperationPropsMixin.RecurrencePatternProperty(
        by_month=[123],
        by_month_day=[123],
        by_weekday_occurrence=[123],
        frequency="frequency",
        interval=123
    )
)

Attributes

recurrence_pattern

Pattern for recurring hours of operation overrides.

See:

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

RecurrencePatternProperty

class CfnHoursOfOperationPropsMixin.RecurrencePatternProperty(*, by_month=None, by_month_day=None, by_weekday_occurrence=None, frequency=None, interval=None)

Bases: object

Pattern for recurring hours of operation overrides.

Parameters:
  • by_month (Union[Sequence[Union[int, float]], IResolvable, None]) – List of months (1-12) for recurrence pattern.

  • by_month_day (Union[Sequence[Union[int, float]], IResolvable, None]) – List of month days (-1 to 31) for recurrence pattern.

  • by_weekday_occurrence (Union[Sequence[Union[int, float]], IResolvable, None])

  • frequency (Optional[str]) – The frequency of recurrence for hours of operation overrides.

  • interval (Union[int, float, None])

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-hoursofoperation-recurrencepattern.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

recurrence_pattern_property = connect_mixins.CfnHoursOfOperationPropsMixin.RecurrencePatternProperty(
    by_month=[123],
    by_month_day=[123],
    by_weekday_occurrence=[123],
    frequency="frequency",
    interval=123
)

Attributes

by_month

List of months (1-12) for recurrence pattern.

See:

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

by_month_day

List of month days (-1 to 31) for recurrence pattern.

See:

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

by_weekday_occurrence

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

Type:

see

frequency

The frequency of recurrence for hours of operation overrides.

See:

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

interval

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

Type:

see