Class: AWSCDK::ConnectCampaignsv2::CfnCampaign::PredictiveConfigProperty

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

Overview

Contains predictive outbound mode configuration.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(bandwidth_allocation:) ⇒ PredictiveConfigProperty

Returns a new instance of PredictiveConfigProperty.

Parameters:

  • bandwidth_allocation (Numeric)

    Bandwidth allocation for the predictive outbound mode.



1311
1312
1313
1314
# File 'connect_campaignsv2/cfn_campaign.rb', line 1311

def initialize(bandwidth_allocation:)
  @bandwidth_allocation = bandwidth_allocation
  Jsii::Type.check_type(@bandwidth_allocation, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "bandwidthAllocation")
end

Instance Attribute Details

#bandwidth_allocationNumeric (readonly)

Bandwidth allocation for the predictive outbound mode.



1320
1321
1322
# File 'connect_campaignsv2/cfn_campaign.rb', line 1320

def bandwidth_allocation
  @bandwidth_allocation
end

Class Method Details

.jsii_propertiesObject



1322
1323
1324
1325
1326
# File 'connect_campaignsv2/cfn_campaign.rb', line 1322

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

Instance Method Details

#to_jsiiObject



1328
1329
1330
1331
1332
1333
1334
# File 'connect_campaignsv2/cfn_campaign.rb', line 1328

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