Class: AWSCDK::SMSVoice::CfnPool::MandatoryKeywordProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SMSVoice::CfnPool::MandatoryKeywordProperty
- Defined in:
- sms_voice/cfn_pool.rb
Overview
The keywords HELP and STOP are mandatory keywords that each phone number must have.
For more information, see Keywords in the End User Messaging User Guide.
Instance Attribute Summary collapse
-
#message ⇒ String
readonly
The message associated with the keyword.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(message:) ⇒ MandatoryKeywordProperty
constructor
A new instance of MandatoryKeywordProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(message:) ⇒ MandatoryKeywordProperty
Returns a new instance of MandatoryKeywordProperty.
665 666 667 668 |
# File 'sms_voice/cfn_pool.rb', line 665 def initialize(message:) @message = Jsii::Type.check_type(@message, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "message") end |
Instance Attribute Details
#message ⇒ String (readonly)
The message associated with the keyword.
674 675 676 |
# File 'sms_voice/cfn_pool.rb', line 674 def @message end |
Class Method Details
.jsii_properties ⇒ Object
676 677 678 679 680 |
# File 'sms_voice/cfn_pool.rb', line 676 def self.jsii_properties { :message => "message", } end |
Instance Method Details
#to_jsii ⇒ Object
682 683 684 685 686 687 688 |
# File 'sms_voice/cfn_pool.rb', line 682 def to_jsii result = {} result.merge!({ "message" => @message, }) result.compact end |