Class: AWSCDK::ConnectCampaigns::CfnCampaign::PredictiveDialerConfigProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
connect_campaigns/cfn_campaign.rb

Overview

Contains predictive dialer configuration for an outbound campaign.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(bandwidth_allocation:, dialing_capacity: nil) ⇒ PredictiveDialerConfigProperty

Returns a new instance of PredictiveDialerConfigProperty.

Parameters:

  • bandwidth_allocation (Numeric)

    Bandwidth allocation for the predictive dialer.

  • dialing_capacity (Numeric, nil) (defaults to: nil)

    The allocation of dialing capacity between multiple active campaigns.



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_allocationNumeric (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_capacityNumeric? (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_propertiesObject



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_jsiiObject



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