Class: AWSCDK::ConnectCampaignsv2::CfnCampaign::PredictiveConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ConnectCampaignsv2::CfnCampaign::PredictiveConfigProperty
- Defined in:
- connect_campaignsv2/cfn_campaign.rb
Overview
Contains predictive outbound mode configuration.
Instance Attribute Summary collapse
-
#bandwidth_allocation ⇒ Numeric
readonly
Bandwidth allocation for the predictive outbound mode.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(bandwidth_allocation:) ⇒ PredictiveConfigProperty
constructor
A new instance of PredictiveConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(bandwidth_allocation:) ⇒ PredictiveConfigProperty
Returns a new instance of PredictiveConfigProperty.
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_allocation ⇒ Numeric (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_properties ⇒ Object
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_jsii ⇒ Object
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 |