Class: AWSCDK::ConnectCampaignsv2::CfnCampaign::SmsOutboundConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ConnectCampaignsv2::CfnCampaign::SmsOutboundConfigProperty
- Defined in:
- connect_campaignsv2/cfn_campaign.rb
Overview
The outbound configuration for SMS.
Instance Attribute Summary collapse
-
#connect_source_phone_number_arn ⇒ String
readonly
The Amazon Resource Name (ARN) of the Amazon Connect source SMS phone number.
-
#wisdom_template_arn ⇒ String
readonly
The Amazon Resource Name (ARN) of the Amazon Q in Connect template.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(connect_source_phone_number_arn:, wisdom_template_arn:) ⇒ SmsOutboundConfigProperty
constructor
A new instance of SmsOutboundConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(connect_source_phone_number_arn:, wisdom_template_arn:) ⇒ SmsOutboundConfigProperty
Returns a new instance of SmsOutboundConfigProperty.
1623 1624 1625 1626 1627 1628 |
# File 'connect_campaignsv2/cfn_campaign.rb', line 1623 def initialize(connect_source_phone_number_arn:, wisdom_template_arn:) @connect_source_phone_number_arn = connect_source_phone_number_arn Jsii::Type.check_type(@connect_source_phone_number_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "connectSourcePhoneNumberArn") @wisdom_template_arn = wisdom_template_arn Jsii::Type.check_type(@wisdom_template_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "wisdomTemplateArn") end |
Instance Attribute Details
#connect_source_phone_number_arn ⇒ String (readonly)
The Amazon Resource Name (ARN) of the Amazon Connect source SMS phone number.
1634 1635 1636 |
# File 'connect_campaignsv2/cfn_campaign.rb', line 1634 def connect_source_phone_number_arn @connect_source_phone_number_arn end |
#wisdom_template_arn ⇒ String (readonly)
The Amazon Resource Name (ARN) of the Amazon Q in Connect template.
1639 1640 1641 |
# File 'connect_campaignsv2/cfn_campaign.rb', line 1639 def wisdom_template_arn @wisdom_template_arn end |
Class Method Details
.jsii_properties ⇒ Object
1641 1642 1643 1644 1645 1646 |
# File 'connect_campaignsv2/cfn_campaign.rb', line 1641 def self.jsii_properties { :connect_source_phone_number_arn => "connectSourcePhoneNumberArn", :wisdom_template_arn => "wisdomTemplateArn", } end |
Instance Method Details
#to_jsii ⇒ Object
1648 1649 1650 1651 1652 1653 1654 1655 |
# File 'connect_campaignsv2/cfn_campaign.rb', line 1648 def to_jsii result = {} result.merge!({ "connectSourcePhoneNumberArn" => @connect_source_phone_number_arn, "wisdomTemplateArn" => @wisdom_template_arn, }) result.compact end |