CfnHoursOfOperationProps
- class aws_cdk.aws_connect.CfnHoursOfOperationProps(*, config, instance_arn, name, time_zone, description=None, hours_of_operation_overrides=None, tags=None)
Bases:
objectProperties for defining a
CfnHoursOfOperation.- Parameters:
config (
Union[IResolvable,Sequence[Union[IResolvable,HoursOfOperationConfigProperty,Dict[str,Any]]]]) – Configuration information for the hours of operation.instance_arn (
str) – The Amazon Resource Name (ARN) of 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.hours_of_operation_overrides (
Union[IResolvable,Sequence[Union[IResolvable,HoursOfOperationOverrideProperty,Dict[str,Any]]],None]) – One or more hours of operation overrides assigned to an hour of operation.tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – The tags used to organize, track, or control access for this resource. For example, { “Tags”: {“key1”:”value1”, “key2”:”value2”} }.
- See:
- 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 import 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", hours_of_operation_overrides=[connect.CfnHoursOfOperation.HoursOfOperationOverrideProperty( effective_from="effectiveFrom", effective_till="effectiveTill", override_config=[connect.CfnHoursOfOperation.HoursOfOperationOverrideConfigProperty( day="day", end_time=connect.CfnHoursOfOperation.OverrideTimeSliceProperty( hours=123, minutes=123 ), start_time=connect.CfnHoursOfOperation.OverrideTimeSliceProperty( hours=123, minutes=123 ) )], override_name="overrideName", # the properties below are optional hours_of_operation_override_id="hoursOfOperationOverrideId", override_description="overrideDescription" )], tags=[CfnTag( key="key", value="value" )] )
Attributes
- config
Configuration information for the hours of operation.
- description
The description for the hours of operation.
- hours_of_operation_overrides
One or more hours of operation overrides assigned to an hour of operation.
- instance_arn
The Amazon Resource Name (ARN) of the instance.
- name
The name for the hours of operation.
- tags
The tags used to organize, track, or control access for this resource.
For example, { “Tags”: {“key1”:”value1”, “key2”:”value2”} }.
- time_zone
The time zone for the hours of operation.