Class: AWSCDK::ConnectCampaignsv2::CfnCampaign::WhatsAppOutboundConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ConnectCampaignsv2::CfnCampaign::WhatsAppOutboundConfigProperty
- Defined in:
- connect_campaignsv2/cfn_campaign.rb
Overview
The outbound configuration for WhatsApp.
Instance Attribute Summary collapse
-
#connect_source_phone_number_arn ⇒ String
readonly
The Amazon Resource Name (ARN) of the Amazon Connect source WhatsApp 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:) ⇒ WhatsAppOutboundConfigProperty
constructor
A new instance of WhatsAppOutboundConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(connect_source_phone_number_arn:, wisdom_template_arn:) ⇒ WhatsAppOutboundConfigProperty
Returns a new instance of WhatsAppOutboundConfigProperty.
2105 2106 2107 2108 2109 2110 |
# File 'connect_campaignsv2/cfn_campaign.rb', line 2105 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 WhatsApp phone number.
2116 2117 2118 |
# File 'connect_campaignsv2/cfn_campaign.rb', line 2116 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.
2121 2122 2123 |
# File 'connect_campaignsv2/cfn_campaign.rb', line 2121 def wisdom_template_arn @wisdom_template_arn end |
Class Method Details
.jsii_properties ⇒ Object
2123 2124 2125 2126 2127 2128 |
# File 'connect_campaignsv2/cfn_campaign.rb', line 2123 def self.jsii_properties { :connect_source_phone_number_arn => "connectSourcePhoneNumberArn", :wisdom_template_arn => "wisdomTemplateArn", } end |
Instance Method Details
#to_jsii ⇒ Object
2130 2131 2132 2133 2134 2135 2136 2137 |
# File 'connect_campaignsv2/cfn_campaign.rb', line 2130 def to_jsii result = {} result.merge!({ "connectSourcePhoneNumberArn" => @connect_source_phone_number_arn, "wisdomTemplateArn" => @wisdom_template_arn, }) result.compact end |