Class: AWSCDK::ConnectCampaigns::CfnCampaign::ProgressiveDialerConfigProperty

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

Overview

Contains progressive 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) ⇒ ProgressiveDialerConfigProperty

Returns a new instance of ProgressiveDialerConfigProperty.

Parameters:

  • bandwidth_allocation (Numeric)

    Bandwidth allocation for the progressive dialer.

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

    The allocation of dialing capacity between multiple active campaigns.



809
810
811
812
813
814
# File 'connect_campaigns/cfn_campaign.rb', line 809

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 progressive dialer.



820
821
822
# File 'connect_campaigns/cfn_campaign.rb', line 820

def bandwidth_allocation
  @bandwidth_allocation
end

#dialing_capacityNumeric? (readonly)

The allocation of dialing capacity between multiple active campaigns.



825
826
827
# File 'connect_campaigns/cfn_campaign.rb', line 825

def dialing_capacity
  @dialing_capacity
end

Class Method Details

.jsii_propertiesObject



827
828
829
830
831
832
# File 'connect_campaigns/cfn_campaign.rb', line 827

def self.jsii_properties
  {
    :bandwidth_allocation => "bandwidthAllocation",
    :dialing_capacity => "dialingCapacity",
  }
end

Instance Method Details

#to_jsiiObject



834
835
836
837
838
839
840
841
# File 'connect_campaigns/cfn_campaign.rb', line 834

def to_jsii
  result = {}
  result.merge!({
    "bandwidthAllocation" => @bandwidth_allocation,
    "dialingCapacity" => @dialing_capacity,
  })
  result.compact
end