Class: AWSCDK::Connect::CfnHoursOfOperation::HoursOfOperationOverrideProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Connect::CfnHoursOfOperation::HoursOfOperationOverrideProperty
- Defined in:
- connect/cfn_hours_of_operation.rb
Overview
Information about the hours of operations override.
Instance Attribute Summary collapse
-
#effective_from ⇒ String
readonly
The date from which the hours of operation override would be effective.
-
#effective_till ⇒ String
readonly
The date until the hours of operation override is effective.
-
#hours_of_operation_override_id ⇒ String?
readonly
The identifier for the hours of operation override.
-
#override_config ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::Connect::CfnHoursOfOperation::HoursOfOperationOverrideConfigProperty>
readonly
Configuration information for the hours of operation override: day, start time, and end time.
-
#override_description ⇒ String?
readonly
The description of the hours of operation override.
-
#override_name ⇒ String
readonly
The name of the hours of operation override.
-
#override_type ⇒ String?
readonly
The type of hours of operation override.
-
#recurrence_config ⇒ AWSCDK::IResolvable, ...
readonly
Configuration for recurring hours of operation overrides.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(effective_from:, effective_till:, override_config:, override_name:, hours_of_operation_override_id: nil, override_description: nil, override_type: nil, recurrence_config: nil) ⇒ HoursOfOperationOverrideProperty
constructor
A new instance of HoursOfOperationOverrideProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(effective_from:, effective_till:, override_config:, override_name:, hours_of_operation_override_id: nil, override_description: nil, override_type: nil, recurrence_config: nil) ⇒ HoursOfOperationOverrideProperty
Returns a new instance of HoursOfOperationOverrideProperty.
734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 |
# File 'connect/cfn_hours_of_operation.rb', line 734 def initialize(effective_from:, effective_till:, override_config:, override_name:, hours_of_operation_override_id: nil, override_description: nil, override_type: nil, recurrence_config: nil) @effective_from = effective_from Jsii::Type.check_type(@effective_from, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "effectiveFrom") @effective_till = effective_till Jsii::Type.check_type(@effective_till, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "effectiveTill") @override_config = override_config Jsii::Type.check_type(@override_config, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY29ubmVjdC5DZm5Ib3Vyc09mT3BlcmF0aW9uLkhvdXJzT2ZPcGVyYXRpb25PdmVycmlkZUNvbmZpZ1Byb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "overrideConfig") @override_name = override_name Jsii::Type.check_type(@override_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "overrideName") @hours_of_operation_override_id = hours_of_operation_override_id Jsii::Type.check_type(@hours_of_operation_override_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "hoursOfOperationOverrideId") unless @hours_of_operation_override_id.nil? @override_description = override_description Jsii::Type.check_type(@override_description, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "overrideDescription") unless @override_description.nil? @override_type = override_type Jsii::Type.check_type(@override_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "overrideType") unless @override_type.nil? @recurrence_config = recurrence_config.is_a?(Hash) ? ::AWSCDK::Connect::CfnHoursOfOperation::RecurrenceConfigProperty.new(**recurrence_config.transform_keys(&:to_sym)) : recurrence_config Jsii::Type.check_type(@recurrence_config, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jb25uZWN0LkNmbkhvdXJzT2ZPcGVyYXRpb24uUmVjdXJyZW5jZUNvbmZpZ1Byb3BlcnR5In1dfX0=")), "recurrenceConfig") unless @recurrence_config.nil? end |
Instance Attribute Details
#effective_from ⇒ String (readonly)
The date from which the hours of operation override would be effective.
757 758 759 |
# File 'connect/cfn_hours_of_operation.rb', line 757 def effective_from @effective_from end |
#effective_till ⇒ String (readonly)
The date until the hours of operation override is effective.
762 763 764 |
# File 'connect/cfn_hours_of_operation.rb', line 762 def effective_till @effective_till end |
#hours_of_operation_override_id ⇒ String? (readonly)
The identifier for the hours of operation override.
777 778 779 |
# File 'connect/cfn_hours_of_operation.rb', line 777 def hours_of_operation_override_id @hours_of_operation_override_id end |
#override_config ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::Connect::CfnHoursOfOperation::HoursOfOperationOverrideConfigProperty> (readonly)
Configuration information for the hours of operation override: day, start time, and end time.
767 768 769 |
# File 'connect/cfn_hours_of_operation.rb', line 767 def override_config @override_config end |
#override_description ⇒ String? (readonly)
The description of the hours of operation override.
782 783 784 |
# File 'connect/cfn_hours_of_operation.rb', line 782 def override_description @override_description end |
#override_name ⇒ String (readonly)
The name of the hours of operation override.
772 773 774 |
# File 'connect/cfn_hours_of_operation.rb', line 772 def override_name @override_name end |
#override_type ⇒ String? (readonly)
The type of hours of operation override.
787 788 789 |
# File 'connect/cfn_hours_of_operation.rb', line 787 def override_type @override_type end |
#recurrence_config ⇒ AWSCDK::IResolvable, ... (readonly)
Configuration for recurring hours of operation overrides.
792 793 794 |
# File 'connect/cfn_hours_of_operation.rb', line 792 def recurrence_config @recurrence_config end |
Class Method Details
.jsii_properties ⇒ Object
794 795 796 797 798 799 800 801 802 803 804 805 |
# File 'connect/cfn_hours_of_operation.rb', line 794 def self.jsii_properties { :effective_from => "effectiveFrom", :effective_till => "effectiveTill", :override_config => "overrideConfig", :override_name => "overrideName", :hours_of_operation_override_id => "hoursOfOperationOverrideId", :override_description => "overrideDescription", :override_type => "overrideType", :recurrence_config => "recurrenceConfig", } end |
Instance Method Details
#to_jsii ⇒ Object
807 808 809 810 811 812 813 814 815 816 817 818 819 820 |
# File 'connect/cfn_hours_of_operation.rb', line 807 def to_jsii result = {} result.merge!({ "effectiveFrom" => @effective_from, "effectiveTill" => @effective_till, "overrideConfig" => @override_config, "overrideName" => @override_name, "hoursOfOperationOverrideId" => @hours_of_operation_override_id, "overrideDescription" => @override_description, "overrideType" => @override_type, "recurrenceConfig" => @recurrence_config, }) result.compact end |