Class: AWSCDK::ConnectCampaigns::CfnCampaign::PredictiveDialerConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ConnectCampaigns::CfnCampaign::PredictiveDialerConfigProperty
- Defined in:
- connect_campaigns/cfn_campaign.rb
Overview
Contains predictive dialer configuration for an outbound campaign.
Instance Attribute Summary collapse
-
#bandwidth_allocation ⇒ Numeric
readonly
Bandwidth allocation for the predictive dialer.
-
#dialing_capacity ⇒ Numeric?
readonly
The allocation of dialing capacity between multiple active campaigns.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(bandwidth_allocation:, dialing_capacity: nil) ⇒ PredictiveDialerConfigProperty
constructor
A new instance of PredictiveDialerConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(bandwidth_allocation:, dialing_capacity: nil) ⇒ PredictiveDialerConfigProperty
Returns a new instance of PredictiveDialerConfigProperty.
766 767 768 769 770 771 |
# File 'connect_campaigns/cfn_campaign.rb', line 766 def initialize(bandwidth_allocation:, dialing_capacity: nil) @bandwidth_allocation = bandwidth_allocation Jsii::Type.check_type(@bandwidth_allocation, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "bandwidthAllocation") @dialing_capacity = dialing_capacity Jsii::Type.check_type(@dialing_capacity, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "dialingCapacity") unless @dialing_capacity.nil? end |
Instance Attribute Details
#bandwidth_allocation ⇒ Numeric (readonly)
Bandwidth allocation for the predictive dialer.
777 778 779 |
# File 'connect_campaigns/cfn_campaign.rb', line 777 def bandwidth_allocation @bandwidth_allocation end |
#dialing_capacity ⇒ Numeric? (readonly)
The allocation of dialing capacity between multiple active campaigns.
782 783 784 |
# File 'connect_campaigns/cfn_campaign.rb', line 782 def dialing_capacity @dialing_capacity end |
Class Method Details
.jsii_properties ⇒ Object
784 785 786 787 788 789 |
# File 'connect_campaigns/cfn_campaign.rb', line 784 def self.jsii_properties { :bandwidth_allocation => "bandwidthAllocation", :dialing_capacity => "dialingCapacity", } end |
Instance Method Details
#to_jsii ⇒ Object
791 792 793 794 795 796 797 798 |
# File 'connect_campaigns/cfn_campaign.rb', line 791 def to_jsii result = {} result.merge!({ "bandwidthAllocation" => @bandwidth_allocation, "dialingCapacity" => @dialing_capacity, }) result.compact end |